Professional Documents
Culture Documents
Balancing Robot
by vahid_you2004 on August 8, 2008
Table of Contents
Video . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
step 6: Wiring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
step 7: Testing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Video . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Related Instructables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Advertisements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Comments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
http://www.instructables.com/id/Balancing_Robot/
intro: Balancing Robot
This is a very simple robot that uses a simple switch as a sensor and stands on only two wheels with inverted pendulum mechanism.
When the robot is going to fall the motor starts and moves the robot to the direction it is going to fall, so the motor torque about the center of gravity that is higher than the
motor makes the robot balanced.
Video
http://www.instructables.com/id/Balancing_Robot/
step 1: Things you need
To make this robot you need following parts and tools:
small electric motor
some gears
(or a motor with gearbox)
a shaft
two wheels
some sheets of plastic to make bearings and the robot neck
two battery holders
4 AA batteries
one button cell
one SPDT (single pole double throw) switch with a metal lever
one toggle switch for the on/off switchs
one nail
some wire
soldering iron
some glue
http://www.instructables.com/id/Balancing_Robot/
http://www.instructables.com/id/Balancing_Robot/
step 2: Motor, Grears, Shaft, and Wheels
In this step you must make a system to moves the robot you can make it easily by adding some gears to a simple small motor, then connect it to a shaft and assemble it
two wheels.
You can also use a motor and gearbox.
It does not matter how you make it.
Image Notes
1. Motor
2. Gears
http://www.instructables.com/id/Balancing_Robot/
3. Wheel
4. Shaft
5. Bearing
Image Notes
1. Plastic Sheet
http://www.instructables.com/id/Balancing_Robot/
step 3: Attach robot neck and head
Use glue to attach a sheet of plastic to the motor.
Then put some glue on one side of battery holders and attach them to the top of the plastic sheet.
Image Notes
1. Plastic Sheet
http://www.instructables.com/id/Balancing_Robot/
step 4: Making the sensor
Solder a button cell to the SPDT switch lever.
Make the nail head hot on a flame and put it on the plastic sheet on the motor in a position that when the robot stands vertically the button cell touches the ground.
Then attach the switch to the robot with glue.
Image Notes
1. SPDT Switch
2. Button Cell
http://www.instructables.com/id/Balancing_Robot/
Image Notes
1. Solder this leg to battery holder
2. Solder this leg to the motor
step 6: Wiring
Now it is time to solder the robot wires.
Note that you must solder the wires in a way that robot moves to the direction that is going to fall.
http://www.instructables.com/id/Balancing_Robot/
Image Notes
1. From the switch
2. From the sensor
Image Notes
1. From the sensor
2. From the sensor
http://www.instructables.com/id/Balancing_Robot/
Image Notes
1. To the motor
2. From the batteries
step 7: Testing
The robot is now completed and it is time to test it.
Put 4 batteries into the battery holders and turn on the switch.
Try to change the position of the sensor to make the robot works better.
If the robot works inverted swap the red and blue wires on the sensor or on the battery holders.
Video
http://www.instructables.com/id/Balancing_Robot/
Image Notes
1. To the motor
2. From the batteries
http://www.instructables.com/id/Balancing_Robot/
Related Instructables
Advertisements
Make Magazine Special Offer
Comments
50 comments Add Comment view all 134 comments
http://www.instructables.com/id/Balancing_Robot/
dagenius says: Apr 21, 2009. 2:44 PM REPLY
Is that circuit a kind of H-bridge?
Mine balances by continually falling forward. When the whisker detects it's gone too far, it twitches the motor forward. The motor's power is cut; so the robot
is stable, but still falling forward.... and... another twitch!
single motor
single battery
SPST switch
Single motor
equivalent of two SPST switches (or one SPDT)
two battery packs, giving 2 separate power sources to choose from via the SPDT.
http://www.instructables.com/id/Balancing_Robot/
But, yours balances both directions, so congrats! I only skimmed your 'ible, but what I've seen so far is awesome!
I've been thinking about this for a while now. I like Fletcher's idea of "ball bearing tilt switches", but I really want to keep the commodity construction (no
special parts) aspect. I think I will build a 5 stage pendulum switch (neutral plus 2 steps in each direction) to give finer grain control over the balance and
make it so only the wheels touch the ground. I'd also like to learn lessons from tight rope walking and "pool cue" balancing.
1. Tight rope walkers use a sick to keep their balance, similar to the way it is your instinct to put you hands out to the side when walking on a curb wall or
rail road track. So, I'd like to line the batteries up horizontally front to back at the top of the shaft.
2. As Scurge pointed out, it's easy to balance a pool cue on your palm. However it is nearly impossible to balance a pencil. So, I'll make a telescoping
shaft so I can find the sweet spot for my motor torque and gear box combination.
This is so exciting! I want to hear and see what others come up with.
Cool little mechanism there. Maybe lowering the batteries would allow it to work better.
http://www.instructables.com/id/Balancing_Robot/
vanbo says: Aug 30, 2008. 2:28 AM REPLY
Maybe putting a big (centred) brass brazing rod on top, with equal length for each end?
Likewise, balancing a short stick doesn't give you enough time as it falls over to counter it's fall without overcompensating. You have to strike
a balance between the two. The height and the weight both play a part in how well your robot will react, and the best setup would vary based
on how much torque your motor has to overcome the momentum and how quickly it can react to rapid sways of the pendulum.
http://www.instructables.com/id/Balancing_Robot/
Polymorph says: Sep 2, 2008. 9:29 AM REPLY
But this doesn't balance by putting the COG below the axle. The whole point is that the COG is -above- the axle yet it balances itself
dynamically.
A weeble works because the bottom is very wide and the weight is concentrated in the -center- of the bottom, so as the Weeble tilts,
the weight rises.
http://www.instructables.com/id/Balancing_Robot/