Microcontrollers - AVR Atmega32 - Controlling Multiple Servos Using Standard Available Output Pins

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
1,399
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jan 18, 2012

In this video, I demonstrate how to connect multiple servos to the microcontroller using any of the pins that can be used for output (PORTA, B, C and D).

  • likes, 0 dislikes

Link to this comment:

Share to:

Uploader Comments (anajonesr)

  • wait nevermind you said it in the beginning. you're a genius.

  • @Azlateen Not a problem.

  • correct me if i'm wrong, but is this basically PWM on any non-PWM pin??

  • @Azlateen Yes. And you caught on to the simplicity. Engineers make PWM sound so complicated, but it's just a "regular" on and off signal. Enjoy.

  • @anajonesr Yeah it's really simple. Although I'm using it to fade an LED, and I'm using an ADC conversion to adjust the time the pulse is OFF. The problem I'm having is as I turn a pot to adjust the ADC input, the output on the non-PWN pin is really choppy. I turn real slow, and it dims like it should, but there are points where it just completely turns off. Any thoughts?

  • @Azlateen If it is not a bad connection, there is something in the program that you are overlooking

see all

All Comments (21)

Sign In or Sign Up now to post a comment!
  • I would like to thank you for your continued thoughtful presentation of beneficial education material. You have greatly reduced the time the rest of us will need to get up and running on our own project. Thank you for your leg work.

  • @bagatelox Thanks.

  • for your list DS18B20 TC74 PCF8591P DS1307 SHT11 DS1869 ENC28J60 ADE7763 ACS712ELCTR-30A-T 24C08 PCF8583P
  • @bagatelox I don't think that would be a problem. I will add that to the list.

    Regarding the Arduino. I find it amusing that a conversion is desired as the main MCU for Arduino is the AVR. I like the idea, as it would bring the Arduino lovers back to basics.

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more