How to Make a LED Traffic Light With Arduino

by timothyong16 in Circuits > Arduino

203 Views, 0 Favorites, 0 Comments

How to Make a LED Traffic Light With Arduino

IMG_7211.jpg
IMG_7213.jpg

This instructable is based on https://www.instructables.com/Arduino-Traffic-Ligh...

The parts that you will need is:

1. two green LEDs

2. two yellow LEDs

3. two red LEDs

4 .six 220 Ohm resistor

5. 8 connection wires (jumper wires)

Connecting the Wires

F4FWVGDJ9SVF69P.png

Just follow the following picture, and you won't go wrong

Which is the

Red left LED to D11 Red right LED to D8

Yellow left LED to D10 Yellow right LED to D7

Green left LED to D9 Green right LED to D6

The shorter end of the LED connects to the resistor. The resistor will be connected to the negative end of the breadboard.

Uploading Codes

Done! Enjoy