
Description
This is a simple Arduino circuit that imitates a traffic light controller. It’s intentionally made very simple so that it’s easy to understand the code.
Once you have understood it, try to expand on the code so that it behaves more like real traffic lights. Ex: Real traffic lights never jump straight from red to green. Instead, they light up the red and yellow for a bit, before turning on the green light.
Part list:
- Breadboard
- Jumper wires
- Red LED
- Yellow LED
- Green LED
- 3 x resistors 220 Ohm
Connection Diagram

...
Exclusive Content For Members
Hey there! Unlock your potential by accessing this premium resource and countless others on Ohmify. If you are already a member you can Log In Here. If not, click here to become a member and get instant access to this course.
Keep On Soldering!