3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

Arduino: Making a set of traffic lights

Step 7Wiring

Wiring
Now we are going to wire the Arduino to the breadboard, the wires all word in the order from top to bottom, and do not cross over so if the wrong lights come on at the wrong time patch the cables back in the right places...

Images below show how these should be wired.

Image 2 & 3: From the 5v line go to the resistor we placed coming out of the button.

Image 4 & 5: The green wire on the GND (ground) pin goes to the red rail which you connected the cathode of your LEDs to.

Image 6: The LEDs are wired in turn from pin 13 down to 8 starting at the top LED working your way down the bread board. This is why I said to have the board to the left as you can wire it as below...

13 o--------o ---/\/\/\/\/\--- ---O---|
12 o--------o ---/\/\/\/\/\--- ---O---|
11 o--------o ---/\/\/\/\/\--- ---O---|
10 o--------o ---/\/\/\/\/\--- ---O---|
09 o--------o ---/\/\/\/\/\--- ---O---|

Image 7: Wire the orange wires like before to the Piezo (pin 8), wait led (pin 7) and button (pin 6)

Note the position of pin 6 is critical other wise the traffic lights will constantly loop as if the button was held down.
« Previous StepDownload PDFView All StepsNext Step »
2 comments
Jan 11, 2009. 2:22 AMuberdum05 says:
I bought myself a freeduino off eBay, but in the software I don't know what board to set it to.Please help me =)

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
7
Followers
2
Author:unknowndomain