Fault finder: I2C between two microcontrollers

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

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

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

Scanner finds nothing: what should I check?

Check SDA and SCL are not swapped and that the grounds are joined.

Reads zero constantly: what should I check?

The pot middle pin is not on A0 on the target.

Garbage values: what should I check?

Wire.read order is wrong. The high byte comes first in this code.

Bus hangs: what should I check?

A pull-up is missing or both boards are set as the controller.