Introduction: Low Cost Portable USB Solar Charger
So, you want a solar USB charger? Well, you've come to the right place for a pretty cheap one :)
I created this charger as a workshop on DIY electronics for a sustainability club. The chargers cost a little under $9 each (materials bought in bulk) and and can be made in under an hour. The picture above does not do it a complete justice, because once you make it, you immediately fall in love with it.
The concept of this charger is simple, create a solar USB charger that works both outdoors and indoors for maximum utility. It works outdoors based off of the sun :) and indoors off its internal rechargeable battery pack.
The design requirements were simple: be able to fit a functional solar USB charger in a user's pocket at a net cost under $10/charger.
Step 1: Creating the Circuit
For reference, look at the attached circuit diagram.
The first step involves USB standards. USB 2.0 runs off of 5 V at 0.5 A max. So we are talking about a maximum 2.5 W of power required. A solar cell able to produce this power would be large and over budget, so right off the bat I knew that was outside of the design criterion.
Many cheap solar cells produce under 5 V, even if they are rated at 5 V. So this meant a DC-DC step up converter was necessary. I looked around for ways to inexpensively make these, and could not find a good method. So I decided to buy a step up DC-DC converter with the USB port built into it. I will call this module a 'USB Boost Module' from here on out.
Solar cells are more or less specialized photodiodes. However, they are not ideal diodes, and can behave like a resistor when not in sunlight. This could cause the solar charger to reverse charge your USB device when in your pocket. Nobody wants a solar charger to become a 'discharger,' so I decided a blocking diode was necessary. After researching diodes and their specifications, I decided a 1N914 diode was sufficient.
Cheap solar cells produce a very small amount of current. This current might be small enough that, even in sunlight, the average cell phone might not even register charging. So, to increase the current output, I decided to have the battery pack deliver the USB power. The solar cell would exist only to recharge the battery pack.
As stated above, the charger should be able to run off of battery power. Since the charger will be used multiple times, the batteries need to be rechargeable. To recharge the batteries, somehow they need to be placed in parallel with the solar cell. I decided to place them directly in parallel, because this means anytime the solar cell produces a voltage it recharges the batteries.
To enable the user to be able to turn on/off the charger, a tap switch was placed in series with the USB boost module. All that is required of the switch is for it to be single pole single throw (SPST).
Altogether, here are the four possible states:
- Sunlight and USB charging:
- Battery pack provides power to USB boost module
- Solar cell recharges battery pack
- Solar cell also slightly contributes to charging
- Battery pack provides power to USB boost module
- Blocking diode prevents solar cell from sinking power and discharging battery pack
- Solar cell recharges battery pack
- Blocking diode prevents solar cell from sinking power and discharging battery pack
Step 2: BOM
If you are going to make this charger, it's time to buy some parts. As I was leading a workshop for about 12 people, I bought enough components to make 16 chargers. The prices listed here will change depending on how cheap you can find these components and how much shipping time you have. For some components, I waited 2 months :/
I have attached my BOM spreadsheet to this step, you can look at it for the details
- Batteries and Battery Holder
- Unit cost = $2.19
- 3 AA batteries can provide 3.6 V (gets stepped up to 5 V in USB boost module) rated at 3 Ah (series configuration)
- This is 10.8 Wh, which is plenty of power
- Unit cost = $1.59
- Takes anything between 2.5 - 6 V and converts it to 5V @ 92% efficiency and 1 A max current
- Efficiency increases with voltage
- I chose to buy a finished small 'solar panel' for its durability compared with a brittle solar cell
- I put 'panel' because for most people calling it a solar panel implies a large size and cost
- Just a standard 5 V solar cell inside the 'panel'
- I chose speaker wire because it contains both red and black wire in one purchase
- 20 gauge is sufficient for the power flowing through the system
- Make sure the wire is stranded for flexibility
- Solid core wire tends to fatigue quickly, especially in a workshop for first timers
- 1N914, nothing much to say here
- The diode in the switch will not be used as there is no proper 'ground' in this portable charger
- This switch was cheap, all that's really necessary is a SPST switch
Attachments
Step 3: Required Tools - Let's Get Started
You will need multiple tools to make this charger.
- Soldering iron, flux, and solder wire
- Preferably helping hands as well
- Wire Strippers
- Electrical Tape
- OPTIONAL: Hot glue gun
- Can make covering solder jobs easier
- OPTIONAL: Multimeter
- To test solder connections
Step 4: Prepare Wire
This is simple and should take only a few minutes. If you do not know how to do any of these steps, view this instructable.
- Cut 9" of speaker wire and then cut that into thirds
- Split the speaker wire red and black wires apart
- Strip all wire ends
- I like to strip about 3/8"
- Red wires will be used in "positive" lines, black wire will be used in "negative" lines
Step 5: Solder Wires to Panel and Boost Module
Solar Panel
- Flip your solar panel over to the back end
- Solder red wire lead to "+" tab of solar panel
- Try to face the wires towards the interior of the cell to minimize footprint
- Try to solder quickly, because we do not want to apply excess heat to the solar panel for extended periods of time
Boost Module
- Solder red wire to "+" tab of boost module
- Be careful! It's easy to solder wire to other components on the board as the tab is close to multiple surface mount components
- It helps to solder to the bottom of the module where there are no components so this risk is not present
Step 6: Solder Blocking Diode
If you are not sure which direction your diode goes, read this article: Diode Polarity.
- Solder diode to "+" lead from solar panel
- The black line end (cathode) should be on the opposite end of the panel's "+" lead
- Diode test this connection for the right direction to be sure
Step 7: Connect Negative Node
Helping hands make this step much easier. The above image shows a battery pack with only two battery slots, ignore this, I just used this one during prototyping.
- Strip/tin wire ends on both red and black wires from battery pack
- Do not put the batteries into the battery pack yet
- Twist all three black wires together to the best of your abilities
- Solder them together into one big negative node
- Make sure the joint is strong
- If it looks ugly, don't worry it will be covered in tape or glue
- Make sure the joint is strong
- Slather on the hot glue or wrap in electrical tape
Step 8: Create Positive Node and Solder Tap Switch
Form Positive Node:
- Twist red lead from battery pack around the red lead coming off of the diode
- Solder them together, forming the positive node
- Again helping hands is useful here.
The tap switch has three leads. One of which is ground for the LED (mine was colored gold), do not use this one. The other two leads will correspond to the switch. You will be soldering the positive node to one of these, and the red lead from the USB boost module to the other. The switch's pins you solder the wires to correspond to the closed position. I chose to depress the side of the toggle switch with the LED to close the switch.
- Solder the positive node to the outermost lead of the switch
- Solder the red lead coming of the USB boost module to the last lead (on my tap switch it was located on the middle)
- Cover the connections with electrical tape or hot glue
Step 9: Finish and Test Your Charger
To finish the charger
- Remove the plastic covering on the solar panel
- Toggle the switch to the 'open' position
- Insert the AA batteries
- They should come pre-charged enough to test your charger's operation
To test your charger:
- Toggle the switch to the 'closed' position
- There is an indicator LED on the USB boost module, check that it has turned on
- It's small and dim, so you might need to cup your hand over it to see the LED's glow
- If it turned on, it's creating 5 V at the USB port. If the LED is off, check all soldering jobs and that the batteries are producing their rated voltage.
- If the LED is on, place the charger in the sun for a few hours to guarantee the rechargeable batteries have some charge
- Plug in a USB cord and connect the charger with a peripheral of your choice
- I chose my cell phone - it worked!
- Test your charger. if it fails, re-read this instructable and error check everything. Lastly, check that the individual components are still functioning
Step 10: Closing Thoughts
Advantages:
- Small footprint
- Inexpensive and requires little tools
- Small time investment
Disadvantages:
- Does not hold much charge and charges devices slowly
- Does not have a case: solder joints can be easily broken
Areas for Improvement:
- As someone in the comments pointed out, the 5 V solar panel is charging the battery bank of 3.6 V. This over-voltage charging will decrease the lifetime of the batteries and could cause them to burst (not good!)
- Could be solved by using some sort of voltage regulation or bringing the battery bank's voltage to 5 V (which would also be more efficient through the USB boost module)
- Could also be solved using a charge controller, like a real solar panel!
- This way the battery lifetime can be extended
- This can alternately be done with a SPST switch between the solar panel and the battery bank
- The case can be as simple as an Altoids can
I am always looking for recommendations, please post your comments if you see any gaps in the electronics!

