servo motor interfacing WITH 8051 MICROCONTROLLER: This article is about interfacing of servo motor with 8051 microcontroller. You will learn how to interface and control this motor using 8051 microcontroller. Servo motors are used in robotics, embedded systems and industries because they are very precise and reliable. They are used to operate remote control toy cars, airplanes or robots. Their motion can be controlled by rotating them in particular angle. Servo motor can be controlled by PWM signal. In this article we will interface servo motor with 8051 microcontroller and control its speed. I will recommend you to read a article on how to used keil compiler and how to use I/O ports of 8051 microcontroller before learning about interfacing servo motor with 8051.
CONSTRUCTION of servo motor
A DC servo motor consists of:
- DC motor
- Potentiometer (variable resistor)
- Gear assembly
- Control circuit
It consists of a closed loop system. Positive feedback is given to control the motion and position of the shaft. Feedback signal is generated by comparing output signal and reference input signal. Now, this feedback signal will act as input signal to control device. This signal will remain present as long as there remains a difference between reference input signal and output signal. So we have to maintain output of this system at desired value in presence of noises.
PRINCIPLE of interfacing servo motor
Servo motor is controlled by PWM (Pulse with Modulation) technique in which we control the angle of rotation through the duration of pulse applied to its Control pin.
It has three connection wires for:
- Positive supply V+
- Negative supply or Ground V-
- Control signal