Dc motor interfacing with 8051 microcontroller

Here microcontroller, which works at 5v is used to control LD, hence the logic voltage is 5. The code for the above project is so written that initially when power is switched ON, the motor remains OFF. They are fitted with internal high speed clamp diodes for inductive spike protection. But a DC Motor needs much more currents.

Uploader: Jusar
Date Added: 24 May 2016
File Size: 10.14 Mb
Operating Systems: Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X
Downloads: 40949
Price: Free* [*Free Regsitration Required]

Other good features of L are high noise immunity, internal ESD protection, thermal shutdown, separate input supply for each channel etc. In our robotics applications we may have to control We can also make a small truth table according to the switching of H-Bridge explained above.

The code for the above project is so written that initially when power is switched ON, the motor remains OFF. These circuits are such interesting.

Interfacing DC Motor with 8051 using L293D – AT89C51

It is designed to provide bidirectional drive currents of up to mA at voltages from 4. So you can use a motor falling in that range. L is a dedicated quadruple half H bridge motor driver IC available in 16 pin package.

It can also control the direction of motor. When I press button 2, motor 2 will start rotating in Anti-clockwise direction. You can use Keil for this purpose.

Interfacing DC motor to microcontroller using AT89S51

H bridge motor driver circuit. They are used with inductive loads such as relays solenoids, motors etc. You may also like: According to my coding: In the circuit components R1, S1 and Dith forms a debouncing reset circuitry. You have to create a.

It Let me Know lot of Knowledgeable stuffs …. It also needs more voltages as 6v, 12v, 24v etc. To overcome the problems in their interfacing, a motor Driver IC is connected between microcontroller and DC motor.

To overcome this problem the LD driver IC is used. When push button switch S3 is pressed the logic of P1. Motor driver is a little current amplifier. But a DC Motor need currents very much more than that and it need voltages 6v, 12v, 24v etc, depending upon the type of motor used. This is the basic working of H-Bridge.

So it is not wise to connect a DC motor directly to the microcontroller. Whenever push dd S2 is pressed the status of P3 will be B.


It can drive inductive loads such as solenoids, relays, DC and bipolar stepping motors. After loading the program in the controller, the motors will not start turning until the buttons are not pressed. Thus it requires transistors, diodes and resistors, which may make our circuit bulky and difficult to assembly. Hello sir, how we can send the above program to Micro mjcrocontroller and in what format?

Checking whether a particular push button is pressed is done using the CJNE compare and jump if not equal instruction.


It is not good to connect DC motor directly to the microcontroller. Interfacing DC motor to forms an essential part in designing embedded robotic projects. Firstly an with the required software to control the motor and secondly a suitable driver circuit. As we can see in the figure that there are four switching elements named as: Similarly, when we switch on low side left and high side right, the current flows in opposite direction and motor rotates in backward direction.

3 thoughts on “Dc motor interfacing with 8051 microcontroller”

Leave a Reply

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