how can we control the DC motor with PIC16f84 .in the attachment i try to connect the DC motor to make it off or on but i do not succeedd why pleas help me
why the circuit is not correct
the last one should work but you need a 1Kohm resistor between the port and transistor, if your DC motor uses 5V, if thats is the case and it still wont work, perhaps the supply cant´t give enough current !!