I did some test with a DC motor, I used it like a generator, and I got up to 30 V, I donĀ“t want to waste my energy to get 30V and then regulate it to 5-9V.
Ian.M Thank you, I have been reading, and some people say that you get the 12V when you ride at 15-20 km/h.
I wanted to use diodes to lower the voltage but that depends on the current, and in my case the current is not always the same. (That is why I think the LM317 is perfect)
What do you guys think about my idea?
12V Dynamo ->Bridge rectifier -> 7.5V Regulator (LM317) -> Battery -> (LM2596 Circuit with 2 USB outputs, and 2 lights).