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
evive1
USB A-B Cable1
Male to Female Jumper Cable 20cm1

Introduction 

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
Facebook
Share on twitter
Twitter
Share on google
Google+
Share on pinterest
Pinterest
Share on reddit
Reddit
Share on print
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
All articles loaded
No more articles to load

Leave a Reply

Close Menu
×

Cart

Registrations for Codeavour 2019 are OPEN!
Participate in this unique coding contest and stand a chance to win exciting prizes!
x