does ATMEGA32L able to control 5 servo in one time?

Go To Last Post
6 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

hi all,
since from the datasheet it shows atmega32L support until 4 PWM channel. So am i able to control until 5 servo in one time?

thanks.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Yes, has been discussed many times before. You actually only need one timer - the rest is done by software. There's probably examples in the projects section.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

ok thanks.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

hi Kartman,

what i mean is let say control 5 servo with 5 different degree in one time.is it possible by just using one timer?

thanks.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Again,yes

Most of the commercial boards do much the same thing.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Use only one timer. You do one servo after another. You can do 8 servos and still maintain 60hz update. All interrupt driven with no software loops.