Society of Robots - Robot Forum
Electronics => Electronics => Topic started by: mz_1987 on December 15, 2009, 02:58:46 AM
-
I liked the idea of modifing the servo motor. what i am thinking of, is that after modifing the servo, it can operate as a stepper motor. That could be done by gving one pulse to the servo control signal. one pulse will give one step only. the pulse width will control the resolution which is degrees per step.
Am I thinking correctly about this issue? i serached a lot to find more details that could help be but i did not. so what do you think??
-
No, a servo, even after modification, is NOT a stepper motor. The two work much differently.
A servo requires a continuous string of pulses in which the width of each pulse either sets the servo position or it rotational rate if modified for continuous rotation. A servo has a position feed-back circuit that maintains the servos position and when there is an 'error signal' the servo moves to seek to correct position (in a modified servo the larger the error signal the faster the servo rotates).
A stepper motor has a set of coils (usually four) that are energized in a sequence. Each 'step' of the sequence is the next position.
For an un-modified servo you could write code to take an input to 'step' to the next position and mimic the appearance that the servo was a stepper. But the signals to the servo would still need to be a pulse stream.
There is a ton of information of servos (hobby type) and stepper motors on the web. Start with the tutorials here on SoR and other hobby robot sites.