• Skip to main content
  • Skip to primary sidebar

Homemade Circuit Projects

Need circuit help? Post them in the comments! I've answered over 50,000!

Blog | Categories | About | Contact | Calculators-online
You are here: Home / Lamps and Lights / Simple Solar Garden Light Circuit – With Automatic Cut Off

DIY Circuits | Learn Basics | Arduino Coding




Simple Solar Garden Light Circuit – With Automatic Cut Off

Last Updated on March 25, 2025 by Swagatam 336 Comments

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 base 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
garden light solar panel

Using NPN Transistors

The above explained designs can be also replicated using two NPN transistors as shown in the following diagram:

6V solar garden light circuit

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:

current controlled LED solar garden lamp 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.

solar LED lamp with auto cut off 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.

12V high power solar garden light circuit
Please remember to connect a Diode between R1 and the battery positive.

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.

You'll also like:

  • ambient light dependent fading led lightsLight Dependent LED Intensity Controller Circuit
  • LED structuresLight Emitting Diodes (LED) Explained
  • Automatic LED Candle Light Circuit
  • 100led 2How to Illuminate 100 LEDs from 6 Volt Battery

Filed Under: Lamps and Lights, Solar Controller Circuits Tagged With: Automatic, Garden, Light, Simple, Solar

About Swagatam

I am an electronics engineer and doing practical hands-on work from more than 15 years now. Building real circuits, testing them and also making PCB layouts by myself. I really love doing all these things like inventing something new, designing electronics and also helping other people like hobby guys who want to make their own cool circuits at home.

And that is the main reason why I started this website homemade-circuits.com, to share different types of circuit ideas..

If you are having any kind of doubt or question related to circuits then just write down your question in the comment box below, I am like always checking, so I guarantee I will reply you for sure!

Previous Post: « 4 Simple Li-Ion Battery Charger Circuits – Using LM317, NE555, LM324
Next Post: Energy Saving Automatic LED Light Controller Circuit »

Reader Interactions

Comments

Blazej says:
April 5, 2023 at 2:29 pm

Hello, I made this system, but the LED lights up too early, where to insert the resistor to delay the LED lighting. Regards

Reply
Swagatam says:
April 5, 2023 at 6:58 pm

Hi, thank you for trying this circuit….However If your solar voltage drops below 1V then the transistor will switch ON and the LEDs will light up, We cannot do anything about it.

Reply
Ray Steelman says:
March 22, 2023 at 4:51 am

amazing to me your depth of knowledge, did you get most of your knowledge from a certain book? I am very interested in building resourceful projects. Maybe you have a suggested reading? please keep posting all your great ideas.

Reply
Swagatam says:
March 22, 2023 at 9:34 am

Thank you for your kind words. My knowledge of electronics has come from books and practical experience. Do let me know if you have any further doubts or questions.

Reply
Duncan says:
October 13, 2022 at 4:33 pm

Hi SwagatamRegarding your last circuit “High Power 12V Garden Light Circuit”, could you please advise as to where the best placement of a 12V Zener diode would be for low battery cut off? Would it be between Q2 base and battery +, or would it need to be in series with the 1K resistor and battery positive?
Many thanks for a very impressive site BTW

Reply
Swagatam says:
October 13, 2022 at 5:57 pm

Thank you Duncan,

As correctly guessed by you, it must be in series with the 1K base resistor of TIP122

Reply
Duncan says:
October 17, 2022 at 3:38 pm

So I tried this insertion over the weekend, and it did not work as intended. When the 12V zener was connected, the lighting was illuminated, but very very dim. Even after removing the 1K resistor, the effect was the same.
Any ideas on this for a solution?

Reply
Swagatam says:
October 17, 2022 at 5:49 pm

In that case you may have to reduce the value of the zener diode. You can try a 11V or 10V zener diode and check the response. However, first you may have to confirm whether the LEDs are illuminating brightly or not without the zener diode. If it does then the problem may be with the zener diode, and you can try using lower values.

Reply
Duncan says:
October 31, 2022 at 3:49 pm

Yes, my LED lights do illuminate fully without the diode. But, to give feedback, as you suggested I tried an 11V zener, and this seems to work. Although not 100% what I’d like, as it drops the battery down to ±10.8V which is not the best level to have your battery at.
But I guess it’s better than running the battery completely flat and into irreversible damage. What was interesting is that the diode starts to activate at around 12.2V and starts to put the lights into like a “limp mode”, at about ¾ brightness, then gradually dims until the zener voltage kicks in for total shut off.

Reply
Swagatam says:
November 1, 2022 at 8:54 am

Thank you for the feedback and update! It looks interesting, however I guess a simple zener network may be too basic to provide accurate cut-off results. So getting perfect results might not be possible using a zener diode only. Instead, a combination of an opamp and a zener diode might do the job to provide the desired accurate results.

Reply
Ravi KUMAR says:
September 24, 2022 at 7:15 pm

Hi Swagatham,Thanks for the response and appreciate.As you asked me for specification of type of batteries and voltage and amperage. To myself clear I thought it would be more precise if I sent you pictures of the units I have. I have three varieties . Please have look . But it seems there is no way to send photos. 1.AAA 1.2V. 600mAh,NIMH BATTERY, one battery(2) AA 1.2V 600mAh,NIMH ,2 batteries.(3)AA1.2V 600Ah,Ni-Cd ,1 battery. All solar panels. I have AC to DCpower supplies of 5 V DC out put. Or any you may suggest.

Reply
Swagatam says:
September 25, 2022 at 9:06 am

Hi Ravi,
You can try two NiMH in series, and connect it with the following circuit:

https://www.homemade-circuits.com/wp-content/uploads/2013/03/garden-2.png

You can replace the solar panel with your 5V DC input.
Then adjust the 10K preset such that battery points are set at exactly 3V. Do this without connecting the batteries initially. Once the preset is set then you can connect the batteries.
For the LEDs you can use 6 nos of high bright 20mA LEDs in parallel

Reply
Ravi Kumar says:
September 23, 2022 at 2:19 am

Hi, My name is Ravi and I am in UK. I USED TO LIVE IN USA ALSO. I have accumulated lot of solar path lights and others. Here in UK climate does not offer sun shire consistently. Hence can charge the solar panels fully. So I now decided to use DC power. I have combination of 1.2 V and 1.5 V battery models. What modification I need to add appropriate resisters/ and some thing else.I WOULD BE GREATFUL IF YOU COULD PROVIDE ME A CIRCUIT DIAGRAMS AND RESISTER VALUES, I WILL SOLDER THEM ON TO THE CIRCUIT BOARD. I AM REASONABLY HANDY TO THIS IF I KNOW WHAT TO DO. IF you feel some other details you need to help me, I will provide. Kind regards. Ravi

Reply
Swagatam says:
September 23, 2022 at 8:56 am

