Fault finder: AAA battery life gauge

9 checks for this build on the Nano. Work from the top: power first, then each part, then the code.

0 of 9 checked
Power🔧 DC volts, 20 V rangeCheck 1 of 9

Nano supply pin

Plug the Nano into USB. Black probe on a GND pin, red probe on the 5V pin of the board.

You should see: 4.6 to 5.3 V

V

Readings are compared with the ranges for this build's parts. A meter on the wrong range or a loose probe gives odd numbers: check those first.

Common faults in this build

Reads zero: what should I check?

Check the divider middle point and the A0 wire.

Reads half the real voltage: what should I check?

The divider factor is wrong, check both resistors are 10 kohm.

Reading jumps: what should I check?

Poor contact at the battery clips.

Bar always full: what should I check?

Raise FULL_V and EMPTY_V to match your cells.

Nano resets: what should I check?

The cells are connected to the 5V pin by mistake, remove them at once.