Fault finder: Servo sweep with an STM32 timer

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

Servo twitches or the board resets: what should I check?

Power the servo from its own 5 V supply and join the grounds.

Servo does not move: what should I check?

Check PA1 and the signal wire colour.

Upload fails: what should I check?

Check the ST-Link wires and the boot jumpers.

Servo hums at the ends: what should I check?

Reduce the pulse range slightly.

Reads are noisy: what should I check?

Add a 100 nanofarad capacitor from PA0 to GND.