3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

USB Bike Generator

Step 3Build the Electronics

Build the Electronics
«
  • USB Bike Generator 011 small.jpg
  • USB Bike Generator 019 small.jpg
  • USB Bike Generator 039 small.jpg
  • USB Bike Generator 045 small.jpg
  • USB Bike Generator 048 small.jpg
  • USB Bike Generator 049 small.jpg
  • USB Bike Generator 050 small.jpg
  • USB Bike Generator 052 small.jpg
  • USB Bike Generator 053 small.jpg
  • USB Bike Generator 054 small.jpg
  • USB Bike Generator 056 small.jpg
  • last photo ←
»
There are three major parts to the electronics of the USB Bike Generator, the stepper motor, the rectifier and the voltage regulator. 

Stepper Motor

The USB Bike Generator uses a stepper motor as a generator to produce the electricity.  In general any electric motor can be used as a generator but not all motors are well suited as generators.  The stepper motor I used in my last two instructables came from an old printer and was rated at 24 volts.  Through testing I found that this motor provided up to 48 volts when unloaded and spun at 3100 rpm.  People new to electronics should understand that high voltage doesn't always mean high power.  In order to reduce this voltage to the 12 volts needed for the BikeGen instructable the regulator just burned off the extra voltage as heat.  This meant the regulator was inefficient.  

In my searching for a new stepper motor I looked for two important aspects.  First, the voltage rating of the motor need to match the 5 volts required by the USB ports. Second, the amperage of the motor needed to be higher, meaning there was more power potential in the motor.  I found a somewhat local electronics surplus store that sells stepper motors and searched their website, http://www.electronicsurplus.com/home.cstm.  They had a stepper motor listed at 5 volts and 3.3 amps, this seemed perfect.  I went to the store and after looking at everything they had I got the motor.  I would recommend finding a local surplus store in your area if you plan on building anything electronic, they are a great resource.  

Rectifier

In basic terms a rectifier changes Alternating Current, AC, to direct current, DC.  The coils inside the stepper motor are energized as the motor spins causing the current in the coils to alternate.  This is the alternating current.  The 5 volts need for the USB port need to be direct current.  The rectifier, which is just 4 diodes, changes the alternating current from the stepper motor to the direct current needed for the voltage regulator.    
 
After doing the testing on the BikeGen regulator circuit I realized that the zener diodes I was using were getting very hot.  One of them even failed because it overheated.  I wanted to use a more suitable diode for this project and after checking back to the instructable that inspired this whole project for me, http://www.instructables.com/id/personal-powerPlant/, I decided to go with a 1N4001 diode which is rated at 50V and 1 Amp.  I got the diodes in a variety pack from Radio Shack.

Voltage Regulator

The voltage regulator is a switching voltage regulator as opposed to linear regulator.  At first my searching led me to the LM2575 switching regulator and I was planning on building the circuit myself.  Just search "LM2575" and the data sheet will show up.  On the data sheet the recommend circuit for a 5 volt output is shown with recommendations for all the components.  I continued searching and found the exact circuit I needed from Lightobject, http://www.lightobject.com/LM2575-High-Input-6V60V-Switching-5V-Power-Module-Regulator-P417.aspx.  This seemed to be a better option for me because I didn't want to have to buy all the components in much higher quantities than I needed from a electronics distributor.  

As a last resort I went to the local dollar store because they always seem to have the things I need.  To my complete surprise they had 12 volt car adapters with power for two USB ports.  So I bought two and went home to take them apart.  They had a switching regulator circuit already!  It uses a MC34063 regulator IC and has all the supporting components.  All of this for a dollar, you can do much better than that.

Follow through the notes on the pictures to see how I connected all the parts together. 


              
« Previous StepDownload PDFView All StepsNext Step »
9 comments
May 24, 2011. 5:51 AMjwelbes says:
"The rectifier, which is just 4 diodes..."

you're using 8 diodes. are you using 4 sets of two diodes connected in series, effectively making them one diode?
May 24, 2011. 6:02 AMjwelbes says:
wait hold on. you made two seperate circuits, one for each USB charger inside your 12v car adapter. am I right? this makes more sense than my last comment. that would explain why your diagram you drew has only two wires going to your car adapter, but in your photograph there are 4 wires going to your adapter.
May 26, 2011. 4:02 AMjwelbes says:
ah. two seperate coils. ok thanks!
May 24, 2011. 5:41 AMjwelbes says:
"Follow through the notes on the pictures to see how I connected all the parts together."

I don't see any notes on the pictures.
May 24, 2011. 5:52 AMjwelbes says:
i guess I need to be a pro member...
Jul 6, 2010. 4:29 PMtomtortoise says:
can you please make a simple schematic to better explain the rectifier wiring.
Nov 15, 2010. 1:53 PMtomtortoise says:
thanks sorry for the late reply but i needed to make a mount first and get parts but i needed to use a different motor for my mount but the wires are weird. from the motor the order is orange, yellow, brown, green but when it goes to the white PCB mount plug it is yellow, orange, brown, green should i hook up the rectifiers in motor order or PCB plug order
Jul 19, 2010. 8:51 AMvarunmehta says:
Rather than dismantling the whole male plug system (car style) on the USB charger and connect the wires, how about making a female receiver, like that in the car. You can plug this USB drive charger into it + if tomorrow you make a new enhancement or want to connect something new to it, you can reuse the same stepper motor and circuit to achieve it!

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
89
Followers
10
Author:dbc1218
I enjoy building things more than actually using them.