Fault finder: PWM brightness and the eye

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

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

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

LED does not fade: what should I check?

Make sure it is on D9 (a PWM pin) and the right way round.

Button does nothing: what should I check?

Check D2 and GND, and the debounce delay.

LED too dim: what should I check?

Use a smaller resistor, but never below 150 ohms.

Flicker on camera: what should I check?

The PWM is about 490 Hz, which a phone camera may show.

Fade is jumpy: what should I check?

Slow it down with the pot.