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#
THE APP:
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);
}
}
}