Documentations give me the input impedance of a given PWM I/O pin however I still want to measure this with multimeter.
Documentation also says (if I am reading it correctly), that both I/O modes only provide and read up to 5V. My multimeter continuity mode I know provides 10V > V > 5V.
So I suppose the current isn't the problem, but I'd like to avoid shorting anything on my board. Would this actually short anything?
(I wanted to run my continuity tester /or ohmeter through a pinmode in INPUT mode)
You can measure the resistance of an ordinary resistor with your meter, but the input resistance of an input pin is VERY high. A continuity tester would show it as infinite unless you applied a voltage that would destroy the arduino.
I hooked up an Arduino Uno and measured as described above.
My multimeter has a microampere-mode
The display showed 0,1 µA
This means input-resistance
5V / 0.0000001 A = 50.000.000 Ohm = 50 Megaohm
So all you have to be worried about is
That, with such a HIGH input-resistance even a 1 inch short wire that is free floating acts as an antenna that will make the state of the IO-pin switch randomly between HIGH and LOW.
Free floating means if the end of the wire is connected to nothing.
And this is the reason why mechanical switches shall always be used in mode INPUT_PULLUP.
The pullup-resistor connects to +Vcc to have the IO-pin on a well defined potential (instead of free floating)
In INPUT_PULUP-mode I measured 134 µA.
5V / 0.000134 A = 37000 Ohm.
Each of the 14 digital pins on the UNO can be used as an input or output, using pinMode(),digitalWrite(), and digitalRead() functions. They operate at 5 volts. Each pin can provide or receive 20 mA as recommended operating condition and has an internal pull-up resistor (disconnected by default) of 20-50k ohm. A maximum of 40mA is the value that must not be exceeded on any I/O pin to avoid permanent damage to the microcontroller.
You are mis interpretating the above specification:
Then 20ma is:
Output when the I/O is driven high as an output
Input (aka sink, aka current going into the pin) when the I/O is driven low as an output.
The 20k to 50k is when you have enabled the internal input pull up resistor.
The input without the internal pullup can draw up to 1 µa.
You should not use a multimeter in the ohms function to try and verify this specification. Many multimeters can put up to 9v on your device being tested.