loading
Build a simple Arduino powered Traffic Light with us! This instructable is meant to walk you through almost every step, but there are a few assumptions. Read over the intro and the first step to make sure you are fully prepared! This is the breadboard version, a more realistic traffic light will be generated soon. Please leave comments - tell us if things are confusing!

Supplies Needed:
1 x Computer with Internet Access
1 x Arduino Uno
1 x USB A/B Cable for connecting the Arduino to your PC
1 x Breadboard (Half-Size, with Voltage Rails)
1 x Red LED
1 x Yellow LED
1 x Green LED
3 x 100 Ohm Resistors (Brown Black Brown)
4 x Breadboard Wires (22 AWG, approx. 6+ inches in length)

Other Helpful Things:
 - Good lighting
 - A clean workspace
 - An hour of your time
 - Someone awesome to work with

Missing Something?
 - Check out hackerspaces.org for a local place for tools, supplies, etc.
 - Near Ann Arbor, MI? We have all the supplies needed to do this instructable at our hackerspace "All Hands Active" 
 - Radioshack, AdaFruit, SparkFun, Jameco, are just a few resources that will have all the needed items.

You wanted a smarter traffic light?
 - That's our next instructable, stay tuned!

Step 1: Set Up the Arduino Environment

This instructable makes many assumptions! Some people like to call these "prerequisites". In order to make sure you get the most out of this instructable, you should have:
 - The Arduino Software downloaded and installed on your computer.
 - Plugged in and tested your Arduino by following the installation guide appropriate for your computer.
 - Approximately one hour of time to spare, and a nice clean workspace with plenty of lighting.

Mission Complete? Continue on!

Image Source:  The Getting Started w/Arduino Guide
<p>It doesnt work, when uploading, it gives me :</p><p>______________________________________________________________</p><p>Error compiling board for Arduino / Genuino UNO.</p><p>Exit status 1.</p><p>_______________________________________________________________</p><p>????</p>
<p>is there a typo in your code? should it not be </p><p>digitalWrite(GREEN, HIGH);</p>
<p>I almost taught I'm the only one who noticed that mistake in the code at 4th step :)</p>
When i upload programming to arduino it gives error message.Arduino: 1.5.7 (Windows 7), Board: &quot;Arduino Uno&quot; <br> <br>Sketch uses 1,144 bytes (3%) of program storage space. Maximum is 32,256 bytes. <br> <br>Global variables use 15 bytes (0%) of dynamic memory, leaving 2,033 bytes for local variables. Maximum is 2,048 bytes. <br> <br>avrdude: stk500_recv(): programmer is not responding <br>avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x01 <br>avrdude: stk500_recv(): programmer is not responding <br>avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x01 <br>avrdude: stk500_recv(): programmer is not responding <br>avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x01 <br>avrdude: stk500_recv(): programmer is not responding <br>avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x01 <br>avrdude: stk500_recv(): programmer is not responding <br>avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x01 <br>avrdude: stk500_recv(): programmer is not responding <br>avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x01 <br>avrdude: stk500_recv(): programmer is not responding <br>avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x01 <br>avrdude: stk500_recv(): programmer is not responding <br>avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x01 <br>avrdude: stk500_recv(): programmer is not responding <br>avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x01 <br>avrdude: stk500_recv(): programmer is not responding <br>avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x01 <br> <br> This report would have more information with <br> &quot;Show verbose output during compilation&quot; <br> enabled in File &gt; Preferences.
<p>Nice one, very easy and very educative !</p>
<p>Your code isn&acute;t working on my breadboard. All connections, ports, pins we&acute;re double-checked. Could anything be out of place?</p>
<p>Very nicely done tutorial , thanks for sharing ! </p><p>Build_it_Bob</p>

About This Instructable

86,978views

51favorites

License:

Bio: Dream It! Build It! Teach It! AHA is a community workspace with shared tools and knowledge for Coders to Crafters to Makers to Hackers. We ... More »
More by allhandsactive:Arduino Street Traffic Light - Breadboard Edition Basic Human Scan with Kinect & ReconstructMe Console DIY Heart Box! 
Add instructable to: