EBYTE E870- W1 IoT Cloud IO Gateway Wireless Modem User Manual

June 10, 2024
ebyte

EBYTE E870- W1 IoT Cloud IO Gateway Wireless Modem User Manual

Overview

Product introduction

E870-W1 is a WiFi cloud IO gateway developed based on the communication protocol “Ebyte Cloud Device Communication Protocol” developed by our company. It works in the 2.4G frequency band. It can send commands to the device through the server to achieve control or acquisition functions. Open on the device 4-way DI, 2-way AI (4-20mA) input, 2-way DO output, support TCP client protocol and MQTT access, support heartbeat package, registration package settings; at the same time, the product supports multiple configuration methods and supports web platform;
Overview
At the same time, the product supports multiple configuration methods and supports web platforms;
Support acquisition and control edge RTU nodes, and can also be used as RTU equipment to analyze Modbuscommand acquisition and control equipment IO ;
Industrial-grade design standards are adopted to ensure high reliability of the equipment .

Features

  • Support the open protocol of “Ebyte Cloud Device Communication Protocol”
  • Support Ebyte cloud platform remote management
  • Support edge acquisition control 20 M odbus RTU data points
  • Support change reporting, periodic reporting and other reporting methods
  • Support adding edge computing formulas for uplink and downlink data
  • Support Alibaba Cloud object model JSON protocol reporting
  • Support device linkage
  • Support 4-way Socket independent connection to user-defined server
  • Support TCPC, UDPC, MQTT3.1.1 protocol
  • Support registration package, heartbeat package
  • Support Ebyte cloud platform, host computer, network and other configuration methods
  • Support multi-link edge acquisition function, support Modbus to automatically add CRC check;
  • 2-way analog input ( 4-20mA ) ;
  • 4 -way switch input DI (dry contact );
  • 2 -way switch output DO (Form A relay);
  • Switch output (DO) supports level mode and follower mode

Quick use

[Note] This experiment needs to be carried out with the default factory parameters.

Equipment preparation

The following table lists the materials required for this test:
One computer, one E870-W1 device, one normal networked router, one 485 to USB data cable

Device connection

Connect platform

Step 1: Connect the power supply of the device ( DC 8-28V ), turn on the upper computer of the device, fill inthename and password to connect to the WiFi, and ensure that the device can access the Internet normally;
Device connection
Step 2: Use a browser to log in to cloud.ebyte.com, register and log in to the ebyte cloud platform, aftersuccessfully entering the platform:

  1. Click on the left column box “Device Management”

  2. Click “Device Model” to enter to create a device model, select “Add Device Model”
    Device connection

  3. Input relevant parameters, click “Add Slave”, select “Ebyte Cloud IO”, “Built-in IO”, “E870-W1”, enter thename of the slave, click “Save”, and click “Confirm to add”, that is Device models can be created.
    Device connection

  4. Click “Device Instance”, enter and click “Add Device”
    Device connection

  5. “Equipment model” select the previously created E870-W1 model, then enter the SN code on the backof thedevice, fill in other parameters according to your needs, click “OK to add” to create the device.
    Device connection

  6. Restart the device, and when the STATE light of the device is always on, the device can be seen online on the platform.
    Device connection

  7. Click “Device Operation and Maintenance” and “Online Debugging” on the platform, and click “Debug” behindthe device to enter the device debugging interface. Enter the corresponding command to control the device.
    Device connection

  8. Or click “Device Instance” and click “Device Details” of the online device, you can see the informationof thedevice data points in the device details, and you can read the data or operate the device on the interface.
    Device connection
    Finally, click the control button of DO to execute the output of DO to the device;
    Device connection

Connect to self-built serve

Step 1: Connect the power supply of the device ( DC 8-28V ), turn on the upper computer of the device, fill inthename and password to connect to the WiFi, and ensure that the device can access the Internet normally;
Connect to self-built serve

Step 2: Use “Net Assist ” to build a user server:
Connect to self-built serve

