Fault finder: LED and button controller

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

Uno supply pin

Plug the Uno 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 never lights: what should I check?

Check the LED is the right way round: long leg to the resistor.

LED toggles by itself: what should I check?

D2 is floating: check INPUT_PULLUP is set and the button goes to GND.

One press toggles twice: what should I check?

Contact bounce: increase the debounce time.

Upload error: what should I check?

Select board "Arduino Uno" and the right port; try another USB cable.