background image

Summary of Contents for E180-DTU

Page 1: ......

Page 2: ...5 1 2 Multicast mode 8 5 1 3 Unicast mode 8 5 2 The output mode of the received data 8 5 2 1 Transparent output 8 5 2 2 Data short address 9 5 2 3 Data long address 9 5 2 4 Data RSSI 9 5 2 5 Data short address RSSI 9 5 2 6 Data long address RSSI 9 6 Application function and command configuration 9 6 1 Function 9 6 1 1 LINK description 9 6 1 2 RUN description 10 6 1 3 UART_BAUD_RESET description 10...

Page 3: ...node is lost 19 6 5 18 Maximum number of reconnections 19 6 5 19 Remote configuration ID 19 6 5 20 Configure all network parameters 19 6 5 21 Read all network parameters 19 6 5 22 Terminals of parent node 20 6 5 23 Terminal details of parent node 20 7 Quick Start 20 7 1 Quickly build a ZigBee network 20 7 2 Quickly join a ZigBee network 24 7 3 ZigBee network communication test 26 7 3 1 Unicast tes...

Page 4: ... price Transmit power can be selected It adopts temperature compensated crystal with frequency stability better than 2ppm Operating temperature range 40 85 can adapt to a variety of harsh working environments truly industrial class All aluminum alloy shell compact size easy installation good heat dissipation perfect shielding design good electromagnetic compatibility strong anti interference abili...

Page 5: ...commands Users can configure check the parameters and functions of the module through the serial port commands Network PAN_ID change The network PAN_ID can be switched arbitrarily The user can customize the PAN_ID to join the corresponding network or automatically select the PAN_ID to join the network Network opening time is configurable It can be configured to open the network for a certain perio...

Page 6: ...to port B of other RS485 device 5 RS485 A Serial terminal Input connected to port A of other RS485 device 6 PWR LED Power Indicator Red always on when power is on 7 TXD LED Send indicator Yellow blinking when sending data 8 RXD LED Receive indicator Yellow blinking when receiving data 9 LINK LED Connection indicator Red always on when connected to the network off when not connected 10 RUN LED Devi...

Page 7: ...Chengdu Ebyte Electronic Technology Co Ltd E180 DTU ZG120 485 Usermanual Copyright 2012 2019 Chengdu Ebyte Electronic Technology Co Ltd 6 2 2 Size No Item Description 1 Size 66 66 21mm 2 Weight 72 4g 5g ...

Page 8: ...Ω resistor in parallel between the 485_A terminal and 485_B 4 Function description 4 1 Transmission mode When the module enters the transmission mode any data received by the serial port will be sent out The transmission mode is the wireless communication between network nodes The communication methods include unicast broadcast and multicast 4 2 Configuration mode When the module enters the config...

Page 9: ...twork and all devices in the network will receive the data 5 1 2 Multicast mode In multicast mode first set the group number for grouping for the devices in the network The sending device must specify the target group number to which group to send the data Then the sending device will send the data received by the serial port to the network and the devices with the same group number in the network...

Page 10: ... the wireless data the serial port will output the original data RSSI value of the received packet 5 2 5 Data short address RSSI When the output mode of the device is data short address RSSI after the module receives the wireless data the serial port will output the original data short address of the sending device RSSI value of the received packet 5 2 6 Data long address RSSI When the output mode...

Page 11: ...received by the module are the wireless configuration ID The module will recognize the data packet as a remote configuration command and perform the corresponding command operation The data packet will not be output through the serial port 6 3 Function parameter description The module provides abundant configurable parameters which can be flexibly used according to actual application requirements ...

Page 12: ... long address RSSI TX power Read Write 0 20dbm Output power of the module 0 to 20dbm Where power consumption is required and the distance is not required the tx power can be reduced for saving average power consumption Remote configuration ID Read Write 2 bytes It is used to judge whether the data received in the air is a remote configuration command Customers can change the wireless configuration...

Page 13: ...MD DATA FF FD Fixed head LEN Length of DATA CMD Actual name ID DATA Parameter FF Command Terminator Return of configuration FA CMD FA Fixed head CMD Command ID Return during reading configuration F7 FF indicating that the information does not exist read configuration format failed Wireless remote read configuration format Add wireless configuration ID before the command format of local serial port...

Page 14: ...urn FB 07 Coor_shortAddr Send FE 02 07 FF Return FB 07 00 00 Read the MAC address of the parent node 08 Send FE 08 08 FF Return FB 08 Coor _Mac_Addr Send FE 08 08 FF Return FB 08 0C 46 0C FE FF 9F FD 90 Read network group number 09 Send FE 01 09 FF Return FB 09 group Send FE 01 09 FF Return FB 09 01 Read communication channel 0A Send FE 01 0A FF Return FB 0A channel Send FE 01 0A FF Return FB 0A 0...

Page 15: ...ice FE Send FE 2F FE FF Return FB FE all_info Send FE 2F FE FF Return FB FE 03 02 FE 5B F6 FA 1F 1C 21 FE FF 57 B4 14 00 00 0C 46 0C FE FF 9F FD 90 01 0B 0A 09 54 00 00 00 0A 1C 21 FE FF 57 B4 14 02 00 FF 05 05 A8 8A Read the number of parent nodes 32 Command FE 01 32 FF Return FB 32 child_count Send FE 01 32 FF Return FB 32 0A Read the parent node s detail list 33 Command FE 0E 33 FF Return FB 33...

Page 16: ...time FF Return FA 28 Send FD 01 28 FF FF Return FA 28 Configure the rejoin period after the terminal node loses the parent node Send FD 01 29 time FF Return FA 29 Send FD 01 29 05 FF Return FA 29 Configure the maximum number of rejoin after the terminal node loses the parent no Send FD 01 30 time FF Return FA 30 Send FD 01 30 05 FF Return FA 30 Configure remote configuration ID Send FD 02 31 heade...