Step 3: Select TCP/UDP transparent transmission in channel 1 of the host computer, fill in the correct serverparameters, and configure it as TCP client mode, destination address, destination port, etc., as shown inthefigurebelow
Connect to self-built serve

Step 5: After configuring the parameters, save and restart. When the STATE light is always on, the device hasbeenconnected to the server platform normally, and waits for the edge of the device to collect parameters and report.
Connect to self-built serve

AI analog input connection

Schematic diagram
Figure 7 Schematic diagram of AI acquisition connection

D I digital input connection


DI acquisition connection

Relay output connection


DO output connection

Transparent use

Select channel 1 to configure TCP / UDP transparent transmission, fill in the target server parameters, select TCPCmode, and target address 112.54.89.224 . ( Users can configure it as their own public network IP server ) , targetport 6050 (if using their own IP , fill in the port of the corresponding server), 0 (long connection), other parametersremain default, click to exit configuration, enter transparent transmission mode .
Transparent use

Connect the RS485 interface, open the serial port assistant ( XCOM) and the network debugging assistant (Net Assist ), and directly send the transparent data “E 870- W 1_TSET “, which can be used as a serial port server:
Transparent use

Technical Parameters

Specifications

category name parameter
power supply Operating Voltage D C8 ~ 2 8V
Power indicator Red LED indication
serial port CommunicationInterface RS485
baud rate 9600bps (customizable)
Protocol “Ebyte Cloud Device Communication Protocol”,which can be

transparently transmitted
DI input| Number of DIchannels| 4 way
input type| default stem node
Acquisitionfrequency| 1 kHz
AI input| Number of AIchannels| 2 way
AcquisitionFeatures| single-ended input
input type| 4-20mA
AI Resolution
| 5%
Acquisitionfrequency| 1 0 Hz
DO output| Number of DOchannels| 2 way
DO output type| Form A relay
DO output mode| level output
Relay contactcapacity| DC : 30V /7A , AC : 2 50V / 7A
other| product weight| 140±5g
Workingtemperature and humidity| -40 ~ +85℃, 5% ~ 95%RH (nocondensation)
installation method| rail installation

Mechanical Dimensions

Dimensions

Interface description

Interface description

Port Diagram

serial number logo illustrate
1 V- Negative pole of power input terminal , DC 8 V~ 28 V,3.81 mm Phoenix

terminal
2| V+| pole of power input terminal, DC 8 V~ 28 V, 3.81 mmPhoenix terminal
3| 485-B| RS485 interface B is connected to interface B ofexternal equipment, 3.81 mm Phoenix terminal
4| 485-A| RS485 interface A is connected to interface A ofexternal equipment, 3.81 mm Phoenix terminal
5| Reload| Restore factory settings button
6| WiFi| WiFi antenna interface
7| NO1| Relay 1 normally open pin, used with relay 1 commonterminal, 3 .81 mm Phoenix terminal
8| COM1| Relay 1 common terminal, used with relay 1 normallyopen pin, 3 .81 mm Phoenix terminal
9| N O2| Relay 2 normally open pin, used with relay 2 commonterminal, 3.81 mm Phoenix terminal
10| COM2| Relay 2 common terminal, used with relay 2 normally
| | open pin, 3 .81 mm Phoenix terminal
11| DI1| Digital input channel 1 , 3.81 mm Phoenix terminal
12| DI2| Digital input channel 2 , 3.81 mm Phoenix terminal
13| DI 3| Digital input channel 3, 3.81 mm Phoenix terminal
14| DI 4| Digital input channel 4, 3.81 mm Phoenix terminal
15| D GND| Digital input ground, 3.81 mm Phoenix terminal
16| AI1| Analog input channel 1 , 3.81 mm Phoenix terminal
17| AI2| Analog input channel 2 , 3.81 mm Phoenix terminal
18| A GND| Analog input ground, 3.81 mm Phoenix terminal

instruction sheet

Description of LED indicators

Label color illustrate
PWR red Power indicator light, always on after the deviceis powered on
STA green Off, searching for SIM card

