TG Light

TG Light is an illumination sensor powered by an Arduino FIO which responds to an Xbee query on PAN ID 1234 at 57.6 kbps. The query is ?2, response is !2 followed by readings for foot candles, IR and Visible light. The sensor is a TSL2561.

The software has a setting for the amount of time the sensor is allowed to soak in the light and the gain of the op amp for lower light situations. Currently, gain is 0. Max can be 16x. The sensor integration time can be 13 MS (shortest for bright light), 101 MS for medium light and 402 MS for dim light. The TG Light implementation uses 13 MS.