go_away

Author Topic: stepper motor  (Read 1806 times)

0 Members and 1 Guest are viewing this topic.

Offline zsTopic starter

  • Jr. Member
  • **
  • Posts: 10
  • Helpful? 0
stepper motor
« on: July 13, 2007, 04:34:46 AM »
Hi guys,

I'm using a phototransistor IR sensor on a stepper motor to locate IR beacon. I modified the stepper motor to rotate 360 degree in clock wise direction. But I want the stepper motor to return to it's starting point in  counter clockwise. How can I do that? plz, help. Thanks.

ZS

Offline Steve Joblin

  • Supreme Robot
  • *****
  • Posts: 405
  • Helpful? 2
Re: stepper motor
« Reply #1 on: July 13, 2007, 12:35:50 PM »
Do you mean "servo" motor or "stepper" motor?  They are two very different things.  I'm not quite sure what kind of stepper motor you have and what kind of modifications you made to it (as most stepper motors are designed to spin 360 degrees.

If it is a "servo" motor you are talking about, sending a 1.5 ms pulse every 20 ms should center the servo causing it to stop.  sending a shorter pulse (like 1 ms every 20 ms) will make it rotate in one direction, while sending longer pulses (like 2 ms every 20 ms) will make it rotate the other direction.  the closer you get to 1.5 ms pulses should cause the rotation speed to decrease (so sending a 1.4 ms pulse every 20 ms should cause it to rotate slower than sending a 1.2 ms pulse every 20 ms).

 


Get Your Ad Here