Slow flashing (1000ms off, 200ms on), the correct SIM card is found, and the network is being attached
Fast flashing (200ms off, 200ms on), attached to the network, connecting to theserver
Steady on, connected to the server
DATA| yellow| Blinking: The servercommunicates with serial port data

Serial port description

The serial port supports the following parameter configurations:

project parameter
baud rate 1200, 2400, 4800, 9600, 19200, 38400, 57600,115200, 230400, 460800
data bit 7, 8bit
Check Digit NONE, ODD, EVEN
stop bit 1, 2

Product function introduction

DO output

Two-way A-type relay output is adopted, and the normally open contact and the common point are respectivelyledout by 3.81 mm Phoenix terminals, which can shut off the maximum AC 250V / 7A and DC 30V/ 7A. The active reporting of DO acquisition signals can be turned on or off, and the active reporting functionof DOsupports the configuration change reporting, periodic update, change reporting + periodic realization of theactivereporting function of the device;
Periodic reporting: report the current status according to the configured time period, the time interval canbe1-65535 , unit: minute;
Change report: that is, the DO status is reported once when the DO status changes, and the range needs tobeconfigured as a non-zero value.

Level output

Two-way A-type relay output is adopted, and the normally open contact and the common point are respectivelyledout by 3.81 mm Phoenix terminals, which can shut off the maximum AC 250V / 7A and DC 30V/ 7A. The active reporting of DO acquisition signals can be turned on or off, and the active reporting functionof DOsupports the configuration change reporting, periodic update, change reporting + periodic realization of theactivereporting function of the device;
Periodic reporting: report the current status according to the configured time period, the time interval canbe1-65535 , unit: minute;
Change report: that is, the DO status is reported once when the DO status changes, and the range needs tobeconfigured as a non-zero value.

Following mode

according to the following source configured by the user (D I1 , DI2 , DI3 , D I4 , AI1, AI2, DO1, DO2), andmultiple outputs can follow the same follow up source output. Simply put, it is to detect the state changeof thefollow-up source , automatically output the relay with it as the following source. When the followmode is turnedon, the follow source should be configured at the same time to use this linkage function.
Note: This function only supports local IO linkage

Active reporting of status

The active reporting of DO acquisition signals can be turned on or off. The condition for realizing theactivereporting function of DO is to configure change reporting, periodic reporting, or change reporting +periodicreporting to realize this active reporting function. Periodic reporting is reported according to the timing, andthetime interval It can be 0-65535, unit: minute; the change is reported as the DO state changes, that is, the DOstateisreported once.

DI input

Support 4 -way dry contact acquisition, can turn on or off the active reporting of switch input DI acquisitionsignals, the realization conditions of DI active reporting function support configuration change reporting, periodicupdate, change reporting + periodic realization of the device’s active reporting function;
Periodic reporting: report the current status according to the configured time period, the time interval canbe1-65535 , unit: minute;
Change report: that is, when the DI status changes, the DI status is reported once, and the range needs tobeconfigured as a non-zero value.\

AI input mode

Analog range

Supports 2 channels of current signal acquisition , adopts high-resolution ADC , the acquisition accuracycanreach3 ‰, the factory default configuration is 0-20 m A , supports the configuration of the acquisition range (registeraddress is 0x 044c ) and the acquisition of the current current through Modbus RTU commands Signal (floatingpoint: register is 0x00c8 , integer: 0x0064 ), the maximum current cannot exceed 25mA (more than 25mAwillcause the risk of equipment damage) ;
Support mode 0x 00 ( 0-20 mA ) : directly output the collected current signal;
Mode 0x 01 ( 4-20 mA): The current input device below 3.5 mA is used for disconnection detection output 0mA, and the current greater than 3.5mA is directly output;
Take the device Modbus address configuration as 1 as an example (the edge acquisition function needs tobeturnedoff to use this function, and the following instructions are all in hexadecimal) :
Read the collected current signal (integer):
Send: 0 1 04 00 64 00 02 30 14
Return: 0 1 04 04 0F A0 13 88 F5 E4 (first channel: 4 000 uA, second channel: 5 000 uA)
Read the collected current signal (floating point):
Send: 0 1 04 00 C8 00 04 30 14
Return: 0 1 04 08 40 80 00 00 40 A0 00 00 B4 17 (first circuit: 4 m A, second circuit: 5 m A)
Configured as 0-20 mA acquisition mode (the first channel and the second channel are configured at thesametime):
Send: 01 10 04 4C 00 02 04 00 00 00 00 C5 0A
Configured as 4-20 mA acquisition mode (the first channel and the second channel are configured at thesametime):
Send: 01 10 04 4C 00 02 04 00 01 00 01 55 0A
[Note] Floating point numbers are stored in IEEE754 single-precision big endian format ( ABCD), for example, 12.5 mA uses a hexadecimal number 0x 41480000 ;

