IOT Garage Door

IOT Garage Door

Introduction

This post will show you how I connected my garage door to an arduino with a bluetooth module (HC-05) to control the door with a smartphone

Hardware

We need a few things:

  • Arduino
  • HC-05 bluetooth module
  • Arduino 5v relay
  • Automated door (controlled by a button)

Software

Here we have 2 components, an Android app which will connect to the arduino.

The arduino code to control a relay which will simulate the button pulse.

Android App

cumal/MyDoor: Source code for myDoor project. Android & Arduino (github.com)

I created an Android app which connects to the Arduino and send messages. This app is not published in Play Store, so you will have to compile it with Android Studio

Arduino Code

cumal/MyDoor_Arduino: Arduino code for myDoor app (github.com)

Install this software into an arduino, in my case I have running it in an arduino nano. The software reads the bluetooth received string and if match with the key, activates the relay to simulate a push.

Comments

No comments yet. Why don’t you start the discussion?

Leave a Reply

Your email address will not be published. Required fields are marked *