Introduction: Solar USB Charger 2.0

Picture of Solar USB Charger 2.0

Solar power is big these days, from power plants to rooftop arrays! This guide shows how to build your very own solar charger for small electronics. This charger will charge most small USB devices such as cell phones, mp3 players, iPods, and iPhones. These directions are designed to use parts from our Solar USB Charger 2.0 Kit though you can also find many of these parts elsewhere online. We have also included a circuit diagram and files for the laser cut enclosure (Step 1).

This project was designed for beginner Makers and students. It requires a base knowledge of soldering. While you can charge small gadgets, this project is not appropriate for camping or to be relied on for survival situations.

Difficulty: Easy

Cost: Low

Time: 30 - 60 minutes

Step 1: What You Need

Picture of What You Need


Grab a Kit


Electronic Parts

1x USB Charging Circuit

1x 6V Solar Cell

3 x Rechargeable NiMh AA Batteries

1x 3 AA Battery Holder

1x 1N914 Diode

1x Toggle Switch

18 inches Stranded Wire

3 inches Shrink Tubing

Wooden Enclosure Parts

1/8th Inch Plywood

16 x 6-32 Screws

16 x 6-32 Hex Nuts

Double Sided Foam Tape


Soldering Iron


Wire Cutters

Wire Strippers

Screw Driver

Optional Tools

Electrical Tape

Hot Glue Gun

Helping Hand

Access to a Laser Cutter

Sourcing Your Own Parts

This section will be most useful for those sourcing their own parts, if you are building from a kit, feel free to skip ahead.

USB Charging Circuit

USB charging requires 5V at around 500mA of power to charge most gadgets. In order to meet these criteria in a small package we use a USB Charging Circuit, which boosts low voltage (2V) DC up to 5V DC. Nothing comes free though; we trade our increased volts for fewer amps. To avoid this tradeoff, we could use larger solar panels and larger batteries, but this would result in a larger, heavier, and more expensive charger. Take a look at our Lithium Heavy Duty Solar USB Charger 2.0 if you want something with some extra power!

If you're using an older Apple product, make sure your USB Charging Circuit is compatible. Typically a USB gadget requires just power from a USB port to charge. Most iPhone models, however, require a tweak to USB to work. iPhones will check the USB data ports in order to identify what kind of device it's plugged into and change charging speeds if it thinks the port can support it. Unfortunately if it doesn't see anything on the data tabs it will refuse to charge. This is a problem that plagues many generic USB chargers, especially older ones.

If you don't have an iPhone or iPod, then any old USB Charging Circuit will work. If you do have an iPhone or iPod you may wish to grab one of these charging circuits, as they're the only ones we have found that seem to work.

Our USB Charging Circuit needs a minimum of 2V to operate, so we need to choose power sources with this in mind.

Battery Power

We always advise the use of power storage when doing a solar project. Solar is inconsistent due to the inconsistent nature of the sun. Using batteries helps stabilize the flow of power, and also lets us hold onto that energy for later use.

In this project we use three rechargeable AA batteries. Rechargeable batteries put out 1.2V of power and using three in series gives us 3.6V. Using two batteries will cause our voltage to drop below 2V too quickly, and our USB Charging Circuit won’t be able to operate. Four batteries would require a much larger solar cell to charge.

Solar Power

Batteries require a minimum voltage in order to charge, but raising the voltage will not cause the batteries to charge faster. The general rule is to provide 1.5 times as much voltage as your battery needs (for us 3.6V x 1.5V = 5.4V), but with solar we want some wiggle room. We want our solar panel to meet the minimum voltage, even on days with a few clouds, so a 6V panel does well.

When charging AAs using a wall adaptor, we're able to charge them at high speed due to smart chips that constantly monitor the battery. Since our circuit is "dumb," with nothing to monitor the batteries, we trickle charge the batteries using the 10% rule. AAs can be safely charged as long as they don't have more than 10% of their capacity thrown at them at any one time. This means our 2,000mAh batteries should only get 200mA of current.