Active reporting of status

You can turn on or off the switch to input the active reporting of AI acquisition signals. The condition for realizingthe active reporting function of AI is to configure change reporting, periodic reporting or change reporting+periodic reporting to realize this active reporting function. Periodic reporting is reported according to thetiming, and the time interval It can be 0 65535, unit: minute; the change report means that the AI input value is reportedonce when the AI input range changes, and the range condition is 0~3.4e38 (a 4-byte float greater than 0) .

Network transparent transmission mode

This product supports TCP client ( TCPC ), UDP client ( UDPC ), TCP server ( TCPS ), UDP server ( UDPS)transparent transmission communication. In this mode, the user’s serial device can send data to the designated server on the network through this device. Thedevice can also accept data from the server and forward the information to the serial device, supporting four in dependent configurations.
Network transparent transmission mode
Users do not need to pay attention to the data conversion process between serial port data and network data packets, and can realize data transparent communication between serial port devices and network servers only through simple parameter settings.

MQTT mode

  1. Set the corresponding MQTT parameters, including ClientID, server address, port, user name, password, andtopicsfor publishing and subscribing. The MQTT connection can be realized.
  2. Product key, device name, device key, device ID, product ID, authentication information, devicename, client ID , user name , password , subscription, publishing can be configured with a maximumof 1 28Bit data;
  3. The address can be configured with a maximum of 6 4B it domain names;
  4. Support 0, 1 message publishing level;

Ali Cloud

It supports the use of Alibaba Cloud’s “three elements” to directly connect to the server to obtain the”threeelements” required to connect to Alibaba Cloud, as shown in the figure:
Ali Cloud

Configure device connection parameters, as shown in the following figure:
Configure device connection

Baidu cloud

It supports the use of Baidu Cloud’s “three elements” to directly connect to the server to obtain the “three elements”needed to connect to Baidu Cloud, as shown in the figure:
Baidu cloud

Configure device connection parameters, as shown in the following figure:
Configure device connection

Subscription and publishing require the establishment of a rule engine to achieve data return. First, a messagetemplate needs to be established, as follows:
Configure device connection
Create a rule engine for data return, as shown in the following figure:
Baidu cloud

Enable the rule engine, restart the device (re-subscribe, publish), and the communication test is as showninthefigure below:
Baidu cloud

One NET Cloud

supports the use of One NET “three elements” to directly connect to the server to obtain the “three elements”needed to connect to One NET , as shown in the figure:
One NET CloudConfigure device connection parameters, as shown in the following figure:

One NET Cloud

OneNET supports automatic generation of To pic with subscription and publication attributes , and onlyneedstosubscribe and publish the same address to realize data return. Communication test:
One NET Cloud

Standard MQTT3.1.1

standard M QTT3.1.1 connection here takes Tencent’s standard M QTT 3.1.1 server as an example, andthe”threeelements” described in the standard can be obtained from the Tencent server, as shown in the figure below:

Client ID: ELD0ERCUKDDEV01
MQTT Username: ELD0ERCUKddEV01; 12010123; 1667511713

The parameter configuration description is shown in the figure below:
Standard

Configure the corresponding subscription publishing address, and use the platform to debug and send dataonlinefor communication testing:
Standard

Special feature

Ebyte Cloud Modbus to JSON

