Objetive: measure the power consumption of an output device
We measured the power consumption of the super bright white LED that is in my Arduino circuit next to a resistor.
The resistor has four colored bands (red, red, black and gold) that identify it with 220 Ohms.
Circuit of measured
Code of colors
To calculate the consumption of the circuit, we first calculate the current using the two values we knew: the voltage (5v) and the resistance (220 Ohms), resulting in 0.227 A.
Calculates
To verify this value we have used the multimeter in the current position in mA and connected the terminals to the negative pole of the LED and to the GND of the Arduino board. It displayed almost the same value.