Page 17: ...output Mode 0x00 Transparent transmission Default 0x01 Data short address 0x02 Data long address 0x03 Data RSSI 0x04 Data short address RSSI 0x05 Data long address RSSI Note the maximum packet length is 72 bytes 6 5 3 Device type dev_type 0x01 Coordinator 0x02 Router 0x03 Terminal default Changing the device type configuration takes effect after restarting If the device type is configured in norma...

Page 18: ...address Short_Addr 2 Byte Addresses randomly assigned by the coordinator 6 5 7 MAC address Mac_Addr 8 Byte Factory unique physical address fixed 6 6 8 Parent node network short address Coor_shortAddr 2 Byte The short address of the parent node of the current device it is 0x0000 if the coordinator 6 5 9 Parent node MAC address Coor_Mac_Addr 8 Byte Long address of the parent node of the current devi...

Page 19: ... wake cycle 60 61 60 10 60 255 60 10 Unit second Note This sleep time represents the polling cycle of the terminal and represents the speed at which the terminal automatically switches the best parent node 6 5 15 Saving time of parent node Time The maximum setting of the Zigbee protocol stack is 30 and the unit is S seconds If a terminal node needs to receive data from the parent node the configur...

Page 20: ...ion default is 0xA88A 0xA8 0x8A 6 5 20 Configure all network parameters all_info FD 1A FE 03 FE 5B 01 0B 0A 09 54 00 00 00 0A 1C 21 FE FF 57 B4 14 02 00 FF 05 05 A8 8A FF Device type 03 Network PANID FE 5B Network group number 01 Channel 0B TX power 0A Baudrate 09 Sleep time 54 Target network short address 00 00 Target network group number 00 Target network short address 0A 1C 21 FE FF 57 B4 14 Sy...

Page 21: ...index from 0 to child_count 1 at intervals of 50ms for example Receive FE 0E 33 FF Return FB 33 0 03 34 F3 0B 03 21 FE FF 57 B4 14 50ms FB 33 1 04 F2 7B 02 1F 21 FE FF 57 B4 14 50ms FB 33 2 04 A0 82 27 6E 21 FE FF 57 B4 14 50ms FB 33 3 03 F4 3E F3 7C 21 FE FF 57 B4 14 50ms FB 33 index dev_type Short_Addr Mac_Addr 7 Quick Start In order to let users become familiar with the module quickly this sect...

Page 22: ...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 3 Change the node type to coordinator and click the button next to it then a message box prompts Successfully configured device type The usual ZigBee 3 0 network is established by the coordinator node so you need to chan...

Page 23: ...click write network parameters the message box will prompt write parameters successful 5 After the node type is modified the device needs to be restarted to take effect Click Module restart and the message box prompts Module restart successfully 6 After the module is restarted it will enter the transmission mode by default At this time click enter configuration mode again and the message box will ...

Page 24: ...U ZG120 485 Usermanual Copyright 2012 2019 Chengdu Ebyte Electronic Technology Co Ltd 23 7 Select the fixed point networking interface and the network state is displayed as Joined Network indicating that the coordinator network was successfully created ...

Page 25: ... 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 tx power The default is 20 3 Modify the node type to sleep terminal click the button next to it and the message box prompts Configure device type successfully Modify...

Page 26: ...y 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 5 Select the fixed networking interface and the network state is displayed as Joined Network indicating that the sleeping terminal node has joined the network which is created by the coor...

Page 27: ...nfigure the target network address and change the target network address of the coordinator to the local short address of the terminal 0xFCFA The target network address of the terminal is 0 by default and 0 is the network short address of the coordinator the network short address of the coordinator is always 0 At this time no modification is needed If it communicates with a non coordinator node it...

Page 28: ...o 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 On the terminal side configure the target MAC address as the coordinator MAC long address ...

Page 29: ...t this time the target address is configured for unicast in the form of MAC address 3 After completing the above parameter configuration you need to click to enter the transmission mode and communicate in the transmission mode 7 3 2 Multicast test 1 For example the terminal device is the receiving end click Enter configuration mode modify the network group number to 5 and then write the parameter ...

Page 30: ...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 message box prompts Successfully written parameter 3 Enter the transmission mode the message box prompts Successfully entered the transmission mode and then perf...

Page 31: ...ork group number is not 5 the coordinator multicast data cannot be received 7 3 3 Broadcast test 1 For example the coordinator broadcasts click Enter configuration mode enter the fixed network select the broadcast mode and then write the parameters A message box prompts Write parameters successfully 2 Enter the transmission mode the message box prompts Successfully entered the transmission mode an...

Page 32: ...Chengdu Ebyte Electronic Technology Co Ltd E180 DTU ZG120 485 Usermanual Copyright 2012 2019 Chengdu Ebyte Electronic Technology Co Ltd 31 ...

Page 33: ...nctions 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 railway sign...

Page 34: ... protection to ensure data transmission The radio works normally 5 Do not use in working environments that exceed the environmental characteristics of digital radio stations such as high temperature humidity low temperature strong electromagnetic fields or dusty environments 6 Don t let the DTU continuously transmit at full load otherwise the transmitter may be burned 7 The ground wire of the DTU ...

Page 35: ...ther notice The latest version of the manual shall prevail 3 It is everyone s responsibility to protect the environment In order to reduce the use of paper this manual is only printed in Chinese and the English manual is only provided with electronic documents If necessary please download it from our website In addition if the user does not specifically request users bulk order At that time we onl...

Reviews: