Fault finder: Rotary encoder menu on an OLED

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

Cursor moves the wrong way: what should I check?

Swap CLK and DT, or change +1 and -1 in onTurn.

Jumps two lines per click: what should I check?

Your encoder gives two edges per detent. Divide t by 2.

Erratic jumps: what should I check?

Add 100 nF capacitors from CLK and DT to GND to smooth contact bounce.