Project showcase
Arduino Controlled Traffic Lights for Kids Without Delay()

Arduino Controlled Traffic Lights for Kids Without Delay() © GPL3+

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

  • 6,494 views
  • 8 comments
  • 41 respects

Components and supplies

Necessary tools and machines

09507 01
Soldering iron (generic)
Hy gluegun
Hot glue gun (generic)
4550736
Plier, Long Nose

About this project

Arduino Traffic Light Controller for Kids Toys

Our kids love playing cars and trains, so we decided to make them a cool set of traffic lights out of cardboard and Arduino. We think these traffic lights are pretty awesome because of a few reasons:

  • We didn't use the 'delay()' function as a timer.
  • We included a dial to change the green light time.
  • Compact design running on 6AA batteries.
  • Made from recycled materials.
  • Very low cost to make.

Overview of this Arduino Project

In our detailed post, we go into depth about how we made the traffic light controller, and explain our unique code and why we don't use the delay function. You can also download our Arduino Sketch so you can make your own traffic lights at home.

Full in Depth Guide & Tutorial for Making Traffic Lights >>

Layout of Our Arduino Traffic Lights

Here is the breadboard layout for this project. It really is quite simple. The only thing we didn't include was the on/off switch. (Sorry!) It is just an inline switch on the positive side of the battery.

Code

4 Way Traffic Lights Without delay()
The code for the correct way to code traffic lights.

Schematics

Fritzing Layout of Traffic Lights
Take a look at this image as a guide to the Traffic Lights wiring.
445 breadboard layout fritzing for adjustable traffic lights original svycn175gj

Comments

Similar projects you might like

Traffic Lights Controlled by Arduino

Project showcase by lmsousa

  • 7,336 views
  • 2 comments
  • 21 respects

Traffic Control with Walabot

Project tutorial by Balázs Simon

  • 2,192 views
  • 0 comments
  • 8 respects

Renewing the Nikko Turbo 2 RC Car

Project tutorial by MarcoGPS

  • 3,127 views
  • 2 comments
  • 10 respects

A Microwave Interface for the IKEA Duktig Kids Kitchen

Project showcase by Myles Eftos

  • 6,116 views
  • 20 comments
  • 20 respects

Arduino Controlled Artificial Candle Lights

Project tutorial by Mattias Larsson

  • 20,724 views
  • 14 comments
  • 45 respects

Arduino Train for Kids 2

Project showcase by Steve Massikker

  • 13,778 views
  • 7 comments
  • 49 respects
Add projectSign up / Login