A very simple automatic solar light system for illuminating your garden passages can be built using some LEDs, a rechargeable battery and a small solar panel. The system automatically switches ON the lamps at dusk and switches them OFF at dawn.
Main features
Although the following simple automatic solar LED garden light circuit looks simple, it includes a few interesting features which makes this design extremely adaptable, versatile, safe, efficient and long lasting.
The mains features are listed below:
- Automatic charging of battery during daytime with LEDs turned off, and automatic switching ON of the LEDs during nighttime.
- Proper current limiting for the battery to safeguard the battery from excessive charging.
- Current limiting for the LEDs which can be adjusted as per the required number of LEDs.
- Battery over-discharge protection ensures that the battery can never be overly discharged by the LEDs, which in turn ensures a longer life for the battery
How it Works
As can be seen in the following circuit diagram, the design basically consists of a solar panel, a couple of NPN transistors, LEDs, a battery, a few resistors and diodes.
Referring to the circuit diagram above, the working of each of the components can be understood with the following points:
The solar panel supplies the peak voltage of 6 V, at 500 ma during daytime, which charges the battery as long as this voltage is available from the solar panel.
The resistor Rx keeps the charging current to a safe lower level so that even after the battery is fully charged, the minimal current does not harm the battery.
The value of the charging current determining resistor can be calculated using the following formula:
Rx = (Vsolar(peak) - Vbattery(full)) / Icharge
Rx = (Solar peak voltage - Battery full charge voltage) / Battery charging current
Example:
Solar Panel Voltage = 6V
Battery Full Charge Spec = 4.2V
Battery Charging Current (optimal) = 500 mA
Rx = (Vsolar(peak) - Vbattery(full)) / Icharge
= (6 - 4.2) / 0.5
= 3.6 Ω
Rx Power = (Vsolar(peak) - Vbattery(full)) * Icharge
= (6 - 4.2) * 0.5
= 0.9 watts or simply a 1 Watt
However, if you want better protection than just a current limiting resistor, you can opt for a regulated charging system, as discussed in the next design after this explanation.
The BC547 transistor ensures that the LED driver transistor using 2N2222 remains turned off, as long as a base voltage of at least 0.6 volts is available from the solar panel.
Meaning, until the voltage from the solar panel has not dropped below 0.6 V, the BC547 transistor remains switched ON, causing the base of the 2N2222 to remain grounded, and turned off.
Therefore, until it is significantly dark or until the solar panel is able to supply at least 0.6 V to the BC547 base, the 2N2222 remains switched off, which in turn causes the LEDs to remain shut off.
Once the solar panel voltage drops below 0.6 V, the BC547 transistor slowly starts turning off, causing the 2N2222 to slowly start turning ON.
As the 2N2222 slowly turns ON, its collector LEDs also begin slowly getting illuminated, using the stored power from the battery which was charged during the daytime using solar energy.
Once it is completely dark and the BC547 is fully turned off, the 2N2222 BJT conducts fully causing a full illumination on the LEDs.
The LEDs now illuminate fully using the stored energy from the battery, and the battery slowly starts depleting its power through the LEDs.
The battery keeps the LEDs illuminated until the battery voltage has drained down to its lowest discharge level, which happens to be around 3 V for the 4.5 V battery shown in the diagram.
However, as we know that a BJT can conduct only until its base voltage is around 0.6 V higher than its emitter voltage.
But since the emitter of the 2N2222 is clamped with a 2.7 V zener diode, it means that the base voltage of the 2N2222 needs a minimum of 2.7 + 0.6 = 3.3 V to enable its proper conduction.
So, when the battery voltage drops to around 3 V, the base of the 2N2222 does not satisfy the minimum required base voltage of 3.3 V and thus it turns OFF.
In this situation the LEDs also shut off, preventing any further discharge of the battery, which protects the battery from over discharging.
A series resistor with the LED positive line ensures that the LEDs are protected from over current and are always safely illuminated without any possible harm or damage.
The limiting resistor can be calculated using the following formula:
R = (VBattery - VLED) / ILED
R = (Battery Voltage - LED forward voltage) / Total LED safe Current.
Example:
Battery Voltage = 4.2V
LED Voltage = 3.3 V
LED Current = 20 mA
Then,
R = (VBattery - VLED) / ILED
= (4.2 - 3.3) / 0.02
= 45 Ω
R (Power) = (4.2 - 3.3) * 0.02 = 0.018 watts or simply a 1/4 watt should work...
The next morning when sunlight falls on the solar panel, the BC547 yet again disables any conduction of the 2N2222 BJT and the LEDs, initiating a fresh charging cycle for the battery.
The above cycle now keeps repeating each day and night providing the required automatic illumination of the garden premise using this simple, versatile garden LED light circuit.
You may also like this PIR Controlled Solar Garden Light Circuit
Solar Garden Light with Regulated Battery Charging
The following diagram shows how the above simple design can be upgraded into an automatic solar garden light circuit with regulated battery charging.
The automatic operation of the LED lamp stage is actually exactly identical to our previous design, the only difference being the inclusion of the voltage regulator stage incorporating another 2N2222 BJT in an emitter follower configuration.
As we know that in an BJT emitter follower configuration, the emitter voltage of the BJT follows the base voltage, meaning the emitter terminal of the BJT replicates its base voltage.
However, due to the BJT's internal base/emitter voltage drop of 0.6 V, the emitter voltage is always around 0.6 Volts lower than the base voltage.
In the above regulated solar garden light circuit diagram, since the base of the left side 2N2222 emitter follower regulator BJT is clamped with a 5.1 V zener diode, means that its base voltage is fixed at 5.1 V, regardless of the solar panel voltage.
Therefore, the emitter voltage of this regulator 2N2222 BJT will be always fixed at around 5.1 - 0.6 = 4.5 V.
This 4.5 V fixed output is what we require for a safe charging of our 4.5 V battery, which means the 4.5V battery can be never charged above its full charge level of 4.5V, ensuring a safe regulated charging for the battery.
Parts List
- Resistor, 1k, 1/4 W CFR = 3
- Resistor, 10k 1/4 W CFR = 1
- LED limiting resistor and Battery limiting resistors as discussed previously.
- BJT 2N2222 = 2
- BJT BC547 = 1
- Rectifier Diode 1N4007 = 1
- Zener Diode 5.1 V 1/2 watt = 1
- Zener diode 2.7 V 1/2 watt = 1
- LEDs as per requirement and battery capacity.
- Solar Panel = 9V to 12V, 500 mA
Using NPN Transistors
The above explained designs can be also replicated using two NPN transistors as shown in the following diagram:
Solar Pathway Light Circuit with Constant Voltage
If a Li-Ion battery is intended to be used for the above explained circuit, a constant voltage feature becomes crucial for safeguarding battery life and prolonging it.
The following circuit show how this may be done by adding a simple voltage follower regulator circuit:
If a 3.7V Li-Ion battery is used, make sure to adjust the 10K preset to achieve precisely 4V across the output points where the battery is supposed to be connected, do this adjustment without connecting the battery.
The 4V level ensures that the battery is never overcharged (at 4.2V) and this also allows the circuit charge the battery without a constant current supply.
1.5V Solar Garden Light with Enhanced Features
The following solar powered garden light was designed by Mr. Guido which includes additional features such over charge and low charge cut off for the battery and with a Schmidt trigger.
This ensures that the connected battery is never allowed to charge or discharge beyond unsafe levels.
The main attraction of the circuit is the use of a single rechargeable AAA penlight cell, which is able to light up a 3.3V high bright LED through an attached Joule thief circuit.
High Power 12V Garden Light Circuit
The following image shows a high power automatic garden porch light circuit using a 12V 7 Ah battery. The LEDs used are high power 1 watt LED each. Since 9 LEDs are used the total power output becomes 9 watt.
The circuit is designed to automatically switch ON the LEDs when the darkness level drops sufficiently and the solar panel voltage drops below 3 V.
The LED series resistor values can be calculated using the following formula:
R = Battery Supply - LED FWD V Drop / LED Current
= 13 - (3.3 x 3) / 0.3
= 2.1 / 0.3 = 7 Ohms
Resistor wattage = 2.1 x 0.3 = 0.63 watts or 1 watt.
The solar panel can be rated at 18V, 3 amp. The battery specification is 12V, 7 Ah. The solar panel output voltage is regulated using the LM338 voltage regulator.
Make sure that the 5K pot of the LM338 circuit is precisely adjusted to produce 14V for charging the 12V battery.
blee says
hie.i would like to design the above solar light cct.can i connect two batteries 3,7 v in series to increase power stored and lighting time
How long does the above light ís on before switching offf
Swagatam says
Hi, yes you can use two batteries in series and configure the LED series connection accordingly.
How long it stays ON will depend on the battery capacity and charging conditions
EN says
Hi Swagatam.
There’s a question in your circuit.
“a simple voltage follower regulator circuit”
What does 10K preset mean in this circuit?
Regulator? resistance?
Additionally, I don’t have 8050 or 2N222. 135D was used. No problem?
I’ll be waiting for your response. Thank you.
Swagatam says
Hi EN, the 10K is a variable resistor preset or a trimpot.
I could not find the datasheet of 135D transistor, so I am unable to suggest whether it can be used or not.
EN says
Thank you for answering.
It’s BD135 from Onsemiconductor.
In the above quesiton circuit, do i have to use tow 1N4007? Tow letters were written, so a circuit was created, but the battery does not charge even when exposed to sunlight.
Swagatam says
BD135 can be used, You must adjust the 10K preset accurately so that the emitter voltage reaches the full battery charge level across the battery terminals. Measure this without connecting battery. I did not understand what you meant by “tow 1N4007”
The solar panel current must be correctly rated as per the battery specification, only then the battery will charge.
EN says
solar panel 6V, 0.35A, Battery 4.2V, 2550mA
Is there a way to send pictures? Mail or another?
Thank you
EN says
Additionally, how do you adjust the 10K preset?
I want to know the formula
Swagatam says
You can use voltage divider formula to get the base voltage…
and then add 0.6 to the result….this will be the emitter voltage.
Base voltage = Vin (R2 / R1 + R2)
R1 = 1k or 1000 ohms
R2 = preset adjustment value
Vin = 6V
Emitter voltage = Base voltage + 0.6
Swagatam says
Did you confirm the 0.35 A and 6 V with meter? Check it with meter it might be less than that. By the way 0.35 amps will not charge a 2550 mAh battery efficiently…it should be minimum 0.5 amps to 1 amp. Pictures are not required, values are enough.
EN says
In fact, solar panels are measured lower than 6V.
I don’t know how to approach it,,, but I should study again while looking at the circuit diagram.
Thank you.
Swagatam says
The minimum voltage can be 5V, but the current should be between 500 mA and 1 amp.
EN says
When the actual test was conducted, the panel was measured at 4.4V and turned on only 3 hours after charging for 3 hours.
I have a question. Why do you use two 1N4007 diodes in the first circuit?
Because of the principle of operation of the transistor?
I ask questions because I lack a lot of knowledge.
Swagatam says
The left side diode is actually not required, it is placed to safeguard the circuit from an accidental reversing of the solar panel polarity. If you are sure you will always connect the panel polarity correctly, then you can remove the left side diode.
EN says
Thank you for your answer.
If I have any questions, I’ll ask you more!
Have a good day.
Swagatam says
Sure, no problem.
AMIT GARG says
Would appreciate if you add costing of components used in the circuit.
Kris K. says
I tried adapting these ideas to understand how 200 blue LEDs ((3.2V, 20mA each)) can be lit from one single 1.2V NiMH battery slow-charged from a small solar cell, but I remain mystified. It’s not for any class ((I graduated college in 1979, LOL!)) but I’m wondering, because I’d like to repair 2 light strings if that’s possible. I simply haven’t been able to get from here, to there…
Many thanks in advance for any information or links!
Swagatam says
Thank you for your interest in this concept. 200 nos are too many LEDs, and a NiMH might not have sufficient current to handle this. However a Li-ion cell with along with a joule thief circuit might be perhaps able to handle this load
Kris K. says
Thank you for your reply!
That must be why the string never worked from the start. Now that I know to not keep struggling to make the original thing work, I’ll start from the ground up so to speak.
Swagatam says
Sure, no problem!
Dennis Eugene Rowe says
Hi SM. I work for a maritime museum and we have a lighthouse which was fitted with a 120v incandescent lamp. I would like to convert this to a pulsating/breathing LED lamp. I have did some research and came across you forum. Thank you for the diagrams. My question is using a 6v agm battery what size of solar panel would be needed? I have read that to charge a 6v battery you should use a 7-9V solar cell. Also any ideas on the pulsating/blinking/breathing feature to simulate an actual lighthouse?
Swagatam says
Hi Dennis, for a 6V battery you can try a 9 to 12V solar panel, and use a constant current and constant voltage charger. The current rating of the solar panel can be 7 to 10 times lower than the battery Ah value.
for the rotating light effect you can probably try the following circuit
https://www.homemade-circuits.com/police-ambulance-siren-circuit-with-rotating-beacon-light/
Eugene says
hello, I found this site & followed all the steps but the LED lights could not turn off even during the day. what could be the problem
Swagatam says
Hello, connect the transistor base with its emitter manually and check if the LEDs shuts off, if not then your transistor is faulty.
eugy says
do I basically need to use specifically the transistor indicated on the diagram
Swagatam says
It just needs to be a PNP transistor, that’s all
Emre says
In the picture whose Pictorial Diagram is given, how many volts/amperes is the panel and is the battery 9V ni-cd? Can 9V ni-mh or lithium be used instead of 9V ni-cd battery?
In what range should the mah value of the battery be? thanks
Swagatam says
I have updated the diagram with more details, and also provided the relevant calculations.
The battery shown in the diagram is NiCd, Li-Ion or NiMh can be also used. For Li-Ion and NiMh batteries the 10% figure indicated in the R3 formula will change to 50%
Emre says
Hey, 7.4Volt 2600mah (2 serial 3.7V li-on batteries), how do I set up a circuit for a battery? Can you help me build the circuit? For example, how many volts should the panel be? can you draw a circuit diagram. Thank you
Swagatam says
You can use a 12V 1 amp solar panel, and adjust the output voltage using a LM317 circuit to precisely 8.2V and then you can charge your series battery safely.
James says
Hello, I’m trying to design a solar dusk to dawn light using a 3.7v 18650 2400mah battery, a single bright white 60-80lumen light with the smallest solar cell that charges on cloudy days. The light must maintain light atleast 10 hrs at night. The led possibly could pulse at 50 cycles as to save on power and not notice blinking by the naked eye. Thank you.
Swagatam says
Hello, you can use a 100 mA or 50 mA straw hat type LED, and use with your battery for a 10 hour back up. The solar panel must e rated at 6V, 1 amp. You will need an auto cut off circuit for charging the battery with this solar panel.
Jamed says
Thank you, would you have an existing circuit diagram?
Swagatam says
You can try the last circuit from the following article:
You may replace the P mosfet with a 2N2907 transistor, and replace the 2N6284 transistor with 2N2222
https://www.homemade-circuits.com/battery-deep-discharge-protection-circuit/
Marko says
How can the pcb pictorial be done on a copper clad board? I have only an inkjet printer and want to build this circuit?
Swagatam says
You can refer to this article for the details:
How to Make PCB at Home
Vj sarkissian says
dear sir; the above constant voltage circuit designed with 6v battery and 6-8v/2w solar panel, 2 transistors and few resisters and load of (24) .5w high power leds is really great. my question is if I increase the load to (44) .5w and select the a/h of battery to 20a/h also double the the amperage of solar panel would circuit work properly? I thank you very much..
Swagatam says
Dear Vj, yes you can definitely upgrade the circuit by suitably modifying the parts, and the battery. You will have to use a TIP127 for the transistor, 10k resistor for the base, the charging current limiter must be adjusted to a value which allows only 1 .5 amp to 2 amp current for the battery charging.
Cheryll Robinson says
I’m a 75yo woman and have no electrical background, but am willing to learn new things. I have purchased a commercial solar powered pump package with a fixed solar cell. The pump turns on with a manual pushbutton switch. The small electrical storage battery (12v) does not hold enough electricity to power the pump through the hours after the solar cell loses sunlight until the next day. Once the power supply is exhausted, the pump switches off and remains off until the manual switch is pushed again. It is in a remote area, so the pump might be off for several days until I can get back to switch it on. I am making a solar tracking unit to extend the hours that it is in sunlight, which will hopefully extend the battery service also.
Here is my question: Is there a way to use a small solar cell to power a switch that will bypass the manual switch and turn the pump back on when the sunlight is available the next day? If one of your examples above will do that, please tell me which one to use.
Swagatam says
You can build and implement the following concept:
Please note that the relay of the circuit will activate ON and OFF momentarily only when the sun light has reached a reasonable peak level. If you want the circuit to activate at a lower peak level of the sun light then you can reduce the relay value to 5V, and also replace the 12V zener to a 5V zener.
Neill says
Hello Swagatam,
Firstly, top notch support for your ccts. You really are very patient with everyone. Can I ask please, I have a very low power 5v solar cell, how much current loss is caused by the simple single transistor circuit? I presume this one would be the least hungry of the ccts. At the moment I use a switch to feed the leds and automated is definitely the way forward.
Thank you for your time and I hope you have remained healthy through the pandemic.
Neill
Swagatam says
Thank you very much Neil for your kind words!
No current would be wasted by the transistor circuit, since the transistor circuit would remain switched OFF. However, a slight current would be lost through the base resistor of the transistor, which would be in a couple of mA may be. You can definitely think of replacing the mechanical switch with a transistorized circuit, with minimal current drain.
KM says
Figure 1 & 2 I can’t seem to make it work at all, the same is true for the similar circuit using the 2 transistor version, 2222 & 2907, the mail issues is I can make it light with the battery but it will not shut off the led during the day / charging cycle… Checked and double checked… Help…
Swagatam says
Please check the circuit first with a bench power supply, not with solar panel.
With the input DC connected check the voltage across base/emitter of the transistor, it must be 0V, and it should be around 0.6V when the input supply is removed!
With 0V across B/E, the LEDs should be switched OFF, and with 0.6V the LEDs must switch ON
NGANG says
Good morning Sir,
1) What is the advantage of the circuit with the two npn transistor ? Does doubling the transistor increase brightness ?
2) I want to use 14 LEDs (4mm leds) to run for 12hrs with good brightens, using 3.7v li-ion battery;-
a) what should be the capacity of the battery?
b) if I have 2watts 6v solar panels how many can I parallel to charge the battery.?
c) which circuit can I use for this to serve as an automatic solar outdoor(landscape) security light?
Thanks
Swagatam says
Hi Ngang, slight advantage is there due to better ON/OFF switching of the LEDs, and better transfer of power to the LEDs.
A 2 watt solar panel will produce 2 / 6 = 0.33 amps or 300 mA current, which means a 4.5 V battery or a 3 V battery can be used having 2 Ah rating
LEDs can be 3.3 V 1 watt single, or 3.3 V 20 mA up to 10 in parallel.
Frank says
Hello, I have 4 garden lights each one has two 8mm white leds I would like to use only one solar panel,two service all four lamps,but dont know what
size or wattage or voltage to use.
I hope you can help…………Frank
Swagatam says
Hi, assuming your LEDs are 50 mA each, and the two LEDs are in series in each of the modules, then for 4 lights the total current required will be 200 mA. Now to illuminate this 200 mA lamp for 10 hours will require a battery rated at 2 Ah or 2000 mAh.
Your solar panel must be around 3 amps and voltage equal to 10 V, with a 7V controller
frank says
Thank You..
Frank.
Ravi I. KUMAR says
Hi Namaste Swagatham
I just beginning to learn and do some hobby during Covid-19. I have solar powered pedestal light on long post. The switch failed due to water leakage. I am trying to replace the switch. But I need to replace the resister to reconnect the wires. I cannot recognise the resister. It is tiny blue resister connected to terminals. This is because the switch has three positions. Semi / Off / Full. The switch has six terminals three on each side.The resister is connected semi and off terminals. Perhaps I I could send photo, but do not know how to include in this comment. Please help. I have also other small hobby projects which I will let you know. Thank you very much. I am from UK, SENIOR CITIZEN. RAVI
Swagatam says
Hi Ravi, without seeing the image it can be difficult for me to understand the fault. What you can do is, upload the image on any free image hosting site online, and provide me the link, I will quickly check it out and try to solve it for you….
Tony says
Hi Swagatam,
I have found several of your articles very interesting and delightful. However, I have a project that is VERY unusual and have not been able to find a circuit to solve my problem.
I am attempting to back light a lithographed photo that is mounted on an outdoor plaque. I want to use a single white LED (or a single 5050 RGB strip light LED) to backlight the lithograph. Normally, I could use a solar powered Garden light circuit, however I need it to stay lit during the daytime AND night time and still charge a battery (1.2V NI-CD) for the nighttime use. I can use 2 solar cells, one for daylight use and the other to charge the battery for nighttime use, However, I am not sure of the best way to isolate the two solar cells so one powers the LED during the day while the other charges the battery and then at night switches to the battery. Any help would be appreciated. I am an electronics tech with some engineering (self taught) background, but this seems to be eluding me for some reason. I hope you can help. Thanks in advance.
Swagatam says
Thank you Tony, glad you found them interesting!
I think two alternating cells may not be necessary, instead multiple cells could be attached in parallel which may be rated to keep the LEDs lit up for 24 hours with each charge. Similarly the solar panel may be rated to ensure both the cells are optimally charged each day.
If you provide me the LED current and voltage specifications I can provide the estimates for the solar panel and charge control specifications
Alternatively, if you think two alternating cells would be a better choice, I can suggest an appropriate design for that also….
Eduardo says
Thanks for that it’s really worth to query the designer appreciate it very much
It’s wonderful finding you on Pinterest
Rgrds,
Eduardo
Swagatam says
It’s my pleasure and happy to help!
Eduardo Roxas says
After reading I’m trying to find that zener diode describe but not available in anypart of the schematic diagram pls give details
Thank you for sharing
Swagatam says
In the second last diagram, the 10k preset was not included in the original initial diagram, instead a zener was put in that area for getting a fixed output at the emitter side. If you don’t want the preset for customized adjustment you can replace it with an appropriately rated zener diode
Robert C Gillespie says
I’m new to this website. It appears to be exactly what I need.
Home / Mini Projects / Simple Solar Garden Light Circuit – With Automatic Cut Off
This is a genius little circuit and would be perfect for my Japanese lantern. Is the PCB board available?
Swagatam says
Hi, Thanks, and Glad you liked this website and the circuit! However, sorry I do not have ready made PCB for this project, but since the design requires very little parts you can easily assemble them over a small veroboard or a strip board.
Glynn Trow says
Hi. Found this site about 2 weeks ago and built the circuit. First time I have done anything similar for maybe 50 years!! I was a bit apprehensive. However the circuit works well. I am quite happy with it. One problem the LEDs light up too early. It is still light. I am using 4×1.2v Li-ion batteries. I reduced the 10 ohm resistance to 5 ohms. Is there away to prevent the LEDs lighting up before it gets dark? Thank you for firstly the circuit and secondly the time you spend answering queries
Swagatam says
That sounds amazing and Glad you could make it successfully. The early switch ON could probably be prevented by upgrading the circuit through a couple of more transistors as shown in the following image:
Nélio says
Hi Swag,
In this circuit, can I replace the 6 LED’s by a single of high Power, say 1W, 3W or 5W?
If so, which changes can I made?
Best Regards.
Nelio.
Swagatam says
Hi Nelio, yes that’s possible, the formula for the series resistor is:
R = (Battery Voltage – LED Fwd voltage) / LED Current
Nélio says
Hi,
You are refering the first circuit.
I was considering this one :
Solar Pathway Light Circuit with Constant Voltage
Nelio
Swagatam says
Yes I was referring to the first circuit, in the pathway circuit you may have to connect a resistor in series with the collector of the LED transistor. This resistor should be calculated using the previous formula
Nélio says
Ok.
Thanks.
Best Regards.
Nelio
Swagatam says
Glad to help!
Dimitar says
https://drive.google.com/drive/folders/1oCAPL9J53O0QZP7SXJnlNtnkq8NQ9QoY?usp=sharing
I have reverse modeled the board. If you are curious to see it, you can find it here as .jpeg file. Most of the elements I was able to read, but not all.
Swagatam says
It is difficult to understand the diagram in this form, please draw it in proper schematic form with correct symbol and pin direction, I will try to figure it out.
Dimitar Kirov says
Hello Swagatan,
I found your site by accident a week ago and I`m completely hooked up.
I have an old solar lamp that uses 1.2V Ni-CD battery and 1 piranha LED. It has an LDR to turn it ON/OFF, however I notice that even without it, it turns ON/OFF if the Solar Panel is illuminated.
Can you reverse engineer this board, if I provide you pictures of it, as I want to make myself more of these DIY. It says 3033 on one of the elements, has SGL0047-3033 printed on it. I could not find anything on the internet about it.
Thanks for your answer in advance.
Swagatam says
Thanks Dimitar, I am glad I found my sire useful.
I think an LDR is not necessary for a solar automatic LED circuit. The first circuit from the above article will also do the same. When sufficient light applied on the solar panel, the LEDs will remain OFF, and they will switch ON when the light becomes weaker.
Dimitar says
Thank you for your fast reply, Swagatam.
Is the first circuit going to work at 1.2V, or must it be 4.5V, 3 NiCD/NiMH batteries in series?
Swagatam says
Yes it should be 4.5V. At 1.2 V the LEDs will not light up.
Dimitar says
I understand.
The solar lamps I have use 1x 600mAh 1.2V NiCD battery and powers a 1W warm white COB LED. I believe they are rated at 3.2V. It lasts about 5-7 hours, depending on the amount of sun during the day.
Can you propose a way to achieve this? Do you want me to send pictures of the board? If yes, how?
Swagatam says
Images won’t be required since it will be difficult to identify the parts and the layout from the images.
Instead you can try the following version which uses a joule thief circuit for boosting the 1.2 V to 3 V for the LED:
If the LED doesn’t light up with a 1.5 V cell, you can try swapping the terminals of the winding between the transistor base and the 1K resistor.
Dimitar says
Thank you for the great advice, Swagatam!
I found the joule thief circuit on your site, but what was interesting to me is that this solar lamp uses no coil, only a couple of resistors, diodes and transistors.
Dimitar says
P.S. My bad, it does have an inductor, it does use a joule thief.
Swagatam says
OK, so in that case you can use the diagram which I suggested in my earlier comment. It has a feedback loop which will switch OFF the LED during day and switch ON during night at 1.2 V supply
Edward says
Sounds like great systems. I am not however looking to build a system but buy a ready made system for a large garden area where I can plug in various low voltage garden lights or Christmas lights. Any suggestions? Getting tired of the cheap solar lights from the hardware store and too far to run 120V. thanks.
Swagatam says
Thanks, please provide the LED specifications and the connection details that you wish to use, I’ll try to figure out the required set up accordingly
Dweep K Baniya says
I have made 40 W street light solar circuit I m working in offline solar inverter manf company I m not getting desired output 2 V instead of 12V but cut off low & high is working properly.
Swagatam says
I could not understand your question.
Dweep Baniya says
Sir I have made a circuit with help of your diagram for 40 W solar street light circuit I m able to adjust low & high cut off but sir I m not getting Required output when solar voltage is given I m getting only 1.9 V max
Swagatam says
Dweep, please show me your exact schematic so that I can understand it…upload it to any free image hosting site and provide the link here….
Hannah B says
Hi Swagatam –
thank you for all the information here! I’ve made some simple LED circuits before, but I’m new to solar. I am making a night light for indoors – the LED doesn’t need to be very bright, but there won’t be as much sunlight to charge it. Can I increase the size of the solar panel to maximize the charge? Would I need to worry then about overcharging the batteries if the panel got direct sunlight?
Swagatam says
Thank you Hannah, yes you can increase the solar panel size for maximizing the output, but stronger sunlight may harm the battery in that case. If you can provide the battery specifications, I can suggest the controller circuit for you.
Hannah B says
Thank you! I haven’t bought my batteries yet, but I was thinking about using 2 Kentli Li-on rechargeable AAs – – they output 1.5v 2000mA. I have some flexibility in my design so I could use larger batteries, but I’m not powering much – just one standard brightness white LED. I’m mostly interested in longevity – if possible, I’d like to set things up so the light runs for at least 5 hours even if it’s not charged in direct sunlight.
Swagatam says
As per the given specs the battery seems to be quite powerful and has a built-in over charge cut off system so it cannot be harmed by the panel anyway.
You can use a 6V 5 watt panel and connect its output directly to the battery for charging. Since the current is only 5 / 6 = 830 mA and will continue to drop as the sun goes down, the voltage will effectively therefore drop to the desired battery level and keep the battery topped up always.
FPoster says
I have a garden PV light PCB but it does not have any visible ICs, transistors, or non-LED diodes unless these components are hiding under a hard circular mound of dried adhesive or maybe heat sink material that is on the side opposite the components. I wish to understand where the conductor tracings connect but this is hidden under the mound. (I would send my photos.) I have minimal circuit analysis skills and hope this simple PCB will be instructive.
Swagatam says
You can upload the pics to your google drive and share the link with me here, I’ll try to figure it out
Robert Bernal says
Wanted to say thanks! Will an 18v panel be too high of a voltage (at really low current) for the base of the pnp? I assume the higher (than 12.8v battery) voltage is what turns it off during the day.
Thanks!
Robert Bernal says
Hi,
I’m making a 12.8v battery powered, 4 led (in series) solar light, at about 250 mA (the LEDs require only about 2.8v each and can handle over an amp)
I just want to know if the transistor can handle 18v or so from the panel (at very small current). I’m not sure how it works. The higher voltage from the panel (which is more than battery voltage) must turn off the transistor at the base?
Thanks.
Swagatam says
Hi, yes the 8550 or 2N2907 will easily handle 18V. The transistor will remain switched OFF as long as the base/emitter voltages are at equal levels, meaning the difference is 0V
NGANG GODWILL says
Sir,
I can’t see the updated diagram for lithium ion. is the 10 ohms resistor is eliminated in the lithium ion version?
Swagatam says
the second last circuit can be used for Li-ion cell. yes the 10 ohm is removed otherwise the Li-ion cell will never get charged.
Mudita says
I am looking to make large quantity of reading lights for students in a village. I am thinking of using solar panels station at school to charge the batteries. I plan to use LEDs. I like to have the high school kids build it themselves, with some training. So, I like to find a simple circuitry based design with very few parts. I am an electrical engineer, I will be teaching them how to build them. I also need parts cheap. Any suggestions of where I can find what I am looking for.
Swagatam says
Please provide the specifications of all the parameters so that I can suggest a suitable design. Or you can tell me the appox budget for each light, I’ll try to figure it out!
rudi says
I have tried your circuit, especially in figure 5, with 24 led a battery capacity of 6 volts 4.5 Ah / 20 hours, there is a problem that I experienced, transistor tip 122, very hot, fortunately I added a cooler, I used 12 volt solar cells, what I ask, could the resistor that is 1k in size be replaced with 10 k of which leads to the bc 547 transistor and tip 122 ?, thanks for the help
Swagatam says
yes 1k can be replaced with 10k which will dissipate less current and heat. 10k should work since the TIP is a Darlington BJT with very high gain
Mario says
Hi, is there a substitute for tip122 transistor? Thanks for your input
Swagatam says
There’s no easy substitute for TIP122
Mario says
I see, well I tried. Will definitely order me some of those. Can’t wait to fiddle around with these circuits. I have tried many circuits from YouTube videos but for some reason or another the lights turn on at dusk as opposed to dark, therefore draining battery way to early. I noticed on some of your circuits there being 2 IN4007 diodes. Is that accurate? Just wondering. Thanks for all you di, its awesome to see someone take the time to help out us noobs and DIYERS. Have a great one.
Swagatam says
The lights won’t turn ON until the solar panel voltage became 1 V or lower, that will happen at extreme dusk, but not at night. For night time switching you may have to use a delay ON timer with the circuit. Two 1N4007 is fine considering the ease of making and the solar panel being 9 V or 12 V plenty of voltage available for the 2 V drop.
Mario says
Got it, that explains it and makes perfect sense. The 10k preset resistor you mentioned on the 6v circuit, is that a mini potentiometer?
Swagatam says
That’s a preset, not a potentiometer, it is intended for a one time voltage setting.
Mario says
Hey, hope all is well and safe with you and yours. Just wanted to mention that I received the tip122 transistor and got busy putting that circuit together. The issue I have encountered is that the light doesn’t remain on, it turns off then when battery gets taken out and put back in it doesn’t remain on just a flicker. The solar end of it works. It does what its supposed to. What am I doing wrong. Oh, and by the way I’m using a string of-4.. 1w cob led lights in parallel and using an 8 volt battery.
Swagatam says
Hey, please remove the solar panel and then check the response. Make sure the battery is optimally charged for the LED. If still it flickers then your transistor may be faulty, or there may be a loose connection somewhere, or the battery may be low.
Mario says
What I encountered was when the i completly darken the panel the light simply turns on then off leaving 1.5 volts output. But if I slowly turn panel over and leave it half way light remains on and getting 3.7v output and the lights remain on and glowing nice and bright. Any suggestions. Thanks
Swagatam says
Please remove the solar panel completely and then check the LED response. If the LED flickers then certainly there may some problem with either the diodes or the transistor, or the resistor or the battery. If not, then you can replace the solar panel with an ordinary power supply and check again.
Mario says
Swag, sorry for not replying sooner. The 6v multiple schematic is working perfect now. My question is about the one with the 10k preset. Is this the correct one?
https://drive.google.com/file/d/1bRO_ebrUBzruoMYWI98CEK4SO3ml1O5B/view?usp=drivesdk
I am only getting 2.5v on the out for the led lights and the solar part is not working properly. I’ve checked connections over and over and still not solved it.
Swagatam says
Thanks Mario, which 6 V multiple schematic are you referring to? Did to check the output by removing the solar panel entirely? If it is not working after removing the solar panel, change the transistor and check again?
Swagatam says
…yes the preset is OK…still for confirming you can check the resistance across the pair of pins which are arranged on one end of the preset, opposite to the single pin on the other end.
Mario says
There was no reply option on your last post. So I’m using old cmment. Anyway, this is the schematic I’m referring to; https://drive.google.com/file/d/1bhto9JCa2C1U4eUBw-aZwhkNlDBJbpNm/view?usp=drivesdk
Does the preset adjust the voltage coming in the solar panel by the way? Not sure why I’m only getting 2.5v coming from light output. I’m using a 7.4 2s2p 18650 with BMS. For this project.
Swagatam says
Mario, Yes the preset is used for adjusting the voltage to the garden light circuit. The voltage must be higher than the battery voltage. You must disconnect the base of the PNP transistor and then adjust the preset to get the required charging voltage across the 1 K resistor. Once this is set you can join the PNP base with the 1K.
And remove the BMS and connect a separate battery while testing.
If you are geting 2.5 V then definitely there’s something wrong with your panel or the NPN circuit, or may be you are not following the instructions properly which i am suggesting here.
NGANG GODWILL says
Greetings Sir;
Thanks very much for this article. I have tested it and works great.
The problem I am facing is, even after charging the whole day, it runs down before morning. (8 hours only).
I am using:
1) 7Volt, 2.5wat, 0.35A solar panel,
2) 3.7 Volt, 2600mA, 18650 Li-on battery (1 nos)
my multi-meter reads 80mA and 3.08Volt when circuit is in operation
Thanks
Swagatam says
Thanks Ngang, glad to know it’s working! The 0.35A seems quite less for a 2600mA cell to charge effectively. It should be at least 1 amp at 4.2V for the cell to charge in 3 hours.
But at 0.35 A also the cell should charge fully but it may take around 6 hours for this.
Are you sure your 3.7V cell is getting 0.35 amps? Connect an ammeter in series with the solar panel positive to check this, I doubt the panel might not be supplying this much current at 5V.
The best way to confirm this is by testing the panel’s short circuit current by connecting a 10 amp ammeter directly across the solar panel terminals at peak sunshine…the result will give you the data regarding the panel’s max current output
Nelio Abreu says
Hi Swag,
If I use 3 batteries in parallel how many LED’s can I use?
Best Regards
Nélio
Swagatam says
Hi Nelio it will depend on the battery Ah rating and the LED current rating. Typically the total LED watt should not exceed 50% of the Ah rating of the cell, for a Li-ion cell.
Nélio Abreu says
Hi Swag,
I have 3 4.5V 1AH SLA batteries, connected in parallel which will give 4.5V 3AH total.
Best Regards.
Nélio Abreu
Swagatam says
Hi Nelio, since it’s an SLA battery, the load should not be more than 1 amp, therefore you can use any LEDs whose total wattage may not exceed 1 amp, and for this the transistor will need to be at least 2 amp rated… a BD140 on heatsink will do
Sparjan says
Sir I not understand 8050transistor.pls explain 8050 and how its use in this ckt
Swagatam says
Please check any online datasheet of 8050 transistor for the pinouts and other details, you can also use 2N2222 instead of 8050
Vishwa mukh says
Sir,
Thanks a lot for your prompt help.
Thanking you for your time,
Swagatam says
you are welcome!!
Vishwa Mukh Bharadwaj says
Sir,
I have compiled the part list. May I request you to please confirm if any changes are required:
1. Solar Panel = 2V 380mA
2. R1 = 5K
3. T1 = BC547C
4. R2 = 100 Ohm
5. T3 = BC558B
6. R3 = 1.5K
7. T2 = BC547C
8. R4 = 20K
9. P1 = 20K
10. 1.2V rechargeable cell
11. R5 = 10K
12. R6 = 13.2K
13. R7 = 100k
14. R8 = 10K
15. T4 = BC547B
16. R9 = 200 Ohm
17. R10 = 10K
18. T5 = BC547C
19. R11 = 1K
20. T6 = 2N3904
21. R12 = 10K
22. T7 = BC547C
23. TR2 = 40
24. R13 = 200 Ohm
25. T8 = BC547C
26. Cluster of 9 white lights in series.
Can you please tell more about component at serial number 23. TR2 = 40?
Thanking you for your time,
Swagatam says
Vishwa, it looks OK to me.
TR2 is the boost coil. 40 is the number of turns for both primary and secondary using any super enameled copper wire which fits inside a torroid ring. For more on this you can refer to the following two articles:
https://www.homemade-circuits.com/8x-overunity-circuit-using-joule-thief/
https://www.homemade-circuits.com/1-watt-led-driver-using-joule-thief/
Ananta says
Sir,
I have a 3w ,6v solar panel.the maximum current = .34a as per the maufraturer & 6v/4.5ah SMF battery. I am new in electronics.pls suggest that can I go with the PCB which had provide you above without any changes.if need,what would be done.
Swagatam says
Ananta, your panel and battery are OK and can be used for the mentioned circuit, but I cannot guarantee the PCB layout because it was designed by somebody else…so please verify it by comparing it with the schematic
Ananta says
Sir
How much led (8mm straw head
.5w 20ma) can be used for 12 hour
Swagatam says
If the battery is 1 AH rated, you can use 5 LEDs in parallel, and illuminate for 10 hours approximately.
Bikash says
I have 6v 3watt solara panel,6v 4AH battery,5nos 8mm straw hat led fwd voLt 3.2 to 3.4 & 150 amp.
Please suggest for the both resistance value/ cicuit
Swagatam says
your solar panel voltage should be at least 8V to 9V otherwise the 6V battery will never get charged.
resistor value can be a 4 ohm / 2 watt
abba says
I want to ask again
1. do we have to worry about over-charge when using lithium battery even-though we provided voltage regulation?
Swagatam says
yes you have to worry about over charging if the output is set at the maximum charge level of the battery….if it is fixed at slightly lower than the full charge level then you can keep it connected forever, without worrying.
abba says
thanks a lot in advance.
Hi swagatam I have a couple of questions
1. do we have to care about overvoltage or current protection when using lead-acid battery ?
2. when the battery got full during the day time, wouldn’t it affect the battery’s health and life-span due to absence of auto-cutoff feature?
Swagatam says
Hi Abba, you must care about the over charging factor for all batteries and you must not keep it connected permanently with the source. In the above design we are assuming that the battery will not charge fully during the course of the entire day or rather we have to select the parameters in such a way that the battery is able to charge only upto 60 to 70% maximum during the daytime.
Mick Oude Engberink says
Does a 1 Ah battery mean that the battery will provide a current of 1A over the time span of 1 hour?
One of your earlier replies:
1watt LED x 12 hours = 12 watt hours will be the led consumption
12watt hours / 12V batt = 1ah battery will be sufficient, so 5ah is more than enough.
Here you say that for 12watt hours you will only need a 1Ah battery. I'm a noob so correct me if I'm wrong but doesn't this mean the battery will give an amount of 1/12=0,83A for 12 hours?
Swagatam says
yes that’s right, but in the most ideal conditions.
I meant to say 1ah is correct as per the calculations, and 5 AH battery will be sufficient, practically 1 ah will not be good, although technically it may look OK
Bryan Freed says
Verified Build, "Solar Garden Light Circuit with Constant Voltage". Work Great, Thank You!
If I'm using a LI-ion battery do I need to worry about a low voltage cut off?
Swagatam says
I am glad you could make it successfully.
yes you will have to worry about the over discharge,in that case you can build the following concept, with the above.
https://www.homemade-circuits.com/2016/05/solar-charger-circuit-using-transistors.html
maulik says
Hello Sir,
Please suggest me the complete circuit diagram of automatic garden solar led light for:
* Super Bright 8mm Straw Hat 0.5W/3.2V-3.6V (100-120mA) X 2 Nos.
* Lithium Battery 18650. : 3.7V/2600 mah
* SOLAR PANEL Cell: 5V/ 500mW
Thanks,
Swagatam says
Hi Maulik,
I'll update the circuit in the above article soon….
Swagatam says
Please see the updated diagram at the bottom of the article, you can use the concept for your application…
IT Computer says
dear i want make 20w LED with solar can you please describe me which circuit and parts i use
Swagatam says
please provide the voltage or the current specs of the LED, or both….
Albert Kravcov says
Could you please tell me how can I modify your circuit for my application? > wd-design.de/schaltung.png
Swagatam says
In my circuit remove the 10 ohm.
replace the battery points with your PCB's input (+)(-) points.
replace the LED points with your Arduino input supply points.
Ashok Dhenge says
Sir I assembled this circuit. But I assembled 3lights, providing 6volt 4.5ah battery at one place and connecting all light by cable approx 3meter distance. I used 3 no 8mm hat straw for one lights. My question is when I checked voltage at end off cable shows 3.2volt I don't get this reason. How to solve this? Because of voltage drop light illuminates very low.
Swagatam says
Ashok, please check the voltage across the collector/ground of the circuit without the LEDs connected, if you see correct battery voltage here, then the problem could be with the current consumption of the LeDs that may be causing the drop in voltage.
Swagatam says
…the wire resistance can also be the reason for the issue…
Navaneeth Nr says
Hi, Happy to see my garden light working!! Thanks a lot for the circuit.
one query ,what is the use of LHS diode connected directly to solar? Can the circuit function efficiently without it? Since my solar panel is only 5.5V ,battery charging is seeing 2 diode voltage drop 0.7+0.7=1.4v. Is there any modification I can do?
Swagatam says
I am glad too it's working for you!! you are welcome!!
the LHS diode is only to protect the circuit from accidental reversal of polarity, meaning if by mistake the solar panel is connected oppositely.
yes if you are sure you won't make the above mistake then you can definitely remove that diode…
Swagatam says
Navaneeth, TIP127 can handle upto 5 amps, so you can easily use it for your panned application, but make sure to put a large heatsing with it…
Bruno Viegas says
Hi, I have to do a similar project you make here, but I only have a 6v 140mah 0.6W solar panel, and absolutely no knowledge about how to choose components. Can you please help me out in order to make this work out with the panel I have if it's possible? Thanks in advance.
Swagatam says
Hi, you can try the second circuit from the above article with your panel, it will definitely work.
Bruno Viegas says
Sorry to bother again, but I showed the system to my teacher and He said that a on-off switch will suffice instead of the automatic day-night switch, can you modify this system for me with that in mind? The solar panel is still the same I said in the first comment.
As for the battery, I didn't find the one in your system to sell here. Do you have any suggestions for a more commom type?
Many thanks.
Swagatam says
In the second circuit, remove the right side diode, remove the transistor, remove the 1k resistor….now connect the switch terminals in series with the line which was going through the transistor to the positive.
that's all
the battery can be any battery whose voltage may be a few volts lower than the peak level of the panel…and the AH rating could be 3 or 4 times higher than the amp spec of the panel.
sunilsuth says
In this circuit the led starts glowing as soon as the SP voltage drops below 4.3v ,can u modify this and make the led glow when SP VOLTAGE drops below 3v or near to that
Swagatam says
you can add the following circuit with the panel for acquiring the mentioned feature
https://www.homemade-circuits.com/2013/05/low-battery-indicator-circuit-using-two.html
Tuan Sathiyan says
Thank you Sir.
chandraworld says
Thank-you,ihave tried 8550 and it works well.but led burns before it becomes dark.kindly suggest changes to be made.
Swagatam says
If you have used the series resistor correctly then the LED will never burn, please make sure you have connected a correctly calculated resistor.