Fault finder: Dispenser use counter

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

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

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

Counts with no hand: what should I check?

The sensor sees a close wall, so aim it at open space or lower NEAR_MM.

Never counts: what should I check?

Check the I2C wires, the 0x29 address and that the VL53L0X is powered.

Double counts: what should I check?

Raise FAR_MM or keep the sensor steady.

Display blank: what should I check?

Check the OLED address 0x3C.

Count lost: what should I check?

Make sure the sketch writes to EEPROM and that you did not hold reset.