How to Build a Bicycle Generator

217K1.0K40

Intro: How to Build a Bicycle Generator

Using a few easily accessible parts, you can make a bicycle generator that can power various electronic appliances, such as laptops and batteries!

Materials needed:
Bicycle Stand
Bicycle frame
24V  DC scooter motor
DC-DC battery charger
A car battery, or something similar
DC-AC inverter
Wires for electrical connections and various bike parts and tools.

A multimeter might be useful to check various voltage differentials between different objects.

The specific hardware we used:
Motor: 24V 300W Scooter Motor
Battery: 12V 18 amp-hr lead-acid battery model 7448k51
Charger: Thunder 620 battery charger- 300 Watt 20 Amp
Inverter: 400 Watt inverter Model 6987k22


STEP 1: Bike Stand

First you need something to hold your bike. You can either build your own bike stand or buy them. We used a bought stand for the back and made our own for the front. 

Buy a stand: These stands are especially nice for the back wheel because some of them are adjustable from side to side (right and left to the rider). This variation makes aligning the connection to the motor easier. 

STEP 2: Make a Stand for the Front Wheel

For the front bike stand, we used a few blocks of wood. The base was created by a 4x4x24” wood block. Using two 2x4” planks, we created the bolt-holding blocks by making a ⅜” hole high enough to be comfortable when you ride. For us, this ended up being about 12 ½” from the ground, but this is variable depending on the size of your bike.

The support blocks sandwiching either side of the two high blocks were made by sawing about 4 inches off of the 2x4s. These support blocks were attached into the base block with 2.5” screws, allowing enough space in between the blocks to fit the tall bolt-holding blocks.

Finally, 3” screws were drilled in diagonally from each side at the support blocks, through the bolt holding blocks, and into the bottom block. We threaded the ⅜” bolt through the holes in both 2x4s to create a place where the front fork of the bike could be rested. A good idea when drilling screws is to pre-drill your intended location with a slightly smaller bit than your screw. This makes the process a lot easier.

This is for those who only have the bike frame. If you have a front wheel attached, don't worry about this!

STEP 3: Bicycle Frame

Any bike frame will do, as long as the pedals spin the chain.

STEP 4: Bicycle to Motor

Here you again face a choice:  you can use the back wheel to spin the motor, or you can go more directly from the chain to the motor. Using the back wheel wastes some energy in friction and spinning a mass. But getting the correct gear ratio for the chain-to-motor strategy proves difficult.

This step is the most hands-on and difficult of the process. We recommend that you use the back wheel as the connection to the motor. However, if you want to have a more efficient connection, we also have a more complex option.

Why you need a motor: the motor converts movement of your legs into DC electricity.

Choosing a Motor: A stepper motor, car alternator, or an electric scooter motor will all work. We used a scooter motor. The motor produced voltage proportional to its RPM . The motor produces current based on the load attached.
For reference, a mountain bike tire going at 20 mph spins at 250 RPM. Additional RPMs for the motor come from the ratio of the wheel size to the frictional cylinder on the motor.

STEP 5: Back Wheel Option

Making a bike generator using the back wheel is the more common method. Find a motor that can mount a cylinder that can grip well to the back wheel of the bike. Using a hinge and various plates of aluminum, you can construct an adjustable mount for the motor that will allow you to vary the amount of contact between the cylinder and the wheel. You attach the motor to the upper plate, and adjust the position or angle of the plate with a bolt or screw. 

The back wheel option will give you all the RPM that you need-the gear ratio between the wheel and the cylinder in the back creates plenty of RPM and thus more than enough voltage.

 Additional RPMs for the motor come from the ratio of the wheel size to the frictional cylinder on the motor. 

STEP 6: Chain to Motor Option

To attach the drivetrain of the bike directly to the motor, you will neen a few changes of gear ratio.

Adjust the main chain from the largest chain ring in the front to the smallest gear in the back. If you have a de-railer (the thing hanging down that changes the back gears) you do not have to adjust the chain length. Otherwise, this instructable by carlo.urmy can tell you how to adjust the chain length.

