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!
stemmayhem
Published © GPL3+

Arduino Controlled Traffic Lights for Kids Without Delay()

The correct way to make traffic lights for a 4-way intersection.

BeginnerShowcase (no instructions)20,508
Arduino Controlled Traffic Lights for Kids Without Delay()

Things used in this project

Hardware components

Arduino Nano R3
Arduino Nano R3
×1
5 mm LED: Red
5 mm LED: Red
×4
5 mm LED: Yellow
5 mm LED: Yellow
Orange Preferred
×4
5 mm LED: Green
5 mm LED: Green
×4
Rotary potentiometer (generic)
Rotary potentiometer (generic)
×1
Slide Switch
Slide Switch
×1
Resistor 100 ohm
Resistor 100 ohm
×6

Hand tools and fabrication machines

Soldering iron (generic)
Soldering iron (generic)
Hot glue gun (generic)
Hot glue gun (generic)
Plier, Long Nose
Plier, Long Nose

Story

Read more

Schematics

Fritzing Layout of Traffic Lights

Take a look at this image as a guide to the Traffic Lights wiring.

Code

4 Way Traffic Lights Without delay()

The code for the correct way to code traffic lights.

Credits

stemmayhem
2 projects • 12 followers
I am a stay at home dad of 2 boys. We love STEM education, and here is where you will find our electronics and tech projects.

Comments