Control Servo Motor with an Arduino

servo motor will rotate slowly from 0 degrees to 180 degrees one degree at a time

Hardware Required

  • servo motor
  • Arduino Mega2560
  •  jumper wires

you can connect a servo motor directly to an Arduino Mega2560

.
  • 5V pin Arduino === red wire           
  • Ground pin Arduino=====brown wire            
  • PWM (9) pin Arduino===yellow wire 
Caution: it,s a humble request to all of you please Do not try to rotate the servo motor by hand Thanks, Regards Electronics Lovers 


Control Servo Motor with an Arduino Control Servo Motor  with an Arduino Reviewed by Abid Jamal on August 23, 2015 Rating: 5

2 comments:

  1. Can I use a hard drive motor as servo motor? I am going to use it to move the eye lid of a robot.

    ReplyDelete
  2. Check it,s input voltage and it,s output wires connection

    it,s better to buy a new Servo Motor

    ReplyDelete


Powered by Blogger.