If you want, you can remove the back rim from the axel by cutting the spokes, but spokes are tough. 

Get a second chain and adjust it to go from a large back gear to your gearbox (more on this soon). Your back gears will now have two chains on it. If you make slots instead of hole when you attach the gearbox to the stand, you can slide the gearbox up and down to adjust the tension on this chain.

Even with the double chain, you will probably still only be producing 3-6 volts but the pedaling will be very easy. The scooter motor produces voltage proportional to the RPMs (revolutions per minute) of the motor shaft.

Gearbox Strategy: To get more rpms spins, we added a gearbox with a 1 to 8 ratio. A gearbox or transmission just takes the spins of an input shaft and turns an output shaft some faster or slower. Our gearbox was an old dual-shaft motor AC motor. We added a coupler to the output shaft of the gearbox and input shaft of our motor. With the extra rmps, the bicyclist had no problem generating the voltage. However, our gearbox also had a feature that slowed the rpms when too much torque was applied. Unfortunately, this feature made our motor only produce .7 amps when the battery was engaged.

Chain-ring on the back gear: We also bolted a large chain ring (gear) to the back gears to get a larger ratio. With this strategy we could produce 12-15V. 

Motor Choice: Another way to adjust for the rpms is in your choice of motor. Our motor was rated at 24V when turning at 2800RPMs
rpms. Motors with lower rated rpms will be harder to turn but will produce higher voltage per turn.

Regardless of how you get extra rpms, you will need to spin a shaft with the bicycle chain. We took a small gear off of a cassette and welded it to a metal sleeve. Then we drilled and tapped a hole, and screwed in a bolt to secure the gear to the shaft. Couplers are also available for sale.

Good job; that was the hard part.


STEP 7: Motor to Charger

Why you need a charger:
To charge, batteries need a voltage slightly higher than their output voltage. Putting in too high a voltage can damage the internal circuitry of the battery, reducing its lifetime. Usually, circuits trickle a little bit of current in a battery. But with a bicycle cranking out watts, you want to put whole amps. Battery chargers hold the voltage steady at the appropriate point, and then increase the current allowing higher than normal transmission of power.

Picking a Charger:
Remember that the voltage of your motor will be varying with the speed of your pedaling. The charger we used takes anywhere from 12- 24V. Though chargers may brag outputs of 10s to 20s of amps, batteries cannot stand such current. For example, the battery we used has a maximum charging current of 5.4 amps. Check that the current of your charger matches the limit of your battery.

Connecting:
With a multimeter, measure the voltage coming out of your motor. Connect the positive output of the motor to the positive input of the charger and vice versa with the ground wire. Depending on the direction you spin the motor, the positive wire may not be the red wire; the motor works both directions but gives inverse voltage.  If you can adjust the output current. As you may expect, larger current charges the battery faster but makes pedaling harder.

A word of warning: Do not overload the charger! Depending on your gear system, it can be very easy to put out more than 24V. Doing so will break your charger. If you will not be the only one using the system, consider adding zener diodes in case of excess voltage.

Some numbers for thought:
An iPhone 5 battery has a capacity of about 1440 mAh. Let's say you output 2 Amps from the bicycle into the 12V battery, and use a socket on the inverter to charge your phone. Then it would take 40 minutes of pedaling to create enough energy to charge your iPhone from nothing to full capacity. Likewise, at 4 amps, only 20 minutes. 

To charge the entire battery, it would take about 9 hours when outputting 2 amps.

STEP 8: Charger to Battery

Why you need a Battery:
Charging your laptop could take a few hours, but you probably do not want to be on your stationary bike for that long. The battery holds your generated watts to be dowled out on an as-need basis.

Choosing a Battery:
If a traditional car batterys are called lead-acid batteries; You do not want lead-acid dripping from you battery if you tip it over. Furthermore, we heard that if a car battery is tipped over, it can short circuit and explode. .
Marine batteries or sealed batteries can withstand the tipping of a tumultuous world. Make sure your battery is rechargeable. And finally, choose the capacity of the battery to match your needs. We chose a 18 Amp-h battery because it holds about three laptops worth of energy.

