Introduction: Automatic Night Light
In our busy life, many of us forget to switch off the light morning. By using this simple circuit, the light will "automatically switch on" in night and "automatically switch off" in morning.
Step 1: Components Needed
1. Bread Board
2. LDR (Light Dependent Resistor)
3. Relay 6 volt DC (SPDT)
4. Diode 1N4001
5. Resistor 1K and 330R
6. Transistor BC547 (2)
7. Bulb
Step 2: Setting the Circuit
Connect one end of the LDR with Vcc and another end with one end of Resistor 330 ohms. Connect the another end of resistor with Ground.
Step 3:
Connect LDR with Base pin (i.e., 2nd pin) of Transistor BC547.
Connect 1K resistor with Vcc and another end with Collecter pin (i.e., 1st pin) of Transistor BC547.
Connect the Emitter pin (i.e., 3rd pin) of Transistor BC547 with Ground Voltage
Step 4:
Connect the Collector pin of Transistor BC547 with Base pin of another Transistor BC547
Connect the Emitter pin with Ground Voltage
Step 5: Introducing Relay
Connect cathode side of Diode 1N4001 with Vcc.
Connect anode side of same Diode with Collecter pin of Transistor BC547.
Connect 'A' terminal of 6volt (SPDT) relay with Vcc and 'B' terminal with Diode's anode side.
Step 6: Setting the Bulb With Relay
Cut any one of the two terminals of the Bulb's wire in order to connect it with the relay.
Connect one wire with 'POLE' and another with 'NO' of the relay.
Step 7: Adding 6Volt DC
Connect the circuit with 6volt DC.
Don't switch on the circuit now.
Step 8: Adding 230 Volt AC
(Now you are going to play with 230 Volt AC current, this is the risky step in this Project, please do this with caution. Or otherwise please don't continue.)
Connect the Bulb with the 230v AC.
Step 9: Its Ready Now...
Now switch on the power supplies of the circuit, both 6v DC and 230v AC.
If your circuit is in dark, the Bulb automatically lights
If your circuit is in light, the Bulb automatically switch to off.

Participated in the
Hack Your Day Contest
1 Person Made This Project!
- suchyh made it!
17 Comments
Question 4 years ago
Is it okay to replace relay to 12v relay, as well as the dc voltage to 12v?
Answer 2 years ago
Iska diagram dijiye sar kanse Pat's lage Hai kitne vlu lage hai
2 years ago on Step 9
Can you please share full detail how it is working please I request as I'm student I require it's information to convince my professor and I also have Viva tommorow please reply as soon as possible(I used 6v relay)
5 years ago
Circuit is not working...
Question 5 years ago on Step 7
what changes should i do if i have to use 9v battery as supply?
5 years ago
can this automatic night light drive up to 1000w bulb?
7 years ago
please send me,
modified diagram,
7 years ago
Nice buddy :)
i think this is the circuit diagram
Reply 7 years ago
i want use only ac source,
this circuit correction what is?
like as,
power source ac on,
this light auto on dark,
pls reaply
Reply 7 years ago
i have a modified version of night light circuit
https://www.instructables.com/id/AUTOMATIC-SOLAR-POWERED-NIGHT-LIGHT/
Reply 7 years ago
yes bro Thanks :)
7 years ago
Hi bfyzal:
Nice project, Will you please guide me, how do I connect AC supply to the bulb?
7 years ago
please send ckt diagram..
Reply 7 years ago
i think this is the circuit diagram
7 years ago
Nice Job, but you have to keep the lamp away from the LDR! :)
7 years ago
Nice
7 years ago
One transistor is enough.