My garage door is a tubular motor, with a remote control receiver in a 433MHZ. Remote control batteries run out one day, but not long after I replace the battery, find the remote control receiver is bad. After a few days to manually open the door, I decided to make a controller that can support mobile remote control.
Step 1: Research Motor
I look up some manual of tubular motor, found that it has four lines, grounding wire, an N lines and two control lines. By change the connection of L line and two control lines, you can achieve positive reversal.
Step 2: WIFI Relay Design
I chose MT7681 as WIFI module, and designed
a relay module with it. I chose the MQTT protocol for remote control via the Internet. Because MQTT has open source server programs, and also has free cloud services.
I want to put it in an aluminum shell, but manufacturers require a minimum number of processing is 100.
Step 3: The APP
Because I'm not very good at developing mobile phone APP, so I make a simple application using PHONEGAP with HTML5 and JAVASCIRPT.
Step 4: Wires Connection
Step 5: Finish
I configure the controller's broker address
to iot.eclipse.org, now I can use the mobile phone network to control the garage door.