eblc1388 said:Check again with a voltmeter connected across the motor.
If there is 12V and the motor isn't rotating, bad motor or motor not a DC normal brush motor but AC motor or stepper motor.
If there is no voltage, check all power connections for broken wires etc. Also check the 12V is healthy.
I'm positive that the motor works.
The PIC outputs 5V when the motor is not connected, but when it is connected, the PIC output is 0V.