go_away

Author Topic: stepper motor  (Read 1388 times)

0 Members and 1 Guest are viewing this topic.

Offline jorjTopic starter

  • Jr. Member
  • **
  • Posts: 34
  • Helpful? 0
stepper motor
« on: August 08, 2009, 05:02:06 PM »
I have a stepper motor that when I give an order to turn to one side it turn without any problem but if I give an order to turn to the opposite side the motor turn to the two sides simultaneous
When I add a capacitor in the input of the line of control , the problem disappear
Why it happen
« Last Edit: August 08, 2009, 05:03:40 PM by jorj »

Offline sonictj

  • Supreme Robot
  • *****
  • Posts: 416
  • Helpful? 11
Re: stepper motor
« Reply #1 on: August 08, 2009, 09:08:09 PM »
Before anyone can really help you, you have to tell us what specific hardware your using to drive the stepper.  At the moment I can't really guess until I have more information.

Offline jorjTopic starter

  • Jr. Member
  • **
  • Posts: 34
  • Helpful? 0
Re: stepper motor
« Reply #2 on: August 09, 2009, 04:43:03 AM »
i use the controller atmega162 (ATMEL)

Offline Webbot

  • Expert Roboticist
  • Supreme Robot
  • *****
  • Posts: 2,136
  • Helpful? 109
Re: stepper motor
« Reply #3 on: August 09, 2009, 07:03:20 AM »
You must presumably be using some extra hardware between the ATMega162 and the actual motor.

Are you producing the stepper motor signals from within the ATMega162 ie in software or are you using a stepper driver IC to produce them for you?

If you're doing it in software then you may be producing the signals for the coils in the wrong way for one direction.
Webbot Home: http://webbot.org.uk/
WebbotLib online docs: http://webbot.org.uk/WebbotLibDocs
If your in the neighbourhood: http://www.hovinghamspa.co.uk

Offline jorjTopic starter

  • Jr. Member
  • **
  • Posts: 34
  • Helpful? 0
Re: stepper motor
« Reply #4 on: August 10, 2009, 08:32:35 AM »
i do it in a software but i think that the problem is not in the software

Offline GearMotion

  • Supreme Robot
  • *****
  • Posts: 489
  • Helpful? 24
  • Two decades+ of Embedded Design
Re: stepper motor
« Reply #5 on: August 10, 2009, 12:13:20 PM »
i do it in a software but i think that the problem is not in the software

Slow it way down and put some LEDs on it. Is the pattern right?

Offline Webbot

  • Expert Roboticist
  • Supreme Robot
  • *****
  • Posts: 2,136
  • Helpful? 109
Re: stepper motor
« Reply #6 on: August 10, 2009, 12:46:15 PM »
Try reversing the wires to the stepper coils. If you find that the motor now turns correctly the other way, and the previously ok direction now fails then I can almost guarantee that its either your software waveform being wrong or your wiring to the stepper coils being wrong.
Webbot Home: http://webbot.org.uk/
WebbotLib online docs: http://webbot.org.uk/WebbotLibDocs
If your in the neighbourhood: http://www.hovinghamspa.co.uk

 


Get Your Ad Here