Fault finder: Wardrobe light that turns on with the door

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

Strip is on all the time: what should I check?

The MOSFET is wired backwards or has a short. Check gate, drain and source pins.

Strip is dim: what should I check?

The gate is not driven fully. Use a logic-level MOSFET like IRLZ44N and check ground is shared.

Strip flashes when the door moves: what should I check?

The magnet gap is too large. Move the magnet closer.

Nano resets: what should I check?

The 12 V supply is too weak or the wires are too thin for the strip's current.