LDR darkness sensor circuit
dark sensor circuit
 This Automatic light-operated light switch circuit is Based on LDR. LDR is a Light Dependent Resistor. It is also called a Photoresistor.
Introduction of LDR
LDR (Photoresistor) is a type of variable resistor that Increases its Resistance when the Light is Decreases and its Resistance Decreases When Light is Increases. It means in a dark place or when no light falls on LDR, the resistance of its is very HIGHÂ and in Sufficient light, the resistance of LDR is very LOW.Â
This resistor works on the principle of photoconductivity. These devices depend on the light. The most obvious application for an LDR is to automatically turn on a light at a certain light level.Â
Construction And Working Of Circuit
Construct the circuit as shown in fig. Two NPN transistors are used to switching operations. The LDR is connected between the supply voltage and Base terminal of transistor Q2. The Emitter terminal of this transistor is connected with the ground through a variable resistor or potentiometer (POT). This variable resistor is used to adjust the sensitivity of the circuit.
LDR circuit diagram
At Day When Light falls on LDR then conductivity increased and current flows between supply to the base of the transistor and then transistor Q1 will on. Transistor Q1 And Transistor Q2 are connected as NOT Gate. When transistor Q1 is on by conducting even small current on base, The output of transistor Q2 is LOW (OFF).Â
At night when there is no light falls on LDR, then high resistance will create and there are no current flows on the base of transistor Q2. As there is no supply comes on the base of transistor Q1, this is in OFF state, When this transistor has LOW input then the output of Transistor Q2 will HIGH  When transistor Q2 is in HIGH mode then is energized (turned on) the relay connected with its collector and Electric Lamp will be Switched ON.Â
Assemble the circuit at any general PCB board and set the adjustment of pot according to required sensitivity. Fix the LDR out of the cabinet for detecting the light.
componentsÂ
LDR (medium size)-1
Transistor
     BC547-1
   2N2222-1
Resistor
      1K-2
POT or PESET–
    100k-1
Relay 6v -1
Diode
   1N4007-1
Also read
tanks.i need a circuit as up with a capacitor about 1000 as timer .please help me.