I'm looking for a way to activate a standard hobby servo by pressing a DPDT switch- making it go from full clockwise and back to full counter- clockwise.
The only way I know how to make servos move is with an embedded micro controller and a servo control board.
Plenty of plans for this on the 'net. Google for "servo tester" & you'll find plenty. Most use a pot. to set the servo position, but substituting a switch & resistors (or trimmers) would be simple enough.
There are some micros that can do this stand alone, without a servo control board. For instance, our $79 TiniPod(TM) can do this with a very simple program
SCRUB
DECIMAL
: ALL PA0 0N? IF 5000 ( 1.00 mS GRNLED ON REDLED OFF ELSE 10000 ( 2.00 mS GRNLED OFF REDLED ON
THEN PWM-UPDATE ; EEWORD
: STARTUP CR ." Servo Twitcher" CR 32767 PWMA0 PWM-PERIOD ( ~13.11 mS Timebase for PWM 7500 PWMA0 PWM-OUT EVERY 50000 CYCLES SCHEDULE-RUNS ALL ( 100cps ; EEWORD
SAVE-RAM ( AUTOSTART STARTUP ( V.7 VERSION
Download that, let it autostart, and it's all done. Every time you power up, it will run this servo positioning program. And it will still talk to you in the foreground, if you want to check the servo position, or even develop something else while this is running. Actually, it could do this same thing for up to a dozen servos without any other hardware necessary.
PolyTech Forum website is not affiliated with any of the manufacturers or service providers discussed here.
All logos and trade names are the property of their respective owners.