Hi Ravi,
Can you please tell me the specifications of the battery. Are they rechargeable type, such as NiCd or NiMH type? If they are rechargeable type then you may need a charger circuit also to charge them from an AC to DC adapter.

Reply
jwc says:
September 11, 2022 at 3:05 pm

i have a solar panel which used to runasmall water fearute the circit got smashed at a house move time the remains suggest it was a simple 1fuse 1 diode system the remains cannot be identified correctly need fuse and diode identified or suitable substitutes solar working ok

Reply
Swagatam says:
September 11, 2022 at 7:12 pm

What is the voltage and current specifications of the solar panel?

Reply
jwc says:
September 11, 2022 at 7:59 pm

no idea it was bought as a working unit by my son all i can say is the water fountain was a 12 volt unit worked ok in his garden then he moved to oz hence i ended up with it the solar panel has no information on physically its 17 by 12 ins that’s actual solar panel measured inside its housing i have a voltmeter panel shows over18 volts in full sun,thanks for answering

Reply
Swagatam says:
September 12, 2022 at 10:42 am

OK, in that case, the fuse amp rating will depend on the amp rating of the load. For example if the max current of the load consumption is 2 amps then the fuse can be rated at 2 amps.
And the diode can be a 1N5402 assuming your panel current is less than 3 amps.

Reply
jwc says:
October 5, 2022 at 6:12 pm

new problem fan not working still works of 12 volt battery solar panel still giving 17 volts as soon as you switch fan on voltage from solar panel drops to almost nothing

Reply
Swagatam says:
October 5, 2022 at 6:47 pm

It means that the solar panel current delivering capacity is far too less compared to the fan’s current rating….you can confirm the panel’s AMP output capacity by connecting an ammeter across its terminals at peak sunshine.

Reply
Robert and Pamela Piers-Leake says:
September 6, 2022 at 12:38 pm

We’re due to move into a new house in the Spring of 2023 for which I am preparing my “Charlie Dimmock” design for the back garden.

I need to include lighting for the said design, ideally not using power from the grid, i.e. instead using solar power. However, rather than having individual solar lights, I need advice on perhaps having a single solar collector, placed in the best possible position for the sun and a battery storage system from which the garden lights will be fed when the sun goes down.

However, to compound things, we are also considering PV panels to hopefully reduce our reliance on the grid house power consumption, so would it be best to combine the two systems?

Whilst I shall print off the content of your web article, any early advice on the aforementioned would be mush appreciated.

Reply
Swagatam says:
September 6, 2022 at 6:11 pm

It may be possible to extract the power from the PV panels for the garden lights so separate solar panels may not be necessary for the garden lights.
If you tell me the total wattage of the LED lights and the number of LEDs, I will try to figure out the automatic system and the controller for the LEDs.

Reply
EN says:
August 10, 2022 at 9:15 am

Hi Swagatam. i’m EN
I have a question.
For example, if I think I use 50W of a solar cell, is there a way to calculate the specifications of the battery or how many W of LED can be used?

Reply
Swagatam says:
August 10, 2022 at 9:36 am

Hi EN,
Can you please tell me the voltage rating of the solar cell, I will try to figure it out for you!

Reply
EN says:
August 16, 2022 at 10:48 am

solar Power 30W
Max power voltage 18V
Max power current 1.66A
open circuit voltage 21.6V
Let me know if you need any further information. Thank you

Reply
Swagatam says:
August 16, 2022 at 1:07 pm

You can use a 12V 7 Ah battery with a LM338 solar voltage regulator set to control the max voltage to the battery at 14V.
For the LEDs you can use 3.3 V 1 watt LEDs. Make 3 LEDs in series and connect 5 of these strings in parallel. Each string must have a individual series resistor rated at 7 ohms 1 watt

Reply
EN says:
August 17, 2022 at 5:28 am

The maximum voltage of the solar cell is 18V, but is there a reason why the battery uses 12V?
Also, I wonder why LEDs are used in a combination of series and parallel.
How many hours is the LED light based on this connection?

Reply
Swagatam says:
August 17, 2022 at 10:04 am

Using a 12V battery leaves a good margin for the battery to charge even while the sunshine is not at its peak. For LED total forward voltage must be lower than the battery lowest voltage level. With 3 in series, the total forward voltage of the string becomes 9.9V which means even if the battery voltage drops to 11V the LEDs will still remain illuminated. The LEDs will not illuminate if the series forward voltage of the LEDs become higher than the battery voltage. With a fully charged battery the backup time should be around 4 to 5 hours.
The battery should be charged through a LM338 regulator

Reply
EN says:
August 22, 2022 at 8:36 am

Hi. swagatam.
Do you have a sample circuit for your explanation?
And I hope to be lit for more than 10 hours using 10 LEDs.

Reply
Swagatam says:
August 22, 2022 at 1:29 pm

Hi EN,
I have updated the diagram for you at the end of the above post. It will last for 10 hours, using 9 nos LEDs, 1 watt each

Reply
EN says:
August 25, 2022 at 5:30 am

Thank you for your answer. I’ll test it.
Previously, the LED was said to operate for 5 hours, but the circuit is a circuit that operates for 10 hours. What’s the difference?
And if I change the specifications of solar cells and batteries, do I just change the resistance in the circuit?

Reply
Swagatam says:
August 25, 2022 at 9:50 am

Sure, you can build it and let us know the results.
Previously 15 LEDs were used, and now only 9 LEDs are used, therefore the backup time has increased. These are only approximate values, the actual value can be found only by testing it practically.
You don’t have to change anything in the circuit upto 30 V input. But as the solar voltage is increased, the heat on the LM338 will increase proportionately.

Bob Wareham says:
August 7, 2022 at 3:19 pm

Thank you for all the circuits you proved with your emails, I always look forward to receiving your emails to see what circuit ideas you have.
Many thanks, keep going you should do a YouTube channel I would join.

Reply
Swagatam says:
August 7, 2022 at 6:12 pm

Thank you so much, I appreciate your kind response.
I have a video channel, you can view it here: https://www.youtube.com/c/SwagatamMajumdar/videos

Reply
blee says:
July 1, 2022 at 11:58 am

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

Reply
Swagatam says:
July 4, 2022 at 7:02 pm

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

Reply
EN says:
March 4, 2022 at 12:20 pm

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.

Reply
Swagatam says:
March 4, 2022 at 1:48 pm

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.

Reply
EN says:
March 7, 2022 at 2:57 pm

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.

Reply
Swagatam says:
March 7, 2022 at 6:30 pm

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.

Reply
EN says:
March 8, 2022 at 6:26 am

solar panel 6V, 0.35A, Battery 4.2V, 2550mA
Is there a way to send pictures? Mail or another?
Thank you

Reply
Swagatam says:
March 8, 2022 at 10:33 am

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.