It supports the conversion of Modbus RTU data at the serial port into the JSON message format of the Ebyteclouddevice communication protocol for data transmission and reception.

Alibaba Cloud Modbus to JSON

It supports the conversion of Modbus RTU data at the serial port into the JSON message format of the AlibabaCloud device communication protocol for data transmission and reception.

Edge acquisition

Support 20 external data point collection, you can establish data points through the host computer or Ebyteclouddevice communication protocol, the server can send JSON messages to read or set data points throughtheEbytecloud communication protocol or Alibaba cloud protocol, and then The device automatically converts JSONcommands into Modbus commands to set or read, and then reports the return value in JSON format. After setting the data points, the device will poll and read all the data points every one second (enable). If theexternal data points are set to report changes, once the data points are read, they will actively report the status of thedata points. or value.

Registration package

In the network transparent transmission mode (T CPC/UDPC ), the user can choose to let the devicesendaregistration packet to the server. The registration package is to enable the server to identify the data source, or asapassword to obtain server function authorization. The registration packet can be sent when the device establishesaconnection with the server, or the registration packet data can be spliced at the front end of each data packet astheheader of a data packet. The data of the registration package can be ICCID code, IMEI code, CSQvalue, FWversion information or custom registration data (support ASCII configuration custom registration package, ASCIIcan be configured up to 6 4B it).

Heartbeat packet

In the network transparent transmission mode (T CPC/UDPC ), the user can select the module to send the heartbeatpacket. The main purpose of sending to the network is to keep active with the server, so that devices that areidle(do not send data to the server for a long time) maintain a connection with the server. The data of the heartbeatpacket can be ICCID code, IMEI code, CSQ value, FW version information or custom registration data (support ASCII Configration custom registration packet, ASCII can be configured up to 6 4B it ).

Firmware upgrade

The firmware upgrade is realized through the serial port upgrade method, and the device can be upgradedthroughthe Ebyte serial port upgrade tool

Hardware factory reset

Restore the factory default parameters. After power on, press the Re load button for 5~10 seconds until all theLEDs light up ( LINKA&LNNKB only flashes, and the rest of the LEDs are always on until the button is released), and then release the device to restore the device parameters to Factory default parameters, the devicewillautomatically restart, short press the device to perform the restart operation.

Configuration method

Host computer configuration
Host computer configuration

Management platform configuration

Refer to “Cloud Platform Management Functions”

AT configuration command and network command configuration

Support serial AT command;
Support “Ebyte Cloud Device Communication Protocol” command configuration
For details, see the relevant downloads on the official website

About customization

  • Support various public clouds and private cloud platforms to customize IoT gateway access;
  • Support the customization of various transmission protocols such as Json, Modbus, and private protocols;
  • Support MQTT, TCP, UDP, HTTP and various transmission protocol equipment customization;
  • Ethernet, WiFi, 4G , 433M and other gateways ;
  • Switch value, analog value and all kinds of sensors are connected to the cloud platform for customization;
  • LoRa, Zigbee, BLE Mesh, WiFi and other local area networks are connected to the cloud platform;
  • Support customized explosion-proof, high-temperature, high-power industrial-grade communication equipment;
  • The company has its own patch SMT production line, which supports batch customization of product appearanceand model identification .

Revision History

Version revision date Revision Notes v’vd
1.0 2022-10-18 initial version LM

Contact us

Technical support: support@cdebyte.com
Documents and RF Setting download link: https://www.es-ebyte.com
Thank you for using Ebyte products! Please contact us with any questions or suggestions: info@cdebyte.com——————————————–
Fax: 028-64146160
Web: https://www.es-ebyte.com
Address: B5 Mould Industrial Park, 199# Xiqu Ave, High tech Zone, Chengdu, Sichuan, China
Copyright © 2012 , Chengdu Ebyte Electronic Technology Co., Ltd. 30

References

Read User Manual Online (PDF format)

Read User Manual Online (PDF format)  >>

Download This Manual (PDF format)

Download this manual  >>

Related Manuals