SPRADL9 February 2025 CC1310
Analog light sensors play a crucial role in building automation applications by providing real-time data on ambient light levels and thus enabling dynamic control of lighting systems and other environmental settings. One example can be in lighting automation where artificial light is adjusted based on the amount of natural light available (daylight harvesting). In HVAC systems, analog light sensors work alongside other sensors to detect sunlight intensity and adjust heating or cooling systems accordingly depending on the season and daytime.
The Analog Light Sensor outputs a current dependent on the amount of light the Sensor is exposed to. The current is fed into a resistor creating a voltage which can be captured by the ADC. The Sensor Controller uses the peripheral Timer 2 to enable power to the analog light sensor around 1ms before the Sensor Controller can wake up to take a measurement. If the light level is higher than a threshold, the Sensor Controller can wake up the System CPU for processing of the measurement. This can repeat with a frequency of 10Hz. The example is tested with the same ambient light during the whole test period.
| Average current consumption | Unit | Battery life (CR123) | |
|---|---|---|---|
| Analog light sensor (10Hz) | 9.1 | µA | 2years and 6 months |
Figure 3-18 Analog Light Sensor: 30 Seconds
Figure 3-19 Analog Light Sensor: 2 Seconds
Figure 3-20 Analog Light Sensor: One Measurement