Reply
EN says:
March 8, 2022 at 12:59 pm

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.

Reply
Swagatam says:
March 8, 2022 at 8:32 pm

The minimum voltage can be 5V, but the current should be between 500 mA and 1 amp.

Reply
EN says:
March 10, 2022 at 7:17 am

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.

Reply
EN says:
March 10, 2022 at 1:18 pm

Thank you for your answer.
If I have any questions, I’ll ask you more!
Have a good day.

Swagatam says:
March 10, 2022 at 1:19 pm

Sure, no problem.

Swagatam says:
March 10, 2022 at 10:24 am

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:
March 8, 2022 at 6:34 am

Additionally, how do you adjust the 10K preset?
I want to know the formula

Reply
Swagatam says:
March 8, 2022 at 10:40 am

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

Reply
AMIT GARG says:
January 31, 2022 at 3:10 pm

Would appreciate if you add costing of components used in the circuit.

Reply
Kris K. says:
November 29, 2021 at 4:12 am

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!

Reply
Swagatam says:
November 29, 2021 at 5:27 pm

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

Reply
Kris K. says:
November 30, 2021 at 12:02 am

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.

Reply
Swagatam says:
November 30, 2021 at 9:50 am

Sure, no problem!

Reply
Dennis Eugene Rowe says:
September 27, 2021 at 9:04 pm

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?

Reply
Swagatam says:
September 28, 2021 at 9:12 am

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/

Reply
Eugene says:
September 24, 2021 at 4:32 pm

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

Reply
Swagatam says:
September 24, 2021 at 7:25 pm

Hello, connect the transistor base with its emitter manually and check if the LEDs shuts off, if not then your transistor is faulty.

Reply
eugy says:
September 25, 2021 at 2:46 pm

do I basically need to use specifically the transistor indicated on the diagram

Reply
Swagatam says:
September 25, 2021 at 4:03 pm

It just needs to be a PNP transistor, that’s all

Reply
Emre says:
September 11, 2021 at 10:46 pm

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

Reply
Swagatam says:
September 12, 2021 at 10:31 am

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%

Reply
Emre says:
September 11, 2021 at 5:56 am

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

Reply
Swagatam says:
September 11, 2021 at 10:31 am

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.

Reply
James says:
August 31, 2021 at 7:36 am

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.

Reply
Swagatam says:
August 31, 2021 at 1:34 pm

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.

Reply
Jamed says:
September 28, 2021 at 5:06 am

Thank you, would you have an existing circuit diagram?

Reply
Swagatam says:
September 28, 2021 at 10:19 am

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/

Reply
Marko says:
August 19, 2021 at 3:01 am

How can the pcb pictorial be done on a copper clad board? I have only an inkjet printer and want to build this circuit?

Reply
Swagatam says:
August 19, 2021 at 8:25 am

You can refer to this article for the details:

How to Make PCB at Home

Reply
Vj sarkissian says:
June 11, 2021 at 7:02 am

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

Reply
Swagatam says:
June 12, 2021 at 1:03 pm

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.

Reply
Cheryll Robinson says:
June 9, 2021 at 8:12 pm

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.

Reply
Swagatam says:
June 10, 2021 at 10:40 am

You can build and implement the following concept:

solar panel activated pump motor

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.

Reply
Neill says:
June 9, 2021 at 1:20 pm

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

Reply
Swagatam says:
June 9, 2021 at 1:56 pm

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.

Reply
KM says:
February 20, 2021 at 4:34 am

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…

Reply
Swagatam says:
February 20, 2021 at 9:37 am

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

Reply
NGANG says:
January 24, 2021 at 10:00 am

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

Reply
Swagatam says:
January 25, 2021 at 5:42 pm

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.

Reply
Frank says:
January 22, 2021 at 8:01 pm

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

Reply
Swagatam says:
January 23, 2021 at 11:06 am

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

Reply
frank says:
January 23, 2021 at 6:17 pm

Thank You..

Frank.

Reply
Ravi I. KUMAR says:
January 20, 2021 at 5:57 pm

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

Reply
Swagatam says:
January 20, 2021 at 9:30 pm

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….

Reply
Tony says:
December 12, 2020 at 7:08 am

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.

Reply
Swagatam says:
December 12, 2020 at 11:30 am

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….

Reply
Eduardo says:
November 26, 2020 at 8:42 pm

Thanks for that it’s really worth to query the designer appreciate it very much
It’s wonderful finding you on Pinterest
Rgrds,
Eduardo

Reply
Swagatam says:
November 27, 2020 at 2:25 pm

It’s my pleasure and happy to help!

Reply
Eduardo Roxas says:
November 26, 2020 at 3:32 pm

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

Reply
Swagatam says:
November 26, 2020 at 7:32 pm

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

Reply
Robert C Gillespie says:
August 16, 2020 at 9:52 pm

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?

Reply
Swagatam says:
August 17, 2020 at 8:42 am

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.

Reply
Glynn Trow says:
July 29, 2020 at 1:22 am

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

Reply
Swagatam says:
July 29, 2020 at 10:48 am

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:

solar garden light with complete darkness switch ON

Reply
Nélio says:
July 25, 2020 at 4:08 pm

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.

Reply
Swagatam says:
July 25, 2020 at 5:23 pm

Hi Nelio, yes that’s possible, the formula for the series resistor is:

R = (Battery Voltage – LED Fwd voltage) / LED Current

Reply
Nélio says:
July 25, 2020 at 5:37 pm

Hi,
You are refering the first circuit.
I was considering this one :
Solar Pathway Light Circuit with Constant Voltage
Nelio

Reply
Swagatam says:
July 25, 2020 at 6:41 pm

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

Reply
Nélio says:
July 25, 2020 at 7:00 pm

Ok.
Thanks.
Best Regards.
Nelio

Reply
Swagatam says:
July 25, 2020 at 10:20 pm

Glad to help!

Reply
Dimitar says:
April 26, 2020 at 8:48 pm

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.

Reply
Swagatam says:
April 27, 2020 at 1:36 pm

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.

Reply
Dimitar Kirov says:
April 24, 2020 at 6:37 pm

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.

Reply
Swagatam says:
April 25, 2020 at 10:50 am

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.

Reply
Dimitar says:
April 25, 2020 at 12:49 pm

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?

Reply
Swagatam says:
April 25, 2020 at 6:53 pm

Yes it should be 4.5V. At 1.2 V the LEDs will not light up.

Reply
Dimitar says:
April 26, 2020 at 1:38 am

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?

Reply
Dimitar says:
April 26, 2020 at 5:45 pm

P.S. My bad, it does have an inductor, it does use a joule thief.

Reply
Swagatam says:
April 26, 2020 at 6:31 pm

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

Reply
Dimitar says:
April 26, 2020 at 4:24 pm

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.

