I'm away from my computer with a schematic drawing program so I hope this conveys my idea adequately. With no power to the PIC the LED would be powered on by the 12VDC thru resistor to ground. When PIC is powered a HIGH of more than 3ish VDC at the PIC pin would be enough to turn the LED off. The diode to the PIC would protect the PIC from sinking or sourcing current from the 12VDC source.
12VDC
|
Resistor
|
K--Diode-A---PIC pin
|
LED
|
Ground
I hope I'm using some semi-solid logic in this idea but if this isn't a good idea please let me know.
Bookmarks