Hackster is hosting Hackster Holidays, Ep. 7: Livestream & Giveaway Drawing. Watch previous episodes or stream live on Friday!Stream Hackster Holidays, Ep. 7 on Friday!
Karthyayani Sajeev -20Tania Pham -18
Published

Arduino Uno Traffic Light

This Arduino Uno circuit has been programmed to act as a traffic light, in which different colored lights light up and a sound is played.

IntermediateShowcase (no instructions)1 hour4,222
Arduino Uno Traffic Light

Things used in this project

Hardware components

Resistor 10k ohm
Resistor 10k ohm
×2
Resistor 221 ohm
Resistor 221 ohm
×3
Temperature Sensor
Temperature Sensor
×1
Speaker: 0.2W, 8 ohms
Speaker: 0.2W, 8 ohms
×1
LED (generic)
LED (generic)
×3
Pushbutton switch 12mm
SparkFun Pushbutton switch 12mm
×1
Jumper wires (generic)
Jumper wires (generic)
×12
Arduino UNO
Arduino UNO
×1

Software apps and online services

Arduino IDE
Arduino IDE

Story

Read more

Schematics

Fritzing Diagram

Code

Traffic Light Code

Arduino
No preview (download only).

Credits

Karthyayani Sajeev -20
1 project • 0 followers
Tania Pham -18
1 project • 0 followers

Comments