I am new to electronics and trying to understand how a Light Dependent Resistor (LDR) works. I know its resistance changes with light, but how does this actually work at a deep level? How does this behavior affect circuits that use LDRs? Also, in what types of projects or devices are LDRs commonly used?
A Light Dependent Resistor (LDR), or photoresistor, is a passive component that changes its resistance based on light intensity. It is made of a semiconductor material like cadmium sulfide (CdS), which exhibits photoconductivity—its resistance decreases as light exposure increases.
In darkness, the resistance is high (megaohm range), while it drops significantly (to hundreds of ohms) in bright light. This property makes LDRs useful in applications such as automatic lighting, light meters, and alarm systems.
They are commonly used in voltage divider circuits to provide a variable output voltage that microcontrollers or analog circuits can read.