Servo motor control using arduino mega

This is a series of simple projects aimed at getting started with Arduino. This will cover most of the important peripherals of the Arduino starting from simple using PWM and communication
interfaces etc which is used for controlling the motor

In the first set of projects the following are included. They are basically about the various motor control USING PWM on the arduino

1:L293 dc motor control
2:stepper motor control
3:servo motor control

 

In this we are going to see the experiment 

servo motor control :

connect the servo motor output to the pin 9 and  power supply 5v and thus it rotates in clockwise and  anticlockwise direction.