Build a spin bike pedal generator

Here you will find everything you need to for an easy to build, powerful, quiet stationary spin bike pedal generator. I’ll cover tools and parts needed, along with diagrams for wiring and things I’ve learned along the way that can make your build a success. Let me start by saying that I am not an electrical engineer, nor a mechanical engineer, this was just something I was interested in and wanted to go about building. If you have suggestions or a better way to build it, I’d love to get your feedback!

Let’s get right to it! First you’ll need a spin bike, also known as a stationary bike or exercise bike. If you don’t have one already, check eBay, Craigslist or garage sales. Otherwise, there are several  models from Sunny Fitness that should work (one, two, three – this last one is small, possibly good for kids or petite adults). Be sure to get one with a chain drive (not belt).

The next key component is a e-bike hub motor. Hub motors come in many different models, front, rear, 24 volt, 36 volt, 48 volt, 350 watt, 500 watt, 1000 watt and so on. For this to work, you’ll need a front hub e-bike motor (check eBay if Amazon is out of them), as front hub motors will fit between the typical spin bike front braces. You’ll also need to have a disc brake mount on the hub motor. More on this in a minute. For my build, I went with a 24 volt setup, using a 24 volt motor 500 watt motor. You can use a 36 volt brushless gearless front hub motor with disc brake mount if you can’t find the 24 volt variety.

Now you may be wondering how we plan to drive the e-bike hub motor with the chain drive of the spin bike. This took me a little while to figure out, but it just so happens that some people use the disc brake mount on a bicycle to mount a ‘fixed’ gear. There are a few companies that sell sprocket kits just for this purpose. The one I recommend is the 16 tooth sprocket from Origin8. Just take off the free hub adapter parts (the red things) and bolt the sprocket on the disc brake mount on the motor. Some Loctite might be advised.

Once the sprocket is on the motor, pull the original flywheel off of the spin bike and replace it with the hub motor, ensuring you route the chain over the newly installed sprocket.

When you turn the e-bike hub motor the permanent magnets pass over the the copper coils of the stator in the motor, generating alternating current electricity. To convert to more usable direct current, we need simple component called a 3 phase bridge rectifier – it sounds really complicated, but it is really just a basic circuit which takes the 3 wires of alternating current from the hub motor and converts it to direct current. The fat wire coming out of the hub motor consist of the 3 wires just mentioned, and some thin hall effect sensor wires used by a typical e-bike controller to determine RPM of the motor. These sensor wires can be clipped and/or tucked out of the way. For the remaining thicker 3 wires, we’ll put female spade connectors on the ends and connect them onto the 3 posts of the bridge rectifier marked with the “s” squigglies. The other two posts on the bridge rectifier deliver positive (+) and negative (-) direct current. The side of the bridge rectifier has a map of the posts, click on the image at right for a closer look at the map.

Next challenge – the voltage coming out of the bridge rectifier is anywhere from 20 to 40+ volts. This is assuming a 24 volt hub motor spinning anywhere from a leisurely pace to frantic sprint . We’d like this power to be a steady 12 volts so we can charge cell phones, iPads, and run things like fans and coffee makers. With 12 volts output, we could also use a DC to AC converter to charge our laptops, cordless drills or power a TV. Enter the step down converter! If you go with a 36 volt motor, you may want to get a 36 volt step down converter. This critical component is often used in electric golf carts to “step down” the 48/36/24 volt battery power in the golf cart to 12 volts to run fans, radios, lights and other things that plug into a 12 volt car socket. Here’s a diagram of the wiring, including an optional multi-meter – it really is very simple.

Wiring diagram for pedal generator

That’s it! Those are your basic components to make it all work.

This really is a fun project. With most of the challenges of how to make it all work spelled out above, what’s stopping you from building your own pedal generator?

Some optional components, basic tools and supplies you may need to complete this project:

