Society of Robots - Robot Forum
|
Robot Tutorials
|
FAQ
|
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Squirrels have fuzzy tails.
Home
Help
Search
Login
Register
Society of Robots - Robot Forum
»
Software
»
Software
»
move a motor anti-clockwise
Print
Author
Topic: move a motor anti-clockwise (Read 4959 times)
0 Members and 1 Guest are viewing this topic.
extreme.aly
Full Member
Posts: 52
Helpful? 0
move a motor anti-clockwise
«
on:
August 01, 2007, 06:07:03 AM »
i got a normal motor (got from playstation 2 controller for vibration) and i want to make that motor to move in opposite direction... what code should i use... do i use the same as for servos?
Logged
hazzer123
Supreme Robot
Posts: 460
Helpful? 3
Re: move a motor anti-clockwise
«
Reply #1 on:
August 01, 2007, 06:18:57 AM »
Im guessing that you are using a microcontroller...
You can't do the same thing with a normal DC motor as with a servo. You need you use something called a H-bridge.
http://en.wikipedia.org/wiki/H-bridge
.
That should be plenty of info.
Logged
Imperial College Robotics Society
www.icrobotics.co.uk
extreme.aly
Full Member
Posts: 52
Helpful? 0
Re: move a motor anti-clockwise
«
Reply #2 on:
August 01, 2007, 06:35:20 AM »
yea i'm using a microcontroller... can we make a H-Bridge?? or is there any other motor which can be moved in both direction?
a normal RC-Car uses which motor?
Logged
Admin
Administrator
Supreme Robot
Posts: 11,703
Helpful? 173
Re: move a motor anti-clockwise
«
Reply #3 on:
August 01, 2007, 01:14:20 PM »
This should answer your questions before you get them . . .
http://www.societyofrobots.com/robotforum/index.php?topic=602.0
Search the forum for motor driver.
Logged
subscribe to SoR's YouTube account
extreme.aly
Full Member
Posts: 52
Helpful? 0
Re: move a motor anti-clockwise
«
Reply #4 on:
August 02, 2007, 07:35:57 AM »
could not find any thing related of what i want...
Logged
Hal9000
Supreme Robot
Posts: 338
Helpful? 0
Re: move a motor anti-clockwise
«
Reply #5 on:
August 02, 2007, 07:52:03 AM »
try buying a lm298 motor driver IC. This is what I intend to use.
Logged
"The truth is, you can't hide from the truth, cos the truth is all there is" - Handsome Boy Modeling School
Gertlex
Supreme Robot
Posts: 763
Helpful? 24
Nuclear Engineer ยท Roboticist
Re: move a motor anti-clockwise
«
Reply #6 on:
August 02, 2007, 11:35:22 AM »
You could do what I did (because I was using
only
a servo controller)... I devoted a servo to switching polarity... I've got it set with three options: forward off reverse. It's kind of poorly made, but it's something I plan to improve on in the future. I just need to get better materials before I do.
Here are two pics that might give you an idea of how I'm doing this... I'd need to take it off the car for better pics.
http://www-personal.umich.edu/%7Eerelson/ModeServo01.png
http://www-personal.umich.edu/%7Eerelson/ModeServo02.png
«
Last Edit: August 02, 2007, 11:38:34 AM by Gertlex
»
Logged
I
♥
☢
Print
Society of Robots - Robot Forum
»
Software
»
Software
»
move a motor anti-clockwise
Get Your Ad Here