2 Port Digital Input Device (DIO-220)

Features

DIO-220 (2 Port Digital Input Device) provides 2 digital input ports. 

DIO-220 device can transmit the digital values (Binary 0 or 1) using (1) MQTT/WiFi, (2) WiFi and (3) LoRa techniques. Method (1) sends MQTT messages to the remote MQTT broker directly. Methods (2) requires MQTT server and method (3) requires LoRa MQTT Gateway to relay the received messages to the MQTT Server. Messages processed in the MQTT Server can be displayed in the remote PC monitor via a private VPN link. 

Hardware Features

DIO-220 device

WiFi Specification

LoRa Specification

Power Supply

2 Port Digital Inputs

IEEE 802.11b/g/n, 2.4 GHz, transmit power 18 dBm

433MHz, BW 125KHz, SF 10, transmit power 18dBm

DC 5V

Software Features

Message Protocol

Push Notification

MQTT, JSON

LINE Notify 

Digital Input Modules

Digital Output Modules

DIO-220 with MQTT

Method (1) MQTT/WiFi is the simplest way to send messages to the MQTT broker in the Internet and be relayed by the MQTT broker and received by the APP in the smart phone.

DIO-220 interfaced with Digital Input Modules: (1) Door/Window Magnet, (2) Emergency Button, (3) PIR, (4) CO Detector, (5) Smoke Detector, etc., will show the ON/OFF states of the inputs.

There are two Digital Inputs which send (publish) Topic 1 for the 1st input state and Topic 2 for 2nd input to the public EMQX broker via the Internet. The EMQX public broker re-sends the messages to the Smart phone, i.e., the Smart phone subscribes Topic 1 and Topic 2 to the EMQX broker.

The Smart phone recieves the MQTT messages and uses the APP (MQTT Panel) to diplay the received temprature and humidity as shown in the red box.