Android Slider to Control Arduino RGB LED

18,419

26

8

Posted

Introduction: 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

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

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...

Share

Recommendations

  • Epilog Challenge 9

    Epilog Challenge 9
  • First Time Author Contest 2018

    First Time Author Contest 2018
  • Sew Warm Contest 2018

    Sew Warm Contest 2018
user

We have a be nice policy.
Please be positive and constructive.

Tips

Questions

8 Comments

Can i upload this arduino code on ARDUINO DUE?

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

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.

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 ?

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?

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