loading
READY

STEADY

GO GO GO

Step 1: TRAFFIC LIGHTS

Traffic lights are very important for roads as they control the flow of traffic.Making one of these is very easy and we r going to do it!!

Step 2: COLLECTING MATERIAL

Materials needed --:

a) Arduino Uno

b) Bredboard

c) 3 Red Led's

d) 3 Yellow Led's

e) 3 Green Led's

f) 7 Jumper wires

g) a 9 volt battery

h) Arduino programming software

Step 3: LED'S

First connect the red led's with the bredboard in a series.

Then connect the yellow led's in a series.

After that the greens.

Step 4: ARDUINO PORTS

The red led's are to be connected to port no.3,the yellows to be connected to port no.4 and the greens to be connected to port no. 5. the negative leads of all led's to be taken common and connected to the nearest ground or Gnd ports.

Step 5: Programing

The program fr the following is uploaded and you can download it from clicking the link given below.

Step 6: Photos and Videos

<p>Thank you for the instructable. Another thing you want to be careful of is that when connecting LEDs directly to the pins of the arduino, especially with out resistors, (except pin 13) you will possibly burn our the arduino because it is rated only to put out a certain amount of current. The circuit works but can damage the board. </p>
Thank you for your concern sir,<br>As I have already told that I am biggner in arduino and I still have to learn some basics ,I will take this seriously and next time use resisters.
<p>In the code it looks like the green led just blinks on and off every half of a second until the red led comes back on. Why is this?</p>
That 'arpind' is a spelling mistake. It is 'around'.
The code i designed took arpind 5 days. <br>I am a bignner in arduino and i designed the code very carefully as per my skills. <br>This answer will also be answered in the video which i will post today.
<p>This could use a lot more photos and some more specific steps. Keep going with it. </p>
<p>i actually made it today and the photos and the video will be uploaded tommorow </p>

About This Instructable

1,690views

15favorites

More by apaar dua:Arduino powered traffic light Home security alarm Mini emergency electricity backup 
Add instructable to: