Picture of DIY Solar USB Charger - Altoids

I've been reading a bunch of blogs this fine Earth Day morning and have noticed that most of them are posting little write ups about green solar powered USB gadget chargers. They're all quite nice, but also quite expensive. I don't think I've seen any for less than $60, and I've not seen one that really suits my style.

Instructables has quite a few guides on how to make Solar USB Chargers, including the very well done guide on how to combine a Lady Ada Minty Boost circuit with a solar + lithium ion battery. Great, but a bit expensive to make and not a very simple project for the weekend DIY person.

Well luckily for us I know how to make one for under $20 that is better in nearly every way and also completely fits into an Altoids Tin. Covert style.

*** Update: I've since retired this kit. It's not held up over time very well. I've done an updated version called Solar USB Kit 2.0 and a more rugged version called Lithium Heavy Duty 2.0. If you're looking for something pre made, especially for camping or emergencies, you should try out one of our Folding USB Solar Cells. They're inexpensive and much much more powerful than what you'll find here.

Remove these adsRemove these ads by Signing Up

Step 1: What You Need

USB Charging Circuit
Solar Panel 4V or greater
AA Battery Holder
AA Rechargeable Batteries
1N914 Diode
Altoid Tin (or whatever)

Soldering Iron
Tin Snips
Melt Glue Gun and Glue

Cost is less than $30. I can make one for under $10 when I buy parts in bulk. I have a kit available at my website which has everything you need to make this project. Also, if you're lazy, I do sell made versions in a variety of tin styles.

1-40 of 300Next »

HI, great tutorial! I will try it for sure. Solar charger will be great for long trips in mountains or wherever else :) But, is it possible to connect LCD display to show how much power we have got or it will be too difficult?

Thanks in advance for answer :)

I will upload some picture when I did it!

TiagoV22 days ago

How do you control the battery charge to it don´t overcharge?

6V 80mA Solar Cell

3 AA Holder

3 Rechargeable AA Batteries @ 2600mAh




Shrink Tubing

Laser Cut Enclosure w/ Screws

There is no component to control it!

TiagoV22 days ago

How do you control the battery charge to it don´t overcharge?

6V 80mA Solar Cell

3 AA Holder

3 Rechargeable AA Batteries @ 2600mAh




Shrink Tubing

Laser Cut Enclosure w/ Screws

There is no component to control it!

Mr_Rep22 days ago

so...i need to see if this works, since he said that 6v is inneficent. i gutted a cheap cigarette lighter usb charger, and plan on linking up a 4x AA battery holder for power storage. i want to use a 6v .5W solar cell to receive power from the sun. Is this an unsmart way of going about this? if so, any suggestions? also, say i took 4 normal AA's and stuck them in to charge my device. what level charge will i get?

Mr_Rep Mr_Rep22 days ago

also, i am considering using a 7.2 volt Ni-Mh rechargable battery I yanked of a rather large RC helicopter. how well will this handle? more efficent than 2 or 4 AA's?


electro181 year ago
I bought a 5v solar panel and connected a diode to it....... and connected it to my phone. It was charging well so is there any need of the DC-USB converter?
JoshuaZimmerman (author)  electro182 months ago

I agree. If you want to do direct solar you'd need something akin to 9V at 500mA (or more) and a 5V regulator. The issue is that solar depends on how much sun you're getting. In full sunlight you're probably getting 5V. In anything (and I mean anything) less than 100% full sun you're under 5V. You always want to do 1.5X the solar voltage of what you need, so that even in less sunlight you're getting your minimum.

Would "minty boost" (by adafruit ) serve the purpose ?

Please forgive me, I am NOT trying to be a smart aleck....but to use only a solar panel would be like only eating bologna sandwiches. Your solar panel may not give 5V 100% of the time (e.g. cloudy day, shady area, etc). The IC on the DC-USB converter ensures you will always be pushing 5V. The other items help ensure the quality of the voltage is that of a prime rib. lol
Well, thanks ! but i am not able to find any sort of DC-USB converter ,so is there any way to make it ?
Could you show us how you connected it to your phone?
brburrous made it!7 months ago

Cool looking and easy to make, but not to effective.

JoshuaZimmerman (author)  brburrous2 months ago

Nope, thus why I recommend using lithium batteries if you want to make a daily charger. This is more a "My First Solar Project" or "Student" charger. Cheap, easy to make, and works. Just doesn't work super well due to the AAs and small solar cell.

Animag7714 months ago

I made one very similar to this. I put two 2V solar solar panels connected in series with a diod and attached them to the lid. Wired them to the battery holder and then from there it goes to my 2V-5V DC 1.2A USB converter. The problem I am having is after it charges my phone up about 20% the batteries have dropped down to about 0.7V which is completely un-usable.

What did I do wrong? Why are my batteries losing voltage?

JoshuaZimmerman (author)  Animag7712 months ago

They're losing voltage because you're using up the "power" inside them. Think of Voltage like water pressure and amperage like the amount of water stored up. If you have a big barrel of water and punch a hole in the bottom you get a strong jet stream coming out. As the amount of water inside decreases the amount of pressure also decreases. Same thing with a battery.

This happens with all batteries. Thus why going with Lithium Batteries over AAs is preferable when building a charger.

GrayAlien2 months ago

I might be wrong but if you cut a square into the top of the altoids can you could hot glue the solar panel facing up inside. Then you would not have to worry about dragging along the solar panel. Also, this would place it in a tight package, and make it easier to carry around in your pocket or purse.

