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.
- Small size.
- Simple wiring.
- Custom installation.
Step 1: Items Preparation
Before you are getting started, prepare all the item needed:
- Arduino UNO
- LED traffic light module
- Jumper wires
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.