“Under the Magical Sky” has received an honorable award and mention in the children’s category from PPN and National Geographic Learning in San Francisco. The book is now part of their catalog. We have achieved the highest excellence in design and manufacturing. If you want to experience this magical journey, please visit our site: Under The Magical Sky
If you have any questions or thoughts you can write to contact@underthemagicalsky.com
TEMT6000 is ambient light sensor. It is sensitive to visible light much like human eye and has peak sensitivity at 570nm.
Visible spectrum is 390 – 700 nm.
TEMT6000
The sensor can handle voltages from 3.3v and 5v. The sensor has been designed into a voltage divider circuit. To read that voltage connect SIG pin to any analog to digital conversion pin on microcontroller.
Ambient light sensor for control of display backlight dimming in LCD displays and keypad backlighting of mobile devices and in industrial on/off-lighting operation.
TEMT6000 measures illuminance (measured in lux (lx). It is a measure of the total quantity of visible light emitted by a source (referred to as luminous flux, measured in lumens (lm) divided by an area in square meters. 1 lx = 1lm/m2.
Image: Sparkfun
To get the brightness the sensor measures, we then simply have to measure the voltage on the SIG (also called OUT) pin using the Analog To Digital Sensor and convert those voltage measurements to illuminance values in lux.
To get the illuminance in lux, we first need to convert the measured voltage to the current flowing across the TEMT6000 sensor. This current is also equal to the current flowing across the 10kΩ resistor in the voltage divider circuit, which is I = adc_value/10000kΩ.
The datasheet for the TEMT6000 specifies a proportional correlation between current and illuminance: Every 2 µA of current correlates to 1 lx in the illuminance.
Code
I’m using Visual Studio Code + PlatformIO. Arduino Uno