Fault finder: Magnet-key lock demo

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

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

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

Never unlocks: what should I check?

Try the other pole, and check the 10 kilohm pull-up to 5V.

Always unlocked: what should I check?

A magnet is nearby, or the sensor is wired backwards.

Servo twitches: what should I check?

Power the servo from a separate 5 V supply with a shared ground.

Board resets when the latch moves: what should I check?

The servo is stalled on the box, ease the latch.

Output reads low all the time: what should I check?

Check pin 1 and pin 2 are not swapped.