Measuring resistance of resistor connected to Arduino

Hello!

I was measuring one of my resistors with a multimeter, when I noticed that the value of the resistance showed by the multimeter is different if I measure the resistor alone that the value I get if the resistance is connected to the Arduino (but the Arduino is off and not even connected to a power source).

I took my a LONG time to realize that the multimeter was measuring the value of the resistance IN PARALLEL with the own resistance of the Arduino (3k, in this case, connected to GND and 5V pins).

But now I'm confused, since when I use the Arduino as a power source in a circuit, I don't take into account the resistance of the own Arduino (and of course, the math works).

I'm really new to electronics, so I don't pretend to understand it all, but I was wondering if there is a simple explanation of what I'm getting wrong here.

Regards

Semiconductors, as in integrated circuits, are nonlinear (not ohmic) resistors. They can draw as much current from your multimeter as they like.

Resistance can only be measured if the resistor is NOT in a circuit. Disconnect one end of your resistor and then measure the resistance. Reconnect the resistor.

If you connect a resistor to the Arduino's 5V pin, the current through the resistor depends on the voltage and resistance . (Ohm's Law is a law of nature and always true.) The Arduino (or any power source) has an effective "source resistance" which creates a voltage divider.

Under normal conditions the source resistance (which is the "top" resistor") is very small relative to the load resistance so the 5V will hold-up and you can ignore it.

The voltage regulator tries to hold the voltage constant which keeps that effective source resistance low. If you "pull" too much current the voltage regulator will go into thermal protection, dropping the voltage (increasing the source resistance).

If you put a low-value resistor on an output pin (maybe around 100 Ohms) you'll probably see the voltage drop. (The "absolute maximum" allowed current from ab output pin on a regular Arduino is 40mA which means 125 Ohms minimum.)

Input pins are rated for about 100 Megohms so under normal conditions that can be considered infinite and ignored. ...That's ONLY true when the Arduino is powered-on and when the input voltage is between 0 and +5V. There are internal protection diodes that start to conduct at about 0.7V when un-powered or at about 5.7V when powered.

Ok thank you, so I understand that good old Ohm's Law does not work here, and that I still have a long, long way to go before I can understand this :rofl:

Thank you!

I don't completely understand this answer, but I think it assumes that the Arduino is on (providing 5 volts). In my case, it is OFF (and away from any power source).

I don't know how much Voltage a multimeter delivers, so I don't know it the last bit of your answer is relevant here, maybe it is...

According to another answer, I think it has more to do with the fact that integrated circuits are semiconductors? Since I know nothing about these, I cannot really tell, but I'll take that for an answer.

Thank you anyway!

What you ask is very relevant and is important to understand many electronic topics. It is related to the resistance and impedance (fancy name for AC resistance) of the pins, in this case, involved in the connection of one circuit with another.

You measured that the input resistance of the of the 5V pin is about 3KΩ, when the Arduino is off. That is not very high, but it is not a input signal pin.

In general input pins should have a very high impedance, several MΩ, to avoid impacting the level of the signal that they get (e.g. a weak signal of an small sensor). And output pins should have a very low impedance, to provide a strong signal that can drive the next circuit without problems.

Inside the Arduino (or any other circuit), behind a pin, you don't know what is connected. And usually there are a lot of transistors that will change the paths of the current dynamically and it's own characteristics. But you don't need to measure or do the maths, in the datasheet usually the input or output impedance is specified, when relevant.

A circuit can be simplified statically as an equivalent resistor + capacitor + inductor. Or simplifying more as a load resistor.

And the resistance/impedance is important, to know what will actually happen when you plug your circuit there (or your resistor). And your circuit will have also its own output impedance.

Ideally you will always want to connect a low impedance output to a high impedance input. And this is valid for the Arduino pins also.

For example, when you create a voltage divider and connect it to an analogic input pin of the arduino, it will work only because the pin has a high input resistance, about 10MΩ. Otherwise the internal resistance of the circuit behind the pin would be in parallel with your resistors and screw up everything.

The same that you observed with your resistor, because the 5V pin has too low resistance compared to the resistor value.

Unless it contains active or non-linear elements. In practice you'll not find any such static circuit. Instead you have to consider voltage and current sources, diodes, transistors and other special components.

Impedance stands for a complex resistance at a certain frequency and can be very different from DC resistance. Its use is almost restricted to audio and RF components, like loudspeakers and antennas.

Yes, correct. I just wanted to simplify. For DC it's actually resistance, but many times you see 'input pin impedance' as a generalization.

Thank you for this thorough answer. All this is obviously way over my head, but I think I've got an idea or two from your answer and @DrDiettrich 's.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.