I'm planing to use two servo motors ( for the wheels ) for a simple line following robot but I don't know how to control the speed. That is why I asked the question.When you say Servo Motor, it depends on whether you wish to incorporate it in a PID (closed) loop or open loop velocity mode.
Usually now either is done with PWM to drive the motor itself.
Need a little more on the application?
Max.
...like I said:Ok then. If could please tell me how to control the speed of the "SG90 9G Micro" servo motor when there is no load ?
If you are trying to control the speed at which it moves to the commanded position (not continuous rotation), the only way I can think to do it is to command it to a much farther point in the sweep and quickly switch the command to the desired point.
A continuous rotation servo is the only way one could use a servo to drive the wheels, that I'm aware of, without some additional mechanical linkages.OK, but the guy hasn't mentioned modifying his servos, and if he does that, I wish him good luck on controlling the speed, or for that matter making sure that the motors ever stop. Yes, 1.5msec pulse to stop the motor, but will it, really?