A USB Charging Port for an Electric Bicycle
13411 Views, 26 Favorites, 0 Comments
A USB Charging Port for an Electric Bicycle
![DSCN0036.JPG](/proxy/?url=https://content.instructables.com/FKN/SQSK/HH2VKXRM/FKNSQSKHH2VKXRM.jpg&filename=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](/proxy/?url=https://content.instructables.com/F7V/AKB8/HH2VKXOH/F7VAKB8HH2VKXOH.jpg&filename=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.
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](/proxy/?url=https://content.instructables.com/FJA/5D6L/HH2VKXP1/FJA5D6LHH2VKXP1.jpg&filename=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](/proxy/?url=https://content.instructables.com/FK4/KHTR/HH2VKXPD/FK4KHTRHH2VKXPD.jpg&filename=DSCN0031.JPG)
![DSCN0032.JPG](/proxy/?url=https://content.instructables.com/FJ1/GGV0/HH2VKXPE/FJ1GGV0HH2VKXPE.jpg&filename=DSCN0032.JPG)
I had a prototype board fabricated .. and here are some shots of the bare boards.
Completed Prototype Board
![DSCN0033.JPG](/proxy/?url=https://content.instructables.com/FDX/F88Z/HH2VKXPR/FDXF88ZHH2VKXPR.jpg&filename=DSCN0033.JPG)
![DSCN0034.JPG](/proxy/?url=https://content.instructables.com/F1U/MC4F/HH2VKXPT/F1UMC4FHH2VKXPT.jpg&filename=DSCN0034.JPG)
![DSCN0035.JPG](/proxy/?url=https://content.instructables.com/F2W/F7SK/HH2VKXPV/F2WF7SKHH2VKXPV.jpg&filename=DSCN0035.JPG)
Here are some photos of the prototype board with the parts installed and soldered.
Testing
![DSCN0036.JPG](/proxy/?url=https://content.instructables.com/FKN/SQSK/HH2VKXRM/FKNSQSKHH2VKXRM.jpg&filename=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.
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](/proxy/?url=https://content.instructables.com/F7J/SWH4/HIZDBSEH/F7JSWH4HIZDBSEH.jpg&filename=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.
Optionally inject a little hot glue just before shrink-wrapping to make a waterproof casing.