Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
The analogue to digital converter acts as a small capacitor that has to be charged from the pin for each measurement. There is a very small current needed to charge that capacitor.I understand. Thanks.
Can't anything flow in?
That's the from the "Absolute maximum" table - the level where you may expect failure, not what's allowed in normal operation.One more quick question. The maximum output current is 50 mA?
Each port pin already had protection diodes to Gnd and Vcc so only requirement is not to exceed their max current (20mA). So if reading a 9V signal then use a >200Ω resistor in series (assumed Vcc=5V). However, it's better to use a higher impedance resistive divider.
As I said, much better to use a high impedance resistive divider.
Perhaps you should read the title and content of the threadWhy would we be discussing protection diodes if we were feeding the ADC?
I was talking about IF 9V was present.
Mike.
As long as the voltage at the input can never exceed the PIC supply range, you do not need a limiting resistor.Hello!
Should the analog input of the PIC be protected with a resistor? In this case, does the current flow into the PIN?
I want to measure the voltage at the center terminal of a potentiometer.
My further question would be, can the PIC drive the LED display like this?
That's an example of why you should never rely on the input diodes as part of the overall circuit function.
As I said, much better to use a high impedance resistive divider."Real Bad Idea" ™
Why would we be discussing protection diodes if we were feeding the ADC?No, because the ADC needs a low impedance source to charge/discharge the sample and hold capacitor