This is what I have designed to enter the #Hope3D design competition. I wanted to produce something that could help us stop using batteries and mains electricity. Batteries have so many toxic chemicals and by using this generator, you won't need any batteries in your bike lights. If you are using this to charge anything else that operates on about 5 Volts, open the battery compartment, take out the earth destroying batteries, and connect the 2 generator output wire to the positive and negative terminals. You can drill a hole into the battery cover, route the wires through it, and close the cover. This way you can save the planet and your wallet by not using batteries. You can even charge your phone with this and avoid using the mains power. I also wanted to make it affordable so that while saving money of batteries, you aren't wasting any on this.
A way to expand on this idea is to sell this as a product and have people donate money to a manufacturer to manufacture these and distribute them to those who can't afford to buy this for free.
In the near future, I will be making multiple designs for the clamp so that it can fit multiple shapes of bike tubes. This one fits oval tubes about mm by mm (medium). Feel free to comment asking me any questions you may have. Here are more instructions I tested it on a Novara, Buzz bike.
You are biking while using your phones GPS ready to go to your friend's house for the first time and suddenly the battery dies! Your house has a power outage and your phone is dead. What do you do? You simply plug it into your bike and off you go! If you don't want to charge your phone, you can power anything else such as bike lights as long as it runs on 5V.
This generator is mounted to the rod to the left of the rear wheel using a simple screw on clamp mechanism. There will be multiple versions with different clamping shapes to accommodate for different rod sizes and shapes. The generator has a nail that acts as a hinge and uses an elastic rubber string to tension it and pulls it to the right and allows the generators small wheel at the top to lightly touch the metal rim of the wheel. The tension is adjustable. You can loosen the screw in the back which allows you to pull the string downwards and tightening the screw will keep the tension. As the bike's wheel rotates, the generator's small wheel rotates at a higher rpm due to the gearing that a small wheel provides. The 2 wires leave the generator and are routed neatly to a circuit box which ensures a stable 5V power supply while the bike is moving. 2 wires exit this control box and can be connected to a phone charging cable or any other thing else such as bike lights. There is a red LED on the Boost Converter circuit board that I used (link below). On the biggest half of the electronics box, there is a small circular indent inside it. That is where the LED will be positioned under. This circle is thinner than the rest of the box so that when the LED is on, you will see a red circle through the box without there being a hole. This makes it more waterproof and looks very modern. This LED can tell you if you are pedaling fast enough for 5V to be generated. This board requires 1V minimum and 4-5V max and if you aren't going fast enough, you could be generating less than 1V. The LED won't be on and that means you need to pedal faster (you don't need to be that fast for it to work.). If it's on, you're good!