Use your phone to open your gate or garage

Da raspibo.
Versione del 7 giu 2016 alle 17:24 di Renzo (discussione | contributi) (Creata pagina con 'Radio remote controls are obsolete. We all carry our portable phone, why not using it as a remote control to open the gate of the parking lot or your garage. Using asterisk, ...')
(diff) ← Versione meno recente | Versione attuale (diff) | Versione più recente → (diff)
Jump to navigation Jump to search

Radio remote controls are obsolete. We all carry our portable phone, why not using it as a remote control to open the gate of the parking lot or your garage.

Using asterisk, a Raspberry PI, a TX module and the availability of a number from a VOIP provider it is possible to set up this solution. (it works with radio controlled devices using mm53200 encoding on 433.92Mhz or 315Mhz or 330Mhz). When you call the number of the gate, the gate will open and the call hunged up (so the usage is for free!). You do not need to hack the radio controlled gate, your raspberry pi will fake to be a remote control. (NB: the TX module must be for the same frequency of the remote used by your gate).

First step: cabling It is straight simple. THe TX module has three pins labelled VCC, GND and DATA. Connect VCC to +5v, GND to GND, and Data to one of the GPIO.

Second step: the code. Compile this source code