Introduction: Garage Door Opener Remote Web-interface With Esp8266

Picture of Garage Door Opener Remote Web-interface With Esp8266

Watch video in step 4!

I've been looking for a solution to open my automatic garage door for family and trusted friends when im not home, without having to hide a remote outside in the flowerpot. My first thought was to buy a remote keypad, but i just couldn't pay 50USD for something that ugly. Take a look at it and you'll probably feel the same.

So since i bought this nodemcu (esp8266 devboard) that I've been trying out blinking leds and what not, it might as well be put to good use. Fortunately, I got three remotes delivered for my garage door opener, but I only use one on a daily basis, so one of those could be used for this task.

This is a very simple DIY-hack and i belive most beginners will get a good result.

Step 1: Materials

Picture of Materials

Things you need to make this web-interface remote control. I buy most my electronics from aliexpress, even if shipping takes some time i use it mainly because of the pricing.

1. nodeMCU (or any other ESP8266 board)

2. 5v Relay

3. Remote for your automatic garage door

4. Prototype PCB (Size of your choosing)

5. Dupont wires

6. Micro USB Power Supply

Step 2: Schematics

Picture of Schematics

I tried Fritzing (PCB and schematics-software) for the first time, it's surprisingly easy to use. But it didn't have any remote module to use so i added a button instead to simulate what we're doing. Since we're actually just bypassing the button on the remote that sets of the 433mhz signal.

The garage door remote usually operates with 12v, but gets the job done with 5v as well. Nodemcu is powered by a microUSB 5v and steps it down to 3,3v for the esp8266. By accessing pin VIN we can still get 5v out to supply power to the 5v Relay and the garage door remote.

Step 3: Flashing Your NodeMCU

There are many good tutorials on how to flash your nodeMCU, I recommend this tutorial made by user TheElectromania.

Instructables webeditor couldn't handle the code so please use this link to get the code: http://txt.do/ddu9o

What this code does..

  1. Connection to your home WLAN and waits for web-request
  2. Upon connection displays a link/button
  3. When pushed, sets pin 5 HIGH for 1 second - which makes the relay to open and enables the remote control to transmit it's pre-programmed signal.

Step 4: Final Step

Have it as is or put it in a junctionbox of some kind. I used a regular EU junctionbox for 220v electrical connections.

Comments

dghannam made it! (author)2017-09-17

Hi,

Thank you for this instructable, i have made it with some modification as you see.

but i was wondering how we can add a password to protect the web page?

Thanks

chal86 (author)dghannam2017-09-20

Well done! Since it's connected to my password-protected personal WiFi I consider my IoT-Garage door opener being protected enough.

If you google your subject I bet someone has done it by now. Good luck!

S0dyP0p (author)2017-01-03

Nice. Is there a reason you didn't try connecting it with the physical button inside the garage instead? It seems as though you could use the built-in power source (with appropriate voltage conversion) to run the board. Also, you don't have to dedicate a wireless door opener to the project. Those things are expensive!

I like the concept, though. When cars are left outside the garage, I hate to leave the opener in them. But then I forget to put it back in and it's annoying to not have it. I will update if I am able to get the wired application to work!

chal86 (author)S0dyP0p2017-01-03

Hi S0dyP0p! Yes I have my reasons. There's no support to add any other input/output to the motor as many other motors do have. Second, I'd void my 2yr guarantee if i open the chassi of the motor. Third is that if i mess up in there, i'd loose 220USD.

The remote costs 16USD, it's a fair price considering what i would have got for 50USD as i wrote in my intro. And the remote I used was included with the motor.

S0dyP0p (author)chal862017-01-04

Makes sense. It sounds like your system works differently than mine. I've got a hard wired button run with telephone-type wire from the motor to a location near the door into the house. Looking at your video, yours looks detached from the house so it makes sense you don't have a physical button.

You've got my wheels turning about tapping in to that (probably) 12V button for a built-in installation in my situation. An old car charger should do the conversion for me, and no need to run separate USB power. Thanks!

chal86 (author)S0dyP0p2017-01-04

In my opinion your solution is best practice, since you don't have any other error sources as your WLAN router, nocemcu, PSU or interference. But we work with what we got :)

DIY Hacks and How Tos (author)2016-12-30

Awesome project. You should think about entering it into the Internet of Things contest.

About This Instructable

8,128views

124favorites

License:

Add instructable to: