Ebyte E180-DTU User Manual

Ebyte E180-DTU User Manual

Wireless modem
Hide thumbs Also See for E180-DTU:

Advertisement

Quick Links

E180-DTU(ZG120-ETH) User Manuel

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the E180-DTU and is the answer not in the manual?

Questions and answers

Summary of Contents for Ebyte E180-DTU

  • Page 1 E180-DTU(ZG120-ETH) User Manuel...
  • Page 2: Table Of Contents

    4.3 TCP Client Instruction ................................. 19 4.4 TCP Server Instruction ................................. 20 4.5 UDP Client Instruction ................................. 21 4.6 UDP Server Instruction ................................22 4.7 WEB Introduction ..................................23 Revision history ......................................25 About us ........................................... 25 Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 3: Overview

    E180-DTU(ZG120-ETH)User Maunel 1. Overview 1.1 Introduction E180-DTU (ZG120-ETH) is a high-power ZIGBEE gateway, working as ZIGBEE node devices with adaptive network speeds (up to 100M, full duplex). It provides four working modes, i.e. TCP Server, TPC Client, UDP Server, and UDP Client.
  • Page 4: Size And Pin Definition

    Chengdu Ebyte Electronic Technology Co.,Ltd E180-DTU(ZG120-ETH)User Maunel 2.2 Size and pin definition Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 5: Function Description

    →Ethernet 3.2.1 SOCKET Function E180-DTU (ZG120-ETH) can establish two-way sockets, respectively Socket A1 and Socket B1. Socket A1 supports all types of TCP Client, TCP Server, UDP Client, and UDP Server. Socket B1 supports only three types: TCP Client, UDP Client, and UDP Server.
  • Page 6: Tcp Client Function

    It is usually used for data interaction between the device and the server, and is the most commonly used network communication method. (2) When E180-DTU (ZG120-ETH) attempts to connect to the server in TCP Client mode and the local port is 0, the connection is initiated through a random port each time.
  • Page 7: Udp Client Function

    IP. (2) In UDP Client mode, E180-DTU (ZG120-ETH) only communicates with the target port of the target IP. If the data is not from this channel, it will not be received by E180-DTU (ZG120-ETH).
  • Page 8: Wireless

    When data needs to be received, it is received through periodic wake-up. The longer the wake-up period is set, the more the reception is delayed. The wake-up period must be set to less than 30 seconds. Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 9: Data Transmission Method

    3.2.7 Data transmission method The data transmission methods of E180-DTU (ZG120-ETH) include unicast, broadcast, and multicast. 3.2.7.1 Broadcast mode In broadcast mode, the sending device sends the data received by the serial port to each node (including itself) in the network, and all devices in the network will receive the data.
  • Page 10: Output Mode Of Receiving Data

    When output mode of the device is data + long address + RSSI, after the module receives wireless data, serial port will output the original data + long address of the sending device + RSSI value of the received data packet. Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 11: Feature

    Heartbeat packets can be sent to the web server. The main purpose of sending to the network is to maintain a connection with the server. It only takes effect in TCP Client and UDP Client modes. E180-DTU (ZG120-ETH) module supports up to 60 bytes of custom heartbeat packet content.
  • Page 12: Registration Packet

    / subscribe transmission of messages to quickly implement the IoT. Users do not need to care about the protocol itself, they only need to process the data transmission and reception. Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 13 Users can enable the transparent transmission cloud function according to the command, and register the device and interact with the data according to the relevant usage of Ebyte cloud platform. Please refer to“Ebyte Cloud Platform Transparent Transmission Guide”for more details.
  • Page 14: Onenet

    Device ID: E.g.: 511986588 Product ID: E.g.: 286258 Authentication information: Custom input when creating a device. E.g.: Ebyte Address: The domain name connected ONENET IoT. E.g.: mqtt.heclouds.com Port: ONENET IoT port. E.g.: 6002 Subscribe to topics: E.g.: iot / general / get Release topic: E.g.: iot / general / update...
  • Page 15: Keepalive

    3.3.8 Clear cache When TCP connection is not established, the data received by DTU will be placed in the cache area. E180-DTU (ZG120-ETH) receiving cache is 2Kbyte. After TCP connection is established, the network cache data can be set to be cleared according to customer needs.
  • Page 16: Link/Data Receiving And Sending Command

    Socket A1 heartbeat packet mode Socket A1 heartbeat packet content 0(Sec),Turn off heartbeat packet function heartbeat msg Socket A1 registration packet mode Socket A1 registration packet time Socket A1 registration packet content regist msg Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 17: Dtu Instruction

    4.2 DTU Instruction Network configuration 1. Set the IP address of the PC computer to the same network segment as E180-DTU (ZG120-ETH), with the same subnet mask. For example, the PC IP is 192.168.4.10 and the module IP is 192.168.4.101 PC configuration:...
  • Page 18 Chengdu Ebyte Electronic Technology Co.,Ltd E180-DTU(ZG120-ETH)User Maunel DTU configuration: Zigbee parameter configuration, as shown below: Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 19: Tcp Client Instruction

    4.3 TCP Client Instruction 1. Set the SOCKET A1 network type of device A to TCP Client, the destination IP is 192.168.4.10, local port 0 (random port), and destination port 8886. Click Save to restart the module. Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 20: Tcp Server Instruction

    3. As shown in the figure below, communicate with another DTU, and the network debugging assistant connects to the DTU device for testing. 4.4 TCP Server Instruction 1. Set the SOCKET A1 network type of device A to TCP Server and local port 8886. Click Save to restart the module Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 21: Udp Client Instruction

    UDP Client and UDP Server), the local host IP is set to 192.168.4.10, the local host port number is set to 8887, and the remote host is set to 192.168.4.101:8886. Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 22: Udp Server Instruction

    IP is set to 192.168.4.101, the local host port number is set to 8886, and the remote host is set to 192.168.4.101:8887 3. As shown in the figure below, communicate with another DTU, and the network debugging assistant connects to the DTU device for testing. Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 23: Web Introduction

    (Default port of the browser is 80), and enter the web page after login successfully. As shown in the figure: Select one or more pages for parameter browsing and configuration according to specific needs (take ZigBee settings as an example). Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 24 E180-DTU(ZG120-ETH)User Maunel After filling in the parameters correctly, click save Setting The page will automatically jump to the module management page. After you click Restart Module, the module restarts and the set parameters take effect. Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 25: Revision History

    Issued by 2019-3-5 Initial version 2019-12-2 Format adjustment 2020-1-4 version Blue About us Sales hotline: 4000-330-990 Tel: 028-61399028 Support: support@cdebyte.com Website: www.ebyte.com Address: Innovation Center B333~D347, 4# XI-XIN road,High-tech district (west), Chengdu, Sichuan, China Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co.,Ltd.

This manual is also suitable for:

Zg120-eth

Table of Contents