Introduction: Automatic Night Light

Picture of 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

Picture of 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

Picture of 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:

Picture of

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:

Picture of

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

Picture of 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

Picture of 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

Picture of Adding 6Volt DC

Connect the circuit with 6volt DC.
Don't switch on the circuit now.

Step 8: Adding 230 Volt AC

Picture of 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...

Picture of 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.


IfeanyiA2 (author)2017-07-02

can this automatic night light drive up to 1000w bulb?

ShamimM (author)2016-03-17

please send me,
modified diagram,

vina1991 (author)2016-02-19

Nice buddy :)

i think this is the circuit diagram

ShamimM (author)vina19912016-03-17

i want use only ac source,
this circuit correction what is?

like as,
power source ac on,
this light auto on dark,
pls reaply

vina1991 (author)ShamimM2016-03-17

i have a modified version of night light circuit

bfyzal (author)vina19912016-02-20

yes bro Thanks :)

ZeeshanR3 (author)2016-03-08

Hi bfyzal:
Nice project, Will you please guide me, how do I connect AC supply to the bulb?

spanda12 (author)2016-02-17

please send ckt diagram..

vina1991 (author)spanda122016-02-19

i think this is the circuit diagram

lion2486 (author)2016-02-19

Nice Job, but you have to keep the lamp away from the LDR! :)

Alhadhramia922 (author)2016-02-19


rafununu (author)2016-02-18

One transistor is enough.

About This Instructable




More by bfyzal:Glowing Cardboard Home With 3D NameRemote Controlled LightBucket Fly Zapper
Add instructable to: