Press "Enter" to skip to content

Automatic Led Night Light Switch Electronic Projects Circuits

admin 0

That is the automatic night light circuit system with LED display, and from battery power. Because the house isn’t convenient plug So the charging system with a solar cell.

Moderately convenient to use.

Wireless Touch Switch Black 1 Gang 1 way Light SwitchAt night, the LED lights up and LED daytime off and electricity from solar cell charged a 12-volts battery.

The rules circuit design

We need to have a Lamps automatically lit up when dark or night.

And the place that install them no AC electrical cable. So I use battery 12-volts as source which is neat for LED lamps.

We use LED 12-volts 1.5-watts as Figure 1 which use Low power consumption than general a lamps and have also long life.(20,000 hour up) But expensive price than them about 2 times.

Figure 1 The LED lamp 12-volts 1.5-watts

But we must to have DC voltage source for charges that battery. Which we’d to like use a solar cells, because easy to make use of in location that have sun light to transform as DC voltage between 17-volts to 22-volts at 10-watts per one units.

In Figure 2 is the solar cells that we use. I am get them from good my friend. Though very ancient, it still have many uses.

Figure 2 the solar cells is used as source charger.

The requirements of circuit

In case of this automatic LED night light switch, we must always save energy so I design this with main parts below:

1. LDR or photoresistor is used for sensor light-activated. It is cheap and simple to use.

2. A CMOS Digital-IC No.CD4069 is a inverter gate every useful and cheap.

Next, we come to design simplified night light sensor as Figure 3 We see on step by step better:
-Firstly,The 12-volts flowing through VR1-potentiometer to LDR1 and R1.

-Secondly, the LED1 will glow brightly when no light or like night state to strike photoresistors (LDR1). Which its resistance is higher-value so cause voltage drop across LDR1 and R1-resistor as high state or

-We are going to see that, R1 is connected with LDR1 in series to limit current through them not a lot.

-Then An IC1a,IC1b,R2,R3 are assembled together as a buffer gate that similar the schmitt triggers form (we’ll see detail later).

-The output of IC1b pin 4 is logic high that voltage of 12-volts, cause LED1 glow and R4 reduce properly current for LED1.

Figure 3 A simple night light sensor circuit.

3. As “The requirements of circuitwe should always add “thirdis using the transistor instead a relay. Because the driver transistor use lower current than the relay.

You possibly can see in Figure 4 Q1 and Q2 are connected in a darlington compound so have very many gain. Q2-TIP31 can use lower than 2A so use easily with 12-volts LED lamp 1.5 watts or 0.125A current.

IC1c and IC1d,IC1e,IC1f are mixed as buffer gate which also have current amplifiers. To increasing current up before to transistor dirver. We use IC1 fully six inverter packet.

Figure 4 buffer gate and driver transistor.

C1-220uF 25V electrolyte capacitor for filter smooth current and C1-0.1uF 50V ceramic capacitor as spike remover of IC1-digital IC.

D4-diode-1N4007 is used to absorbs current spike from LED lamps to protects external transistor driver and buffer CMOS gate circuit.

Then, we see Figure 5 the proper circuit. We add the solar cells charger circuit for a 12-volts 2.5Ah battery as power source of this circuit.

Figure 5 the proper circuit.

The battery is use long time for 2.5A/0.125A = 20 hour. Which normally we need to make use of it for 8 hour per night only. Therefore it can be used easily.

Since output voltage range of solar cell between 17V to 22V So we use LM7815 DC voltage regulation output to 15-volts. Or 1.5 time of voltage battery.

D1-1N4007-diode is used for protect voltage feedback from charger circuit.

Both capacitors C3,C5-470uF 35V are used to filter voltage to bset smooth. C4,C6 are filter noise.

LED3 for indicating voltage solar cells and R7 controlled current-limiting of LED3.

The solar charger circuit directly connects to the battery. And S1-Switch is used for activate-OFF the automatically LED night light switch circuit.
LED2 is used for show the facility on and R6 for current-limiting.

LED1 indicated the circuit of light sensor section.

The best way to builds and test.
This project we assemble parts on a perforated PCB and wiring to universal PCB board. as Figure 6 and test it as show on video belowe.

Figure 6 assemble parts on perforated PCB

Testing circuit.

Figure 7 the solar cells charger

Figure 8 Installed on the project real place.

Figure 9 The automatically night light controller

Figure 10 Front of solar cell charger box.

Figure 11 Contained in the solar charger box

Figure 12 Use the Corrugated Cable Conduit for wiring outdoor successfully.


This project is straightforward but you must solar-cells at sunlight all day and use big size or high power than 10 watts up.
In first day it could not fully works you wait it come to third day it’ll good running.

A two weeks ago this project works so well everyone in my family like it very much I think it may have long life and save our money very much.

The component list
Q1________2N3904___45V 100mA NPN Transistor_______= 1 pcs.
Q2________TIP31____30V 2A NPN transistor__________= 1 pcs.
IC1_______CD4069___Six inverter CMOS______________= 1 pcs.
IC2_______LM7815___15-volts DC Regulator IC_______= 1 pcs.
LDR1______LDR or Photoresistor____________________= 1 pcs.
C1________220uF 35V___Electrolytic_capacitor_____= 1 pcs.
C3,C5_____470uF 35V________”_________”___________= 2 pcs.
C2,C4,C6__0.1uF 50V Ceramic Capacitor__________= 3 pcs.
R1,R7_____1.5K_____0.25W__5%____Resistor__________= 1 pcs.
R2________22K_______”_____________”_______________= 1 pcs.
R3________220K______”_____________”_______________= 1 pcs.
R5________10K_______”_____________”_______________= 1 pcs.
R4,R6______1K_______”_____________”_______________= 2 pcs.
VR1______100K__Variable resistor or potentiometer_= 1 pcs.

Leave a Reply

Your email address will not be published. Required fields are marked *