Our solar cell is rated for only 80mA, so we're completely safe! Different panels and batteries vary, so make sure yours work well together. One good aspect of the trickle charge method is that it will never over-charge the batteries. Once they're full they just stay topped off.


Above is a circuit diagram for this project. It's designed so that the solar cell is always charging the batteries and the toggle switch turns the USB circuit on/off. A diode has been put in place to prevent power from flowing the wrong direction into the solar cell. This is a very common design for solar chargers.

Our kit comes with a wooden enclosure made from 1/8-inch laser cut Baltic Birch plywood, with holes cut for wires, switches, and ports. Wood works well because it is non-conductive and easy to paint or decorate. We have included the files here for anyone who has access to a laser cutter.

If this isn't an option for you there are more simple ways of making an enclosure. Inexpensive and easy to find, plastic food containers or bins work well. If possible find one with a rubber o-ring, which helps keep moisture out. These makeshift enclosures are also are easy to modify with a box cutter or exacto knife, just watch your fingers!

It s also possible to find "Project Boxes" at many online stores. These also work quite well for enclosures, but tend to be more expensive. However, we advise against metal enclosures. Altoids tins and metal project boxes may look nice, but they are difficult to modify and can easily short out projects if left uninsulated.

Step 2: Solder the Solar Cell

Picture of Solder the Solar Cell

  1. Cut three six inch lengths of wire.
  2. Using a wire stripper, expose about ¼ inch of wire on each end of all three wires. If you have our kit, this may already be done. You can also strip the battery pack wires at this time.
  3. Solder one wire to the positive (+) tab on the solar cell and another wire to the negative (-) tab on the solar cell. You should have two wires attached with two loose ends when you are done.
  4. If you are using a laser cut case, apply foam tape to the bottom of the solar cell. Leave the protective film on the tape. We won't secure it until the end. Now thread the wires through the holes in the lid of the case.

Step 3: Attach the Battery and Diode

Picture of Attach the Battery and Diode

Please read all steps before continuing.

  1. Strip the ends of the battery pack. It may be necessary to snip off their exposed ends first.
  2. Take the negative (black) wire from the battery pack and twist it together with the negative wire coming off the solar cell. Do not solder this yet.
  3. Grab the diode. One side of the diode has a black line (negative) and the other side does not (positive). You'll want to take the positive (+) wire coming off your solar cell and twist it together with the positive side of your diode. Push the wrapped wire all the way up next to the head of the diode. Solder it in place and snip off the extra wire from that side only.
  4. Wrap the positive (red) wire from battery pack and wrap it around the negative side of the diode. Push it up into place and solder. DO NOT cut that end of the diode.

Optional: It is helpful to use shrink tubing or electrical tape on this setup for protection. Align all the wires together, then slip the shrink tubing up past the diode. At the end of the project we'll use a heat source to shrink it into place.

Step 4: Connect the Toggle Switch

Picture of Connect the Toggle Switch

  1. Grab the twisted together negative (-) wires from the battery pack/ solar cell. Solder this to the middle pin on your toggle switch.
  2. Take the last 6 inch piece of wire and solder it to either one of the remaining outside pins. It doesn't matter which one.

Tip: If you can't thread the wire through the little holes on the Toggle Pins don't worry. Using a Helping Hand you can easily solder to the side of the pins.

Keep in mind that the toggle switch is made of metal and plastic. It is possible to melt it if you hold your soldering iron in place too long.

Step 5: Connect the USB Charging Circuit

Picture of Connect the USB Charging Circuit

