{"id":646,"date":"2017-03-16T19:59:33","date_gmt":"2017-03-16T19:59:33","guid":{"rendered":"https:\/\/zhutarduino.wordpress.com\/?page_id=646"},"modified":"2020-10-12T16:29:16","modified_gmt":"2020-10-12T16:29:16","slug":"how-to-bluetooth-control-your-garage-door-with-a-arduino-smart-phone","status":"publish","type":"page","link":"https:\/\/thezhut.com\/?page_id=646","title":{"rendered":"How to Bluetooth Control your Garage Door with a ARDUINO and Smart Phone"},"content":{"rendered":"<h1>This tutorial will show you how to use a Arduino microcontroller board to Bluetooth control your garage door opener with your smart phone.<\/h1>\n<h2>Click on video below for full tutorial.<\/h2>\n<p><iframe loading=\"lazy\" title=\"How to Bluetooth Control your Garage Door with a ARDUINO &amp; Smart Phone\" width=\"640\" height=\"360\" src=\"https:\/\/www.youtube.com\/embed\/CIIskH6RVTc?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/p>\n<h1><\/h1>\n<h1><strong><a href=\"https:\/\/www.facebook.com\/zarduino\/\">Check us out on Facebook!<\/a><\/strong><\/h1>\n<h1><\/h1>\n<h1>PARTS LIST:<\/h1>\n<p>#affiliate links#<\/p>\n<p><a href=\"https:\/\/www.amazon.com\/gp\/search\/ref=as_li_qf_sp_sr_il_tl?ie=UTF8&amp;tag=zhut01-20&amp;keywords=arduino board&amp;index=aps&amp;camp=1789&amp;creative=9325&amp;linkCode=xm2&amp;linkId=60e5fe257bc3b9283e4a89f1937fc2a4\" target=\"_blank\" rel=\"noopener noreferrer\">ARDUINO Board<\/a><\/p>\n<p><a href=\"https:\/\/www.amazon.com\/gp\/search\/ref=as_li_qf_sp_sr_il_tl?ie=UTF8&amp;tag=zhut01-20&amp;keywords=hc-06&amp;index=aps&amp;camp=1789&amp;creative=9325&amp;linkCode=xm2&amp;linkId=41805caa4a255fb2b3e4d4cbc4706443\" target=\"_blank\" rel=\"noopener noreferrer\">HC-06 Bluetooth Board<\/a><\/p>\n<p><a href=\"https:\/\/www.amazon.com\/gp\/search\/ref=as_li_qf_sp_sr_il_tl?ie=UTF8&amp;tag=zhut01-20&amp;keywords=arduino relay&amp;index=aps&amp;camp=1789&amp;creative=9325&amp;linkCode=xm2&amp;linkId=254d1a767a90c4c1d7d6e565513917c1\" target=\"_blank\" rel=\"noopener noreferrer\">Relay<\/a><\/p>\n<p><a href=\"https:\/\/www.amazon.com\/gp\/search\/ref=as_li_qf_sp_sr_il_tl?ie=UTF8&amp;tag=zhut01-20&amp;keywords=logic level converter&amp;index=aps&amp;camp=1789&amp;creative=9325&amp;linkCode=xm2&amp;linkId=2cc7d1718a853d0c64a2d70800f398c4\" target=\"_blank\" rel=\"noopener noreferrer\">Logic LVL Converter<\/a><\/p>\n<p><a href=\"https:\/\/www.amazon.com\/gp\/search\/ref=as_li_qf_sp_sr_il_tl?ie=UTF8&amp;tag=zhut01-20&amp;keywords=door bell button&amp;index=aps&amp;camp=1789&amp;creative=9325&amp;linkCode=xm2&amp;linkId=8835b943bbf86c8b5cdbe698060763c6\" target=\"_blank\" rel=\"noopener noreferrer\">Door Bell Button<\/a><\/p>\n<p><a href=\"https:\/\/www.amazon.com\/gp\/search\/ref=as_li_qf_sp_sr_il_tl?ie=UTF8&amp;tag=zhut01-20&amp;keywords=arduino bread board&amp;index=aps&amp;camp=1789&amp;creative=9325&amp;linkCode=xm2&amp;linkId=a46cf38751cf737cf04c20c1580468ab\" target=\"_blank\" rel=\"noopener noreferrer\">Bread Board<\/a><\/p>\n<p><a href=\"https:\/\/www.amazon.com\/gp\/search\/ref=as_li_qf_sp_sr_il_tl?ie=UTF8&amp;tag=zhut01-20&amp;keywords=jumper wires&amp;index=aps&amp;camp=1789&amp;creative=9325&amp;linkCode=xm2&amp;linkId=3b39899ce9ddf44c1e361a274be970f6\" target=\"_blank\" rel=\"noopener noreferrer\">Jumper Wires<\/a><\/p>\n<h1>THE APP:<\/h1>\n<p><a href=\"https:\/\/drive.google.com\/open?id=0B0ZYw2jO5Q3DM201emlvYnhMVE0\" target=\"_blank\" rel=\"noopener noreferrer\">Click here for the AIA file<\/a><\/p>\n<p><a href=\"https:\/\/drive.google.com\/open?id=0B0ZYw2jO5Q3DTnVTNmpINWhQTnM\" target=\"_blank\" rel=\"noopener noreferrer\">Click here for the APK app file<\/a><\/p>\n<h1>SCHEMATIC:<\/h1>\n<p><a href=\"https:\/\/thezhut.com\/wp-content\/uploads\/2017\/03\/garage_door_schem.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-647\" src=\"https:\/\/thezhut.com\/wp-content\/uploads\/2017\/03\/garage_door_schem.jpg?w=300\" alt=\"\" width=\"645\" height=\"260\" srcset=\"https:\/\/thezhut.com\/wp-content\/uploads\/2017\/03\/garage_door_schem.jpg 1944w, https:\/\/thezhut.com\/wp-content\/uploads\/2017\/03\/garage_door_schem-300x121.jpg 300w, https:\/\/thezhut.com\/wp-content\/uploads\/2017\/03\/garage_door_schem-768x309.jpg 768w, https:\/\/thezhut.com\/wp-content\/uploads\/2017\/03\/garage_door_schem-1024x412.jpg 1024w\" sizes=\"auto, (max-width: 645px) 100vw, 645px\" \/><\/a><\/p>\n<h1>ARDUINO CODE:<\/h1>\n<p>#define relay 5<br \/>\nvoid setup() {<br \/>\nSerial.begin(9600);<br \/>\npinMode(relay, OUTPUT);<\/p>\n<p>}<\/p>\n<p>void loop() {<br \/>\nif (Serial.available() &gt;= 2 )<br \/>\n{<br \/>\nunsigned int a = Serial.read();<br \/>\nunsigned int b = Serial.read();<br \/>\nunsigned int val = (b * 256) + a;<br \/>\nif (val == 2222) \/\/ relay on with corect code<br \/>\n{<br \/>\ndigitalWrite(relay, HIGH);<br \/>\ndelay(250);<br \/>\ndigitalWrite(relay,LOW);<br \/>\n}<\/p>\n<p>}<br \/>\n}<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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 &hellip; <a href=\"https:\/\/thezhut.com\/?page_id=646\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"parent":10,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":"","_links_to":"","_links_to_target":""},"class_list":["post-646","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/thezhut.com\/index.php?rest_route=\/wp\/v2\/pages\/646","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/thezhut.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/thezhut.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/thezhut.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/thezhut.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=646"}],"version-history":[{"count":3,"href":"https:\/\/thezhut.com\/index.php?rest_route=\/wp\/v2\/pages\/646\/revisions"}],"predecessor-version":[{"id":1593,"href":"https:\/\/thezhut.com\/index.php?rest_route=\/wp\/v2\/pages\/646\/revisions\/1593"}],"up":[{"embeddable":true,"href":"https:\/\/thezhut.com\/index.php?rest_route=\/wp\/v2\/pages\/10"}],"wp:attachment":[{"href":"https:\/\/thezhut.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=646"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}