Author Topic: control servo with one mikrokrontroller  (Read 1734 times)

0 Members and 1 Guest are viewing this topic.

Offline DeviolTopic starter

  • Beginner
  • *
  • Posts: 1
  • Helpful? 0
control servo with one mikrokrontroller
« on: December 14, 2009, 08:19:34 PM »
can we control 2 servo using a one mikro ? i want to control 2 servo at same times using atmega128 in codevision avr.
someone can help me ?  ???  because i'm really newbie in C language.... thanks

Offline waltr

  • Supreme Robot
  • *****
  • Posts: 1,944
  • Helpful? 99
Re: control servo with one mikrokrontroller
« Reply #1 on: December 15, 2009, 09:12:30 AM »
Yes you can. Look at the threads listed in the related topics below and other threads here. A number of people have posted code. Also read the SoR tutorials.

You just need one output pin for each servo. Then set-up timing to output the desired pulse width to each servo.