Introduction: Android Slider to Control Arduino RGB LED

Picture of Android Slider to Control Arduino RGB LED

This is really a fun project instead of controlling the RGB led from the potentiometer you can control it from android app, android app for this project was created using MIT app inventor, where you can move each slider that has assigned to the RGB values.

Mixed color can be viewed in the android app, the same color can be displayed in the RGB LED too.

Step 1: Components Need for This Project

1) Arduino uno

2) RGB LED

3) Bluetooth Module

4) connecting Wires

5) Breadboard

Step 2: Circuit Diagram

Picture of Circuit Diagram

Make sure which RGB LED you are going to use for this project.

If the RGB led is a common cathode type then you have to connect the cathode pin to grond

if the RGB led is a common anode type then you have to connect the anode pin to power supply

Note: Refer to the circuit connection, Make sure you add 1k ohm resistor between your arduino to RGB LED

Step 3: Android and Arduino Program

Picture of Android and Arduino Program

Download the Android program from this link: https://www.dropbox.com/s/exdm6vnwmon3hmz/rgbslide...

Download the arduino program from this link: https://www.dropbox.com/s/1lgk9uohetwekks/RGBcolor...

For more information and detailed arduino and Android block program please refer to this link below:

http://mitappsinventor.blogspot.in/2015/05/rgb-sli...

Comments

AbdullahZ13 (author)2016-12-12

Can i upload this arduino code on ARDUINO DUE?

akshay.d21 (author)2016-03-27

Hi Magesh,

Will this work with a standard RGB led and *BLUETOOTH HC-05* ???

yeah any rgb led and bluetooth is fine to work with this project

Thanks ! :)

tomed3210 (author)2016-01-27

I followed your tutorial and the led does not light up, when I move the sliders. I tested the LED in another sketch and they flashed red, blue, green colors. Anh help is appreciated.

Trianp (author)2015-08-24

Hello, great work, I am having a problem, i am trying to do with with a led strip with common anode , but it's not working any idea why ?

bikec (author)2015-06-29

hi, i have tried this but my work reverse as yours, when i tried to set red color on max, my go to minimum,why?

Magesh Jayakumar (author)bikec2015-08-02

sorry for the late reply, its because the type of LED you are using, I used common anode LED, If you use common cathode you need to change the code

About This Instructable

17,609views

26favorites

License:

Bio: I make hobbyist stuffs and play with electronics follow me to know more https://www.facebook.com/arduinolabviewsolidworks https://twitter.com/learnrobotix
More by Magesh Jayakumar:Quick Start to Nodemcu (ESP8266) on Arduino IDECourse on MIT App Inventor and ArduinoHat for the Party
Add instructable to: