Ebyte E180-DTU User Manual

Ebyte E180-DTU User Manual

Hide thumbs Also See for E180-DTU:
Table of Contents

Advertisement

Quick Links

Advertisement

Table of Contents
loading

Summary of Contents for Ebyte E180-DTU

  • Page 2: Table Of Contents

    Chengdu Ebyte Electronic Technology Co., Ltd E180-DTU(ZG120-232) Usermanual Contents 1 Product introduction................................3 1.1 Brief introduction..............................3 1.2 Features..................................3 1.3 Product features................................3 2 Size and pin definition................................. 4 2.1 Pin definition................................5 2.2 Size................................... 6 3 Interface definition................................7 3.1 Power supply interface............................. 7 4 Function description................................
  • Page 3 Chengdu Ebyte Electronic Technology Co., Ltd E180-DTU(ZG120-232) Usermanual 6.5.5 Network PAN_ID..............................17 6.5.6 Network short address............................17 6.5.7 MAC address...............................17 6.6.8 Parent node network short address........................17 6.5.9 Parent node MAC address...........................17 6.5.10 Network group number............................. 17 6.5.11 Network channel............................... 17 6.5.12 TX power................................17 6.5.13 Serial port baudrate............................
  • Page 4: Product Introduction

    1 Product introduction 1.1 Brief introduction E180-DTU (ZG120-232) is a wireless communication device based on ZigBee technology. As a communication medium, like optical fiber, microwave, and cable, it has a certain scope of application: it provides real-time and reliable data transmission of monitoring signals in a private network under certain special conditions. It has low cost, convenient...
  • Page 5: Size And Pin Definition

    Chengdu Ebyte Electronic Technology Co., Ltd E180-DTU(ZG120-232) Usermanual  Role switching: The user can switch the roles between the three types of coordinator, router, and terminal through serial commands;  Support multiple network topologies: point-to-point, star network, MESH network;  Network self-healing: When the network intermediate node is lost, other networks automatically join or maintain the original network;...
  • Page 6: Pin Definition

    Chengdu Ebyte Electronic Technology Co., Ltd E180-DTU(ZG120-232) Usermanual 2.1 Pin definition Item Function Description Crimped power connector, DC 8 ~ 28V, 12V or 24V is recommended positive Crimped power connector, The negative of the power supply is connected to the...
  • Page 7: Size

    Chengdu Ebyte Electronic Technology Co., Ltd E180-DTU(ZG120-232) Usermanual 2.2 Size Item Description Size 66*66*21mm Weight 70.5g±5g Unit: mm Copyright ©2012–2017,成都亿佰特电子科技有限公司...
  • Page 8: Interface Definition

    3.1 Power supply interface The user needs to use the VCC terminal and GND terminal in ① for power supply. E180-DTU can use 8 ~ 28V DC power supply. It is recommended to use 12V or 24V DC power supply.
  • Page 9: Data Receiving And Transmitting Mode

    Chengdu Ebyte Electronic Technology Co., Ltd E180-DTU(ZG120-232) Usermanual when the module serial port receives the "2F 2C 2B" character, the module exits the configuration mode, enters the transmission mode, and returns to the "7F 7C 7B" character after successfully entering the transmission mode.
  • Page 10: Data+Short Address

    Chengdu Ebyte Electronic Technology Co., Ltd E180-DTU(ZG120-232) Usermanual 5.2.2 Data+short address When the output mode of the device is data + short address, after the module receives the wireless data, the serial port will output the original data + short address of the sending device.
  • Page 11: Run Description

    Chengdu Ebyte Electronic Technology Co., Ltd E180-DTU(ZG120-232) Usermanual 6.1.2 RUN description RUN pin indicates the current working status of the device. When the RUN light is off, it indicates that the device is busy; when the RUN light is on, it indicates that the device is idle; when the device receives data, the RUN light goes off for 2 to 4 ms, and the serial port starts to output data.
  • Page 12 Chengdu Ebyte Electronic Technology Co., Ltd E180-DTU(ZG120-232) Usermanual Target network Read/Write 0x0000~0xFFFF Current device communication target (short address), address which can be switched at any time through commands Local MAC address Read 64bitMAC The factory default MAC address of the module which...
  • Page 13: Hex Command

    Chengdu Ebyte Electronic Technology Co., Ltd E180-DTU(ZG120-232) Usermanual 6.4 HEX command 6.4.1 Command rules Read format of local serial port: Network parameter reading: FE LEN CMD FF Peripheral parameter reading: FE LEN CMD CHANNEL FF FE: Fixed head LEN: Length of DATA CMD: Actual name ID CHANNEL: PWM、ADC、GPIO Channel selection when reading...
  • Page 14: Read Command

    Chengdu Ebyte Electronic Technology Co., Ltd E180-DTU(ZG120-232) Usermanual 6.4.2 Read command Command Command Command format Example description Read device type Send: FE 01 01 FF Send: FE 01 01 FF Return: FB 01 dev_type Return: FB 01 03 Read network status Send:...
  • Page 15: Configuration Command

    Chengdu Ebyte Electronic Technology Co., Ltd E180-DTU(ZG120-232) Usermanual Read data output Send: FE 01 27 FF Send: FE 01 27 FF mode Return: FB 27 out_mode Return: FB 27 00 Read central network Send: FE 01 28 FF Send: FE 01 28 FF open time Return:...
  • Page 16: Network Operation Command

    Chengdu Ebyte Electronic Technology Co., Ltd E180-DTU(ZG120-232) Usermanual Configure short address of target Send:FD 02 23 dec_addr FF Send:FD 02 23 00 00 FF network Return:FA 23 Return:FA 23 Configure group number of target Send:FD 01 24 netid FF Send:FD 01 24 00 FF network Return:FA 24...
  • Page 17: Hex Parameter Description

    Chengdu Ebyte Electronic Technology Co., Ltd E180-DTU(ZG120-232) Usermanual 6.5 HEX parameter description 6.5.1 System TX mode Mode: 0x00 Broadcast (default); 0x01 Multicast; 0x02 Unicast+short address; 0x03 Unicast+long address. 6.5.2 Data output Mode: 0x00 Transparent transmission (Default); 0x01 Data+short address; 0x02 Data+long address;...
  • Page 18: Network Pan_Id

    Chengdu Ebyte Electronic Technology Co., Ltd E180-DTU(ZG120-232) Usermanual 6.5.5 Network PAN_ID pan_id: 0x0000~0xFFFE Fixed network PAN_ID 0xFFFF Random network PAN_ID PANID This parameter needs to be configured before establishing a network or joining a network 6.5.6 Network short address Short_Addr: 2 Byte Addresses randomly assigned by the coordinator 6.5.7 MAC address...
  • Page 19: Serial Port Baudrate

    Chengdu Ebyte Electronic Technology Co., Ltd E180-DTU(ZG120-232) Usermanual This parameter needs to be configured before joining the network or establishing a network. 6.5.13 Serial port baudrate Baudrate parameter table: Buad Baudrate Buad Baudrate 4800 76800 9600 115200 (default) 14400 128000...
  • Page 20: Maximum Number Of Reconnections

    Chengdu Ebyte Electronic Technology Co., Ltd E180-DTU(ZG120-232) Usermanual 6.5.18 Maximum number of reconnections Rejoin maxcount: (1~255) Range of Maximum number of reconnections: 1~255 times Note: After attempting the maximum number of rejoins, if the previous network has not been restored, the previous network information will be cleared, and the new network is scanned periodically with the Rejoin period.
  • Page 21: Terminal Details Of Parent Node

    Use the setting software to quickly and easily set up a ZigBee network. The specific steps are as follows: (1) Connect the computer to the device via USB to RS232, open the setting software “E180-DTU-Setting”, as shown in the figure below, select the port number and set the serial port baud rate (default 115200), and open the serial port.
  • Page 22 Chengdu Ebyte Electronic Technology Co., Ltd E180-DTU(ZG120-232) Usermanual (2) After the serial port is opened, first click "Enter configuration mode", and the message box prompts "Enter configuration state successfully, read parameters successfully." The main network parameters include: the default node type is terminal, the default channel is 11, the PAN ID default is random, and the default tx power is 10.
  • Page 23 Chengdu Ebyte Electronic Technology Co., Ltd E180-DTU(ZG120-232) Usermanual (4) After the node type is successfully written, modify other network parameters to establish the required ZigBee network (you can also use the default values without modifying the parameters). Modify the channel, network PANID, and tx power here.
  • Page 24 Chengdu Ebyte Electronic Technology Co., Ltd E180-DTU(ZG120-232) Usermanual (7) Select the fixed-point networking interface and the network state is displayed as "Joined Network", indicating that the coordinator network was successfully created. Copyright ©2012–2017, 成都亿佰特电子科技有限公司...
  • Page 25: Quickly Join A Zigbee Network

    E180-DTU(ZG120-232) Usermanual 7.2 Quickly join a ZigBee network (1) Open the setting software "E180-DTU-Setting", select the port number, set the baud rate of the serial port, and open the serial port. (2) After the serial port is opened, first click "Enter configuration mode", and the message box prompts "Enter configuration state successfully, read parameters successfully."...
  • Page 26 Chengdu Ebyte Electronic Technology Co., Ltd E180-DTU(ZG120-232) Usermanual (4) Click "Module restart", the message box prompts "Module restart successfully", click "Enter configuration mode", the message box prompts "Entered configuration successfully, read parameters successfully", then confirm whether the read PAN ID and channel parameters are same as previously modified.
  • Page 27: Zigbee Network Communication Test

    Chengdu Ebyte Electronic Technology Co., Ltd E180-DTU(ZG120-232) Usermanual Similarly, routing nodes and terminal nodes also join a specific ZigBee network according to the above method. If the node type is unchanged but needs to join to another ZigBee network, the Enter button next to the node type configuration also needs to be clicked.
  • Page 28: Unicast Between The Terminal And The Coordinator With Long Addresses

    Chengdu Ebyte Electronic Technology Co., Ltd E180-DTU(ZG120-232) Usermanual (3) Similarly, the terminal unicasts to the coordinator. 7.3.1.2 Unicast between the terminal and the coordinator with long addresses (1) Before communication, first enter the configuration mode and configure the target MAC address. On the coordinator side, configure the target MAC address as the long MAC address of the terminal.
  • Page 29: Multicast Test

    Chengdu Ebyte Electronic Technology Co., Ltd E180-DTU(ZG120-232) Usermanual (2) After the target MAC address is configured, you also need to configure the transmission mode, change the "network address (short address)" to "MAC address", and then write the parameters again. At this time, the target address is configured for unicast in the form of MAC address.
  • Page 30 Chengdu Ebyte Electronic Technology Co., Ltd E180-DTU(ZG120-232) Usermanual (2) For example, if the coordinator is the sender, click "Enter configuration mode" to enter the fixed network and select the multicast mode. The message box prompts "In multicast mode, the nodes in the network with the same group number will receive multicast data", modify the target group number to "5", and then write the parameter, and the...
  • Page 31: Broadcast Test

    Chengdu Ebyte Electronic Technology Co., Ltd E180-DTU(ZG120-232) Usermanual (4) For example, when the terminal is the receiving end, enter the configuration mode, change the network group number to "4", and then write the parameter. At this time, because the network group number is not "5", the coordinator multicast data cannot be received.
  • Page 32 Chengdu Ebyte Electronic Technology Co., Ltd E180-DTU(ZG120-232) Usermanual Copyright ©2012–2017, 成都亿佰特电子科技有限公司...
  • Page 33: User Notice

    Network structure diagram 9 Practical applications Ebyte DTU is suitable for various point-to-point and point-to-multipoint wireless data transmission systems, such as smart homes, IoT transformation, power load monitoring, distribution network automation, hydrological and hydrological monitoring, water pipe network monitoring, urban street lights monitoring, air defense alarm control,...
  • Page 34: Notice

    Ebyte provides first-class After sales service. Do not operate this station near some flammable places (such as coal mines) or explosive dangerous objects (such as detonators for detonation).
  • Page 35: Important Statement

    100mV. 11 Important statement Ebyte reserves the right of final interpretation and modification of all contents in this manual. As the hardware and software of the product are continuously improved, this manual may be changed without further notice.

This manual is also suitable for:

Zg 120-232

Table of Contents