Author Topic: move a motor anti-clockwise  (Read 2944 times)

0 Members and 1 Guest are viewing this topic.

Offline extreme.alyTopic starter

  • Full Member
  • ***
  • Posts: 49
  • 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?

Offline 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.
Imperial College Robotics Society
www.icrobotics.co.uk

Offline extreme.alyTopic starter

  • Full Member
  • ***
  • Posts: 49
  • 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?

Offline Admin

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,658
  • Helpful? 169
    • Society of Robots
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.

Offline extreme.alyTopic starter

  • Full Member
  • ***
  • Posts: 49
  • 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... :(

Offline 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.
"The truth is, you can't hide from the truth, cos the truth is all there is" - Handsome Boy Modeling School

Offline Gertlex

  • Supreme Robot
  • *****
  • Posts: 744
  • Helpful? 23
  • 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 »
I

 


Get Your Ad Here

data_list