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. The 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
Arduino Uno Board x 1
7 color flash module KY-034 x 1
Breadboard x 1
Step 2: Circuit Time
Make the circuit as per the 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 the 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 an 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.
Learn more information about uploading code to Arduino Uno.