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.
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" ™
As I said, much better to use a high impedance resistive divider.
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
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.
You're over thinking this - exactly what are you trying to do?.I don't understand the graph on page 406.
If 25mA is the output current then 0.5V voltage drops?
That is, if the supply voltage is 3.3V, will it drop to 2.8V at 25mA?
No, historically that was always done - but it was changed to just a 10K resistor a VERY long time ago. The 10K limits the current to low enough not to upset any voltage levels.View attachment 137331
One more question.
Don't need a diode between MCLR contact and R1?
If I program the PIC within a circuit, the voltage will be higher than the 3.3 V displayed on the VDD branch. No?
25mA is the sink current - with a load connected between power and output.I think the supply voltage for this PIC is 3.3 V. I want to put a 130 ohm resistor on the digital outputs. That's good?
Maximum 25mA, if I count correctly.
If 25mA is the output current then 0.5V voltage drops?
That is, if the supply voltage is 3.3V, will it drop to 2.8V at 25mA?