from interfacing peripherals such as sensors, motors, machines, circuit components, and so on to microcontroller and vice versa. • By interfacing with 8051, we can have ease of control over complex circuit components or devices. WHAT IS INTERFACING? • The 8051 microcontroller is frequently used in electronics projects for controlling several operations. • Generally several electronics devices or peripherals are interfaced with 8051 which are termed as interfacing devices. • For example, 7 segment display interfacing with 8051, LCD display interfacing with 8051, Matrix keypad interfacing with 8051 etc PERIPHERALS INTERFACING IN 8051 INTERFACING DC MOTOR WITH 8051 MICROCONTROLLER MAIN PURPOSE OF INTERFACING OF DC MOTOR
• The main purpose of DC interfacing with
8051 microcontroller is for controlling the speed of the motor. • The DC motor is an electrical machine with a rotating part termed as a rotor which has to be controlled. EXAMPLE FOR DC MOTOR INTERFACING
Consider the DC motor whose speed or direction
of rotation of DC motor can be controlled using programming techniques which can be achieved by interfacing with 8051 microcontroller. MOTOR DRIVER IC USED FOR INTERFACING DC MOTOR WITH 8051 • Here, interfacing 8051 with DC motor requires a motor driver. • There are various types of driver ICs among which L293D is typically used for interfacing DC motor with 8051. • L293 is an IC with 16 pins. MOTOR DRIVER IC L293D USED FOR INTERFACING DC MOTOR WITH 8051 SPECIFICATIONS OF L293 MOTOR DRIVE • This L293 IC is having ratings of 600mA per channel and DC supply voltage in the range of 4.5V to 36V. • These ICs can be protected from inductive spikes by connecting higher speed clamp diodes internally. • This 16 pin L293D IC can be used for controlling the direction of two DC motors. The IC L293D works based on the H- bridge concept. • The voltage can be made to flow in either direction using this circuit (H-bridge) such that by changing the voltage direction the motor direction can be changed. • The practical application of L293D IC is (L293D acts as an interfacing device) DC motor interfacing with 8051 microcontroller by which we can control the speed and direction of the motor. • Practical applications in which speed and direction of DC motor can be controlled by interfacing with 8051 microcontroller. SPEED CONTROL OF DC MOTOR USING MICROCONTROLLER 8051 The main intention is to control the speed of DC motor using 8051 microcontroller which can be achieved by interfacing DC motor with 8051. SPEED CONTROL OF DC MOTOR USING MICROCONTROLLER 8051 PROJECT CIRCUIT • There are different blocks in the project circuit such as power supply block which provides power supply to the entire circuit. • The 8051 microcontroller block interfaced with two input buttons and motor block with DC motor interfacing with 8051 microcontroller using motor driver as shown in the block diagram. • The IC L293D is used for interfacing 8051 with DC motor as shown in the block diagram. The two input buttons can be used to control the output PWM generated by the microcontroller. • This output signal is then fed to DC motor through motor driver. Thus, the speed of DC motor can be controlled. FOUR QUADRANT DC MOTOR SPEED CONTROL WITH MICROCONTROLLER FOUR QUADRANT DC MOTOR SPEED CONTROL • The four quadrant DC motor speed control operation can be achieved by interfacing DC motor with 8051 microcontroller. • The speed of the motor as well as the operation of motor in four quadrants such as forward brake, reverse brake, clockwise, anti- clockwise rotation can be controlled using 8051 microcontroller. • In industrial applications such as conveyer belts the clockwise and anti-clockwise operation of DC motor is essential. For these types of applications the motor can be controlled using this technique. • There are various blocks such as microcontroller block interfaced with motor using motor driver, power supply block, and switch array. By using the switch array the control signals are fed to the microcontroller which in turn controls the operation of the DC motor through motor driver.