Society of Robots - Robot Forum

Electronics => Electronics => Topic started by: thibraani on November 17, 2007, 09:34:15 AM

Title: What is the output current (PORTB) of PIC16F877A??
Post by: thibraani on November 17, 2007, 09:34:15 AM
Hallo all,
I have a question to ask. What is the PORTD output current of PIC16F877A??

I'm building a mini project, that is to operate a 1.5V DC motor connecting to PORTD of PIC16F877A. I would like to know what is the output current of that particular port and would it be sufficient to turn on the DC motor??

Why do people need a DC motor driver??

Thank you
Title: Re: What is the output current (PORTB) of PIC16F877A??
Post by: krich on November 17, 2007, 03:54:47 PM
People don't power their motors directly from their MCU because there's not enough current to get the motor running and I'm pretty sure the MCU isn't capable of passing a suitable amount of current without melting even if it could be made to do so.

What you will need is an H-bridge, which handles forward/reverse for the motor by using output pins from your MCU for the logic and a direct connection to your power source to give you the juice you need to run the motors.  The DC motor controllers do this in a neat, prefabricated package.