Traffic Lights Beginner Arduino Project




This is a beginners project for the Arduino. I am using the Arduino Uno but should work with little or no modification on other arduino models.

Setting up the hardware is very easy. This project is more of a training tool for learning how to program a timer list while listening for a button press.
Arduino Traffic Lights




Parts you will need.
– Arduino
– Solder-less Breadboard
– 10 LEDs
— 2 Red
— 2 Yellow
— 2 Green
— 2 Small Red
— 2 Small Green
– 2 1Kohm Resistors
– 2 Momentary Switches (normally open)
– Jumper Wires

Step 1: The Circuit

Schematic Arduino Traffic Lights

Step 2: Setup LEDs

Setup the lights on the breadboard like a traffic light. Red on top, then yellow, and then green. The small red and green are the pedestrian crossing signals. Again red on top and green just below.

In my images I am using the right side positive run of the breadboard as negative because its easier to put in the LED.

Put the cathode (-) into the negative run of the breadboard and the anode (+) into a hole next to it.

Step 3: Buttons

Put the buttons in so you have at least 2 pin holes space to add the wires and resistors. Place the 1kohm resistor between one side of the button and the negative run on the breadboard.

Step 4: Wire up LEDs

There are a lot of wire in this project so try to keep it neat so you know where everything is going.

Start by linking the two power rails of the breadboard and giving the breadboard power from the arduino.

An easy way to wire the lights is to just start from the top and work your way down.

Wire guide:
LED / Pin

Side A
Red = 4
Yellow = 3
Green = 2
Small Red = 7
Small Green = 6

Side B
Red = 10
Yellow = 9
Green = 8
Small Red = 13
Small Green = 12

Major Components in Project

– Arduino
– Solder-less Breadboard
– 10 LEDs

 

For more detail: Traffic Lights Beginner Arduino Project




This Post / Project can also be found using search terms:

  • Arduino Beginner Projects
  • arduino based four way traffic light with pedestrian crossing selector
  • www lm 3914 ic
Clip to Evernote

Leave a Comment

(Spamcheck Enabled)

Read previous post:
Temperature + Humidity
Arduino + Temperature + Humidity

A simple temperature sensor using one LM35 Precision Temperature Sensor , Humidity Sensor and Arduino, so you can hookup on...

Close
Scroll to top