how to rotate servo motor in reverse direction with servotimer2
Answers
Answered by
0
02-22-2013 12:40 PM
Options
You control a servo by telling it what position to go to. Servos use the duty cycle of a PWM signal to determine what positino to hold. Most servo's do not allow continuous rotoation. That is they can only rotate 180 degrees for example. Other servos do provide continuous rotation (ie 360 degree rotation). This type of servo can be 'spun' like a wheel by always telling it to move a little past its current location. You cannot simply tell it to move a full roatation or 3/4 of a rotation because it will take the shortest path to the target position.
In LIFA the angle parameter determines the PWM duty cycle and therefore the postiion the servo will hold (as Nathan suggested above). As Nathan mentioned if you cannot get it to work we'll need to know what servo you are using and what commands you are sending it that make it move in the working
Options
You control a servo by telling it what position to go to. Servos use the duty cycle of a PWM signal to determine what positino to hold. Most servo's do not allow continuous rotoation. That is they can only rotate 180 degrees for example. Other servos do provide continuous rotation (ie 360 degree rotation). This type of servo can be 'spun' like a wheel by always telling it to move a little past its current location. You cannot simply tell it to move a full roatation or 3/4 of a rotation because it will take the shortest path to the target position.
In LIFA the angle parameter determines the PWM duty cycle and therefore the postiion the servo will hold (as Nathan suggested above). As Nathan mentioned if you cannot get it to work we'll need to know what servo you are using and what commands you are sending it that make it move in the working
Similar questions