Pic18f46k22 I/O pins diode protection to VDD and VSS.

General discussion on mikroC PRO for PIC.
Post Reply
Author
Message
pumper
Posts: 285
Joined: 10 Jan 2011 17:37

Pic18f46k22 I/O pins diode protection to VDD and VSS.

#1 Post by pumper » 02 Feb 2023 00:13

Need some advice.
I am going to put anywhere from 0 volts to 17 volts on the port through a 12k resistor. Directional signal on a golf cart.
I am going to read the port to see if the voltage is on or off. My understanding is the port will have a little over 5 volts when on and 0 when off so I can tell high from low.

Is my understanding correct? Any suggestions would be welcomed.

janni
Posts: 5373
Joined: 18 Feb 2006 13:17
Contact:

Re: Pic18f46k22 I/O pins diode protection to VDD and VSS.

#2 Post by janni » 02 Feb 2023 03:16

pumper wrote:
02 Feb 2023 00:13
Is my understanding correct?
Only on the surface, I'm afraid :( . Go through posts of this topic to see why.

pumper
Posts: 285
Joined: 10 Jan 2011 17:37

Re: Pic18f46k22 I/O pins diode protection to VDD and VSS.

#3 Post by pumper » 02 Feb 2023 13:29

Thanks, I knew I ask a similar question in the past but could not find it.

Post Reply

Return to “mikroC PRO for PIC General”