DC Motor Drive Circuit in Proteus ISIS

Simple DC Motor Drive Circuit in Proteus ISIS
- First of all I will show you the simple control of DC Motor in Proteus so that you get an idea how this motor works.
- Add these two components from the Proteus library:
- Motor
- Logic State
- Logic State has two states 1 and 0. When its 0 means 0V and when at 1 means 5V.
- Now design the circuit as shown in the below figure:
- Now I have added two Logic State on both the sides of motor. Direction of motor will depend on these logic. So, their will be total four states:
- When both states are at 0, motor will not move and remain stationary.
- When both states are at 1, still the motor will not move and remain stationary.
- The motor will move Clockwise when upper state is at 1 and lower at 0.
- The motor will move Anti-Clockwise when upper state is at 0 and lower at 1.
|
|
DC Motor Drive Circuit Using PIC Microcontroller
- Now we will drive our motor using PIC Microcontroller, add below components from the Proteus library.
- Join these components and make a circuit as shown in the below figure:
- Now create a new project in the MikroC Pro For PIC and add the below code into it.
/* Code provided by www.TheEngineeringProjects.com */ #define M1 PORTB.F7 #define M2 PORTB.F6 #define B1 PORTD.F0 #define B2 PORTD.F1 void main() { TRISB=0; TRISD=0xFF; PORTB = 0; while(1){ if(B1 == 0){PortB=0xAA;} if(B2 == 0){PortB=0x55;} } }
- Now burn the hex file of this project in the microcontroller of the Proteus file.
- If everything goes well, then when you click one button the motor will move clockwise and when you click other button the motor will move anti-clockwise.
- I have also shown the simulation in the video below.
Video Tutorial
- A complete video demonstration of the above tutorial is as follows:
- The Proteus circuit of DC motor drive and the hex file to burn in the microcontroller has been emailed to all the subscribed members.
- If you need these files, then subscribe to our newsletter and these files will be emailed to you as well.
×
![]()









































































