Arduino Traffic Light Controller | 4-Way

Introduction: Arduino Traffic Light Controller | 4-Way

In this post, you are going to learn about how to make an Arduino traffic light controller. This traffic light controller will be used to control the flow of traffic. These can be applied at high traffic areas to avoid traffic blocks or accidents.

This project is done to give you an idea of how the traffic light controller works. This is not the real-time traffic light controller.
So at the start, the green light of signal 1 and red lights at other signals will light up to give time to the vehicles at signal 1 to pass. After 5 seconds, the yellow light at signal 1 will light up to give an indication that the red light at signal 1 is about to come up and also to give an indication to the vehicles at signal 2 that the green light is about to light up. So after 2 seconds, red light at signal 1 will come up and green light at signal will come up meaning vehicles at signal 1 must stop and vehicles at signal 2 can move. Similarly, the traffic light controller will work for signal 3, signal 4 and the system will keep looping.

Step 1: Components Required:

1. Arduino UNO

2. LEDs *12

3. Breadboard

4. Resistors *12(220 ohms)

Step 2: Circuit Diagram:

There is a total of 12 LEDs used in this project. Each signal has 3 LEDs (Red, Yellow and Green) connected to it through the 220-ohm resistors.

The resistors are used to limit the current that is going to pass through the LEDs. If you won’t use the resistors then the LEDs may burn due to excessive current.

Step 3: Code:

For credit, please follow my following accounts.

Thanks

For more interesting projects connect with me on:

Youtube:https://www.youtube.com/channel/UCTS10_CRYJhT-vb9...

Facebook page: https://www.facebook.com/techeor1/

Instagram: https://instagram.com/official_techeor?igshid=uc8...

Arduino Contest 2020

Participated in the
Arduino Contest 2020

2 People Made This Project!

Recommendations

  • Halloween Contest

    Halloween Contest
  • Organization Contest

    Organization Contest
  • Reclaimed Materials Contest

    Reclaimed Materials Contest

9 Comments

Hello from Spain, Madrid.
congratulation!! I will tell you something, for me this example, so simple but to the same time with all many leds its no so simple, need to ber order an patient. So look very cool to me.

Please do you mind to share with me your own code, to made a réplica, please. My email is pcpichu3 @gmail.com

God bless you.
pedro

0
khattaksk4
khattaksk4

Reply 1 year ago

Send me the code

0
Mudit5246
Mudit5246

Reply 1 year ago

Please share your email id 🙂

0
Papatangodeltaunion
Papatangodeltaunion

Reply 1 year ago

Arduino Traffic Light Controller | 4-Way

0
Mudit5246
Mudit5246

Reply 1 year ago

Thank you

0
dinkydudeja27
dinkydudeja27

1 year ago

Amazing!! I will try it😄

0
Mudit5246
Mudit5246

Reply 1 year ago

Thank you😊