JoshuaZimmerman (author)  GrayAlien2 months ago

You most certainly could, but then you'd lose the fun of it being an Altoids tin. (And really, I highly recommend NOT using an Altoids tin.)

Thus why I switched to a wooden box in my 2.0 update. Makes things far easier.

mhutchinson45 months ago

Quick question. I was able to salvage a DC to USB board from a car charger. I actually left the LED on the board for ease of checking if power was flowing or not. I can not seem to get it to light up unless my power source is 9v or greater. In your tutorial your using 2.4 volts of output to charge a device via batteries. I am running a 1watt 6volt panel and it wouldn't light it up either although I was only getting about 3.5 volts due to cloudy weather. Any thoughts?

I tried that at first too... It doesn't work. The USB converting from car chargers are designed to dump 12V DC down to 5V DC, what the op is using is designed to take 2-5V DC and bump it up to 5V DC. You need a different USB converter.

JoshuaZimmerman (author)  Animag7712 months ago

Bingo. It's easier to bump up than bump down.

Merahu5 months ago

The update above says that Joshua Zimmerman has retired this charger as unreliable. I have one, plus one without a USB port, produced by BrownDogGadgets, that I have been using to charge four AA batteries for my camera. Yesterday I picked up the tin with the USB port and the metal was hot at one end of the batteries, very hot. It was in the shade and cool surroundings, not in direct sun. I pulled one battery out and set it aside to cool so I could toss it in the garbage. Then I noticed (smell, not visual) acrid fumes. I was using ordinary rechargables, not lithium batteries. (Rayovac.) Since lithium batteries can burst into flames when exposed to high heat, I would be very cautious about using such products with lithium batteries. Given that mine developed a serious problem without lithium batteries, I will be cautious with any use. I am glad I was present when the problem was developing.

One possible contributing factor may be that I have regularly used this on the dash of my car. They have certainly had a chance to get overheated, and perhaps the wiring or components themselves are capable of melting under those conditions, though they were not in the sun at the time I picked them up and found the one hot. I am very pro solar and very pro do-it-yourself. There is some safety risk here, and I hope it will be further clarified in the future, and fixes presented for safe function in sometimes hot conditions.

Thank you to everyone who advances clean energy such as solar, and to those who improve safety as well.

JoshuaZimmerman (author)  Merahu2 months ago

Two things.

1) Metal tins are bad for electrical projects, exactly what you felt. Shorts causing uncontrolled power usage. Plus you can't fit more than 2AAs and a small solar cell inside.

2) Bigger gadgets mean bigger batteries. In the past three years the size of phone and mp3 player batteries have more than doubled. Using 2 AAs isn't going to cut it. Using a Lithium Battery provides a larger power output in a small size. Plus you can charge up lithium batteries faster than AAs. Much much faster.

In my new USB charger kit I use 3 AAs (which helps out quite a bit) and a wooden box. Since I switched to the wooden box the number of emails from customers (having problems) has dropped dramatically. I love Altoids tins, but they do cause many issues.

mkovtchega4 months ago

Do you think I can replace the Dc to USB thingy with a female end of a USB extension cord?


mmcl265544 months ago

Couldn't you use an LM317 as a current limiter and then higher voltage of 4 or 5 NiMh cells won't matter?

hi i had done everything ou said and even bought the equipment but my phone still cannot charge the red led light is on i am outside with batteries but it still wont work??

You're essentially charging two devices, the external backup battery and your phone, at the same time. This instructable explains what kind of charge controller and power is required to perform this task and give constant phone charge even under non-ideal conditions:

Could you fit a triple AA battery holder in here?

jody349 months ago
Where did you get the USB charging circuit?
You can use a voltage regulator. I made a similar one (currently making the instructable). When charging a device via USB then the voltage will always be 5.0 volts. Check my page.
Hey there! This is an excellent looking project that I plan on completing soon! I do have one question: what is the best way to go about harvesting the usb charging circuit from a usb charger?

Thanks so much!
Rip that puppy open.

Find that that turns 2 or 3 AAs into 5V USB.

(Not a wall one. Bad idea.)
Can I use an AC to USB converter? I ripped apart a kindle charger cord; would this work?
Did you ever find out? I'm wondering the same thing, I have an MP4 charger cord
TheArtVark1 year ago
If I understand correctly, if I leave the batteries in and place it in the sun it will use BOTH the solar panel out and the batteries ate the same time if I want to charge anything, right? No need to take out the batteries? When the it's less sunny the batteries drain faster, when it's scorching the batteries drain slower?

Thanks for the instructions!
The temperature of the air doesn't matter as much as you might think. The panel will output more mA when it is 60 degrees and sunny...compared to 110 degrees and mostly cloudy. But yes, leave the batteries in.
Ah, thanks for your answer. No hassle charging then, just stick it out in the sun. With 'warm' I actually meant 'sunny', but good to know that temperature is not an issue either :-)
No problem...but as another user mentioned I would add a small circuit to prevent overcharging the batteries.
Schmidty161 year ago
I was wondering if I could use another usb connector if so can I fond 1 at RadioShack if so what is it called and if I can where can I find one in stuff ling around my house
This has a "USB Type A" for charging electronic devices, you shouldn't need anything else because it's the industry standard. To use anything else would be over-complicating things or risking damage to your equipment. Your best bet is to buy the kit: and add a solar panel to it.
1-40 of 300Next »