I was constructed a circuit for L298 for a 12v DC Geared Motor by using PIC16F877A microcontroller. My schematic diagram was attached. I ran my simulation using Proteus and the circuit works.
However when i tested the circuit in real, the DC motor did not rotate. My circuit is constructed as shown in the attachment. Since it wont work then i unplug my DC motor from Pin13&14 of L298 and check for the voltage. When i probe my multimeter on both Pin13&14, it has potential different with +12v (when the code is for CW rotation) and -12v (when the code is for CCW rotation). (For my code i made the motor to rotate CW and CCW). But when i connect DC motor to Pin13&14 of L298, the it only shows constant +12V potential different.
Then i try to connect one of the pin of DC motor to ground, the motor rotate!! IT JUST WONT ROTATE WHEN I CONNECT FOR PINS TO L298!
I wonder why is this happening. Can anyone tell me why it just cant rotate when connected to L298?