Connecting: Use the same caution as you do when jumping your car. Connect the positive terminal first for added safety. The voltage across your battery will be different when you are charging, when it is sitting, and when it is discharging; they will be about 14V, 12.5V, and 11 V respectively. The spec sheet for our battery warned to stop charging when the voltage reached 14.4 V.
Check your battery’s spec sheet for its max voltage point.

STEP 9: Battery to Inverter

Why you need an inverter:
The AC inverter converts the DC voltage from the battery into AC voltage, which is what comes out of most electrical wall sockets. You’ll often see inverters on a small scale in car adaptors, where they take the power from the cigarette lighter (which is hooked up to the car’s battery). Most general purpose AC inverters are Modified Sine Wave inverters. If you want to know more about how these inverters work, here is a good reference source.

Choosing an inverter:
When shopping for inverters, you want to look for a few features. First, make sure that the output AC voltage is at the level of wall plugs. Wall sockets usually put out about 120V, but it isn’t absolutely necessary to have your voltage match that; anything from 110-130 Volts AC will be fine. Be sure that the frequency of the output is at 60 Hz, which is standard in the United States.

Another thing to consider is the watts that the inverter can output. The power needed from the AC inverter will depend on the type of electronic appliance you are trying to use. For some reference, cell phone recharging takes less than 5 watts, while a microwave will consume 1500 watts! Since price goes up with the power output, you will need to make some decisions on how much you want to spend and what appliances you expect to power.

Another important feature to have is an inverter that can take a range of voltages. Many general purpose inverters will only take in a 12 V DC input. Since the actual output of a standard recharging battery can vary from less than twelve to just over 14, it is important to find an inverter that will be able to take that range of voltage inputs.

Finally, to protect your appliances it would be important to keep the inverter in an open location. Transforming DC to AC will create some heat, and circulation is important to keep the inverter functional.

As for our choice of inverters, we decided to go with the Wagan 400W converter with two additional 5V USB ports, from McMaster-Carr (model 6987K22) . We knew that we weren’t going to be attaching high power appliances to our generator, yet we needed enough to power something like a desktop computer and monitor, which combines to about 250 watts of power. This inverter will recognize if there is an overload of input voltage and shut off, protecting your appliances from surges. It also came conveniently with battery clips, which we used to hook up the battery to the inverter.

How to hook it up:
Using the battery clips, hook up the positive and negative leads to the matching leads on the battery. When attaching the second clip, expect a small spark as the circuit completes. Make sure that you’re holding the rubber ends of the clips when hooking up the battery.

STEP 10: Videos!

Here are some videos of the system in action.

full motor to charger using back wheel




Motor to charger


Full system using the chain and gearbox:

38 Comments

I'm working on a similar project. I have a frame and will mount a wheel and gear on the back axle to power a bare rim. I envisage the rear rim as a pulley. I have an old clothes dryer drive belt I'll use to drive the generator from the rim, adding a few more RPMs. I'm playing with the generator portion now. I purchased a rebuilt alternator from Pep-Boys for about the same $ as your 24 volt motor. I'm leaning toward the alternator because of the plethora of automobile parts/adapters/interfaces to 12volts batteries and DC/AC Inverters. I have a solar trickle charger on board as well. Thanks for the inspiration!
Using a dryer belt sounds like a great way to get from the wheel to motor. Best of luck on your project!

Can anyone tell me what motor or more would I need to supply energy for a normal house. A list of all components for a generator would be appreciated.

This is a great, comprehensive guide! I'm wondering a couple things though:

1. Can you build this without a battery, so that it would only charge when pedaling?

2. If we were to create multiple pedal->motor systems, could we connect them to the same charger/balancer?

3. If we were going to split or change the current (in order to adjust the charging speed), could we do that between the charger and inverter? or maybe after the inverter?

Any guidance is appreciated; I'm still learning a lot about electronics!

Hi Holly!

