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