Monday, November 30, 2015

Model of Arduino UNO Controlled Traffic Lights

For this project, first of all, I bought the Arduino UNO from www.robomart.com. Only a few days ago , and I am completely new to this , and was bored , so I think I would try a programming my hand and wanted a set of traffic lights. So I wrote this blog.

Required Components:

  • Arduino UNO
  • Bread board.
  • Jumpers (4 or 6)
  • 200ohm resistors (4 or 6)
  • 2 green LED's
  • 1 Red
  • 2 Yellow

Implemented Hardware:

So making the hardware necessary for this is very easy. Follow the following points:
  1. Take your bread board
  2. Put the red LED on the far left with Cathode in the negative rail of the board
  3. Skip 3 rows
  4. Put Yellow led in with cathode in negative rail
  5. Skip 3 rows
  6. Put green led in with cathode in negative rail
  7. Skip 3 rows
  8. Put the other green in with cathode in negative rail
  9. Skip 3 rows
  10. Put the final yellow led in with cathode in negative rail

Assembling:

Now, connect the jumpers.
Put one from each of the resistors and one from the negative rail to the Arduino UNO.
Negative rail = GND pin on Arduino UNO
Red LED = pin 12
1st yellow LED = pin 10
1st green LED = pin 8
2nd green LED = pin 6
2nd yellow LED = pin 5
Once, it’s done. It should look like this.

Final Results:

Now, for the programming (how can we programmed an Arduino), see my old posts. These will be definitely helping you. If any you have faced any problem at the time of coding, please post your question here. All done and it should be working, just upload it to your Arduino, and your set!
Feel free to post your suggestions, bugs & comment here.

No comments:

Post a Comment