In this Instrcutable we'll cover:
- Design Considerations for the circuit and show the resulting schematic
- The Parts list and give you links to a good parts source and prices.
- The PCB Layout and how we will use that layout to build the circuit onto a Breadboard
- Step by step instructions on placing components onto the breadboard and soldering them into place
- Using the leads of the components and/or wires to help create the traces and solder them into place.
Remove these ads by
Signing UpStep 1: Design Considerations
- Input voltage range between 8V and 35V @ 500mA or greater
- Able to accept voltage input from many different sources (i.e. batteries, wall warts, solar panels, ect.)
- Support the USB spec for powering devices (5V @ +/-500mA)
- Small form factor so it could be easily used anywhere.
- Ability to turn it off and on (seams simple enough but i've forgotten to add a power switch to projects in the past, not a very green way to do things)
To allow for the use of different possible input connectors i considered the typical DC jack but decided in the end a set of screw terminals would be best. So i had to include a protection diode in case people connected there power source backwards.
I was able to get the PCB layout down to a 1.5"x1.5" form factor. Small enough to fit inside of an Altoids Smalls tin as long as you lay down the Electrolytic capacitor and voltage regulator flat.
On many of today's smart phones and MP3 players the device won't start charging or use the power from USB unless it is receiving a small voltage on the Data + and Data - lines. These devices , such as all Apple iPods and Phones, are looking for 2V on the D+ and about 2.7V on the D- lines. So voltage dividers are needed to accommodate this. As you will see in the schematic R1, R2, and R3 are feeding the D- line. I found the best resistor values for this where 22K ohms on R1 and a total of 26K between R2 and R3. Two resistors are needed here because 26K Ohm resistors are hard to come by. Then we have a 22k Ohm and 15K Ohm feeding D+. Other resistor values can be used as long as the end result is close to 2V on D+ and 2.7V on D-. I've used this arrangement in past projects and know it works so i'm sticking with it for now. I've tried resistor values under 10K ohms and they don't work. So if you decide to go with a different voltage divider setup make sure the values are greater then 10K ohms.
Here is the Rev 1 Schematic thanks to Upverter.com:














































Visit Our Store »
Go Pro Today »




Thanks,
Peter
1. What is the purpose of C1 and C2? Is it required by the user manual for LM7805?
2. From the same power source if I want a 1A USB and a 2A USB, should I duplicate the whole circuit and in one instance use LM7805 and in the other use an LM338? Or just one LM338 with 2 USB output circuits? And how will I ensure one USB has 1A and the other has 2A?
Thanks in advance for any help.
There are multiple ways to get more amperage out of the circuit. An LM338 is a great option since it can offer up to 5A so long as the input voltage to the regulator is capable of offering more than 5A. You would only need to use 1 of them and it can replace the LM7805 in this circuit. Then you can put 2 or more USB jacks on the circuit. You don't need to worry about limiting the max current to 1A or 2A. Devices will pull the amperage they need so long as it doesn't exceed the output of the regulator. So you only have to worry about how many items you plug into the circuit so you don't exceed the 5A limit of the regulator or the limit of the wall adapter, whichever comes first.
Good instructable, and thanks for replying so fast.
mdog93
Instead of using multiple 7805 you may use LM338. It hadles up to 5 A.
http://www.ti.com/product/lm338
Thanks for sharing this. I love it!
You could've used a bridge rectifier. That way, no matter how you connect the power supply, the thing would still work.
This is an ongoing and evolving project. I hope there will be enough interest in this item to make it worth my while to have a production run of PCBs made with all the final upgrades available for it. This instructable was posted kind of mid development to be in time for a couple of contests and challenges. The Kit Design Challenge in particular offers a great opportunity to get the support i need to help bring this kit to the market. Just so you know i start to develop this the day that challenge was posted. So its been in development for a little over a week.
To put thing into perspective my first schematic didn't have a diode in it at all. Then i thought about what would happen if the polarity was reversed. So i hooked up a spare 7805 and plugged the input in wrong to see what would happen. Like many people here i'm still learning, though i should have known that one from the start. lol