LED Traffic Light Module Tutorial
by mybotic in Circuits > Electronics
11822 Views, 3 Favorites, 0 Comments
LED Traffic Light Module Tutorial
![6ed8f81c60a6e6d9434a389b37ac69751544693042-lg.jpg](/proxy/?url=https://content.instructables.com/FBM/3I9M/JQWSVREH/FBM3I9MJQWSVREH.jpg&filename=6ed8f81c60a6e6d9434a389b37ac69751544693042-lg.jpg)
Description:
This is a mini-traffic light display module, high brightness, very suitable for the production of traffic light system model. It is featured with its small size, simple wiring, targeted, and custom installation. It can be connected PWM to control the brightness of the LED.
Features:
- Small size.
- Simple wiring.
- Targeted.
- Custom installation.
Items Preparation
![6ed8f81c60a6e6d9434a389b37ac69751544693042-lg.jpg](/proxy/?url=https://content.instructables.com/FHM/1P44/JQWSVRET/FHM1P44JQWSVRET.jpg&filename=6ed8f81c60a6e6d9434a389b37ac69751544693042-lg.jpg)
![3414ac7f52913f7a89e6ce65e4bd8c1f1480387299-lg.jpg](/proxy/?url=https://content.instructables.com/FBV/2K24/JQWSVREV/FBV2K24JQWSVREV.jpg&filename=3414ac7f52913f7a89e6ce65e4bd8c1f1480387299-lg.jpg)
![d578339debbebef4c30d074fbdc890f91478078105-lg.jpg](/proxy/?url=https://content.instructables.com/FXJ/XCV7/JQWSVREW/FXJXCV7JQWSVREW.jpg&filename=d578339debbebef4c30d074fbdc890f91478078105-lg.jpg)
![58cc092a2d533a11c734618df28ea0dd1533800094-lg.jpg](/proxy/?url=https://content.instructables.com/FSB/G9ZY/JQWSVRFY/FSBG9ZYJQWSVRFY.jpg&filename=58cc092a2d533a11c734618df28ea0dd1533800094-lg.jpg)
Before you are getting started, prepare all the item needed:
- Arduino UNO
- LED traffic light module
- Jumper wires
- Breadboard
Connection Setup
![traffic combo.png](/proxy/?url=https://content.instructables.com/FLD/3F5T/JQMOF0TM/FLD3F5TJQMOF0TM.png&filename=traffic combo.png)
Follow the connection as shown above.
Sample Code
Download this sample source code and compile it in your Arduino IDE.
Downloads
Uploading
![yare.PNG](/proxy/?url=https://content.instructables.com/F87/8JE9/JQWSWBWB/F878JE9JQWSWBWB.png&filename=yare.PNG)
After open the code in Arduino IDE, go to the [Tools] --> [Boards Manager] --> select [Arduino/Genuino UNO] as we using Arduino UNO in this tutorial.
Then connecting the Arduino UNO to PC, after that select the correct port (go to [Tools] --> [Port] --> Select correct port for Arduino UNO).
Next, compile and upload the code into your Arduino UNO.
All Done!
![20190109_145017[1].jpg](/proxy/?url=https://content.instructables.com/F6W/QWN0/JQMOF2EA/F6WQWN0JQMOF2EA.jpg&filename=20190109_145017[1].jpg)
![LED traffic light module by using arduino UNO](/proxy/?url=https://content.instructables.com/F75/BA6Z/JQWSWN8U/F75BA6ZJQWSWN8U.jpg&filename=LED traffic light module by using arduino UNO)