Not really robotics- servo question

Feb 01, 2005 5 Replies

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.



How do you it the simple way?


A 555 can be configured to do this. The switch can be used to change the resistor values in the oscillator.

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.

JM

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.

That's pretty simple, but not as cheap as a 555.

Lots of stuff like below on the net using the 555 chip.

formatting link

shb*NO*SPAM*@comporium.net (Si Ballenger) wrote in news: snipped-for-privacy@news.comporium.net:

yeah, something like these - thanks!

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required