Reply
Swagatam says:
April 26, 2020 at 11:21 am

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:

1.2 V solar charger circuit

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.

Reply
Edward says:
December 5, 2019 at 6:16 am

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.

Reply
Swagatam says:
December 5, 2019 at 11:56 am

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

Reply
Dweep K Baniya says:
March 28, 2020 at 4:46 pm

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.

Reply
Swagatam says:
March 28, 2020 at 8:39 pm

I could not understand your question.

Reply
Dweep Baniya says:
April 3, 2020 at 8:37 pm

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

Reply
Swagatam says:
April 3, 2020 at 8:52 pm

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….

Reply
Hannah B says:
December 4, 2019 at 11:53 am

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?

Reply
Swagatam says:
December 4, 2019 at 5:12 pm

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.

Reply
Hannah B says:
December 8, 2019 at 9:42 am

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.

Reply
Swagatam says:
December 8, 2019 at 7:58 pm

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.

Reply
FPoster says:
October 18, 2019 at 7:12 am

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.

Reply
Swagatam says:
October 18, 2019 at 3:46 pm

You can upload the pics to your google drive and share the link with me here, I’ll try to figure it out

Reply
Robert Bernal says:
September 3, 2019 at 4:02 am

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!

Reply
Robert Bernal says:
September 3, 2019 at 3:06 am

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.

Reply
Swagatam says:
September 3, 2019 at 11:38 am

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

Reply
NGANG GODWILL says:
May 30, 2019 at 7:32 am

Sir,
I can’t see the updated diagram for lithium ion. is the 10 ohms resistor is eliminated in the lithium ion version?

Reply
Mario says:
July 6, 2020 at 8:59 pm

Hi, is there a substitute for tip122 transistor? Thanks for your input

Reply
Swagatam says:
July 7, 2020 at 11:57 am

There’s no easy substitute for TIP122

Reply
Mario says:
July 25, 2020 at 11:57 pm

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.

Reply
Swagatam says:
July 26, 2020 at 11:02 am

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.

Reply
Mario says:
August 4, 2020 at 10:55 pm

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.

Reply
Swagatam says:
August 5, 2020 at 10:26 am

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.

Reply
Mario says:
August 4, 2020 at 7:13 pm

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.

Reply
Swagatam says:
August 4, 2020 at 9:26 pm

…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.

Reply
Swagatam says:
August 4, 2020 at 9:24 pm

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?

Reply
Mario says:
July 28, 2020 at 4:05 am

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

Reply
Swagatam says:
July 28, 2020 at 1:40 pm

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.

Reply
Mario says:
July 7, 2020 at 4:02 pm

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.

Reply
Swagatam says:
July 7, 2020 at 7:06 pm

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.

Reply
Mario says:
July 7, 2020 at 7:52 pm

Got it, that explains it and makes perfect sense. The 10k preset resistor you mentioned on the 6v circuit, is that a mini potentiometer?

Reply
Swagatam says:
July 7, 2020 at 8:40 pm

That’s a preset, not a potentiometer, it is intended for a one time voltage setting.

Reply
Swagatam says:
May 30, 2019 at 9:56 am

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.

Reply
rudi says:
September 16, 2020 at 10:15 pm

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

Reply
Swagatam says:
September 17, 2020 at 5:37 pm

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

Reply
Mudita says:
October 31, 2019 at 12:54 pm

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.

Reply
Swagatam says:
October 31, 2019 at 2:53 pm

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!

Reply
NGANG GODWILL says:
May 30, 2019 at 7:27 am

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

Reply
Swagatam says:
May 30, 2019 at 9:55 am

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

Reply
Nelio Abreu says:
January 27, 2019 at 12:15 am

Hi Swag,
If I use 3 batteries in parallel how many LED’s can I use?
Best Regards
Nélio

Reply
Swagatam says:
January 27, 2019 at 9:11 am

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.

Reply
Nélio Abreu says:
January 27, 2019 at 3:18 pm

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

Reply
Swagatam says:
January 27, 2019 at 5:09 pm

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

Reply
Sparjan says:
April 30, 2018 at 3:21 pm

Sir I not understand 8050transistor.pls explain 8050 and how its use in this ckt

Reply
Swagatam says:
April 30, 2018 at 5:21 pm

Please check any online datasheet of 8050 transistor for the pinouts and other details, you can also use 2N2222 instead of 8050

Reply
Vishwa mukh says:
January 31, 2018 at 6:21 pm

Sir,
Thanks a lot for your prompt help.

Thanking you for your time,

Reply
Swagatam says:
January 31, 2018 at 7:47 pm

you are welcome!!

Reply
Vishwa Mukh Bharadwaj says:
January 31, 2018 at 2:33 pm

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,

Reply
Swagatam says:
January 31, 2018 at 5:09 pm

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/

Reply
Ananta says:
December 25, 2017 at 9:15 pm

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.

Reply
Bikash says:
January 11, 2018 at 3:55 pm

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

Reply
Swagatam says:
January 12, 2018 at 9:00 am

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

Reply
Ananta says:
January 9, 2018 at 4:52 am

Sir
How much led (8mm straw head
.5w 20ma) can be used for 12 hour

Reply
Swagatam says:
January 9, 2018 at 9:43 am

If the battery is 1 AH rated, you can use 5 LEDs in parallel, and illuminate for 10 hours approximately.

Reply
Swagatam says:
December 26, 2017 at 6:36 am

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

Reply
abba says:
December 10, 2017 at 12:44 am

I want to ask again
1. do we have to worry about over-charge when using lithium battery even-though we provided voltage regulation?

Reply
Swagatam says:
December 10, 2017 at 10:48 am

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.

Reply
abba says:
December 10, 2017 at 12:35 am

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?

Reply
Swagatam says:
December 10, 2017 at 10:52 am

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.

Reply
Mick Oude Engberink says:
August 18, 2017 at 10:46 pm

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?

Reply
Swagatam says:
August 20, 2017 at 7:02 am

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

Reply
Bryan Freed says:
July 18, 2017 at 5:35 pm

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?

Reply
Swagatam says:
July 19, 2017 at 2:03 am

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

Reply
maulik says:
July 9, 2017 at 4:51 am

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,

Reply
Swagatam says:
July 10, 2017 at 3:21 am

Please see the updated diagram at the bottom of the article, you can use the concept for your application…

Reply
Swagatam says:
July 10, 2017 at 2:48 am

Hi Maulik,

I'll update the circuit in the above article soon….

Reply
IT Computer says:
May 17, 2017 at 3:59 pm

dear i want make 20w LED with solar can you please describe me which circuit and parts i use

Reply
Swagatam says:
May 19, 2017 at 3:49 am

please provide the voltage or the current specs of the LED, or both….

Reply
Albert Kravcov says:
April 13, 2017 at 10:02 am

