In this design, the USB charging station can be unplugged when not in use. When charging the devices can be kept in your pocket or backpack.
The charging station has four AAA rechargeable batteries wired parallel to the female USB that provide a secondary energy storage and once charged can power a USB device independent from the bike.
You can use the dynamo to power the lights or the USB but not simultaneously. A toggle switch on the bullnose handlebars turns the front lights off.
Step 1: Circuits
LED for beginners: www.instructables.com/id/LEDs-for-Beginners/
try out different circuits... blinking, back light, combinations =>
As the front wheel turns it creates alternating current (AC) power. The 'bridge' is a rectifier that converts the AC dynamo power to DC power. The bridge is made up of qty(4) 1N5818 diodes.
Bike Light Encapsulated in Epoxy :
The battery pack absorbs any power not consumed by the USB device.
qty(4) 1N5818 Diodes
qty(8) White LEDs
qty(1) Battery Pack
Step 2: USB Charging Station
First I wired the battery pack and USB devices in parallel.
Next I partially disassembled the battery pack and wired the phone jack. I arbitrarily used the Left channel of the phone jack as DC positive. You just have to be consistent when you work on the handlebar connection.
I drilled a 1/4" hole in the lid for the 1/8" jack to stick through.