Hello,
I have an input thats going to come on every so often and need to get it into the pic.
I know there are 100 ways to do this but the problem is I can't change the line at all. There are other circuits also monitoring it. I tried running it into a resistor and then a reverse zener diode but obviously thats a bad idea.
My thought was to use an N-Ch Mosfet, tie 5V to the source, the 12V wire to the gate and watch the Drain at my PIC.
But maybe someone has a better idea ?
Thanks
I have an input thats going to come on every so often and need to get it into the pic.
I know there are 100 ways to do this but the problem is I can't change the line at all. There are other circuits also monitoring it. I tried running it into a resistor and then a reverse zener diode but obviously thats a bad idea.
My thought was to use an N-Ch Mosfet, tie 5V to the source, the 12V wire to the gate and watch the Drain at my PIC.
But maybe someone has a better idea ?
Thanks