Arduino Traffic Light

by eyalasulin11 in Circuits > Arduino

2309 Views, 11 Favorites, 0 Comments

Arduino Traffic Light

20150711_180924.jpg
In this project I'm make a Traffic Light.

in the project we use leds, resistors and more...

this project for beginner.

What Need to Start

20150711_174151.jpg

To start need:

1. 3 Leds (Red, Yellow, Green)

2. 3 Resistor (220-300 ohm)

3. Jumper wires

4. breadboard

5.Arduino UNO

Connections

Arduino Traffic Light- fritzing.png
20150711_175400.jpg

Red led - 13

Yellow led - 12

Green led - 11

Code

Actions:

red on 5 seconds

red and yellow on 2 seconds

red and yellow off, green on 5 seconds

green blink 3 times

green off, yellow on 2 seconds

yellow off

(< in loop>)

Downloads

Finished

Arduino Traffic  Light

now this workink!