I think that it is safe to say that most of the people who make (big or small) electronics-projects have a pc or laptop in theire hobbycorner and a lot of projects need 5V for IC's or microcontrollers. So using power from a USB cable isn't that farfetched and lets face it: a lot of devices around us use a USB-connection to get their power or to charge their batteries.
Remove these ads by
Signing UpStep 1About USB-connectors and -power
For this Instructable you can use any USB-connector you like (or you can even cut the cable and solder the wires) but I will use a B-type. The pins always have the same function for all types of connectors.
| Pin# | Color Cable | Function |
|---|---|---|
| 1 | Red | Vcc (5V) |
| 2 | White | Data- |
| 3 | Green | Data+ |
| 4 | Black | Ground |
Voltage = 5V
max Current = 500mA
| « Previous Step | Download PDFView All Steps | Next Step » |











































Now if i was to add a 8 pin push switch it would be between the resistor and the Led right?
There are rumours of Apple building high-power USB ports into their newest computers that will supply between 1 and 2 amps. That's so you can speed-charge an iPhone4 or an iPad without using a mains charger.
This would give you the instant current when demanded and still be trickle charging at the same time.
Saying that, i have a 4 X AA cell nicad charger, and looking inside that, all 4 cells are connected directly to the 5v USB bus!
I made this quickly to do some testing while using the 5V from my laptop. I did not need more than 100mA and it still works fine for most of the smaller projects I do. For all the rest of the testing I use a regular power supply.
Even the best make short circuits.
This instructable however was very interesting, it does come in handy !
but I guess you are right.