LDR Module – Light Dependent Resistor – LM393 LDR's resistance is very high in the darkness, almost as high as 1MΩ but when there is light that falls on the LDR, the resistance falls down to a few K (10-20KΩ @ 10 lux, 2-4K @ 100 lux) depending on the model.
The LDR module produces an output voltage according to the resistance of the LDR and is made available at Analog Output (AO) pin. The same signal is fed to an LM393 High Precision Comparator to digitize it and is made available at a Digital Output (DO) pin. The module has a built-in potentiometer for sensitivity adjustment of the digital output (DO).
You can set a threshold by using a potentiometer; So that when the incident light level on the LDR exceeds the threshold value, the module will output LOW otherwise HIGH. Apart from this, the module has two LEDs. The Power LED will light up when the module is powered. The Status LED will light up when the digital output goes LOW.
LDR Module – ADIY LDR sensor module is used to detect the intensity of light. It is associated with both the analog output pin and digital output pin labeled as AO and DO respectively on the `board. When there is light, the resistance of LDR will become low according to the intensity of light. The greater the intensity of light, the lower the resistance of LDR. The sensor has a potentiometer knob that can be adjusted to change the sensitivity of LDR towards light.