
SOL+
VIN
R1
1K
R3
22Ω
R4
5.1Ω
3
3
2
Q2
2N2222
Q1
2N2222
SWITCH
Out+
Out–
Bat+
Bat–
Bat–
Bat+
LED+
LED–
GND
GND
TP4056
R2
10K
D1
1N5819
SOL–
2
1
1
controls the brightness.
During the day, the solar cell generates voltage
and turns ON the transistor Q2, so it doesn’t have
the current bias to the base of transistor Q1. Q1 is
OFF so the LED will go out.
When there is no sunlight, there’s no solar
current to base Q2 so it will not conduct, but at
the same time, transistor Q1 will conduct. Now
the battery’s current will flow to the LED through
the resistors (R3 or R4).
The 3-pin button switch is used to connect
either R3 or R4 in the LED circuit. When the pole
is connected to R3, the ...