The circuit in our kit has metal tabs coming off of the board which you will solder wires on to. If you found your own USB Charging Circuit it may have through hole connectors.

  1. On the under side of the board locate the positive (+) and negative (-) symbols.
  2. Wrap the left over side of the diode around the positive (+) tab from the circuit board. Solder into place.
  3. Wrap the wire coming off the toggle switch around the negative (-) tab coming off the circuit board. Solder into place.
  4. When you finish soldering, clean up by clipping off any bits of wire that stick out.
  5. Our USB Circuit has a small three-position switch on the side. Move the switch so that its positioned back towards the soldering tabs. (If you have batteries in place the Red LED will be on.)

The white LED is not used in this project. You can cut it off, or position it straight up and out of the way.

Step 6: Testing & Trouble Shooting

Picture of Testing & Trouble Shooting

At this point your project should work. Grab a small USB gadget and plug it in. We like to test ours with a USB LED Light, but a phone or MP3 player will work as well.

If everything works, use a lighter, hair dryer, or heat gun to close up your shrink tubing over the diode.

If it isn't working try these steps.

  1. Are your batteries dead? Try some different AAs, even regular ones, to see if that does the trick.
  2. Is your toggle switch in the right position? Toggle back and forth just to be sure.
  3. Is it your gadget? Some large phones and most all tablets won't charge off either circuit. Grab a small mp3 player or different phone to try it out. I use a simple USB LED light to test mine.
  4. Does your iPhone to say "Charging Accessory Not Supported"? This probably means your AAs are low or the switch on your Apple Circuit Board is in the wrong spot.

If none of these fixes work for you, check your wiring to make sure you have good solder connections, and that everything is connected correctly.

Step 7: Putting the Case Together

Picture of Putting the Case Together

The wood enclosure requires a screwdriver to assemble. While the box is strong you should still take care. Over-tightening the screws will break the joints.

  1. Make sure you have 16 nuts and screws. It helps to start a nut onto each screw before continuing.
  2. Start with the bottom piece and attach the sides to it. The screws will require a small amount of pressure to get into place. DO NOT screw them in all the way. Tighten them just enough to hold together; we'll tighten them up at the end.
  3. Once the bottom and four sides are in place you'll want to attach the electronics. Screw the toggle switch into place on the side of the enclosure. Make sure it’s oriented the right way!
  4. Put a generous amount of foam tape on the battery pack, and a small piece on the USB Charging Circuit. When putting the battery pack in, pick up the box and apply pressure from both sides. Press firmly until it holds. The USB Circuit may need some extra help to keep from moving around, hot glue works well to keep it stuck down.
  5. Now attach the top, still loosely tightening screws. Remove the foam tape from the solar cell and press it into place, hopefully centered.
  6. Lastly, tighten everything up. Please keep in mind that you can crush the little screw tabs. Take care when screwing into place.

If for some reason you destroy your case, or part of your case, just use some wood glue to hold it together.

Step 8: The End

Picture of The End

Your Solar USB Charger is now complete!

Once again, please keep in mind that this charger will not charge larger gadgets such a big phones and tablets. It's also not suitable for camping or emergencies due to the fact that it takes several days to charge up.

If you're looking for a solar solution for camping check out our more powerful Lithium Heavy Duty Solar USB Charger 2.0 instructable. It features a high amperage USB output, a lithium ion battery, and a 5W Solar Cell.

If you're looking for something premade check out the Solar Gear over at

I hope you learned a thing or two about solar power from this guide. It's easy to scale up this project to do bigger and better things.

Step 9: Remove This Step

Remove This Step

Step 10: Remove This Step

Remove This Step

Step 11: Remove This Step

Remove This Step


hestia451 (author)2017-10-12

Can you use a homemade.25watt solar panel for this?

hestia451 (author)2017-10-12

Does this work on lithium batteries and can I use a homemade solar cell with .25 watt

acoxiiaco (author)2017-08-07

were is the code of the solar usb charger?

Code? This project doesn't require any code...

Cmwhitt04 (author)2015-03-17

how many amps does the apple circuit produce

Half an amp.

MicroCookie (author)2015-06-16

