PDA

View Full Version : PSC Servo operation



Brian Carpenter
08-22-2005, 04:18 AM
i am trying to make a program that will read a Memsic sensor and depending on weather x is 6900<x<6700 it will move a servo "left" or "right" i only want the servo to move 45 degrees "left" or 45 degrees "right" right now the program makes the servo max to its limit and stay there. i want to be able to tip the Memsic and get a response from the servo. thanks.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔


It's Only A Stupid Question If You Have Not Googled It First!!

Chris Savage
08-22-2005, 10:19 AM
Hello,

Do you want to move the servo proportionally to the tilt within 45 degrees? Or are you just trying to get 45 degrees currently instead of full turn? If that's all you're trying to do all you need to do is adjust the 500 and 800 pulse width values for where they need to be for your servo.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com (mailto:csavage@parallax.com)