Fault finder: Blue Pill traffic light with a crossing button

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

LED never lights: what should I check?

Check polarity and the pin names.

Does not respond to the button: what should I check?

Check PA0 to GND.

Phases too fast: what should I check?

Raise the time constants at the top.

Two LEDs on together: what should I check?

Check each has its own pin.

Upload fails: what should I check?

Check the ST-Link wires and boot jumpers.