A stepper motor is a polyphase AC synchronous motor (see Theory below), and it is ideally driven by sinusoidal current. A full-step waveform is a gross approximation of a sinusoid, and is the reason why the motor exhibits so much vibration. Various drive techniques have been developed to better approximate a sinusoidal drive waveform: these are half stepping and microstepping.
The arduino sends pulses to the servo motor much like sending them to an ESC. The pulses have a different meaning. The pulses describe a spot to go to. Within the servo there is a feedback mechanism that counts shadows or turns a variable resistor. The servo circuit board then moves the servo to that spot. It knows when it has reached the spot when a certain number of shadows have past or when the resistance reaches a certain value. The arduino has to keep sending the same position over and over again to hold the motor in a current spot. Short pulses go one direction, long pulses the opposite direction, medium pulse widths go to the middle. Middle is typically 1.5 milli seconds.
Nolanwebdev - Wiring Diagram Images Collection
Copyright © 2003 - 2018 Domain Media. All sponsored products, company names, brand names, trademarks and logos arethe property of their respective owners.