Your question #1 makes me think that your inspiration is close to mine: I wanted to build a pedal powered generator for the TV + video-game systems in the house so my kids would have to get at least SOME physical activity in with their "play". :-) However, the battery is a necessary component to balance things out. The 'ible warns that it is easy to damage a battery without a proper charging system, it is much more easy to damage anything you would plug in to a system without the balancing, smoothing effect of the battery.

For #2, while there are chargers available that can take multiple different power inputs to charge a battery bank, they are designed for home based solar+wind generation, and are quite expensive. I haven't done a comparison myself, but I expect that each pedal system having a charger and battery will end up most easily afforded. Combining the batteries to power the inverter is more easily done.

For #3, this is a motor/generator decision. Depending on the design of the motor (or generator, or alternator), you may be able to change the amperage that it can provide. You might even be able to configure a system to change it during operation (like varying the tension on an exercise bike). However, this is the only place in the system where you can adjust this, and such adjustment is not (generally) simple, and should probably be a design-time decision. All of the power, thus all of the potential to speed things up or slow things down, comes from the generator. The more amps, the harder to pedal, but the faster things charge.

Regarding your inspiration, I've come up with a design that doesn't require a battery, you can go straight to a DC to AC inverter, then plug into a TV and other components into it. I use it to charge my mobile phone and other devices like ipads, laptops, chromebooks, e-readers or whatever is lying around the house needing a charge. Easy to build with off the shelf parts - google Genes Green Machine if you want to check it out.

abemckay, Great project, but wondering about that Large Ring Gear, did you make it? Or where did you source it? Thnks!

Can it be mobile? So that we can move around the city while we charge phones, computers, etc. ...

I have some questions about how much has generated with your prototype about the voltage and the current and the time you recharge the battery Thanks for your help :) because im working in something similar

So these kinds of things fascinate me and want to build one but i'm a total nub when it comes to electronics and motors. Any tips on where to start learning this stuff like books or small projects?

Why not take the tire off the rear and run a big lawn mower V belt around the rim? You could probably run a 12 alternator from a car with that (and it has a V belt pulley on it!
That's what Wazzupdoc thought too; it's a good idea.

Keep in mind that the idle speed of a car engine is around 800-1000 RPM.
Using a car alternator directly driven by the rear wheel, you'd have to
be the flash to sustain any usable power.

My bicycle's rear wheel sits on an axil. I get about 18 rotations with one full rotation of the wheel. That should give me plenty of RPMs.

I was hoping to make a direct drive, without the need of a pulley, but I'm stuck. I thought I got lucky with a good deal on a used bike resister. It's a bike stand with the rear wheel sitting on a cylinder (the resistance part is for exercise, but loosen it all the way and it's great for a generator). I also got a car alternator. The problem is the axis of the cylinder on the bike stand is about 10/32 of an inch wide, while the axis of the alternator is about 20/32". I was hoping to find a coupling at the hardware store that would screw onto both ends, but I guess it's too big a difference. Nobody carries anything like it. I would try searching online, but I'm not 100% sure of the measurements (done with just a ruler) let alone the thread width. The threads on the axis of the alternator look fine for something that big. I don't even know how they are measured. Any suggestions?

If I can't solve this, plan B will be to install a pulley. But it seems like an extra complication that could lead to more problems. I don't want to lose RPMs.

hey do you think it is possible if i maximized the use of the bike im trying two use 2 motor to generate electricity one is with chain and the other is on the back wheel. do you think i can pedal the bike... i also seen on other post they remove the rubber on the back wheel and putted a belt connecting it with the motor. what you will produce more electricity?
has anybody thought about replacing the wheel with a heavy flywheel? I know the engineering would be a little more difficult, but the rotating mass at speed would mean that it would continue to generate electricity after you stop pedaling. A speedometer mounted on the flywheel would let you know when you would have to pedal to speed up the flywheel to maintain optimum output, instead of pedaling continuously. Again this goes to extra cost, but one could add a second or more alternator and increase the electrical output. This type of setup is my goal.
More Comments