ESP8266 Garage Door Opener Standalone Web Server

Difficulty: Star LitStar LitStar LitStar LitStar Unlit (4/5)

ESP8266 WiFi Garage Door Opener - Render

 

This is a bit different then my other “Smart Home” projects since it uses an ESP8266-12F to host a standalone web server. That means you don’t need to install any of that fancy stuff like HAP-NodeJS or a MQTT Broker. Using the HC-SR04 Sonar Range Finder it can detect how far away your garage door is, or if it doesn’t detect it at all to determine whether it is open or closed. There is a Thermistor connected with a Resistor to make a voltage divider to calculate the temperature. During startup the ESP connects to your network and will get your local time if your network has internet and you set the proper timezone in the Arduino Sketch.

ESP8266 WiFi Garage Door Opener - FrontTo power it there are a couple of options. If you are using a 5V Power Supply then all you will be needing is the LM1117 3.3V Linear Voltage Regulator to step down the voltage for the ESP8266, this is the most efficient option in this build. If you don’t have a 5V Power Supply you can use anything from about 6V to 12V with the addition of the LM7805 5V Linear Regulator, my design allows for both options with a jumper to disable the 5V Regulator if required.

ESP8266 WiFi Garage Door Opener - TopESP8266 WiFi Garage Door Opener - BottomYou will need to use 5V Relay Board or something similar to connect two wires from the unit to almost any garage door opener’s wall mounted switch, or directly to the motor itself. Then simply enter the address that can be configured in the Arduino Sketch, mine was garage-home.local and the web page with the controller will show up. Solder everything up with some good solder and some 22 AWG Hook-up Wirehook up wires. You will also need a variety of Electrolytic Capacitors, Ceramic Capacitors, LEDS, Resistors, Header Pins, Transistors, etc. that some people might have already on hand or salvaged from some old electronics. You can download my model from Thingiverse and I may design a board in Eagle if there is enough interest for those who either etch your own boards, or would like to just send it away to a board shop to get made by there preferred board manufacturer.

ESP8266 Garage Door Opener Web Server PageNow if everything went well you should be able to open up any web browser on your network and enter the address that was set up during programming, by default it is set to garage-home.local. A controller should show up on a webpage displaying things like run time, temperature, and door status. Here is where you also setup the threshold distance for the HC-SR04 Sonar Range Finder to calibrate the distances. Once everything is tuned all you have to do is push the large open / close button on the remote and your door should operate over WiFi.

Parts List

If you’d like to see more please drop a comment below, email me directly using admin@triplemike.com or hit me up at any of my social links with your comments and suggestions.

DIY Apple Home Temperature and Humidity Sensor

Difficulty: Star LitStar LitStar LitStar LitStar Unlit (4/5)

DIY Apple Home Temperature and Humidity Sensor Cover OnMeet the DIY Apple Smart Home Temperature and Humidity Sensor. You would be amazed at how little it costs to have near real time temperature readings in any room that has a WiFi connection. It utilizes the ESP8266-12F with a DHT22 temperature sensor. With this sensor data your smart home can make decisions to control control other devices based on it. For example in my house this little sensor is used to trigger a heater in the basement if the temperature were to drop too low.

Apple Home App Temperature Control Thermostat

You can also pair this with the HC SR505 PIR Motion Sensor so it only turns the heat on if there is anyone in the room. Which I am planning to make in the near future but works fine without for now. Admittedly getting the software called HAP-NodeJS setup was the most difficult part of the process and that’s just because there are so many options available to install it on. You can put on one of the many versions of Raspberry Pi available these days, directly on a PC, pretty much anywhere you can run Linux.

DIY Apple Home Temperature and Humidity SensorDIY Apple Home Temperature and Humidity Sensor

If anyone is interested in the schematics, or Arduino sketch files please drop a comment below, email me directly using admin@triplemike.com or hit me up at any of my social links with your comments and suggestions.