Hi Programmednew:
Besides all that Steve and Ralph suggested don't forget that the PIC chips don't put out lot of current to drive a relay directly. Absolute rating is only 25mA so unless you are using a hi sensitivity type you're going to kill the output of the PIC pretty fast! Talk to your cousin about this also.
STEVE:
It looks like he needs more I/O than the F508 can get him even if he uses IntRC clock!
Using F628 or F630 would be cheaper for him but then he shouldn't forget the CMCON settings! F630 has 4 lesser pins to boot.
He can replace the 7805 coming out of his ignition switch with a series resistor and a 5Vzener, I would assume....or use two 1N4148 diodes to configure an OR gate.
__warrier
Bookmarks