All Projects → chrta → Sip_call

chrta / Sip_call

Licence: apache-2.0
SIP client for ESP32 to initiate a phone call from a door bell

Labels

Projects that are alternatives of or similar to Sip call

React Native Smartconfig
A React Native module for ESP8266 Smartconfig
Stars: ✭ 109 (-18.66%)
Mutual labels:  esp32
Upylorawan
ESP32 using MicroPython meets LoRa and LoRaWAN.
Stars: ✭ 121 (-9.7%)
Mutual labels:  esp32
Elegantota
Push OTAs to ESP8266 or ESP32 Elegantly.
Stars: ✭ 128 (-4.48%)
Mutual labels:  esp32
Esp32 Mpu Driver
ESP32 full library for all MPU6000 MPU6050 MPU6500 MPU9150 MPU9250 with SPI and I2C support and more.
Stars: ✭ 111 (-17.16%)
Mutual labels:  esp32
Esp32
Arduino sketches for the ESP32
Stars: ✭ 119 (-11.19%)
Mutual labels:  esp32
Esp wifimanager
This is an ESP32 / ESP8266 WiFi Connection Manager with fallback web configuration portal. Use this library for configuring ESP32, ESP8266 modules' WiFi, etc. Credentials at runtime. You can also specify static DNS servers, personalized HostName, fixed or random AP WiFi channel. With examples supporting ArduinoJson 6.0.0+ as well as 5.13.5- .
Stars: ✭ 125 (-6.72%)
Mutual labels:  esp32
Mjs
Embedded JavaScript engine for C/C++
Stars: ✭ 1,547 (+1054.48%)
Mutual labels:  esp32
Esp32 Ota Https
Secure over-the-air updates for the ESP32 platform
Stars: ✭ 132 (-1.49%)
Mutual labels:  esp32
Enigmaiot
Secure sensor and gateway platform based on ESP8266 and ESP32
Stars: ✭ 120 (-10.45%)
Mutual labels:  esp32
Server Go
🎨OpenIoTHub Server[内网穿透和物联网设备管理服务器]
Stars: ✭ 127 (-5.22%)
Mutual labels:  esp32
E Ink Esp32 Arduino Weather Time Note
You can get time\weather\temperature-inside\humility-inside\pressure-inside\IAQ-inside\QQ-note\computer-info on this device.
Stars: ✭ 114 (-14.93%)
Mutual labels:  esp32
Esp32 And How To Use Ili9341 Tft Display
Stars: ✭ 119 (-11.19%)
Mutual labels:  esp32
Marlin
Marlin is an optimized firmware for RepRap 3D printers based on the Arduino platform. | Many commercial 3D printers come with Marlin installed. Check with your vendor if you need source code for your specific machine.
Stars: ✭ 12,217 (+9017.16%)
Mutual labels:  esp32
1zlab esp32 wifi camera
ESP-Cam是一款基于ESP32芯片的开源WIFI摄像头, 本仓库存放关于ESP-Cam的使用教程与相关开发资料. 同时本教程还提供了Ubuntu下配置ESP-IDF开发环境的教程,以及ESP-CAM源码修改与固件编译烧录的教程.
Stars: ✭ 111 (-17.16%)
Mutual labels:  esp32
Esp32 Snippets
Sample ESP32 snippets and code fragments
Stars: ✭ 1,807 (+1248.51%)
Mutual labels:  esp32
Nimble Arduino
A fork of the NimBLE library structured for compilation with Ardruino, designed for use with ESP32.
Stars: ✭ 108 (-19.4%)
Mutual labels:  esp32
Ota update stm32 using esp32
Program STM32Fxx MCUs Over-the-Air using ESP32
Stars: ✭ 122 (-8.96%)
Mutual labels:  esp32
Webserial
Remote Serial monitor for ESP8266 & ESP32
Stars: ✭ 133 (-0.75%)
Mutual labels:  esp32
Esp Drone
Mini Drone/Quadcopter Firmware for ESP32 and ESP32-S Series SoCs.
Stars: ✭ 132 (-1.49%)
Mutual labels:  esp32
Gateway Go
🎁GateWay Client for OpenIoTHub[云易连访问内网端口和设备的网关]
Stars: ✭ 127 (-5.22%)
Mutual labels:  esp32

ESP32 door bell to sip call

On startup the application associates with the compiled in wlan access point and registers on the SIP server.

Once a signal is detected on the selected GPIO, a call is initiated to a target number. On the phone, the custom string is displayed. After the configured timeout is elapsed, the call is canceled. If the signal is detected again, before the timer is elapsed, the timer is started again.

Tested with:

  • AVM Fritzbox 7390
  • AVM Fritzbox 7490 (Firmware 7.12)
  • AVM Fritzbox 7590

Programming

The source code is mixed C and C++.

This application is to be used with Espressif IoT Development Framework_ (ESP-IDF). It is tested with revision 4288a5978baa928977c01bbae4dd15c2e7ca416a

Please check ESP-IDF docs for getting started instructions.

Building ++++++++

The project now uses cmake, so after initializing your environment with the relevant variables from esp-idf you can use idf.py to build, flash etc::

cd <this project's root dir> idf.py menuconfig idf.py build idf.py flash monitor

To build this project for the pc (linux, tested with ubuntu 18.04), a sample (not all features are supported, yet)::

mkdir cd cmake <this project's root dir>/native make

The sip server configuration must be done in the defines of the file <this project's root dir>/native/main.cpp.

Hardware

An ESP32 board can be used. Only one external GPIO (input is sufficient) must be available, to detect the call trigger. To test this, two PC817 opto coupler are used to detect the AC signal (about 12V from the bell transformer). The input diodes of the opto couplers are connected in parallel and opposing directions. In series, a 2k Resistor is used. This may have to be tweaked according to the input voltage. The output transistors of the opto couplers are connected in parallel in the same polarity to pull the signal to ground, if a current flows through one of the input diodes. A pull up resistor (either internal in the ESP32 or external) must be used to pull the signal to 3V3 if no input current is detected and the output transistors are switched off.

Instead of two PC817 opto couplers, one PC814 can be used to detect the AC signal. Because of the different CTR, the resistor values must be tweaked. If it is sufficient to only detect one half-wave of the AC signal (this is normally the case) one PC817 opto coupler and a simple diode (e.g. 1N4148) is sufficient. The diode ensures that the voltage of the input diode of the opto coupler is not above the threshold. The 1N4148 must be connected anti-parallel to the input diode of the PC817.

.. image:: hw/door_bell_input_schematic.svg :width: 600pt

If the bell transformer delivers enough power, the ESP32 can be powered from it. A bridge rectifier, a big capacitor and a cheap switching regulator board can be used for that.

License

If not otherwise specified, code in this repository is Copyright (C) 2017-2020 Christian Taedcke [email protected], licensed under the Apache License 2.0 as described in the file LICENSE.

Misc Information

On the AVM Fritzbox the number **9 can be used to let all connected phones ring.

.. _Espressif IoT Development Framework: https://esp-idf.readthedocs.io/

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].