Could you please tell me how can I modify your circuit for my application? > wd-design.de/schaltung.png

Reply
Swagatam says:
April 14, 2017 at 2:38 am

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.

Reply
Ashok Dhenge says:
January 21, 2017 at 6:08 pm

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.

Reply
Swagatam says:
January 22, 2017 at 4:43 am

…the wire resistance can also be the reason for the issue…

Reply
Swagatam says:
January 22, 2017 at 4:42 am

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.

Reply
Navaneeth Nr says:
January 6, 2017 at 5:53 am

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?

Reply
Swagatam says:
May 26, 2017 at 11:31 am

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…

Reply
Swagatam says:
January 6, 2017 at 11:11 am

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…

Reply
Bruno Viegas says:
November 2, 2016 at 11:37 pm

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.

Reply
Swagatam says:
November 4, 2016 at 6:36 am

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.

Reply
Bruno Viegas says:
November 3, 2016 at 8:55 pm

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.

Reply
Swagatam says:
November 3, 2016 at 9:10 am

Hi, you can try the second circuit from the above article with your panel, it will definitely work.

Reply
sunilsuth says:
October 19, 2016 at 5:04 pm

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

Reply
Swagatam says:
October 20, 2016 at 2:27 am

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

Reply
Tuan Sathiyan says:
July 21, 2016 at 3:51 pm

Thank you Sir.

Reply
chandraworld says:
July 17, 2016 at 1:22 pm

Thank-you,ihave tried 8550 and it works well.but led burns before it becomes dark.kindly suggest changes to be made.

Reply
Swagatam says:
July 17, 2016 at 3:17 pm

If you have used the series resistor correctly then the LED will never burn, please make sure you have connected a correctly calculated resistor.

Reply
Swagatam says:
July 15, 2016 at 2:46 am

BC547 will not work, it should be a PNP and rated to handle 1 amp for the power LED, you can try 8550 or 2N2907 transistor with an identical set up as given above
you will also need a battery, preferably a 3.7 Li-ion

Reply
Navaneeth Nr says:
June 22, 2016 at 8:32 am

Many Thanks. I agree. These type of special ICs also runs at particular frequency ( Even though the Leds blink , our eyes can't detect) there by reducing battery consumption. Can you help me in incorporating the circuit?

Reply
Swagatam says:
June 23, 2016 at 2:53 am

Thanks, the frequency is used as a part of their buck or boost converter circuit which efficiently reduce or increase the voltage to the LED as per the LED specification….that's the only purpose of the involved frequency.

A LED will always require a constant DC with the correct V and I specs for illuminating at the optimal level…if its applied with a pulsed DC then its light will also dim or reduce proportionately

Reply
Navaneeth Nr says:
June 21, 2016 at 4:40 pm

Could you please try designing more efficient circuit like one using qx5252 (solar driver) , where it can light longer and has battery protection form discharge and overcharge?

Reply
Swagatam says:
June 22, 2016 at 4:39 am

I already have many efficient and easy to build battery charger circuits posted in this site…you can find them under the "battery charger" category. I normally avoid using special ICs because they are mostly not available in all places and tend to get obsolete overtime.

Reply
Swagatam says:
June 20, 2016 at 1:59 am

no changes are required…

Reply
Swagatam says:
June 19, 2016 at 12:01 pm

you can use any other differently rated battery also, just make sure the panel and the LEDs are also appropriately matched with the battery specs

Reply
Swagatam says:
June 12, 2016 at 12:02 pm

sure you can try it out. there is no overcharge feature in this design for the sake of simplicity…
this is a cheap circuit so a charge controller cannot be expected for this design, although one can include it if it's felt important by the user.

here the charging current of the panel is matched with the batt specs such that it charges the batt to around 70% until it's dark…with this consideration the charger controller is eliminated for this design

Reply
Swagatam says:
June 10, 2016 at 3:34 pm

the indicated resistor actually acts as a limiter for the battery, not for the LEDs, because LEDs are assumed to be having the forward voltage fixed in accordance with the battery voltage so no resistor would be required for the LEDs essentially.

But if the LED series FWD voltage is not calculated as per the battery voltage then the strings might require their own calculated limiting resistors

Reply
Swagatam says:
June 10, 2016 at 7:05 am

correction:

the formula should be as given under:

R = V/I

Reply
Swagatam says:
June 10, 2016 at 7:03 am

Hi, you can use the above circuit for your specific application without changing much….except the transistor which could be replaced with a TIP127…the resistor won't be critical with this transistor and anything between 1K and 22K would work satisfactorily.

you can use any battery as long as its voltage is compatible with the LED string voltage…nothing will need to be changed in the design….however the 10 ohm current limiter might require a recalculation for a given battery.

the following formula could be used for it

V = I/R where V is the supply voltage and I is specified safe charging current rate of the battery

Reply
Unknown says:
June 7, 2016 at 4:48 am

Hi Sir,
Thank you for sharing this circuit?

I have two questions
1) is it okay to continuously charge a battery. Normally for 12v batteries we have a charge controller. I didn't find too many for batteries below 12v. Why is that ?
2) is it possible to add a charging led indicator ?

Reply
Swagatam says:
June 7, 2016 at 2:55 pm

Hi,

this is a cheap circuit so a charge controller cannot be expected for this design, although one can include it if it's felt important by the user.

here the charging current of the panel is matched with the batt specs such that it charges the batt to around 70% until it's dark…with this consideration the charger controller is eliminated for this design

Reply
Rajkumar v says:
May 24, 2016 at 6:34 am

Sir good day to you
May I use BD140 transister. What can I do to change this circuit ? My requirement one 3w led and battery type 6v4.5 amp
Thank you sir

Reply
Swagatam says:
May 25, 2016 at 2:52 am

Hi Rajkumar, what is the voltage rating of the 3 watt LED?

BD140 might not work, use a TIP127 instead

Reply
satheesh k Nalluswamy says:
May 19, 2016 at 12:57 pm

Dear sir,
Good day to you May I use 4.5v 2A battery and 8 smd 5050 led (150ma) . what will be changes for this circuit .

Reply
Swagatam says:
May 20, 2016 at 1:27 pm

Dear Satheesh,

4.5V 2ah will not be able to support 8nos of 150mA LEDs for too long.

8 LEDs in parallel will consume 1.2 amps, which will drain the batt within 1 hour

Reply
Swagatam says:
May 17, 2016 at 3:48 am

yes it will be harmful for the battery to use a higher rated panel….you can put a 7806 IC after the panel supply t0 drop the supply to 6V for the circuit and the battery

Reply
walker01 says:
May 16, 2016 at 8:35 pm

Does it matter how high the solar panel voltage is for recharging the batteries? Will using a 12v solar panel damage the batteries when charging them if the batteries only output at like 5v?

Thanks! awesome post

Reply
john kg says:
May 9, 2016 at 4:58 am

