How to Bluetooth Control your Garage Door with a ARDUINO and Smart Phone

This tutorial will show you how to use a Arduino microcontroller board to Bluetooth control your garage door opener with your smart phone.

Click on video below for full tutorial.

Check us out on Facebook!

PARTS LIST:

#affiliate links#

ARDUINO Board

HC-06 Bluetooth Board

Relay

Logic LVL Converter

Door Bell Button

Bread Board

Jumper Wires

THE APP:

Click here for the AIA file

Click here for the APK app file

SCHEMATIC:

ARDUINO CODE:

#define relay 5
void setup() {
Serial.begin(9600);
pinMode(relay, OUTPUT);

}

void loop() {
if (Serial.available() >= 2 )
{
unsigned int a = Serial.read();
unsigned int b = Serial.read();
unsigned int val = (b * 256) + a;
if (val == 2222) // relay on with corect code
{
digitalWrite(relay, HIGH);
delay(250);
digitalWrite(relay,LOW);
}

}
}