Warning: session_start(): Cannot start session when headers already sent in /home3/electro5/public_html/client_project.php on line 19
Interfacing DC Motor with 8051 Microcontroller

Interfacing DC Motor with 8051 Microcontroller

By:Imtiaz Ali Joono(18ES-03), Hamadullah Shaikh(18ES-13), Hasnain Ali(18ES-37), Sallar Ahmed Chandio(18ES-07) Siraj Korai (18ES-50)

Introduction

In this Project, we will learn about L298N Motor Driver and also about interfacing DC Motor with 8051(89S52) Microcontroller with the help of L298N. When we are talking the controlling the robot, the first things come into the mind is controlling DC motors. Interfacing DC Motor to the Microcontroller is very important concept in Robotic Applications. By interfacing DC Motor to the Microcontroller, we can do many things like controlling the direction of motor, controlling the speed of motor. This project tells about that how to control DC Motor using 89S52.

uploads/338911111111.jpg

uploads/4202.PNG
uploads/84393.jpg

Working

After loading the Program in the Microcontroller the motor will not start turning until the buttons are not clicked. According to my work, When I click the switch 1, the motor will start in clockwise direction. When I click the switch 2, the motor will start inAnti-clockwise direction. When I click the switch 3, the motor will stop.

Code (Reference by www.electronicshub.org)

Downloads
Schematic
Code
Hex Code