Interfacing RGB LED module with evive

About This Tutorial
In this tutorial we will interface KY-009 RGB module with evive and we will produce red ,green and blue color using single led
Tutorial Info

Components Required

ImageComponentQuantityAvailable in Kit
USB A-B Cable1
Male to Female Jumper Cable 20cm1


The KY-009 “RGB” module is a  handy little component that allow three color ( Red ,Green and Blue) in a single Led while having only 4 pins

  • Comman cathode pin 
  • Anode for Red LED
  • Anode for Blue LED
  • Anode for Green LED

The KY-009  “RGB” module  emits ‘Red’ , ‘Green’ and ‘Blue’ color but by applying different voltages on anode pins of each led we can produce different combinations of colors but in this tutorial we will only produce “Red” “Green” and “Blue” colors only



Circuit diagram


  • Connect comman cathode pin of KY-009 module to ‘GND’ pin of evive
  • Connect anode of Red LED to pin number 11 of evive
  • Connect anode of Green LED to pin number 10 of evive
  • Connect anode of Blue LED to pin number 9 of evive

Arduino code

In this code we have used three different for loops, each for loop will produce one color out of ‘Red’ , ‘Green’ and ‘Blue’ color and it will increase the intensity of light after each 100 ms

Expected result


Share this Tutorial
Share on facebook
Share on twitter
Share on google
Share on pinterest
Share on reddit
Share on print
Related Projects & Tutorials
ldr circuit
How to interface LDR sensor with evive ?
The tutorial will shows how to interface ldr sensor with evive and controlling the led state using the sensor.How does ldr sensor works? How to control lights using ldr sensor? All the answers are given in this tutorial.Let's begin...
All articles loaded
No more articles to load
Featured Projects
DIY Mini Safe Locker Using Servo
DIY Mini Safe Locker Using Servo

Make your own DIY mini-safe locker using components from the evive Starter Kit and control it using evive’s slide switch!

All articles loaded
No more articles to load

Leave a Reply

Close Menu