Multiple-led-lights:traffic Lights
by JudyChen in Circuits > Arduino
313 Views, 0 Favorites, 0 Comments
Multiple-led-lights:traffic Lights
It is a traffic light simulator.
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:
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.
Working
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.