All Projects → fvollmer → Telephone-Remote-Control

fvollmer / Telephone-Remote-Control

Licence: other
No description or website provided.

Programming Languages

c
50402 projects - #5 most used programming language
CMake
9771 projects
C++
36643 projects - #6 most used programming language

Projects that are alternatives of or similar to Telephone-Remote-Control

kong-init
Declarative configuration tool for Kong
Stars: ✭ 38 (+100%)
Mutual labels:  gateway
TarsGateway
No description or website provided.
Stars: ✭ 46 (+142.11%)
Mutual labels:  gateway
redap
HTTP-to-LDAP Gateway
Stars: ✭ 27 (+42.11%)
Mutual labels:  gateway
GatewayService
GatewayService (Ocelot).
Stars: ✭ 19 (+0%)
Mutual labels:  gateway
omise-magento
Omise Magento Plugin
Stars: ✭ 32 (+68.42%)
Mutual labels:  gateway
tentacool
REST API to manage Linux networking via netlink
Stars: ✭ 63 (+231.58%)
Mutual labels:  gateway
api-gateway
Node.js API gateway that works as single entry point for all clients in a MicroService architecture pattern.
Stars: ✭ 26 (+36.84%)
Mutual labels:  gateway
chirpstack-gateway-os
Yocto based gateway images including ChirpStack components.
Stars: ✭ 101 (+431.58%)
Mutual labels:  gateway
Three-Factor-Security-Door
What do you get when you mix a Raspberry Pi, a MySQL database, an RFID reader, an LCD touchscreen, a relay switch, an electronic door strike and a Twilio SMS account?
Stars: ✭ 49 (+157.89%)
Mutual labels:  relay-switch
pier
The Interchain gateway core implementation
Stars: ✭ 44 (+131.58%)
Mutual labels:  gateway
GateWay
🥗OpenIoTHub Gateway for mobile(网关移动应用)
Stars: ✭ 25 (+31.58%)
Mutual labels:  gateway
Banklink
PHP payment library to easily integrate Baltic banklinks (supports old and new iPizza protocol), E-commerce gateaway (Estcard, Nets Estonia), Liisi Payment Link and Pocopay.
Stars: ✭ 34 (+78.95%)
Mutual labels:  gateway
docker-kong-oidc
Kong + OIDC plugins
Stars: ✭ 83 (+336.84%)
Mutual labels:  gateway
LogiEM
面向Elasticsearch研发与运维人员,围绕集群、索引构建的零侵入、多租户的Elasticsearch GUI管控平台
Stars: ✭ 209 (+1000%)
Mutual labels:  gateway
serial2mqtt
Serial to MQTT adapter serivce
Stars: ✭ 21 (+10.53%)
Mutual labels:  gateway
tuyagateway
Local Python Gateway for Tuya devices
Stars: ✭ 102 (+436.84%)
Mutual labels:  gateway
international-telephone-input
Integration to Magento 2 a jQuery plugin for entering and validating international telephone numbers.
Stars: ✭ 26 (+36.84%)
Mutual labels:  telephone
gateway
Springcloud gateway 的样例工程, 封装了一些常用的网关功能,如鉴权,数据级权限控制,验签,动态路由,日志,流控,降级等
Stars: ✭ 16 (-15.79%)
Mutual labels:  gateway
showcase
A Full Stack Journey with Micro Services and Micro Front Ends. Using dapr, kubernetes, react module federation and web assembly,
Stars: ✭ 45 (+136.84%)
Mutual labels:  gateway
Zwave2Mqtt-docker
Docker container for Zwave2Mqtt Gateway and Control Panel app
Stars: ✭ 29 (+52.63%)
Mutual labels:  gateway

YC-KZ02DN (Telephone Remote Control) Schematic and Alternative Firmware

The YC-KZ02DN is a cheap telephone remote control you can find on eBay and aliexpress. It is usually called something like 12v Telephone remote control. It is a pretty simple device that uses the POTS (Plain old telephone service) to control two relays. It essentially consists of:

  • A HT9170D for DTMF decoding
  • A STC15W202S, which is a cheap mcu with 8051 instruction set
  • Two relays to control external devices
  • One relay to pick/hang up the phone
  • An optocoupler for call detection
  • An audio transformer as part of the POTS interface
  • A tactile push button to reset the PIN

I reverse engineered the circuit. For details please look at the schematic. Interestingly there are some variants, that come without the HT9170D. These devices have some DIP switches mounted at S2 and will simply act on an incoming call. There has to be another variant, that comes with a potentiometer mounted.

The STC15W202S MCU has an integrated bootloader, which allows it to be reprogrammed via a serial interface. The needed pins can be accessed via the unpopulated pin header JP4.

Alternative Firmware

I wrote a firmware replacement for this device. It has some additional features:

  • Restore the last state after power loss
  • Support longer PINs

The PIN and the state are saved into persistent memory.

The normal operation is like this:

  1. Call
  2. Wait until pickup, you'll hear a greeting tone
  3. Enter PIN to authenticate
  4. If the PIN is correct you'll hear a confirmation tone, otherwise, it will hang up
  5. You can now configure the relays. Press
    • 1 to close relay 1
    • 2 to open relay 1
    • 3 to close relay 2
    • 4 to open relay 2
    • * to hang up
  6. Hear confirmation beeps, repeat step 4.

In case of a timeout, the device will just hang up.

You can also change the PIN:

  1. Call
  2. Press button (before the device would pick up automatically)
  3. Enter new PIN
  4. You'll hear a confirmation tone and the device hangs up.

The very limited memory doesn't allow for an interactive voice menu. You can only play beep sounds.

The original firmware had a feature, which allowed to actuate the relays only for a configurable time, but I didn't implement this. You could easily implement it by yourself.

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].