Bicycle Dynamo Battery Charger Circuit

The post explains a simple constant current bicycle dynamo battery charger circuit which can be used for charging a Li-Ion or Ni-Cd battery from a bicycle dynamo electricity source. The idea was requested by Mr. Saif Khan.

The Circuit Request

I want to charge a battery through a dynamo fitted to a cycle. Can you please tell me how to design the circuit for it. I don't know electronics. I will be really grateful.I don't know much but i live with electronic engg guys who know about it so if given a complete schematics they can do it. Can i order these online?

I am not sure a dynamo would be able to produce 28/30V. I have read that it can be limited to 4-20 V mostly
(I am using a simple motor..which will rotate and as well charge the battery). I know i am a total n00b :/

Just few points:
1. The input voltage, being connected to a dynamo fitted to a normal cycle will vary a lot but mostly be less than 20V, right?

2. The li ion battery that will be charged needs to power an LED lamp for about 2 hrs. It has to be charged within 1-1.5 hr of cycling. That's pretty much my project.

And can we charge Ni-MH battery with it if i don't find Li-ion battery anywhere

Thank you once again. Apology for my n00bness i am just a chemistry grad.

Sir i have bought all u asked for lm317..please guide me further thank u


The Circuit Design

The second circuit shown in the following link can be implemented for the above application:

The dynamo input should be connected across the points referred 30V and ground, VIA a 1N4007 DIODE.

The 10K variable resistor which may be a pot or a preset should be adjusted to get the desired output voltage.

The LM317 should be mounted on a suitable heatsink.

The IC LM317 can work right from 3V to 35V inputs, so input variations won't affect the outcome.

The pictorial presentation of the proposed bicycle dynamo battery charger circuit is provided below.

It must be ensured that the pinouts of the IC are correctly connected as per the shown designations.

Battery Charger Circuit using a bicycle dynamo

How to calculate current limit for this bicycle dynamo battery charger circuit

Rx is the current control resistor which must be selected as per the charging current specifications by using the following formula:

Rx = 0.6/charging current

14 thoughts on “Bicycle Dynamo Battery Charger Circuit

  1. Have questions? Please feel free to post them through comments! Comments will be moderated and solved ASAP.
    • I am sorry Karaveer, i have discontinued the offer because it could get too confusing to handle and publish so many responses.
      But no issues, if you have any elaborate topic to learn or discuss with me, you can send it to, I'll respond and publish it as effectively.

  2. Hello, swagatam
    The above circuit is very nice. I seen a hand cranked flashlight circuit, there is no electronics in it, not even a diode, the dynamo is wired through a series of LED and a double contact switch. the LED working both as a variable rectifier and light source. its the simplest design… can you explain/post the circuit?

    • Hello Max,


      The Hand cranked device that you are referring to might be having output limited to LED voltage that's why no other parts are involved, a bicycle dynamo voltage could range from zero to 20V making it essential for some sort of regulation to avoid LED damage.

      I'll try to investigate the details.

    • Suyog, there are many circuit options possible, you can use a 7805 IC, or a LM317 as shown above or any other similar voltage regulator with a bicycle dynamo for getting a cranked charging output for charging the cell phone.

      The above circuit example is the best that you can get.

  3. Hello, I have build a robot with battery switching feature. Another part which I am currently working on is to generate energy from the robot's motors using dynamo. The dynamo would charge the system's battery one at a time based on the voltage conditions. My question is, what is the appropriate considerations need to be count in while designing the battery charging part. I mean how should I modify the above circuit to a lithium polymer friendly circuit. I am using a 3 cell 11.1V 2200mAh lithium polymer battery. Looking forward for a reply.

    • Hi, the above circuit does not have an automatic over charge cut-off feature which may be highly recommended for a lipo battery.

      I'll design the required circuit soon and post it in this blog for your reference.

Leave a Comment