Hallo to all.
I'm doing an assignment using PIC16F877A and a DC motor (from Tamiya). The microcontroller should be able to turn the motor ON and OFF. The motor is connected to PORTB (spesifically PB0). The motor is operated using 5V DC.
I have finished assembling the circuit and the program required to drive the motor. When I turn on the PIC circuit (and toggle the switch ON), PB0 produces logic HIGH which is equivalent to 5V DC. However, the motor is failed to move or Turn ON.
Please be informed that I connect the motor DIRECTLY to PB0 and to the ground. I use a switch as an input to control the motor, which is connected to PORTD.
Can anyone out there give comment on my hardware? Do I need a driver for the motor? If the driver is needed, what type of IC should be installed to the circuit?