LED Traffic Light Module Tutorial

by mybotic in Circuits > Electronics

11215 Views, 3 Favorites, 0 Comments

LED Traffic Light Module Tutorial

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:

  1. Small size.
  2. Simple wiring.
  3. Targeted.
  4. Custom installation.

Items Preparation

6ed8f81c60a6e6d9434a389b37ac69751544693042-lg.jpg
3414ac7f52913f7a89e6ce65e4bd8c1f1480387299-lg.jpg
d578339debbebef4c30d074fbdc890f91478078105-lg.jpg
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

Follow the connection as shown above.

Sample Code

Download this sample source code and compile it in your Arduino IDE.

Downloads

Uploading

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
LED traffic light module by using arduino UNO