Fault finder: Batch counter with a preset

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

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

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 nothing there: what should I check?

Turn the module's pot until the output stays high.

Double counts: what should I check?

Raise MIN_GAP_MS or move the sensor so each item crosses once.

Missed items: what should I check?

Move the sensor closer or turn the pot the other way.

Display blank: what should I check?

Check the OLED address 0x3C and the wires.

Preset resets: what should I check?

Check the sketch writes it to EEPROM.