Participated in the
Green Electronics Contest 2016

Participated in the
First Time Authors Contest 2016
9 Comments
6 years ago
The solar regulator or controller is an intermediate device that sits between the solar panel, battery and load. it monitors the charge in the battery and prevents over charging. Even cheap ones will divert the correct amount of power to the battery when in the sun and the remainder directly to the load. at night they prevent the solar panel pulling power from the cells. There are different types for example PWM controllers are the basic guys MPPT use an algorithm to calculate the best balance of voltage and current output for the given conditions. Here's an example: https://www.amazon.com/SX01-3A-Regulator-Controller-LiFePo4-shopping/dp/B01K7MY74A
I hope this was of some help, also you can build your own with an arduino...
Reply 6 years ago
Do you need one? Say your solar panel delivers very low current (0.1mA) and your battery has a capacity of 2000mAH, could you get away with not including a regulator?
Reply 6 years ago
Thanks for pointing that out to me. I didn't know you could find charge controllers that cheap!
6 years ago
funny coincidence as I was work on a similar Instructable early today I yet need to finish. Let's have some friendly competition shall we in the green electronics contest.
Reply 6 years ago
Haha good luck! I see an Altoids can there
6 years ago
This is a nice little project, I do feel however that our have overlooked the fact that you have a 5V solar panel (which I know you point out does not typically produce a full 5v but can on a sunny day) charging a 3v battery pack. Without some kind of overvoltage protection this could at best damage the battery capacity and at worst cause the batteries to burst. There are cheap solar regulators for this very purpose and they make your hook up easier too.
Reply 6 years ago
Thanks for pointing that out, it did not occur to me! I will put that tidbit in the instructable so others can see that, because that is actually a dangerous mistake! What is a solar regulator though? I only know of voltage regulators on a component level
Reply 6 years ago
I was questioning this myself. Thanks for confirming my doubts
6 years ago
great idea..I assume you would be able to run Arduino project