4 Digital Input and 2 Digital Output Device (DIO-642)

DIO-642

Features

DIO-642 (4 Port Digital Input and 2 port Digital Output Device) provides 4 digital input ports and 2 digital output ports. 

DIO-642 device can receive/transmit the digital values (Binary 0 or 1) using (1) MQTT/WiFi and (2) WiFi techniques. Method (1) sends MQTT messages to the remote MQTT broker directly. Methods (2) requires to work with the MQTT server. Messages processed in the MQTT Server can be displayed in the remote PC monitor via a private VPN link. 

LoRa technique is not designed in this device.

Hardware Features

DIO-642 device

WiFi Specification

Power Supply

4 Port Digital Inputs and 2 Port Digital Outputs

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

DC 12V

Software Features

Message Protocol

Push Notification

MQTT, JSON

LINE Notify 

Digital Input Modules

Digital Output Modules

DIO-642 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-642 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. DIO-642 provides 2 digital output ports to interface with (1) Light Bulb, (2) Wall Switch, (3) Siren, etc.

The four Digital Inputs  send (publish) 4 Topics to the public EMQX broker via the Internet. The public EMQX  broker re-sends the MQTT messages to the Smart phone, i.e., the Smart phone subscribes the exact 4 Topics to the public EMQX broker.

The two Digital Outputs receive (subscribe) 2 Topics from the public EMQX broker which relays the command messages to the Smart phone, i.e., the Smart phone publishes (sends) the 2 Topics to the public EMQX broker to turn on or turn off the DO modules connected to the Digital Output port. The MDO1 ~ 2 reflect the associated digital output (DO) status when the DO1 ~ 2 send digital messages to the public EMQX broker to be relayed to the DIO-642 device.

The Smart phone receives or transmits the MQTT messages and uses the APP (MQTT Panel) to diplay the results of the MQTT messages as shown in the figures.