|
Re: Regulating power to a servo with a relay
Why would you want to stop it?
The input it gets (PWM - Pulse Width Modulation) controls the angle of the servo, to about +- 85 degrees or so. If you set the angle precisely, it will stop there and hold its position.
If you want it to not hold its position, then turn it off. If you do not feed it a control signal, it will turn itself off. The way to turn it off is to not give it a control signal, either by letting the watchpuppy kill it or by closing the device when you don't want it to move. (since both of those will tell the FPGA to stop outputting a control signal to that device). Neither one is really an answer, but a workaround. I don't really see why you would need to make it stop, since you can't really smoke those little things (from what I've seen at least) and they don't output much power.
__________________
Kettering University - Computer Engineering
Kettering Motorsports
Williams International - Commercial Engines - Controls and Accessories
FRC 33 - The Killer Bees - 2009-2012 Student, 2013-2014 Advisor
VEX IQ 3333 - The Bumble Bees - 2014+ Mentor
"Sometimes, the elegant implementation is a function. Not a method. Not a class. Not a framework. Just a function." ~ John Carmack
|