Project box to make it look nice
Fuse and Fuse holder to protect components
Multi-meter to quantify watts and watt-hours being generated
12v car sockets – I like to use 2 of these
Anderson Powerpole Connectors
12 Gauge Speaker Wire
Wire Crimper Stripper
Adjustable wrench
Metric Allen Wrenches
Multi-meter, can be handy

Please support this site by purchasing any needed components through the links above. It will help pay for hosting this site, and will fund future adventures in alternative energy projects I’d like to pursue.

Direct charge, grid tie or battery bank?

What is the best use of your pedaling time on a pedal generator? There are 3 typical avenues you could direct your watts:

  1. Direct charge: Directly use the watts coming out of your pedal generator, once converted to useful 12 volt current, and charge your devices using car chargers.
  2. Grid Tie: Use a grid tie inverter to send all your pedaling effort into the nearest wall outlet.
  3. Battery bank: Charge a bank of lead acid batteries.

There are advantages and disadvantages to each of these.

Method Pros Cons
Direct charging Efficient – 90%+ charging efficiency. You will need to round up enough gadgets to create the appropriate resistance for a good workout.
Grid Tie Directly offsets your utility bill with watts generated. Grid tie inverters are about 80% efficient in practice.  Put in 100Wh from pedaling, only about 80Wh will be put back into the grid.
Battery bank For those living off grid, augmenting their battery bank may be a necessity. Lead acid battery charge efficiency is only about 85% – so if you put in 100Wh, you only get out 85Wh.  Couple this with the efficiency losses of a charge controller and an inverter to get it back out as AC, and you might get 50% of what you put in.

I advocate for direct charging, and I’ll explain why.  Going out on a limb here, but I’ll assume everyone uses a mobile device or two, and maybe a tablet. Assuming you charge these things regularly, let’s look at the scenario of charging these using the methods above.

Direct charging:

Pedal generator -> Charge controller (90%+ efficient) -> 12v car charger  -> device(s)

Grid Tie:

Pedal generator -> Grid tie inverter (80% efficient) -> 110VAC wall charger -> device(s)

Battery Bank:

Pedal generator -> Charge controller (90% efficient) -> Battery bank (85% efficient) -> DC to AC inverter (90% efficient) -> 110VAC wall charger -> Devices(s)

As I discovered in the previous blog post, wall chargers have losses up to 30%+, whereas 2 out of the 3 car chargers tested had losses of just over 1%. Using either grid tie or a battery bank may result in 50% or more of your efforts wasted on conversion losses.  I do want to point out that the charge controller used in my pedal charger design is 90%+ efficient, so you will lose up to 10% in that conversion, resulting in a max of about 12% loss if you include the car charger losses – but far better than the other two alternatives!

Wall Charger Verses 12v Car Charger Efficiency

Have you ever wondered which kind of charger is more efficient?  Are wall chargers we use to charge our devices just as efficient as 12v car chargers?  In this blog post, you’ll find out!

I grabbed 3 quality wall chargers and 3 quality car chargers with the intent to see how many watts each consumed, and how many they actually put into an Apple iPad Mini.  To find these measurements, I used a wall AC meter, a DC power meter and a USB dongle meter.  Here are the results.

Charger Watts In Watts Out Percent Loss
Apple 5 watt 6.6 watts 4.6 watts 30.3%
Apple 12 watt 11.6 watts 9.2 watts 20.7%
RAVPower iSmart 11.0 watts 9.1 watts 17.3%
PowerGen 20w car 8.9 watts 8.8 watts 1.1%
Anker 42w car 10.7 watts 9.9 watts 7.5%
Anker 24w car 8.2 watts 8.1 watts 1.2%

Wow!  I didn’t expect to see such a difference in efficiency between the wall chargers and the car chargers.  After a little digging, it makes sense – the wall chargers need to convert AC (alternating current) into DC (direct current), whereas the car chargers are just changing 12 volt direct current into 5 volt direct current that is the standard for USB.  Even the worst car charger was 10% more efficient than the best wall charger – crazy, right?

