Ebyte E180-ZG120A User Manual

Ebyte E180-ZG120A User Manual

Zigbee
Hide thumbs Also See for E180-ZG120A:
Table of Contents

Advertisement

Quick Links

E180-ZG120A User Manual
EFR32 2.4GHz ZigBee
SoC wireless module

Advertisement

Table of Contents
loading

Summary of Contents for Ebyte E180-ZG120A

  • Page 1 E180-ZG120A User Manual EFR32 2.4GHz ZigBee SoC wireless module...
  • Page 2: Table Of Contents

    6.1.6 UART_BAUD_RESET ..........................10 6.2 Wireless remote configuration function ......................10 6.3 Touch link Functional application ........................10 6.3.1 Touch link Introduction ..........................10 6.3.2 Steps of creating a touch link network ......................11 Copyright ©2012–2019, Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 3 6.6.31 firmware version number .......................... 24 7.Quick start..................................24 7.1 Quickly build ZigBee network ........................24 7.2 Quickly join a ZigBee network ........................28 7.3 ZigBee Network communication test ......................30 7.3.1 Unicast test ..............................30 Copyright ©2012–2019, Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 4 8.5 Software Programming ........................... 38 9.FAQ....................................39 9.1 Communication range is too short ........................39 9.2 Module is easy to damage ..........................39 9.3 Bit error rate is too high ..........................39 Revision history................................39 About us..................................40 Copyright ©2012–2019, Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 5: General Introduction

    ZIGBEE 3.0 standard and provide a complete application integration solution based on IEEE802.15.4 standard ISM band. E180-ZG120A was certified by a series of authoritative RF instruments, support serial port transparent transmission mode. It also integrates self-organizing network function, provides multi-channel configurable AD, IO, PWM interface.
  • Page 6: Device Type Introduction

    30 seconds or longer to reduce power consumption (default is 5 minutes), such as battery powered sensors. 1.3.3 Router The other nodes are allowed to connect with the routing device to extend the coverage of the network. The main task Copyright ©2012–2019, Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 7: Coordinator

    Chances of burn is slim when modules are used in short Blocking power(dBm) distance Working temperature(℃) Industrial grade Working parameters Performance Main parameter Remark Min. Typ. Max. Operating voltage(V) 1.95 ≥3.3 V ensures output power Copyright ©2012–2019, Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 8 Crystal frequency 38.4MHz Protocol Zigbee 3.0 Standard ZigBee 3.0 protocol Packing Connector 1.27mm Stamp hole EFR32MG1B232F256GM48 FLASH 256KB 32KB Core Cortex-M4 Size 17.5*28.7mm Antenna PCB/IPEX 50 ohm impedance Copyright ©2012–2019, Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 9: Mechanical Characteristics

    TOUCHLINK pin, which continuously lowers more than 3000ms, will initiate PD13 Input a zll network establishment or join request PD14 Input WAKE pin is mainly used to wake up the sleep end device. It is high level Copyright ©2012–2019, Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 10 LINK pin indicates the current network status, output high level indicates that Output the network has been joined RESETN Input Reset pin Input /Output Ground, connecting to power source referential ground Input /Output Ground, connecting to power source referential ground Copyright ©2012–2019, Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 11: Operation Mode

    Working mode switch pin PB11, internal configuration pull-up resistance input mode, power on default high level, in any mode, when mode switch pin PB11 is pulled down more than 500ms, the module working mode switch, as shown in the figure below: 模式引脚电平脉冲 配置 传输 模式引脚电平脉冲 模式引脚电平 >500ms Copyright ©2012–2019, Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 12: Transmission Mode

    5.2.2 Data + short address When the output mode is data + short address, after receiving the wireless data, the serial port will output the original data + the short address of the sending device; Copyright ©2012–2019, Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 13: Data+Long Address

    6.1.3 AUX The AUX pin indicates the current working status of the device. When the pin is low, the device is busy; when the Copyright ©2012–2019, Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 14: Ack

    Touch link belongs to the standard networking mechanism in ZigBee Light Link (ZLL) protocol. Touch link is a contact connection. When two modules are close to each other within a certain range, touch link is activated by button or command. A ZigBee communication network is established between the two modules. Copyright ©2012–2019, Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 15: Steps Of Creating A Touch Link Network

    Indicates the network status of the current device, including no network, currently joining the network, successfully joining the 0、1、2、3、 Network status Read network, having the network but losing the parent node, leaving the current network, and so on; Copyright ©2012–2019, Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 16 Read/Write times the previous network information, rescans the new network, and reconnections the scanning period is equal to the reconnection period; Access/control module level status of the GPIO channel; IO state Read/Write High/Low Copyright ©2012–2019, Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 17: Hex User Instruction Set

    Parameter reading format: A8 8A FE LEN CMD (CHANNEL) FF Network operation format :F5 LEN CMD DATA FF F5 : fixed head LEN: Actual length of DATA Actual named ID CMD: Actual parameter DATA: Copyright ©2012–2019, Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 18: Read Instruction Set

    Read sleep time Return: FB 0D 54 Return: FB 0D sleep_time Read target short network Send:FE 02 23 FF Send: FE 02 23 FF address Return: FB 23 Return: FB 23 00 00 Dec_ShortAddr Copyright ©2012–2019, Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 19 Command: FE 01 32 FF Send: FE 01 32 FF nodes reading the parent Return: FB 32 child_count Return: FB 32 0A node Read the parent node's Command: FE 0E 33 FF Send: FE 0E 33 FF Copyright ©2012–2019, Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 20: Configuration Instruction Set

    Send:FD 01 24 00 FF network group number Return:FA 24 Return:FA 24 Configure target long Send:FD 08 25 dec_mac FF Send:FD 08 25 0A 1C 21 address Return:FA 25 FE FF 57 B4 14 FF Copyright ©2012–2019, Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 21 Return:FA 37 Send:FD 10 38 Send:FD 10 38 TrustCentLinkKey FF 5A 69 67 42 65 65 41 6C Read link key of trust center Return:FA 38 6C 69 61 6E 63 65 30 39 Copyright ©2012–2019, Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 22: Network Operation Instruction Set

    0x01 data+short address; 0x02 data+long address; 0x03 data+RSSI; 0x04 data+short address+RSSI; 0x05 data+long address+RSSI; Note: the maximum package length is 72 6.6.3 Network node type dev_type: 0x01 Coordinator 0x02 Router 0x03 End-device (default) Copyright ©2012–2019, Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 23: Network State

    Coor_Mac_Addr: 8 Byte Network group number group 6.6.10 Group number range 0x01~0xFF (default 0 means no group system default broadcast) group: 6.6.11 Network Channel 0x1A Channel range 0x0B(11)~ (26) (default 11 channels) channel Copyright ©2012–2019, Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 24: Transmitting Power

    The power consumption of the new network scanned by Rejoin period is higher than that of the network before the restoration. Therefore, for devices with high power consumption Copyright ©2012–2019, Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 25: Wireless Remote Configuration Id

    PF6 Port start/stop:Start/stop channel PWM output 0xFF Start PWM 0x00 Stop PWM period:pwm period time(Unit 1 = 1ms) Recommended setting range 0x0A~0xFFFF Period1 High 8 bits of period Period2 Low 8 bits of period Copyright ©2012–2019, Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 26: User Adc Parameter

    46 0C FE FF 9F FD 90; Network group 01;Channel 0B;Transmitting power 0A;Baud rate 09;sleep time 54; Target network short address 00 00; Target network group 00;Target long address 0A 1C 21 FE FF 57 B4 14; Copyright ©2012–2019, Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 27: Number Of End-Devices Of The Parent Node

    Uart_holdtime: The unit of 1~255 is 10ms, the default parameter is 100, that is, the serial port will keep waking up for 100*10ms after waking up, and then going to sleep after 1000ms. Copyright ©2012–2019, Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 28: Configure Endpoint Information

    Quickly and easily establish a ZigBee network via PC software. The steps are as follows: ( 1 ) Connect Zigbee ad hoc module via USB to UART converter, Open host computer software “ E180-ZG120A-Setting ” , select Com port and set baud rate as 115200(default), then open port.
  • Page 29 Modify node type as coordinator, and click the Enter button, the message box prompts "Configure device type (3) success". The general ZigBee 3.0 network is established by the coordinator node, so the factory default end-device node type needs to be changed to the coordinator before establishing the network. Copyright ©2012–2019, Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 30 After modifying the parameters, click “Write Network Parameters”. ", the message box will prompt "Write parameters successfully" The node type is modified, and the module needs to be restarted to take effect. Click “Module Restart”, and the (5) message box prompts “Module restart successful”. Copyright ©2012–2019, Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 31 Select the fixed-point networking interface, display the network status as "joined network". The coordinator ( 7 ) network is successfully created. Copyright ©2012–2019, Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 32: Quickly Join A Zigbee Network

    PAN ID and transmit channel parameters must be the same as the network to be joined, click "Write network parameters", The message box prompts "Write parameters successfully." Copyright ©2012–2019, Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 33 Similarly, the routing node and the end-device node also join the ZigBee network according to the appeal method. If the node type does not need to be added to another ZigBee network, the Enter button next to the node type Copyright ©2012–2019, Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 34: Zigbee Network Communication Test

    "enter transmission mode successfully". Before communication, confirm whether the module is in transmission mode, and only in the transmission mode can the communication be realized. Input the data to be sent in the sending area, click send, and the received data can be seen in the end-device node message box. Copyright ©2012–2019, Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 35: Unicast In Long Address Form Between End-Device And Coordinator

    (2)After the target MAC address is configured, the transmission mode needs to be configured. Change the "network address (short address)" to "MAC address", and then write the parameters again. At this time, the target address is configured to unicast in the form of MAC address. Copyright ©2012–2019, Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 36: Multicast Testing

    ( 1 ) For example, if the end-device device is the receiving end, click "enter configuration mode", modify the network group number to "5", and then write the parameters. The message box will prompt "write parameters successfully". At this time, group ID 5 is assigned to the end-device. Copyright ©2012–2019, Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 37 (4)The end-device receiver enters the configuration mode, changes the network group number to "4", and writes the parameter. At this time, because the network group number is not "5", the coordinator multicast data cannot be received. Copyright ©2012–2019, Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 38: Broadcast Test

    (2)Enter the transmission mode, the message box will prompt "enter the transmission mode successfully", and then broadcast data communication, at this time, all nodes in the network will receive data, including the sending node Copyright ©2012–2019, Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 39: Secondary Development Design Reference

    Ground, connecting to power source referential ground PD10 Input/Output Configurable general IO port(See EFR32MG1 datasheet) PD11 Input/Output Configurable general IO port(See EFR32MG1 datasheet) PD12 Input/Output Configurable general IO port(See EFR32MG1 datasheet) PD13 Input/Output Configurable general IO port(See EFR32MG1 datasheet) Copyright ©2012–2019, Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 40 Configurable general IO port(See EFR32MG1 datasheet) Input/Output Configurable general IO port(See EFR32MG1 datasheet) RESETN Input Reset pin Input/Output Ground, connecting to power source referential ground Input/Output Ground, connecting to power source referential ground Copyright ©2012–2019, Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 41: Schematic Design

    It is recommended to use a DC stabilized power supply. The power supply ripple factor is as small as possible,and the module  needs to be reliably grounded. Please pay attention to the correct connection of the positive and negative poles of the power supply.  Copyright ©2012–2019, Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 42: Software Programming

    EFR32 chip manual (see the EFR32 manual for more details). Burning program: The module is SOC module, with GPIO port. J-link Downloader is used for programming download.  Program download interface definition:  J-LINK interface SWCLK SWDIO Copyright ©2012–2019, Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 43: Faq

     Poor power supply may cause messy code. Make sure that the power supply is reliable.  The extension line and feeder quality are poor or too long, so the bit error rate is high; Revision history Version Date Description Issued by Initial version 2019-8-23 Content modification Copyright ©2012–2019, Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 44: About Us

    Chengdu Ebyte Electronic Technology Co.,Ltd. E180-ZG120A User Manual About us Technical support: support@cdebyte.com Documents and RF Setting download link: www.ebyte.com Tel:+86-28-61399028 Fax:028-64146160 Address: BuildingB5, Mould Industrial Park,199#Xiqu Ave, West High-tech Zone, Chengdu,611731, Sichuan, China Copyright ©2012–2019, Chengdu Ebyte Electronic Technology Co.,Ltd.

Table of Contents