Fault finder: Traffic light with gpiozero
10 checks for this build on the board. Work from the top: power first, then each part, then the code.
0 of 10 checked
Power🔧 DC volts, 20 V rangeCheck 1 of 10
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
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 light: what should I check?
Wrong way round or wrong pin. Check GPIO numbers against the header.
Button does nothing: what should I check?
gpiozero Button uses a pull-up, so wire it between the GPIO and ground.
Buzzer silent: what should I check?
A passive buzzer needs a tone. Use an active buzzer or PWM.
Program says GPIO busy: what should I check?
Another script is using the pins. Stop it first.