I realIy liked your project idea :) . So I wanted to ask if you can charge the phone battery when you have your solar panel and the batteries connected/active? Or can you only firstly charge AA batteries with your solar panel then turn off the solar panel and then charge phone battery from AA batteries?

If you can have all the components active at the same moment wount the solar panels 6v be too much for the charging circuit? The charging circuit can take voltage between ~2,6v and ~4,8v ( correct me if I'm wrong) . Would using a solar panel with lower voltage but with higher amperage solve this for example?

The solar cell is way too weak to charge any device on its own. You can use the solar cell when charging a phone, however the amount of amperage coming in is kind of pointless. If you want to do direct charging you should use a larger solar cell + a lithium battery. There are several write ups (including one from us) about this on instructables.

BenH28 (author)2015-07-16

If you added more batteries ie. enough to make it to 5 volts would it still charge on apple devices

BrownDogGadgets (author)BenH282017-06-15

If you did that, you'd negate the point of the boosting circuit. You'd also need a larger solar cell with a higher voltage.

4r1ffs44d (author)2015-10-04

Is it possible to replace the batteries with supercapacitors? i heard they charge up faster.

Not without an insane amount of them. You're better off working in a 3.7V lithium battery. Which in that case would also mean a cheap charge controller, and you can also pop in a MUCH bigger solar cell. Most of the sub $10 little charge controllers will handle up to a 1.5A input.

ddiaz1026 (author)2016-11-13

Didn't work at all, waste of $40

Weird, it works for most people. Shoot, there are quite a few comments saying so. If you have an issue you should contact us. The #1 issue is that the AA rechargeable batteries they're using are super dead and take awhile to recharge. (Rechargeables tend to dissipate over time.) You can always swap in a couple of regular AAs for a quick test, just don't try and solar charge them up.

AryanK21 (author)2016-05-26

I live in Tokyo, and I need to buy the USB Charing Circuit Board but I can't find it! I need it because I'm doing this project for my Science Fair. So does anyone know any shops in Tokyo which has this? Please help! I would love to buy it from the website but it would take 7-10 days, which exceeds my time limit! Pleasee help!!

AryanK21 (author)2016-05-26

I live in Tokyo, and I need to buy the USB Charing Circuit Board but I can't find it! I need it because I'm doing this project for my Science Fair. So does anyone know any shops in Tokyo which has this? Please help! I would love to buy it from the website but it would take 7-10 days, which exceeds my time limit! Pleasee help!!

sjean3 made it! (author)2015-08-28

I made one that was this, then I am currently, soldering 5 seconds ago, making one that also has a crank charge too :). the advancement abilities to your project here are amazing and easy as pie.

ANugget (author)2015-06-13

Hi, I just finished making the Solar USB charger and put in a new pack of rechargeable batteries. But when I charged it into my iphone 5s, it could only charge for about 7% before the small coil on the DC to DC Boosting Circuit with 5V USB Output (the red one not the Apple one) started to get really hot and made very weird noises. Does anyone know whats wrong with it? I checked my wiring and it doesn't seem to be wrong to have caused a short. Any suggestions?

maverickmakesstuff (author)2015-05-22

Will this charger work with an iPhone 6?

ManjulaB (author)2015-04-01

I am using a 4.7V, 500mW, 120mA solar panel. This is supplying three 1.2V(x3=3.6V), 2100mAh AA batteries through a 1N914 diode. The output of my battery pack is supplying a DC-DC boosting circuit with USB output. I am getting an output of 5V. But when I connect my phone to the USB port, the charge percentage goes down. What can I do about it? Is my current or power not enough?

i_ken_fly (author)2014-11-29

also, when i charged my iphone with the apple circuit, it didnt charge. But when i used my android, it worked BUT it only showed that its charging but the battery actually went down, please help

Make sure your batteries are all charged up. Also, some phones draw more power than the USB circuit puts out. They are CHARGING but their percentage goes down since they're using more power than you're putting in.

Cmwhitt04 (author)2015-02-05

Does this work for iphone5 also because its a USB?


