Introduction: Best DIY Bike Trainer Generator
Why would anyone want to build a pedal generator? There are many reasons.
- To be prepared for the next hurricane that takes power out for days, weeks or longer
- To supplement your off-grid system
- To have one of the coolest interactive science fair projects
- To be more environmentally friendly and create a smaller carbon footprint
- To have a backup plan should terrorists or nation states take out our power grid
- To be prepared in the event of a zombie apocalypse (ok, a bike generator probably won’t help in this case – but add a set of the key electronics in your Faraday box will help should we see a Starfish Prime type attack)
- Or like me, a fair weather mountain biker, you want turn your efforts on an exercise trainer in the off season into tangible outcome (in addition to better health). For me, that outcome is a charged cell phone, tablets and other mobile devices, and a satisfaction that I contributed, if only in a small way, to preserving the earth we live on.
Whatever the reason, you’ve come to the right place for an easy to build, efficient bike trainer generator. In this post, I will provide step by step instructions and all the information you’ll need to source the parts for this project. I’ve always had an interest and fascination with alternate energy and human powered energy in particular. As a fair weather mountain biker, I find pedaling on a trainer or spin bike in the off season uninspiring, and often think “what if I could harness some of this energy”, or “I wonder if I could power the TV I’m watching” while I pedal. I wonder no more.
I’ve checked out many pedal generator products on the market as well as in the DIY world and found the commercial products for sale were too expensive, and the DIY projects were often really complicated and/or required you to take your bike apart to hook it to the generator. My first attempt at a pedal generator was expensive to build, although not extremely complicated. So I set out to design a low cost and easy to build bike generator that you just drop in your bike when you want to generate electricity, allowing you to easily take your bike for a ride when you are not.
I built this bike generator so I could charge my iPhone and other mobile devices while I get a workout. If I want an easy workout, I’ll just charge my phone and a battery pack or two. If I want a more challenging workout, I add more stuff to charge, or power a fan or TV!
Some things I’ve charged or powered with my bike generator, and the typical watts they require:
- iPhone 7 Plus: 10 watts
- iPad Pro: 12 watts
- USB battery pack: 5 watts
- Quick Charge battery pack: 14+ watts
- USB C battery pack: 13 watts
- USB C Lenovo Laptop: 15 watts
- 32 inch LCD TV: 50 watts
- USB Fan: 1-4 watts depending on setting
Some people have a need or desire to charge a 12 volt batteries, and this bike generator will do that if desired, but I would suggest that direct charging/powering is more efficient due to losses in charging lead acid batteries (15%), so putting 100 watts in gives you only 85 watts out. Read more about this in my blog post:
Step 1: Parts List
- this bike trainer
- RC motor read on further for how this was selected
- 3 phase bridge rectifier
- 8mm to 10mm shaft coupler
- RC Power meter
- 12v socket outlet
- Spade connectors
- 2 * XT60 wire assemlies
- 12 AWG stranded wire
- 4mm bullet connectors
- Heat shrink tubing
- Anker 42w car charger - love this charger! Great for QuickCharge phones or battery packs
- Anker 24w car charger - this charger is great for iPhones, Androids or any USB device
- Power inverter – to power AC devices like a TV or Laptop
- USB fan – to cool you while you pedal
Step 2: Remove Magnetic Resistance Parts From Trainer
First we need to remove the guts of the trainer's resistance unit. Unscrew the three Philips head screws holding the outer shroud and remove the shroud. Pry out the metal ring with magnets from the outer shroud.
Use Allen wrench to remove the Allen bolt holding the other magnetic resistance parts. Pull out inner metal housing. Take care not to get your fingers pinched when placing near the other magnet ring.
Turn the cable tension adjuster so the cable is loose, and with fingers or a pair of pliers work the cable end out and remove.
Step 3: Add the Shaft Coupler
The motor I am using has an 8mm shaft, and the trainer has a 10mm shaft. This shaft coupler connects the two shafts together quite nicely. I tried a grub screw style shaft coupler, but it created a bad vibration, this one worked great! If you use a different trainer or RC motor, be sure to measure what you have before ordering the shaft coupler - they make many different sizes and you should find one that will work.
Put on the coupler, tap with a mallet if needed to get it seated all the way in - being careful to not tap the shaft out (brace the flywheel side when tapping). Tighten the Allen screw on the trainer shaft side.
Step 4: Attach RC Motor to Outer Shroud
A bit about the RC motor selection process - math alert!
In selecting an RC motor, we need to determine which motor will give us between 9-15 volts at normal pedaling speeds:
- A typical 26 inch mountain bike tire is 2068mm in circumference Ref: https://www.cateye.com/
- The drive wheel diameter on the bike trainer is 30mm, circumference is 94.25mm.
- For every rotation of the tire, the drive wheel will rotate 2068/94.25 = about 22 times
- A comfortable riding pace is about 15 MPH. At 15 MPH, a mountain bike tire is spinning at around 194 RPM Ref: https://endless-sphere.com/
- At 15 MPH, the bike trainer drive wheel is rotating at 194 x 22 = 4268 RPM
- RC motors are sold in xKV, meaning to get x RPM(K) it will need (or generate) (V) volts, so a 1000KV motor will generate 1 volt at 1000 RPM, 2 volts at 2000 RPM, etc
- To get to around 12 charging volts at 15 MPH (4268 RPM / 12v), we need a motor with around 355KV rating. I wasn't able to find any RC motors at that exact rating, I went with a motor with slightly lower (320KV) RPM because I'm lazy and don’t want to pedal as hard to get to 12v.
- Vary your RC motor selection based on your expected riding MPH and wheel size using the reference links above. If you’re a faster road rider, you may want to use a higher KV motor than I am, if you’re looking for a more casual pace or will be using this trainer with a 24 inch wheel bike for instance, then a lower KV motor might be a better choice.
Drill the center hole of the shroud a little bigger so the RC motor shaft won't rub. From here, there are options on how to attach the RC motor to the shroud, here are two ways:
1st way: Screw on the + bracket to the RC motor. Place over the shroud hole as close to center as possible. Align holes in bracket with solid part of shroud, mark holes, drill and bolt the + bracket to the shroud. You may also want to do some Dremel work to remove some of the plastic in the shroud in order to secure with a nut and washer, but I've found that it wasn't necessary, the only purpose of the bolts is to keep the motor frame from turning.
2nd way: Attach the motor without the + bracket, drilling and bolting directly through the housing. I found I needed to add a couple washers for spacing so the shaft lock washer and bearing didn't rub. This way is more challenging to measure where the holes go, using the 1st way you can just use the + bracket as a guide to center, mark and drill.
Once the motor is mounted to the shroud, we need to slide the motor shaft onto the shaft coupler, while lining up the 3 screw points. Once pressed on all the way - tighten the Allen/hex bolts onto the motor shaft. I found drilling a 1/2 inch hole in the bottom of the shroud made it easier to access the hex bolts. Put the 3 screws back into the shroud that were originally used to hold it in place.
Step 5: Turn AC Electricity Into DC
The 3 phase bridge rectifier sounds fancy but serves a simple purpose, it will convert Alternating Current (AC) coming from the 3 wires of the RC motor into Direct Current(DC) which is useful for charging. A small amount of voltage is lost in this conversion process (about 0.7 volts), and some heat is generated, but this unit has substantial cooling fins so heat should not be a problem at the amperages we will be working with. Okay, let’s make three (3) wire connectors between RC motor and 3 phase bridge rectifier - we'll need bullet connectors on one end and female spade connectors on the other. Solder 3 x 4mm bullet connectors (if you use a different motor, check motor bullet connector size with caliper before ordering) to 3 equal lengths of wire, then cover with heat shrink tubing to insulate from shorting with the other bullet connectors. I’m using 12 AWG wire, you could go as low as 18 AWG wire. Crimp and/or solder 3 female ⅜” spade connectors to the other ends of the wires. Finish with heat shrink tubing if desired. Connect the bullet connectors to the RC motor wires, connect the 3 other ends to the 3 Alternating Current (AC) male spade connections on the bridge rectifier. The AC posts are marked with a ‘~’. The order of the connections to between the bridge rectifier and the motor make no difference.
Alternate: If soldering is not something you are comfortable with, this project can be completed with a pair of wire crimps and suitable connectors. You would need to cut off the bullet connectors on the motor, strip wire ends and crimp on 3/8" connectors. Where I have used XT60 connectors, just use spade connectors or Anderson Powerpoles.
Step 6: Make a DC Connector Assembly
Add ⅜” spade connectors to a black(-) and red(+) XT60 wire assembly and connect to the 2 Direct Current (DC) male spade connections on the bridge rectifier, ensuring to put the red(+) on the + connector and black (-) on the - connector.
Step 7: Add a Meter
Adding a meter is optional, but strongly recommended to ensure you don’t go over on voltage, and to help measure how many watts you are actually producing! For our build we used an RC power analyzer connected using XT60 connectors. This meter will show Watts, Volts, Amps and scroll through Watt Hours (Wh), Amp Hours (Ah) and other measures. The XT60 connectors make solid circuit contact and prevent plugging things in the wrong way. Wire so the “source” is the bike generator, soldering each connection and sealing with heat shrink tubing.
Step 8: Add a Socket Adapter
Add a car socket adapter – in the parts list we link to a 3 port socket connector that should be suitable for 80% of users. The 18 AWG wires limit the total wattage to about 150 watts, which is fine for most people and has been plenty for me, but strong riders may want to build something with 12 AWG wire using separate sockets and a project box. To hook up the 3 port socket adapter, just solder on the XT60 connector to the matching wire colors, add some heat shrink tubing (put the tubing on before soldering, far up the wire so it doesn’t get hot) and plug in!
Step 9: Done!
Get charging! If you just plug in car charger adapters, most will start charging at around 9v input, and the good quality chargers (like the Anker models referenced in optional parts) will handle up to 24v input without a problem. If you only charge with these type chargers, you can pretty much pedal to your heart’s content if you followed the design as I've outlined, and not worry about limiting voltage. Need an easy ride, just plug in a cell phone or two. To add more resistance, add more car adapters and devices. I’ve tested this generating up to about 375 watts. It can go higher, but that’s nearing the limit of the 50 year old pushing the pedals (me!). The motor itself is capable of up to 1820 watts. Want a challenge? Brew some coffee!
If you want to power something that plugs into a wall outlet using an inverter, or have a desire to charge a 12v battery, then you’ll need to be mindful of the voltage you are generating, and keep it to under 14.7 volts or so.
Let me know if you build this, I'd love to hear your feedback!
Step 10: Detailed Build Video
Gene'sG made it!
We have a be nice policy.
Please be positive and constructive.