Society of Robots - Robot Forum
Electronics => Electronics => Topic started by: Private Reid on March 24, 2008, 02:27:30 AM
-
Hey
I have a problem, see I am building my own robot and at the same time following the $50 robot tutorial but I wish to use DC motors instead of servos but as you can see on this page http://www.societyofrobots.com/step_by_step_robot_step3C.shtml (http://www.societyofrobots.com/step_by_step_robot_step3C.shtml) (about three quarters down) the servo has three wires coming from it while a motor only has two?
Is there anyway I can convert the motor to work?
???
-
To convert a DC motor into something that will work with the project, you would have to get gear the output shaft down a lot.
DC Motors have very little torque and very high speeds, so you need to use gears to produce the required torque.
Also, to have bidirectional control of a DC motor, you need to use H-bridges. These allow a microcontroller to reverse the voltage across the motor in order to change the direction of spin.
Here the SoR tutorial on H-Bridges - http://www.societyofrobots.com/schematics_h-bridgedes.shtml (http://www.societyofrobots.com/schematics_h-bridgedes.shtml)
If you made a geared down DC motor with H-Brdiges, however, you wouldn't be able to just slot it into the circuit and it would work.
You would need to learn how to output Pulse Width Modulated signals (PWM signals - also on the H-bridge tutorial) from your microcontroller.
This would be quite hard for a beginner. Anyway, the gearing and H-bridge components would not be significantly cheaper than buying a standard HS311 servo.
I recommend just getting a couple of servos. They are greatly reusable and good value for money.
-
Aha
yes H-Brdiges, possably not for me...
I think your right. buying a few servos will supplement my needs...
-
http://www.societyofrobots.com/robot_faq.shtml#servo_motor
I recommend reading all of the FAQ ;D
-
you could get a gearmotor and an ESC. an ESC is a type of h-bridge that converts servo signals for use by DC motors. just make sure its bidirectional.
-
"But if you want to use a basic motor for a robot, you MUST purchase and wire up a motor driver separately."
This is said in the FAQ (found at the link admin provides). How would i wire it up separately? would i use a motor drive?
-
lol... I posted that wrong. I mean how would i wire it up? using a motor drive.
-
H-bridge
whether it be a smd, dip, or esc.
check the datasheets for details on use
-
wat are the ratings of ur motors see if it is L293d compatible otherwise use L298
-
Just search this forum and google for motor driver, ESC, L298, motor controller, etc.