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

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

 

This helped
This didn't help
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
All articles loaded
No more articles to load
Featured Projects
Robotic-Arm-Bartender
DIY Robotic Arm Bartender

This project will show you how to make your own robotic arm bartender that will make you a star host!

All articles loaded
No more articles to load
Close Menu
×

Cart

No mo #FOMO on the coolest project-making app out there!

Check it out RIGHT NOW on Product Hunt!
Launch-Pop-Up
Dabble is trending on Product Hunt!
Check it out and let us know what your favorite feature is. 😉
x