PSC Servo operation
Brian Carpenter
Posts: 728
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!!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
It's Only A Stupid Question If You Have Not Googled It First!!
Comments
·· 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