Arduino Projects    |   Raspberry Pi  |     Electronic Circuits   |   Electronics Reference Design Library  |   AVR    |    PIC    |    8051    |    Electronic Projects

Working of light dependent resistor


Himanshu Choudhary

This circuit based project explains the principle of operation of LDR (light dependence resistor). The circuit has various applications like shadow alarm, automatic night/morning lamp. 

As the name suggests, LDR is a type of resistor whose working depends upon only on the light falling on it. The resistor behaves as per amount of light and its output directly varies with it. In general, LDR resistance is minimum (ideally zero) when it receives maximum amount of light and goes to maximum (ideally infinite) when there is no light falling on it.

A critical factor that decides LDR’s working is the frequency of light which should cross a threshold value so as to make LDR respond. Keep on reading to find out how the circuit is designed and how it is made to work.



LDR, an acronym for light dependent resistor is a resistor whose resistance is dependent on light. In this project, resistance of LDR is of the order of Mega Ohms in the absence of light and reduces to a few ohms in presence of light. In this circuit when the light falls on LDR, the resistance of LDR becomes low and the entire voltage drop takes place across the variable resistance VR1 (10K). As a result the base of transistor (T1) gets high input and it gets biased thereby glowing the LED. When no light falls on LDR, the resistance of LDR becomes high so almost entire voltage drop takes place across it and the base of transistor is at low potential. So transistor does not gets biased nor it becomes conducting, hence switching off the LED. The sensitivity of the circuit can be adjusted by varying the preset VR1.


Circuit Diagram


Resistor Image

Resistor is a passive component used to control current in a circuit. Its resistance is given by the ratio of voltage applied across its terminals to the current passing through it. Thus a particular value of resistor, for fixed voltage, limits the current through it. They are omnipresent in electronic circuits.

LEDs | Light Emitting Diode
Light emitting diodes (LEDs) are semiconductor light sources. The light emitted...
LDR | Light Dependent Resistor

An LDR (Light dependent resistor), as its name suggests, offers resistance in response to the ambient light. The resistance decreases as the intensity of incident light increases, and vice versa. In the absence of light, LDR exhibits a resistance of the order of mega-ohms which decreases to few hundred ohms in the presence of light. It can act as a sensor, since a varying voltage drop can be obtained...

Presets | Variable Resistors
A preset is a three legged electronic component which can be made to offer varying resistance in a circuit. The resistance is varied by adjusting the rotary control over it. The adjustment can be done by using a small screw driver or...
BC547 | Transistor BC547  | PDF Datasheet
Transistor BC547
BC547 is an NPN bi-polar junction transistor. A transistor, stands for transfer of resistance, is commonly used to amplify current. A small current at its base controls a larger current...

Browse 4m+ Electronic Products

Pick the right product for your next design project with "Mouser Store". Mouser Electronics brings broadest range of semiconductors and electronic components from over 500 industry leading suppliers. 
Mouser specializes in the rapid introduction of new products and technologies for design engineers and buyers that includes semiconductors, interconnects, passives, and electro-mechanical components. Providing the best possible service with the flexibility of not requiring a minimum order and same-day shipping, Mouser has it all.
When you need the right part right now, think of Mouser
Thank you
Team EG



Learn about the latest applications and industry trends with tutorials and white paper design resources on vertical markets.

Energy Harvesting
MEMS Technology
OpenSource Hardware
RF Wireless
Wireless Charging


You are here