Android Slider to Control Arduino RGB LED

22,381

26

9

About: I make hobbyist stuffs and play with electronics follow me to know more https://www.facebook.com/arduinolabviewsolidworks https://twitter.com/learnrobotix

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

    • Frozen Treats Challenge

      Frozen Treats Challenge
    • Sensors Contest

      Sensors Contest
    • 1 Hour Challenge

      1 Hour Challenge

    9 Discussions

    0
    None
    흥표윤

    Question 3 months ago on Step 3

    rgbslider aia file required

    0
    None
    AbdullahZ13

    2 years ago

    Can i upload this arduino code on ARDUINO DUE?

    0
    None
    akshay.d21

    3 years ago

    Hi Magesh,

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

    2 replies
    0
    None
    tomed3210

    3 years ago

    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.

    0
    None
    Trianp

    3 years ago on Introduction

    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 ?

    0
    None
    bikec

    3 years ago on Introduction

    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?

    1 reply
    0
    None
    Magesh Jayakumarbikec

    Reply 3 years ago on Introduction

    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