LED Traffic Light Module Tutorial

Introduction: LED Traffic Light Module Tutorial


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.


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

Step 1: Items Preparation

Before you are getting started, prepare all the item needed:

  • Arduino UNO
  • LED traffic light module
  • Jumper wires
  • Breadboard

Step 2: Connection Setup

Follow the connection as shown above.

Step 3: Sample Code

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

Step 4: Uploading

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.

Step 5: All Done!

Be the First to Share


    • Puzzles Challenge

      Puzzles Challenge
    • Lamps Challenge

      Lamps Challenge
    • Rice & Grains Challenge

      Rice & Grains Challenge



    Question 3 years ago on Step 3

    In the sample source code, what is the meaning of “gulStart_Timer = millis()” and where is millis() defined?