Robert
Published

Traffic Light

Traffic light controlled via web interface using Python with the Flask framework and the gpiozero library to control LEDs, buttons and buzzer

IntermediateProtip5 hours158
Traffic Light

Things used in this project

Hardware components

Raspberry Pi Zero 2 W
Raspberry Pi Zero 2 W
×1
5 mm LED: Red
5 mm LED: Red
×1
5 mm LED: Green
5 mm LED: Green
×1
5 mm LED: Yellow
5 mm LED: Yellow
×1
LED, Blue
LED, Blue
×1
Breadboard (generic)
Breadboard (generic)
×1
Male/Female Jumper Wires
Male/Female Jumper Wires
×8
Resistor 1k ohm
Resistor 1k ohm
×4
Pushbutton switch 12mm
SparkFun Pushbutton switch 12mm
×2
Male/Male Jumper Wires
×8
Buzzer
Buzzer
×1
SG90 Micro-servo motor
SG90 Micro-servo motor
×1

Software apps and online services

Raspbian
Raspberry Pi Raspbian

Story

Read more

Schematics

5_zOCLdR1n2z.png

Web Interface

4_fbuFkpHMxH.png

Credits

Robert
1 project • 0 followers
Contact

Comments

Please log in or sign up to comment.