Arduino/Android - BLUETOOTH RGB LED CONTROL ANDROID APP

Introduction: Arduino/Android - BLUETOOTH RGB LED CONTROL ANDROID APP

About: Hello world! I make simple & Advanced projects for people who want to learn programming and electronics. Most of my Instructables are about arduino and the wide range of sensors you can use with it. I make…

Hello world! Today i made a app to control a RGB Led module with a Android Device. Contact me for the Open source code of the APP.

NOTE: If you bought a Common Anode LED connect it to 5v

I used a Common Cathode Led which needs to be connected to GND. The KY-019 Module from keyes.

Follow the next step for the Schematic, Code, parts list & APP

Download the APP on google play! Ask me for the Open Source Code! Contact@arduinosensors.nl


Simple Instructions to change the APPs RGB Pallette.

When clicking the IMAGEbutton the RGB rgb pallette will change to a Square instead of a circle.

When holding the IMAGE button the RGB rgb pallette will change back to a circle.

Step 1: Schematic, Code, Parts List & App.

Just wire it up like the Schematic Upload the code and it should work!

Parts list.

  1. Arduino uno, I used the RobotDyn uno.
  2. HC-06 Bluetooth module
  3. KY-016 Or any RGB Led
  4. Jumper wire set MM/FF/MF.
  5. Android app & Phone.

Good luck!

To find out how to rename the HC-06 Module and HC-05 Go to my other Instructable here

1 Person Made This Project!

Recommendations

  • Toys & Games Contest

    Toys & Games Contest
  • Explore Science Challenge

    Explore Science Challenge
  • Barbecue Speed Challenge

    Barbecue Speed Challenge

8 Comments

0
ThePureblood
ThePureblood

1 year ago

One of the greatest.
Especially your software is far better than any other apps in the store.

Maybe you can upgrade that to allow RGB code enterence with numbers.

0
MangleshS
MangleshS

3 years ago

plz explain the arduino code

0
19AP98
19AP98

Reply 2 years ago

it just split data from bluetooth, i try to solve this for a day. Anyway sorry for my bad english, from my result:
1. RGB get the data if ended with +
2. Value inside RGB it's splitting by knowing when the value of red,green and blue stop by using RGB.indexOf('-') that means the storage of value is 0-50-100-+ each value separate with - (actually the script was change because my app using separator -)
3. After the variables SP1.. get the number of seperator located, using RGB.substring(0, SP1) to begin separating. String.substring(start_value,end_value) that's why the start value always increment (to make didn't read thw wrong value)
4. Well the variable R,G & B get value convert to integer

0
cristorres10
cristorres10

2 years ago

amigo me regalas el codigo


0
coretanblogger
coretanblogger

3 years ago

how to save the result data to eeprom? so that when arduino power replug the previous color is still same

0
BellaL11
BellaL11

4 years ago

can you share the android app code with me plz

0
ARDV
ARDV

5 years ago

i hope that you explain how the code (both arduino + apk) is working.