good day sir
i made the solar garden lamp and it working well i just want to know how can i increase the sensitivity of the circuit so it will light up when sunlight really fade out
and i am using 3.7v li ion battery any problem realted to over charging since there is any control circuit
thanks
john

Reply
Swagatam says:
May 9, 2016 at 11:37 am

Hi John, you mean you want the LEDs to illuminate when it is almost dark? to implement that you may have to add another transistor stage with the above shown design.

to avoid over charging we can dimension the 10 ohm resistor value such that it charges the battery almost fully by the time the sun is about to set….

Reply
john kg says:
May 9, 2016 at 1:59 pm

thankyou sir for the promt reply
can u help what vaule of resistor to put ( i am using 8v 200 mill amp solar panel and 4x 3.7v (18650)
in paralle)

john

Reply
Swagatam says:
May 9, 2016 at 2:47 pm

what is the mAH rating of the cells together or for each?

anyhow it seems the 200mA from the panel could be quite low for those cells, and no resistance should be used in order to allow some charging of the cells throughout the day….but a resistor should be included with the LEDs for safeguarding them, as per their rating

Reply
John Merten says:
March 11, 2016 at 2:32 pm

Ahhh ok. Light bulb just came on. thank you.

Reply
Swagatam says:
March 11, 2016 at 7:58 am

It's for biasing the transistor…so that the transistor is able to sense the voltage level from the panel and switch the LEDs ON or OFF?

Reply
John Merten says:
March 11, 2016 at 4:56 am

Hello. I hope I'm not to late for this question period. I am a total newbie but non the less find this fascinating and confusing. What is the purpose of connecting the line with the 1K resistor from negative to the positive in the first place?? even if "It would hardly dissipate anything" How can that help anything?

Reply
Pavel Dikov says:
March 9, 2016 at 8:41 pm

Hi, how can I modify this circuit with a timer so that the light turns on for about 3-6 hours after dusk? thanks

Reply
Swagatam says:
March 11, 2016 at 5:04 am

current from battery (+) enters the emitter of the transistor, comes out of the collector, enters the LEDs and returns back to the battery (-)

Reply
Pavel Dikov says:
March 10, 2016 at 11:57 pm

Can you also explain the exact flow of the current from the battery to the LED's, because I'm confused where the current goes after it passes through the LED's. Does it go through the transistor and back to the battery? If not, than what is the purpose of the transistor? Thank you.

Reply
Swagatam says:
March 10, 2016 at 11:16 am

you can use the same configuration that's shown above with the following modifications.

use a 4060 based timer circuit.

remove everything from the existing base of the 8550 and connect the base of the 8550 transistor via a 1K resistor to pin3 of the IC.

connect pin12 of the IC to ground via a 1M resistor, and connect a link from positive of the panel to pin12 of the IC.
set the R/C values of the 4060 to get 4 hours delay.
also connect a 1N4148 diode from pin3 to pin11..cathode to pin11

that's all

Reply
Unknown says:
March 9, 2016 at 8:38 pm

Hi, how can I modify this circuit so that the light turns on at dusk for about 3-6 hours? and where would I place the timer? thanks

Reply
Maruti patil says:
January 31, 2016 at 3:04 pm

Sir, This is exactly what I need except that I need to use a 15 watt 17 volt solar panel with an output of .89 amp. What components do I need to replace in order to run this solar panel? I'll be charging 2 or 3 18650 batteries in parallel with a 2500mah capacity each. thank you in advance.

Reply
Maruti patil says:
February 4, 2016 at 5:21 pm

Can you share the diagram

Reply
Swagatam says:
February 1, 2016 at 4:16 am

Maruti, for charging the mentioned cells you will need to eliminate the 10 ohm resistor and short it with a wire link.

make sure you connect the cells in series and not in parallel, since each cell is rated at 3.7V so 3 in series would require 12V to charge them fully and the 17V panel would work good since it's quite low in current compared to the required 2.5AH rating of the battery.

the transistor and the 1K resistor are related to the load not with battery charging…so will depend on the load specs,

Reply
Unknown says:
December 6, 2015 at 5:02 pm

Hello Swagatam
Your site is of great help.
I have a query in above circuit.
What is purpose of 10Ohm,1/4W resistor? How does it act as current limiting resistor?
My understanding was resistor was added for voltage drop in battery voltage of 4.5V to LED spec voltage.

Can you provide the voltage/current/power of LED used?

Reply
Swagatam says:
December 9, 2015 at 5:52 am

hello Kancharla, it's calculated in this way:

R = 4 – 3.3 / 0.3 = 2.33 ohms

4 is the batt voltage, 3.3V is LED fwd V, 0.3 is the LED current

watt = 4 – 3.3 x 0.3 = 0.7 x 0.3 = 0.2 watts,

1/2 watt is selected for more safety

Reply
Kancharla Nishanth says:
December 8, 2015 at 2:59 pm

Hello Swagatam
Can you explain me on how you came up with 2.5 ohm, 1/2 watt resistor?

Reply
Swagatam says:
December 8, 2015 at 11:02 am

Hello Nishanth,

3.6V/1000mAh will get drained very soon with a 1 watt LED, it should be at least a 2AH battery.

you can use a 2.5 ohm, 1/2 watt resistor

Reply
Kancharla Nishanth says:
December 7, 2015 at 2:18 pm

Hello Swagatam,
Thanks for reply.
I am planning to use single 1 Watt LED (3.2 V, 350mA), so what should be resistance value and wattage of resistor?
Can i use 3.6V, 1000maH battery?

Reply
Swagatam says:
December 7, 2015 at 6:20 am

the LEDs can be 5mm/ 20mA type white LeDs

Reply
Swagatam says:
December 7, 2015 at 6:19 am

thanks unknown,

the 10 ohm resistor is for providing some sort of current limiting to the attached battery while the solar voltage is available, and it also acts like a current limiter for the LEDs while the solar panel voltage is absent and the LEds switched ON.

Reply
Swagatam says:
November 23, 2015 at 4:54 am

.

Reply
John Dougherty says:
November 22, 2015 at 4:20 pm

Ahh thank you I though it was a pnp transistor. But since it's not is there a way to know just by the label number if it is?

Reply
Swagatam says:
November 23, 2015 at 4:56 am

The label will not inform regarding its polarity, you may have to refer to its datasheet online to learn the details….

Reply
John Dougherty says:
November 21, 2015 at 6:34 pm

I should also be able to include a picture if you think that would be helpful

Reply
John Dougherty says:
November 21, 2015 at 6:32 pm

