LIGHT is a light intensity sensor unit with an adjustable photoresistor。
A photoresistor is a light-controlled variable resistor. The resistance of a photoresistor decreases with increasing incident light intensity and vice versa. The sensor exhibits photoconductivity which make it possible to detect the light varies based on voltage and use an AD (Analog to digital converter) to convert the digital data.
We added some extra work to strengthen the circuit, a Dual Differential Comparators LM393, compares the differential voltage between the photoresistor and the varistor. It could offer larger and accuracy range of light intensity.
EasyLoader is a concise and fast program writer, which has a built-in case program related to the product. It can be burned to the main control by simple steps to perform a series of function verification.
The screen displays the current ambient light value.
|LIGHT Unit||AnalogSignal Pin||DigitalSignal Pin||5V||GND|
The code below is incomplete. To complete code, please click here
Return light measurement
Get Analog value Return analog value
Get Digital value Return numeric value
LIGHT - Tutorial