Author Topic: Can I control the degree of a servo with an arduino?  (Read 1601 times)

0 Members and 1 Guest are viewing this topic.

Offline RcstarttofinishTopic starter

  • Jr. Member
  • **
  • Posts: 8
  • Helpful? 0
Can I control the degree of a servo with an arduino?
« on: October 26, 2012, 09:32:16 PM »
Can I control the degree of a servo with an arduino? If I can how many servos could i control with one arduino mega. Additionally how would i set this up? Any ideas?

Offline Batienzaxcore

  • Full Member
  • ***
  • Posts: 58
  • Helpful? 0
  • Just me. Really.
Re: Can I control the degree of a servo with an arduino?
« Reply #1 on: October 26, 2012, 10:25:35 PM »
I'm not really familiar with Arduinos, but I know for a fact that one of these babies could handle about 8 servos at a time. Maybe you should check out the arduino's specification sheets. Hmmm... You could connect a potentiometer to the ADC port of the arduino, then connect the PWM port of the arduino to the servo motor.
Music is really my thing. But I am haunted by my fantasies of seeing robots rock out - A literal metal band.

Offline lrmall01

  • Jr. Member
  • **
  • Posts: 38
  • Helpful? 2
Re: Can I control the degree of a servo with an arduino?
« Reply #2 on: October 27, 2012, 02:22:58 PM »
There's a servo library for Arduino as well that make this pretty trivial.

http://www.arduino.cc/en/Reference/Servo

Also, there are plenty of shields that create the 3 pin "servo" connection you need for power, ground, and drive signal.

 


data_list