Hello, I liked your schematic because it appeared to be very straight forward, however when i went to make it for myself the LED lit up but would not turn off when light was exposed to the solar panel. when looking for transistors i could not find the exact transistor you call for but i did get a 2n2923 transistor i thought would work. since this is the only active component I'm not sure if the problem could be there or somewhere else. since we are using a battery pack for 8 double A's that should cause it to act as a 12v battery we are using a 750 resistor along with the 1K resistor. currently there is only one LED connected and I believe everything else follows the schematic exactly. Any ideas or suggestion what could be causing this problem would be greatly appreciated.

Reply
Swagatam says:
November 22, 2015 at 4:03 pm

Hello, 2N2923 is an NPN transistor, so it will simply not work, it has to be a PNP, or may be you can use two 2N2923 for getting the same results.

Reply
Vikirthi......... says:
September 21, 2015 at 8:12 am

Hi, Can you provide a solar lamp with LDR circuit details ?, Something similar to A LTTER OF LIGHT Program.

Reply
Swagatam says:
December 8, 2015 at 11:22 am

Yes, it will start glowing at a proportionately dim level depending on how much overcast it may be…LDR will not help…. you will need a relay changeover instead of a battery changeover, as shown in the following circuit:

https://www.homemade-circuits.com/2015/03/solar-led-lights-with-charger.html

Reply
Kancharla Nishanth says:
December 8, 2015 at 3:12 am

But on cloudy day without sun light, LED will start glowing as current is zero from panel. But we may not need LED light as it is day. Will LDR help here?

Reply
Swagatam says:
September 23, 2015 at 2:44 am

LDR won't be required, the solar panel will itself work like a light sensor…… the concept explained in the above article is a good example

Reply
Lorenzo Chow says:
August 5, 2015 at 2:35 am

Sir, This is exactly what I need except that I need to use a 15 watt 17 volt solar panel with an output of .89 amp. What components do I need to replace in order to run this solar panel? I'll be charging 2 or 3 18650 batteries in parallel with a 2500mah capacity each. thank you in advance.

Reply
Swagatam says:
August 5, 2015 at 12:29 pm

Lorenzo, you'll need to change the transistor with a BD140, and reduce the 1K resistor value to may be 220 ohms 1 watt

also you'll need to connect the 3.7V batts in series for making its voltage compatible with the panel output…. for more safety you can think of using a LM338 variable regulator IC at the input…..

Reply
Basavaraj Bijjal says:
February 19, 2015 at 11:50 am

Sir
I want one circuit diagram.and I want automatically ON & OFF the street lights by using L.D.R's and lanp which is connected to solar energy

Reply
Swagatam says:
February 20, 2015 at 3:55 am

Basavraj, you can try the following design:

https://www.homemade-circuits.com/2012/10/automatic-40-watt-led-solar-street.html

Reply
Jit Lee says:
July 31, 2014 at 4:12 pm

Sir, is it ok if I use 6V battery?

Reply
Swagatam says:
August 2, 2014 at 4:15 am

yes it's OK

Reply
Shiraz rizvi says:
April 17, 2014 at 9:35 pm

Ye jo aap ne 4.5 1h ki battery use ki diagram me ager ye bttery ki jagha 12v26ah ki battery lagau to transistor kitne no ka use karu ?

Reply
Swagatam says:
April 18, 2014 at 9:51 am

use TIP127

Reply
Swagatam says:
December 31, 2013 at 9:33 am

refer to the formula given at the bottom of the following article for calculating the resistance value:

https://www.homemade-circuits.com/2013/06/universal-high-watt-led-current-limiter.html

Reply
Swagatam says:
December 31, 2013 at 9:30 am

Here are the calculations:

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.

12/5 hours sunlight = 2.5 watt solar panel will do

2.5/battery V = 2.5/12 = 0.208amp solar panel will be required

the above calculations was done as per the following article:

https://www.homemade-circuits.com/2013/05/how-to-calculate-and-match-solar-panel.html

Reply
Swagatam says:
December 30, 2013 at 3:10 pm

An 18V, 1 amp solar panel would be OK, if only battery is charged, if LEds are also simultaneously used then you would require a 3 amp solar panel.

the backup time will entirely depend on the battery AH and the led current, led current should be approx 1/10th of battery AH for 9hrs operation.

Reply
Monica says:
December 30, 2013 at 4:27 pm

Thanks for the reply sir.,actually LEDs will not be used simultaneously,I want that the battery gets charged during day time and used at night. Whether a 12V(5AH) battery is sufficient or not? Also,what should be the 'Wattage' rating of the solar panel?These power LEDs are connected in series and as far as I know the 1 watt i.e. power LED requires 350 ma current.What is the value of resistance that is needed to be connected for this 5 Watt LED circuit?
Thanks..

Reply
Monica says:
December 30, 2013 at 9:19 am

What should be the specification of solar panel if we want to charge a 12V battery (5Ah or 2.5 Ah) for using 4-5 power LEDs ? What changes are to be made in the above circuit so that LEDs can glow for atleast 8-9 hours?
Thanks.

Reply
azra says:
December 6, 2013 at 4:17 am

hi, i used 4.5 v solar panel, and i used 3,7 A li-ion battery. Do i have to change anything to the circuit? thanks.

Reply
Swagatam says:
April 17, 2014 at 6:51 am

my pleasure bhai.

Reply
Shiraz rizvi says:
April 16, 2014 at 4:42 pm

Thanx you so much mere bhai

Reply
Swagatam says:
April 16, 2014 at 4:22 pm

Hi Shiraz bhai you can use the circuit that's shown in the above article.

just replace the shown transistor with TIP127, connect the LED across collector/ground and battery at the given position

please mention the LEd wattage and voltage also so that I can calculate and provide you the series resistor value for the LED

Reply
Shiraz rizvi says:
April 16, 2014 at 1:35 pm

Hi swagatam bhai ty for help
Maine soler automatic circuit banai ager mujhe 10 watt soler 12v 7ah or 4.5v led h uske liye mujhe kya krna chahiyye help me

Reply
Swagatam says:
December 7, 2013 at 5:43 am

Hi, 4.5V will not do, you will need at least a 6v panel for the above circuit.

Reply
Swagatam says:
September 19, 2013 at 3:26 pm

Please refer to the previous comment posted just above this comment..

Reply
Swagatam says:
September 19, 2013 at 3:25 pm

If you are using the configuration that's shown in the above article then you may have to first step down the solar panel voltage to 6V to safeguard the battery.

You can use a 7806 IC at the input of the circuit such that the panel voltage passes through the IC and then reaches the above circuit.

You can take the help of the following post for knowing the 7806 connection details, it will exactly same as shown in the following circuit:

https://www.homemade-circuits.com/2012/03/how-to-make-simple-dc-to-dc-cell-phone.html

Reply
Lucky Day says:
August 20, 2013 at 11:14 pm

Just built this and tested it out and it works great.

I'm curious though if maybe the 1k resistor can be lowered and what kind of value would be safe to make the LEDs brighter.

I would like them extremely bright, but don't want to blow them obviously.

