arduino bluetooth led controller

Hi Guys! Today I talk about “Arduino Bluetooth” application which is provided by CircuitMagic. Recently application has been updated with some cool features. I will show and explain you what are those features and how you can use them.

Previous version of Arduino Bluetooth Android App

Previously, when the application had the only single feature to receive and send some value to Arduino Bluetooth module to ON/OFF the LED. Thousands of people downloaded the application and gave positive feedback as that feature was useful for those who just started or test their Bluetooth project. And also the application is very neat and clean.

New version of Application

Now, the application is updated with more different type of controls to send or receive values. Now you can set the sending value of each button according to whatever your Arduino code requires, Even you can change button label. In this article, I will show you some of the features of Arduino Bluetooth application and also share Arduino code and circuit diagram. Hope you like it!

Click here to download Android Application

 

Arduino Code of Bluetooth LED controller

 

char data = 0; //Variable for storing received data
void setup()
{
Serial.begin(9600); //Sets the baud for serial data transmission
pinMode(13, OUTPUT); //Sets digital pin 13 as output pin
}
void loop()
{
if(Serial.available() > 0) // Send data only when you receive data:
{
data = Serial.read(); //Read the incoming data & store into data
Serial.print(data); //Print Value inside data in Serial monitor
Serial.print("\n");
if(data == '1') // Checks whether value of data is equal to 1
digitalWrite(3, HIGH); //If value is 1 then LED turns ON
else if(data == '0') // Checks whether value of data is equal to 0
digitalWrite(3, LOW); //If value is 0 then LED turns OFF

if(data == '3')
digitalWrite(4, HIGH);
else if(data == '2')
digitalWrite(4, LOW);

if(data == '5')
digitalWrite(5, HIGH);
else if(data == '4')
digitalWrite(5, LOW);

if(data == '7')
digitalWrite(6, HIGH);
else if(data == '6')
digitalWrite(6, LOW);

if(data == '9')
digitalWrite(7, HIGH);
else if(data == '8')
digitalWrite(7, LOW);

if(data == 'a')
digitalWrite(8, HIGH);
else if(data == 'b')
digitalWrite(8, LOW);

if(data == 'c')
digitalWrite(9, HIGH);
else if(data == 'd')
digitalWrite(9, LOW);

if(data == 'e')
digitalWrite(10, HIGH);
else if(data == 'f')
digitalWrite(10, LOW);

if(data == 'g')
digitalWrite(11, HIGH);
else if(data == 'h')
digitalWrite(11, LOW);

if(data == 'i')
digitalWrite(12, HIGH);
else if(data == 'j')
digitalWrite(12, LOW);

if(data == 'k')
digitalWrite(13, HIGH);
else if(data == 'l')
digitalWrite(13, LOW);
}
}
4 Comments
  1. Benito 7 years ago

    Hello:
    very interesting application, but can you send me the apk source code?.
    Thank you. A greeting. Benito

  2. mahmud 7 years ago

    hi what is colore in serch??????????

  3. mahmud 7 years ago

    hi what is color in search????????

  4. banwari 7 years ago

    please sent me circuit daigram

Leave a reply

Your email address will not be published. Required fields are marked *

*

or

Log in with your credentials

Forgot your details?