Fault finder: Input clamp for a microcontroller pin

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

Clamp reads 0: what should I check?

Check the 10 kilohm to A0 and the Zener wiring.

Clamp reads 5 V or more: what should I check?

The Zener is the wrong way round, stripe goes to the node.

Input reads half: what should I check?

Check the divider multiplies by two in the code.

Readings noisy: what should I check?

Add a 100 nanofarad capacitor from A0 to GND.

Zener gets warm: what should I check?

Check the 1 kilohm series resistor is in place.