I found nothing to this issue. When I use Arduino 5V output and put a resistor into the circuit, I have an overall voltage drop. In my case voltage drops from 4.98 V to 4.93 when I put a 220 R resistor into the circuit.
First question for understanding: Is this because of heat production of the resistor?
Second question: Should this drop be constant per resistor of the same type? This I need to know because I also have a LM335 in the circuit and for temperatur calculation I have to know the exact voltage which is supplied to the LM335 and in my experiment the number of resistances is changing.
timmorn:
In my case voltage drops from 4.98 V to 4.93 when I put a 220 R resistor into the circuit.
First question for understanding: Is this because of heat production of the resistor?
Yes and no. In a resistor all power is dissipated in the form of heat and a marginal amount in stuff we can't explain.
The voltage drop can be due to the power limit the power supply can deliver.
A solution can be: Read the voltage with Analog.read and use it in the calculations. Then, if there is another reason the voltage fluctuates your always safe.
The output transistors of the Arduino have an internal resistance of about 30--40 ohms
when the chip is operating at 5V supply, IIRC
External loads form a voltage divider with that internal resistance, hence the drop
in voltage at the pin. Your figures seem wrong, I'd expect about 0.7V,
I think you meant 4.9 to 4.3V drop.
C-F-K:
Yes and no. In a resistor all power is dissipated in the form of heat and a marginal amount in stuff we can't explain.
This is wrong, there is nothing that we "can't explain".
The thing is where exactly is this resistor?
In my case voltage drops from 4.98 V to 4.93 when I put a 220 R resistor into the circuit
So 4.98 - 4.93 is = 0.05V.
If you have that across a 220R resistor ohms law says the current through it is 0.05 / 220 = 0.227 mA
So that resistor is not powering the arduino so what is it powering?
First question for understanding: Is this because of heat production of the resistor?
Wrong way round, the heat produced is because you have current flowing through the resistor.
Should this drop be constant per resistor of the same type
No.
The drop is due to the resistance of what that resistor feeds into.