At the moment they light up, and they are fairly bright, but not as bright as I've seen these LEDs get before (I'm using 8mm standard 20ma LEDs that you can get from Radioshack)

Reply
Swagatam says:
August 21, 2013 at 7:45 am

Thank you Lucky Day,

reducing iK resistor wouldn't be a good idea, rather you can try inserting a resistor in series with each LED and remove the common 10 ohm resistor.

the value for the individual resistors could be around 2 ohm, 1/4 watt

Reply
Swagatam says:
August 20, 2013 at 6:53 am

It would hardly dissipate anything, you may try increasing it to 2k2.

Reply
Swagatam says:
August 18, 2013 at 1:49 pm

Hello friend,

With the transistor as a switch there won't be well defined switching rather the transition would be in a gradual manner.

As long as the solar voltage is above 4.5V, the LEDs would be completely shut off, as the panel voltage begins dropping downward, the LEds would begin illuminating dimly and start getting bigger as the voltage drops further, finally when the solar voltage becomes almost zero, the LEDs would glow at their maximum rated intensity.

Reply
2ea5c024-ebf9-11e2-95c4-000f20980440 says:
August 12, 2013 at 4:08 am

hello SM,
is there any chance you can work on a circuit similiar to the following ebay link? http://www.ebay.com/itm/LED-Solar-Power-Motion-Sensor-PIR-Wall-Mount-Garden-Path-Yard-Door-Light-Lamp-/310657821723

its PIR solar light running off 3x 1.2v rechargeable batteries? Ive looks around google for a similiar circuit but no luck, so i decided to try my luck with you! plmk.

Thanks
G.

Reply
Swagatam says:
August 12, 2013 at 1:57 pm

Hello G,

The above circuit and the second last design presented in the following link can be easily combined to produce identical results:

https://www.homemade-circuits.com/2012/09/pir-controlled-led-driver-circuit.html

Some tweaking would be required to make the design perfect, though.

Reply
Temp says:
December 12, 2020 at 2:49 pm

as per above comments as you said LDR not required then how can we use tp4056 module for battery safety ,? my request to you kindly help me to use PIR motion sensor with TP4056 module. so that i can protect battery and led , and i want light will turn on if PIR motion sensor will detect any motion otherwise light will remind off , no need to continuously on all night. this way i can get more lumens light in less battery Mah. I’m neither electrician nor engineer . I’m very curious to make solar auto on / off light by my self. i can not afford market and online products they are very costly and they don’t provide enough lumens light. I’ll follow your instruction
i have
1) 6v100ma (3 solar panel)
2) 2400mah battery
3) PIR sensor
4) 1w (5 Led)
5) BC547 & 2N2222

Thanks & Regards

Reply
Swagatam says:
December 12, 2020 at 9:21 pm

I am not sure how the TP4056 module working is dependent on LDR?

Please refer to the following article for more info on the TP4056 module

3 Smart Li-Ion Battery Chargers using TP4056, IC LP2951, IC LM3622

Reply
temp says:
December 14, 2020 at 8:28 am

i’m sorry for bothering you. in short my question is how can we make solar pir sensor auto on/off 5w led light using tp4056? no need LDR.
anyway thanks for your response.

Reply
Swagatam says:
December 14, 2020 at 12:29 pm

You can try this diagram:

solar pir sensor auto on/off 5w led light using tp4056

Reply
Swagatam says:
August 10, 2013 at 2:30 am

you are most welcome!

Reply
Swagatam says:
August 9, 2013 at 4:26 am

The initial diagram had a zener diode at the base of the transistor which I removed later on for making the circuit more responsive and efficient.

Reply
Swagatam says:
July 26, 2013 at 2:45 pm

I regret it if I misunderstood you, I thought you were saying that the written corrections were made immediately after listening to your suggestion.

Correcting the image is time consuming and involves more effort therefore I put in the text form.

Anyway, cheers!

Reply
Swagatam says:
July 23, 2013 at 4:18 pm

Check the previous comments dated May14, June7, it's always wise to check the facts before criticizing.

Reply
Swagatam says:
July 23, 2013 at 4:02 pm

Go and check the cached impression in Google you would know it was done a long time ago.

Reply
Swagatam says:
July 22, 2013 at 3:32 pm

may be you did not notice the message written in BOLD letters just under the diagram

Reply
Swagatam says:
July 22, 2013 at 4:08 am

you can modify the above circuit simply by calculating the resistor as per the given formula.

Reply
Back to Newest

Need Help? Please Leave a Comment! We value your input—Kindly keep it relevant to the above topic! Cancel reply

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

Primary Sidebar

circuit simulator image



Subscribe to get New Circuits in your Email



Categories

  • Arduino Projects (93)
  • Audio and Amplifier Projects (133)
  • Automation Projects (17)
  • Automobile Electronics (101)
  • Battery Charger Circuits (85)
  • Datasheets and Components (109)
  • Electronics Theory (149)
  • Energy from Magnets (27)
  • Games and Sports Projects (11)
  • Grid and 3-Phase (20)
  • Health related Projects (27)
  • Home Electrical Circuits (13)
  • Indicator Circuits (16)
  • Inverter Circuits (95)
  • Lamps and Lights (159)
  • Meters and Testers (71)
  • Mini Projects (28)
  • Motor Controller (68)
  • Oscillator Circuits (28)
  • Pets and Pests (15)
  • Power Supply Circuits (91)
  • Remote Control Circuits (50)
  • Renewable Energy (12)
  • Security and Alarm (64)
  • Sensors and Detectors (106)
  • SMPS and Converters (34)
  • Solar Controller Circuits (60)
  • Temperature Controllers (43)
  • Timer and Delay Relay (49)
  • Voltage Control and Protection (42)
  • Water Controller (36)
  • Wireless Circuits (30)





Other Links

  • Privacy Policy
  • Cookie Policy
  • Disclaimer
  • Copyright
  • Videos
  • Sitemap



People also Search

555 Circuits | 741 Circuits | LM324 Circuits | LM338 Circuits | 4017 Circuits | Ultrasonic Projects | SMPS Projects | Christmas Projects | MOSFETs | Radio Circuits | Laser Circuits | PIR Projects |

Social Profiles

  • Twitter
  • YouTube
  • Instagram
  • Pinterest
  • My Facebook-Page
  • Stack Exchange
  • Linkedin



Recent Comments

  • Swagatam on 9 Simple Solar Battery Charger Circuits
  • Gagana on 9 Simple Solar Battery Charger Circuits
  • Swagatam on Arduino 2-Step Programmable Timer Circuit
  • Swagatam on Simple Buck-Boost Converter Circuits Explained
  • Swagatam on IC IR2111 H-Bridge MOSFET, IGBT Driver IC: Full Datasheet, Circuit Diagram

© 2026 · Swagatam Innovations