LED Traffic Light Module Tutorial

Introduction: LED Traffic Light Module Tutorial

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.

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

    Recommendations

    • Puzzles Speed Challenge

      Puzzles Speed Challenge
    • "Can't Touch This" Family Contest

      "Can't Touch This" Family Contest
    • CNC Contest 2020

      CNC Contest 2020

    Discussions

    0
    BarDoc0927
    BarDoc0927

    Question 11 months ago on Step 3

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