I suspected AC wall chargers were less efficient from my experience using my pedal generator.  I could see the wattage used by the wall chargers put more of a load than the DC car chargers, but it was great to quantify the real difference.  I had no idea how much more inefficient wall chargers were!  I will definitely be using car chargers whenever possible for the most efficient charging of my devices.  On the other hand, if I need more of a challenge on my pedal generator, I can always substitute in the AC chargers!

If you’re living off grid, you may find this information very helpful in deciding how you should charge your mobile devices.  Directly charging with solar or a pedal generator would be the most efficient way to go, rather than dumping all power to a battery bank, then converting to AC and charging with a wall wart (thoughts of all the efficiency losses in this cycle is making my head spin!).

Comparing USB chargers for charging the iPhone 7 Plus

I use a stationary bike pedal generator to charge my cell phone and other devices.  Getting the most watts into my devices helps me make the most of my pedaling time. A typical 1 amp charger puts about 5 watts into most phones, but will take several hours to charge even the smallest device battery. In this post, I’ll compare the output of several chargers and how many watts they can put into my iPhone 7 Plus.

Chargers included in this test:
1. Original Apple 5 watt wall charger
2. Original Apple 12 watt wall charger
3. RAVPower 24W 4.8A (2.4A x 2) Dual USB Wall Charger
4. PowerGen 4.2Amps / 20W Dual USB Car charger
5. Anker 24 watt dual USB PowerDrive 2 Car charger
6. Anker Quick Charge 3.0 42W Dual USB Car Charger

While testing each device, the phone was plugged into each charger with a low state of charge (~15-25%) and left on the charger for a couple minutes to ensure the circuitry of the charger had time to identify the device and provide the maximum charge it was capable of delivering. We use a low battery as the rate of charging slows once you approach 80-90% charge on the battery. You may have noticed getting the last 10% charge into your phone seems to take an eternity. This slower rate of charge is to protect the battery from damage and is by design.  Let’s see how each of the devices fared in this test.

The results


Device Watts delivered  
Apple 5 watt 4.74
Apple 12 watt 9.94
RAVPower 9.49
PowerGen Non-Apple port: 2.36
Apple port: 9.13
Anker 24 watt 9.82
Anker 42 watt IQ Port: 10.18
QC 3.0 Port: 4.81

As expected, the 5w Apple charger delivered just under 5 watts.  The 12w Apple iPad charger kicked out over 10 watts initially but settled into just under 10 watts after half a minute or so.  The PowerGen 12v car charger non-Apple port was the worst of the bunch, pushing only 2.36 watts, however it’s Apple specific port cranked out a respectable 9.13 watts.  The 24 watt Anker managed about 9.82 watts out of each USB port.  The final USB car charger in the test, the Anker Quick Charge 3.0 and IQ charger managed less than 5 watts out of the QC3.0 USB port, but cranked out 10.18 watts out of the IQ only port.

Overall winner: Anker 42 watt!

I suspected based on my experience using these chargers with my stationary bike generator that this would be the outcome I would get, but it’s was good to have metrics on the actual watts going into my phone.  Pushing only 10 watts on the pedal generator requires almost zero effort, so I typically change my iPhone along with battery banks (I’ll review what works best among those later) and any other devices around the house that need a charge.  Adding more devices to the mix creates more resistance when pedaling.  Devices I typically include are iPads, other family members cell phones (if I can pry them away long enough), an iPad mini, an iPod Touch, my Microsoft Surface Pro 3 , Chromebook, bluetooth headset, FitBit, and cordless drills to name a few.  I try to get 60 watts or more in order to get enough resistance to make it feel like I’m doing something.  I’ve been able to generate over 180 watts with the pedal generator, but I can’t sustain that for too long.  I’ve found the best range of wattage resistance for me for any length of time has been between 60 and 130 watts.  In future posts, I’ll test the limits of the pedal generator (and myself!) to see what the upper end of wattage is that can be produced.