Subject
- Posted on
Servo controller...
- 03-19-2005
March 19, 2005, 1:26 pm
I need to control a couple of servos using Atmel's AVR microcontroller.
Is there anything like a chip that could be controlled in a simple way
by the microcontroller and that would keep shooting pulses at servos by
itself? (for example when I want certain servo to change position, I
send some bits to the chip, servo repositions and microcontroller does
not have to take care any more)
I know I can build such pulse generator by myself, but I'd rather buy a
compact, tested and easy-to-use chip.
I'm more of a programmer then electric enthusiast. (:
--
Frank
Re: Servo controller...
wrote:
Parallax has a servo controller that runs 16 servos and takes input
from a serial port. (I assume the AVR has one) You can set position,
speed, and get read the servo position from the board. They're about
$40us.
Remove nospam_ to reply by email
Jeff H........
Lies, All lies. Don't believe a word Difool/sayNO says.
He fears the truth!
Re: Servo controller...
Unless you really NEED to do it with an external chip, you can just connect
to the PWM out pins on the AVR. They are essentially "Fire and Forget" in
that you set up the pulse width in a few registers then just write the
desired duty cycle to a register and the servo moves to that position. No
fuss, no muss! You do not have to write a bunch of ISRs or anything like
that. However, since you said you were a software guy, you could use the
timer ISR to make your own PWM on any pin and control a whole bunch of
servos. That is what most of the servo controllers that you can buy from
various robo-part vendors have.
--TE
Site Timeline
- » SN754410 alternative anynone?
- — Next thread in » General Robotics Forum
-

- » How do Ifind out whether my parallel port
- — Previous thread in » General Robotics Forum
-

- » evoMUSART 2013: First CFP (with correct dates)
- — Newest thread in » General Robotics Forum
-

- » Heat pump refrigerant change to R-22 substitute
- — The site's Newest Thread. Posted in » General Metalworking
-

- » DCC sound question
- — The site's Last Updated Thread. Posted in » Model Railroad Forum
-





