Spike suppression

Originally Posted by
jhorsburgh
Hi All,
Is it possible that when a switch is pressed on a PIC16F628A it will close a dry contact?
I have tried using a relay but for some reason it temporarily scrambles the PIC when ever it activates, is it possible to close 2 pins on the PIC itself instead of having voltage come out?
Thanks for your help in advance?
Regards,
Jeremy
Hi Jeremy,
I don't know about dry contacts between any two PIC pins. Take a look at this thread about adding relays to a PIC.
http://www.picbasic.co.uk/forum/show...hlight=flyback
Take a look at the "flyback" or "suppression Diode" reverse connected across the relay.
-Adam-
Ohm it's not just a good idea... it's the LAW !
Bookmarks