Always keeping the garage door opener remote with your self and recharging/changing its batteries are necessary task if you love autonomous car garage car doors. Keeping the garage door opener remote with yourself and changing its batteries consumes a little time. This time becomes important if you have a busy schedule and even 1 minute relief is important for you. So why not to get rid of the extra garage door opener remote and export the door opener functionality to your cell phone.
|
Arduino garage door opener over Bluetooth using android app
For controlling the garage door with cell phone app over Bluetooth you need to develop custom hardware for this logic. Their is only one time investment on developing the new hardware. The hardware for the this custom logic is not difficult to build. Every hardware part is available on online electronics websites. You just need to connect the parts together and off-course i will teach you how to interconnect the individual hardware components.
Arduino garage opener hardware components
Our main controller which interprets every logic of our circuit . You can purchase arduino from any online electronics store depending on your location and feasibility.
Bluetooth Module – HC-05
Now since we want our garage to open from an android app. We need interconnection between garage door opener circuit and our cell phone. Bluetooth is best suited for our need. So we need a Bluetooth module at our door control circuitry to talk to our cell phone and accept information from our cell phone. I decided to use popular and cheap Bluetooth HC-05 module. You can also easily get one of this module from any online electronics store.
2-channel relay module
A two channel relay module is mounted with two relays on it with all the necessary passive components to derive relays. This module can easily be found in inventory of online electronics store.
Voltage Shifter(Important)
Arduino works on 5 volts and Hc-05 Bluetooth module works on 3.3 volts. For successful communication between the two modules they must be working on same logic level. So we now need an extra intermediate module between the two which will convert 5 volt logic signal to 3.3 volt and 3.3 volt to 5 volt in either direction. I decided to use the SparkFun www.sparkfun.com/products/12009 logic shifer in between arduino and HC-05 Bluetooth module.
Bluetooth garage door opener with Arduino – Circuit
Two digital pins of arduino are initialized as output to control the garage door and light. Output pins are connected to relays. Garage shutter door and light are activated by user.
At the output of relay you can connect your light and door motor main power line. Connections are not difficult. Just follow the below simple rule.
Arduino garage Shutter door control over Bluetooth – Working
In the loop function i am checking if the any command is arrived by user. If arrived i save it and then check it against the fixed password. I password matches i open the door and switch on the light.
The statement Password.equals(“1234”) matches the received string against the fixed string which is “1234”. Actually “1234” is our fixed password one can change it according to his desire. If the received string matches the fixed password garage door is opened and light is switched on.
Garage door and light remains open for 3 minutes. After 3 minutes they switches off. One can change the time in above code.
Arduino garage control – Android app
One can enhance the project scope by interfacing a GSM module with it. Opening the garage door with a text message. You can also talk with the module. For example if the user inputs a wrong password you can send back a warning message of wrong password input. More lights and other extra peripherals can be controlled by increasing the digital output pins and relays.
Filed Under: Arduino Projects, Microcontroller Projects
Questions related to this article?
👉Ask and discuss on Electro-Tech-Online.com and EDAboard.com forums.
Tell Us What You Think!!
You must be logged in to post a comment.