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);      
       }
}
 


Logo Lycée Paul Sérusier

J'enseigne au
Lycée Paul SERUSIER
Avenue de Waldkappel
29270 CARHAIX PLOUGUER
Tél : 02 98 99 29 29
Site : www.lycee-serusier.fr

footer2

Richard GAUTHIER
Professeur de Physique Appliquée
Certification ISN
Cette adresse e-mail est protégée contre les robots spammeurs. Vous devez activer le JavaScript pour la visualiser.

www.carhaix2020.bzh