With a smart phone, a tablet or a watch, this simple talking apps can remotely control any appliances in your house and even start your car.

AdvancedShowcase (no instructions)917
Smart Apps for Smart Home
 
 

Things used in this project

Hardware components

Arduino UNO & Genuino UNO
Arduino UNO & Genuino UNO
 
× 1  
Jumper wires (generic)
Jumper wires (generic)
 
× 1  
HC-05 Bluetooth Module
HC-05 Bluetooth Module
 
× 1  
Breadboard (generic)
Breadboard (generic)
 
× 1  
9V battery (generic)
9V battery (generic)
 
× 1  
5 mm LED: Red
5 mm LED: Red
 
× 1  
 

Story

 

Schematics

Block Diagram

 
Bt cpi7vy2nl2
 

Code

Bluetooth HC05 Test

Arduino
The code below is used to test your bluetooth connectivity.
 
#include <SoftwareSerial.h>
SoftwareSerial BTserial(2, 3);  
int ledPin = 12;
char data = 0;  

void setup()
{
     pinMode(ledPin, OUTPUT);
     BTserial.begin(9600);
     // Serial.begin(9600);
     // serial.println("Hello World");
}

void loop()
{
    if (BTserial.available())
    {
    data = BTserial.read();              
    if(data == '1')                             
      digitalWrite(ledPin, HIGH);      
    else if(data == '0')                      
      digitalWrite(ledPin, LOW);      
       }
}
 
Affichages : 3443