Fault finder: Blue Pill light-controlled tone

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

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

No sound: what should I check?

Check the buzzer is a passive one and wired to PB8.

Pitch does not change: what should I check?

Check the divider and that the wiper goes to PA0.

Pitch is reversed: what should I check?

Swap the photoresistor and the resistor.

Noisy pitch: what should I check?

Add a 100 nanofarad capacitor from PA0 to GND.

Upload fails: what should I check?

Check the ST-Link wires and boot jumpers.