Fault finder: Automatic night lamp with LDR and relay

9 checks for this build on the board. 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

board supply pin

Plug the board 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

Relay chatters: what should I check?

Check the 100 kΩ feedback resistor and the pull-up.

Behaves backwards: what should I check?

Swap the LDR and the 10 kΩ resistor.

Relay stays on: what should I check?

Check the BC547 pins (flat side view: E, B, C).

Switches at the wrong light: what should I check?

Adjust the trimmer.