View Full Version : Simple servo control

11-13-2011, 08:46 PM
I want to control a servo with the servo pins on the Propeller Professional Development Board. I have never used a servo before and am in desperate need of help. All I want to do is to keep track of the amount the servo has turned and simply pan it in a 180 degree back and forth fashion. Please, the simplest explanation would be a huge help.

Duane C. Johnson
11-13-2011, 09:13 PM
Is this an RC, Radio Controlled, servo which is controlled with a 1mS to 2mS pulse train.
A servo motor with an optical rotation sensor?


11-13-2011, 09:20 PM
Look at Servo32v7 (http://obex.parallax.com/objects/51/) in the OBEX. To get the full 180 degree range you will probably need to adjust the pulse width limits as described in the comments section of that web page.

Duane Degn
11-13-2011, 10:34 PM
Servo32v7 is actually distributed with the Propeller Tool (v1.3). There's a demo in the demo folder.

11-17-2011, 01:19 AM
Cool, got it to work. Thank you very much for the help everyone!