November 23, 2024, 08:31:16 AM

News:

Be sure to checkout our Vixen interfaces in the Library forum -- if you want PC automation at near zero cost, EFX-TEK and Vixen is a great combination of tools.


Continuous rotation servo

Started by Dmac, April 06, 2009, 01:11:12 PM

Previous topic - Next topic

Dmac

Is it possible to control a Continuous rotation servo with a prop-1 and pir for for triggers, say i have 3 pir's at 120 degree intervals around a six inch tube, and depending on which pir is triggered have the servo spin and  point over the pir location and then flash some leds?

the pirs will be recessed into the tube, how can i tell if my pir is triggering could I write a debug code to monitor the state of an input?

thanks for your help and your time


JonnyMac

The CR servo is a bad idea -- the value sent to it give you speed but not position so there would be no way to know if the servo is pointed at the correct sensor without some sort of feedback.   If you search the forums you'll find I did a similar bit of code for someone else (or was it you?).
Jon McPhalen
EFX-TEK Hollywood Office

Dmac

Thanks it was me you did the code for. And it worked out great for that project I was trying something a little different this time.
looks like it is back to the drawing board for now.