By | August 22, 2015

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 

Category: Arduino

About Abid Jamal

Abid Jamal Received his B.S. Degree in Electronics & Communication in 2014 (Gold Medalist) from University of Lahore, Islamabad, Pakistan and Master’s Degree in Electrical Engineering from Capital University of science and technology, Islamabad, Pakistan, in 2016. He is the Creator of website. Awarded by “A” grade in Electronic & circuits MIT online certificate. He achieved an academic Excellence certificate in the year 2014. He received Dean Honor Roll award for earning GPA 3.67, Spring-2015 in MSEE. He has done many projects using Different kinds of microcontroller. His research interests include Radar Cross Section measurements, Smart Grid communications, Intelligent transportation systems, driver-less car, cellular mobile communication & networks, improve Smartphone’s battery life for 3G+LTE user’s, and embedded systems.

2 Replies to “Control Servo Motor with an Arduino”

Leave a Reply

Your email address will not be published. Required fields are marked *