fuzzzy
Full Member level 3
Hi,
I've a circuit with a RC clocked PIC16F84A driving 2 12V relais for motor control by 2 npn transistor. I use a PIC port to start stop motor and 2 other ports to drive relais for clockwise and counterclockwise rotation.
My problem is that sometimes switching pushbutton my pic fails and it stops working and LM7805 that supply it becomes very very hot. This happens after sparks in relais contact.How can i prevent this? what component should i use?
Iyou can see my circuit in attached PDF
I've a circuit with a RC clocked PIC16F84A driving 2 12V relais for motor control by 2 npn transistor. I use a PIC port to start stop motor and 2 other ports to drive relais for clockwise and counterclockwise rotation.
My problem is that sometimes switching pushbutton my pic fails and it stops working and LM7805 that supply it becomes very very hot. This happens after sparks in relais contact.How can i prevent this? what component should i use?
Iyou can see my circuit in attached PDF