Learn Interfacing 7 color LED Flash module KY-034 in Arduino. RGB LED 7 color flash module generates 7 different colors automatically in sequence. 7 color flash module has pink, yellow, and green high brightness lights. Flash module generates light of high brightness. For this, we will be using Arduino UNO and KY 034 7 color flash module. So, let’s start.
Step 1: Required Components
7 color flash module KY-034 x 1
Breadboard x 1
Arduino UNO Board x 1
Step 2: Circuit Time
Make circuit as per below-given instructions. 7 color flash module has 3 pins, VCC, Ground and 3rd pin is not connected. There are two ways to power on 7 color flash module. You can connect VCC directly to +5v of Arduino or Connect VCC to any of the available digital pins. Connecting to digital pins gives freedom to use the module when required in the program. For this, connect VCC to digital pin 11.
Step 3: Code Time
This is code for interfacing 7 color LED Flash module KY-034 in Arduino. Firstly, in setup, declare pin 11 for LED and set it in output mode. In the loop, set LED pin to HIGH for 2000 millisecond and LOW for 2000 millisecond. also, 7 different lights are simultaneously flashed.
Step 4: Upload the code to Arduino
Upload the above-given code to the Arduino UNO Board and set components as per the Circuit Diagram. Now you can see 7 light of different colors are flashing.
For information about uploading code to Arduino UNO Click Here