ThumbSucker (author)2014-12-05

How did you make the board? Can I ask for a guide? Sorry im new

i_ken_fly (author)2014-11-17

hi, i was wondering what are the dimensions for the laser cut box. If you can reply, thanks

apinnette2 (author)2014-10-25

While it is off does it still charge the battery

mcoleman13 (author)2014-07-10

Awesome! Looks like the ghostbusters ghost trap; ) we need more solar stuff! more more!

We're working on it!

landman12 (author)2014-07-10

If i wanted to buy one of these could i purchase one from you?

Thats the idea. We have kits, and we highly recommend you building one on your own. It was designed for middle school students to learn how to solder with.

Divisible_By_0 (author)2014-07-11

so i have 4x 1.2v (= 4.8v)solar panels from those yard lights you buy from walmart they suck as lights but they come with a solar cell and rechargeable batteries so it can last all night (they dont) so im using them would they work or since you need 5v do i need to add another

each of my solar cells puts out 2.2v +- 0.2v so with the 4 i get 9v

so do i need all 4 and all 4 batteries or can i can i do with the 3 like you

oh by the way my batteries are the 2/3 aa the weird short ones but normal sized around

The big issue isn't the voltage, it's the amperage. Thats what will determine how fast things charge up. Typically the ones out of garden lights are super low amperage. You'll be waiting weeks to charge up the internal batteries.

mikathigga22 (author)2014-07-09

I like the bleach wallpaper on the phone in the pictures

Ha, not my phone!

jackbell16 (author)2014-07-10

Thank you for share your project. I think you will be right to use a boost up from the Solar power to the USB. Anyway, you use the diode to drop the voltage from the solar power to the battery and not to let the current flow from the battery to the solar power, isn't it ?

It's to prevent the solar cell from sucking power from the battery, which would destroy the solar cell.

gabbas1 (author)2014-08-16

Do I have to use this 1N914 diod, or can I use (nearly) any other? Go some electrical waste here..
What do I have to care when choosing the diod?

BrownDogGadgets (author)gabbas12014-10-15

Pretty much. 1N914 is super common and cheap, and has a low voltage drop. Thats why we use it for a lot of our projects.

Bullock STEAM MakerSpace made it! (author)2014-06-25

Great instructable and a fun build. The only mods I made were hot glueing the battery holder, USB connection and solar panel on.

Hot glue is the way to go. Looks nice.

jgonzalez93 (author)2014-08-08

Or anyone if they could answer

jgonzalez93 (author)2014-08-07

I promise I am not a narc

jgonzalez93 (author)2014-08-06

Hey guys i need to know ASAP... I have created my own model of solar charger, i have searched up the patents on solar chargers and Tsann Kuen Enterprise Co Ltd seems to hold a patent for solar chargers have you guys received any threats since you sell your products?

Divisible_By_0 (author)2014-07-11

they just say this charger is not recognized and then charge anyways or atleast thats what mine did

WW1137 (author)2014-01-18

How long should it take to charge? I left it in the window for about a week and it charged my phone (galaxy s3) for maybe 5 minutes before cutting out . While it isn't super sunny out, I expected a little more. Is that normal?

BrownDogGadgets (author)WW11372014-06-04

Depends on many things. I've found that Galaxy S3 phones are tough to charge due to the fact they want 1A or more of power, plus they have huge batteries. For those phones you really need to use a Lithium Battery instead of AAs (plus the right protection on it).

PirateKingLordAtomsk (author)2014-05-26

Instead of foam two sided tape, i used a hot glue gun

Yup, that works just fine as well. Hot Glue is not conductive, though it is a tad messy.

About This Instructable




Bio: I used to teach middle school science, but now I run my own online educational science website. I spend my days designing new projects for ... More »
More by BrownDogGadgets:Automated LEGO X-WingInteractive NASA Shirt Using Crazy CircuitsGiant LEGO NES Controller
Add instructable to: