A USB Charging Port for an Electric Bicycle

by scd in Circuits > USB

13302 Views, 26 Favorites, 0 Comments

A USB Charging Port for an Electric Bicycle

DSCN0036.JPG
This instructable will show how to build a USB charging port for an electric bicycle.  This project is basically a DC-to-DC converter which takes power from the main battery of an electric bicycle (usually 24V, 36V or 48V) and converts it down to 5V needed to power a USB charging port.

Schematic and Parts List

schematic.jpg
Here is the schematic and the parts list with Digi-Key part numbers.
The resistor network is needed for some phones (e.g. the iPhone) that need to see 2V on USB pins 2 and 3.

Circuit Board Layout

layout.jpg
Here is the printed circuit board layout.  There are parts on both sides of the board in order to create a more compact layout.

Bare Board (back From the Fab)

DSCN0031.JPG
DSCN0032.JPG
I had a prototype board fabricated .. and here are some shots of the bare boards.

Completed Prototype Board

DSCN0033.JPG
DSCN0034.JPG
DSCN0035.JPG
Here are some photos of the prototype board with the parts installed and soldered.

Testing

DSCN0036.JPG
Testing just consisted of supplying a 48V input voltage and verifying the output voltages at the USB connector.
Pin 1 should measure 5V and pins 2 and 3 should both measure 2V
After verifying these voltages, the real acid test is being brave enough to plug in your smart phone.
I have tested this charger with a Samsung Galaxy Android phone and an iPhone 5 and both charged just fine.


Packaging

DSCN0037.JPG
I used shrink-wrap tubing to enclose the design.
Optionally inject a little hot glue just before shrink-wrapping to make a waterproof casing.