Interfacing PIC microcontroller 16FA877 with DC motor driver circuit


Interfacing PIC microcontroller 16FA877 with DC motor driver circuit

In this article we will learn how to Interface PIC microcontroller 16FA877 with DC motor driver circuit.
In the last post we will learn how to make 5V DC power supply in proteus. You can visit our website,
I hope you appreciate my work, let’s discuss about today’s project.

Components which we use in this project are listed below:

  1. PIC 16FA877
  2. Resistor (10k)
  3. Capacitor (1nf)
  4. Crystal oscillator (For Hardz)
  5. DC motor
  6. Push button
  7. Jumper wires

Diagram of this project is below:

Interfacing PIC microcontroller 16FA877 with DC motor driver circuit
Interfacing PIC microcontroller 16FA877 with DC motor driver circuit

Construction of PIC microcontroller 16FA877 with DC motor driver circuit

  • Connect pin 1 of PIC microcontroller with the one side of resistor 10k
  • Connect the other side of resistor 10k with the +ve
  • Connect the pin 14 of PIC with the one side of crystal and 1nf capacitor
  • Connect the pin 13 of PIC with the one side of crystal and 1nf capacitor
  • Connect the –ve sides of both capacitors with the GND
  • Connect the pin 39 of PIC microcontroller with the one side of DC motor
  • Connect the pin 40 of PIC microcontroller with the other side of DC motor
  • Connect the pin 19 of PIC microcontroller with the one side of push button through one side of R2
  • Connect the pin 20 of PIC microcontroller with the one side of push button through one side of R3
  • Connect the other sides of both push buttons with the GND
  • Connect the remaining sides of R2 & R3 with each other and then connect them with the +ve

Working of PIC microcontroller 16FA877 with DC motor driver circuit

The PIC16F877A microcontroller is a popular 8-bit microcontroller from Microchip Technology that is commonly used in various embedded systems and robotics applications. To control a DC motor using a PIC16F877A microcontroller, you’ll typically need an H-bridge motor driver circuit.

Applications of PIC microcontroller 16FA877 with DC motor driver circuit

  1. Robotics
  2. Automated Systems
  3. Home Automation
  4. Industrial Automation
  5. Solar Tracking

Advantages of PIC microcontroller 16FA877 with DC motor driver circuit

  1. Analog-to-Digital Conversion
  2. Timer Modules
  3. Interrupt Handling
  4. Serial Communication
  5. Low Power Modes