I need to measure the current drawn from the 5V pin.
I'll be powering up to 3 boards through this pin, and I only have the data for one of them. So I need to come up with a method for empirically measuring the current drawn when connecting each one of these boards individually. In my project, the Arduino will be powered with batteries.
I've connected a multimeter in series with a wire coming from Arduino's 5V to one of the other board's 5V pin. The Arduino itself was powered by USB for the test. I know the connection worked because the attached board was powered and the program flashed on the Arduino was running.
However the multimeter displayed 0 Amps I switched the multimeter knob all the way from 200uA to 200mA, yet I got no current in the display.
The multimeter works, as I've measured a battery's current through a 100k resistor.
The only knob position I didn't test was the 10A unfused, but this is meant to measure high currents (wall sockets?) and I was not sure if this experiment would damage the Arduino.
What am I doing wrong? Arduino's 5V should be DC, exactly as a battery, so the multimeter method should just work with both!
Multimeters have usually two different sockets for the red lead for current, high and low current ranges
use separate sockets.
I'd double check you connections and try again, this is how I'd measure the current consumption.
Note that some boards might well take extremely low currents when idle - which boards are you
talking about? A rough guess at the current consumption can be made if the function is known.
MarkT:
Multimeters have usually two different sockets for the red lead for current, high and low current ranges
use separate sockets.
I'd double check you connections and try again, this is how I'd measure the current consumption.
Note that some boards might well take extremely low currents when idle - which boards are you
talking about? A rough guess at the current consumption can be made if the function is known.
The connection was correct, otherwise the second board would not have been powered up. Its idle consumption is about 25mA according to the manufacturer.but can go up to 300mA. But even if it were on the 20mA range, this is about the same current I measured through a 100K resistor wired to a battery with the same multimeter. So most likely the multimeter is ok. This board has not a power regulator of its own, so it uses Arduino's 5V.
I made this test with a different board (a motor driver) and also got 0 amps. I don't know what is going on.
I think the DMM is faulty. It sometimes measures current, I note it, and then suddenly it reads 0.0. Then I change the dial scale and again reads. Then back to zero.
If the current were off scale it should display a 1. A 0.0 reading usually means the fuse is kaput, but I've replaced it this evening and the malfunctioning is still observable.