Multiple-led-lights:traffic Lights

Introduction: Multiple-led-lights:traffic Lights

It is a traffic light simulator.

Step 1: Program the Arduino

The following link is the website for the program:

https://create.arduino.cc/editor/judy1104chen/3c79...

I make the light delay longer, it is because if it blinks too fast, the car will not be able to cross the road.

original link:

http://media.nbcmontana.com/Multiple-Blinking-L...

Step 2: Connecting the LEDs

You need 7 wires and 3 LEDs.

First, plug a wire from 13 on the Arduino to the top row on the breadboard. Next, plug a wire from 12 on the Arduino to the top row on the breadboard. Then plug a wire from 11 on the Arduino to the top row on the breadboard. Connect a wire going from the negative rail to the right of the other wires on the breadboard. Lastly, put the longer leg of the Led (+) under the wire that goes to the Arduino. The shorter leg of the LED goes under the port that connects to the negative rail.

Step 3: Working

Step 4: Make It Look Like a Traffic Light

I use a bag to cover the breadboard. Then, cut 3 holes to let the light more shining.

Be the First to Share

    Recommendations

    • Rice & Grains Challenge

      Rice & Grains Challenge
    • CNC and 3D Printing Contest

      CNC and 3D Printing Contest
    • Lamps Challenge

      Lamps Challenge

    Comments