DC Motor Drive Circuit in Proteus ISIS




Hello friends, hope you all are fine and enjoying good health. In the previous posts, we have seen How to design a 5V DC power supply in Proteus ISIS and after that we have also discussed How to design a variable DC Power supply using LM317.So, now today we will check how to design a DC Motor Drive Circuit in Proteus ISIS. DC motor is present in Proteus and quite easy to use. First we will simple drive it by applying voltage on its both sides i.e. direct method and after that we will automate it and will drive the circuit using PIC Microcontroller. The microcontroller I am gonna use will be PIC16F877A and the compiler will be MikroC Pro For PIC.

DC Motor Drive Circuit in Proteus ISIS

This tutorial is not a correct method of driving any DC motor. In this tutorial, I am just giving an overview of How to design a DC Motor Drive Circuit in Proteus ISIS so you can say this tutorial is more about DC motor in Proteus software. So, don’t try it in hardware. DC motor is a simple motor which needs polarity difference at its two ends. IF this polarity is in forward direction then DC motor moves in one direction and if we reverse the polarity then the DC motor moves in the opposite direction. So, let’s get started with 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:
  1. Motor
  2. Logic State
READ  Circuit Designing of LCD with PIC

Simple DC Motor Drive Circuit in Proteus ISIS

  • 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 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:
  1. When both states are at 0, motor will not move and remain stationary.
  2. When both states are at 1, still the motor will not move and remain stationary.
  3. The motor will move Clockwise when upper state is at 1 and lower at 0.
  4. The motor will move Anti-Clockwise when upper state is at 0 and lower at 1.

DC Motor Drive Circuit Using PIC Microcontroller

DC Motor Drive Circuit Using PIC Microcontroller

  • Now we will drive our motor using PIC Microcontroller, add below components from the Proteus library.

Now we will drive our motor using PIC Microcontroller

  • Join these components and make a circuit as shown in the below figure:

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:

That’s all about DC Motor Drive Circuit in Proteus ISIS. In the coming tutorial, we will have a look at How to drive a Stepper Motor in Proteus ISIS.




Current Project / Post can also be found using:

  • www theengineeringprojects com

Leave a Comment

*
= 4 + 5

Read previous post:
RC5 IR Remote Control Decoder with PIC12F1822 Microcontroller
RC5 IR Remote Control Decoder with PIC12F1822 Microcontroller

This topic shows an easy and effective way for decoding IR (Infra-Red) remote controls that use Philips RC-5 communication protocol,...

Close
Scroll to top