BlueUino – Android Bluetooth Remote for Arduino

cover

Blueuino is App which Controls Arduino using HC-05 and other Bluetooth Module with this you can control Arduino over voice commands as well as Buttons.

Blueuino connects with any Bluetooth device because it searches for devices first Pairs with it and then saves it as default device to be used next time and you can change it afterword too. After connection you can control 10 Pins in free version and Unlimited Pin in Pro Version(About BlueUino Pro you will find in This App ) on arduino module on Voice and Buttons

Introducing Momentary mode, Buttons can be used in Momentary mode by Long pressing them.

Blueuino is Highly customizable Application For Android and you can change command values to send to arduino as per your requirement, you can change Device Labels to represent Buttons, you can change Voice commands, as well as you can set UUID as well.

Step 1: Requirement

Requirement:

1. Arduino Uno/Mega/Mini/Nano

http://www.amazon.in/gp/product/B008GRTSV6/ref=as_…

2. Bluetooth HC-05

http://www.amazon.in/gp/product/B00R95Y0AK/ref=as_…

3. Channel Relay

http://www.amazon.in/gp/product/B00YY0SYFU/ref=as_…

4. BlueUino App

https://play.google.com/store/apps/details?id=com.himansh.bluetoothArduino

Step 2: Connections

Bluetooth-HC-05-Adruin-connections

Connection as Shown in Image:

Arduino Pin ==> HC-05

Pin-RX (0) Pin ==> TX

Pin- TX (1) Pin ==> RX

GND ==> GND

VCC ==> VCC

Step 3: Coding and Stuff

//Note:- Use only non 0(Zero) Integers as Code <br>
#define Relay1  13
#define Relay2  12
#define Relay3  11
#define Relay4  10
#define Relay5  9
#define Relay6  8
#define Relay7  7
#define Relay8  6

void setup()
{
  Serial.begin(9600);

  digitalWrite(Relay1, LOW);
  digitalWrite(Relay2, LOW);
  digitalWrite(Relay3, LOW);
  digitalWrite(Relay4, LOW);
  digitalWrite(Relay5, LOW);
  digitalWrite(Relay6, LOW);
  digitalWrite(Relay7, LOW);
  digitalWrite(Relay8, LOW);
 
  pinMode(Relay1, OUTPUT);
  pinMode(Relay2, OUTPUT);
  pinMode(Relay3, OUTPUT);
  pinMode(Relay4, OUTPUT);
  pinMode(Relay5, OUTPUT);
  pinMode(Relay6, OUTPUT);
  pinMode(Relay7, OUTPUT);
  pinMode(Relay8, OUTPUT);
 
  Serial.println("Ready!");

}

void loop()
{

  int incomingByte = 0;

  if (Serial.available() > 0) {

     incomingByte = Serial.parseInt();
    //Serial.println(incomingByte); 

    if (incomingByte == 2) {
      digitalWrite(Relay1, HIGH);
      Serial.println("Device 1 ON.");
    }
    if (incomingByte == 1) {
      digitalWrite(Relay1, LOW);
      Serial.println("Device 1 OFF.");
    }
    if (incomingByte == 4) {
      digitalWrite(Relay2, HIGH);
      Serial.println("Device 2 ON.");
    }
    if (incomingByte == 3) {
      digitalWrite(Relay2, LOW);
      Serial.println("Device 2 OFF.");
    }
    if (incomingByte == 6) {
      digitalWrite(Relay3, HIGH);
      Serial.println("Device 3 ON.");
    }
    if (incomingByte == 5) {
      digitalWrite(Relay3, LOW);
      Serial.println("Device 3 OFF.");
    }
    if (incomingByte == 8) {
      digitalWrite(Relay4, HIGH);
      Serial.println("Device 4 ON.");
    }
    if (incomingByte == 7) {
      digitalWrite(Relay4, LOW);
      Serial.println("Device 4 OFF.");
    }
    if (incomingByte == 10) {
      digitalWrite(Relay5, HIGH);
      Serial.println("Device 5 ON.");
    }
    if (incomingByte == 9) {
      digitalWrite(Relay5, LOW);
      Serial.println("Device 5 OFF.");
    }
    if (incomingByte == 12) {
      digitalWrite(Relay6, HIGH);
      Serial.println("Device 6 ON.");
    }
    if (incomingByte == 11) {
      digitalWrite(Relay6, LOW);
      Serial.println("Device 6 OFF.");
    }
    if (incomingByte == 14) {
      digitalWrite(Relay7, HIGH);
      Serial.println("Device 7 ON.");
    }
    if (incomingByte == 13) {
      digitalWrite(Relay7, LOW);
      Serial.println("Device 7 OFF.");
    }
    if (incomingByte == 16) {
      digitalWrite(Relay8, HIGH);
      Serial.println("Device 8 ON.");
    }
    if (incomingByte == 15) {
      digitalWrite(Relay8, LOW);
      Serial.println("Device 8 OFF.");
    }
    
  }
}

Apps Code for Arduino (.ino).

BlueUinoProicon

Download

If you want to make app like this as per you requirements please Email us : micky.patel41@gmail.com.

Leave a Reply