background image

Chengdu Ebyte Electronic Technology Co.,Ltd.

E180-ZG120A User Manual

Copyright ©2012–2019, Chengdu Ebyte Electronic Technology Co.,Ltd.

1

2

For example, if the coordinator is the sender, click "enter configuration mode" to enter the fixed-point networking, select the

multicast mode, and the message box will prompt "under multicast mode, all nodes with the same group number in the network will
receive multicast data", modify the target group number to "5", and then write the parameter, and the message box will prompt "write
the parameter successfully".

3

Enter the transmission mode, the message box will prompt "enter the transmission mode successfully", and then carry out

multicast data communication.

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.

Содержание E180-ZG120A

Страница 1: ...E180 ZG120A User Manual EFR32 2 4GHz ZigBee SoC wireless module ...

Страница 2: ... Mode switch 7 4 3 1 Command switch 7 4 3 2 Pin switching 7 5 Transmission mode 8 5 1 Data transmission mode 8 5 1 1 Broadcast mode 8 5 1 2 Multicast mode 8 5 1 3 Unicast Mode 8 5 2 Receive data output method 8 5 2 1 Transparent output 8 5 2 2 Data short address 8 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 i...

Страница 3: ... 6 14 Sleep time 20 6 6 15 Storage time of father nodes 20 6 6 16 Centralized network opening time 20 6 6 17 Period of network reconnection after loss of parent node 20 6 6 18 The maximum number of attempts to reconnect 20 6 6 19 Wireless remote configuration ID 21 6 6 20 User gpio parameter 21 6 6 21 User pwm parameter 21 6 6 22 User adc parameter 22 6 6 23 Configure all network parameters 22 6 6...

Страница 4: ...ng address form between end device and coordinator 31 7 3 2 Multicast testing 32 7 3 3 Broadcast test 34 8 Secondary development design reference 35 8 1 Mechanical dimensions and pin definitions 35 8 2 Schematic design 37 8 3 Development 37 8 4 Hardware design 37 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 h...

Страница 5: ...K flash 32K RAM network nodes can be extended to more than 100 Role switch Users can switch freely between the coordinator router end device and sleep end device via UART command TOUCHLINK Support TOUCHLINK network protocol it is mainly used in lighting control which simplifies ZigBee network form It can also establish a simple and stable ZigBee network without coordinator Support a variety of net...

Страница 6: ...ect with the devices The End device is always in working state and can receive and transmit data at any time The standby current of this device type is about 4 mA 1 3 2 Sleep End Device The Sleep End Device enters the sleep state when there is no data receiving and sending and the sleep current is as low as about 2 5uA When wireless data transmission or instruction operation is needed wake up fram...

Страница 7: ... s main task is to manage the network record the information of sub nodes forward messages and at the same time the coordinator needs to identify the authority of the end device requesting access to the network 1 4 Application Smart home and industrial sensors Security system and positioning system Wireless remote control UAV Wireless game remote control Health care products Wireless voice wireles...

Страница 8: ...rrent μA 2 5 Instant power consumption Max Tx power dBm 19 6 20 0 20 5 RF transmitting power up to 20dbm Air data rate bps 250kbps Air data rate is 250kbps Main parameter Description Remark Distance for reference 1000m Between two points ZigBee network supports routing multi hop function and the transmission distance can be extended by increasing the router Crystal frequency 38 4MHz Protocol Zigbe...

Страница 9: ...D Input Output Ground connecting to power source referential ground 3 VCC Input Power supply positive reference 4 GND Input Output Ground connecting to power source referential ground 5 PD10 Input Output Reserve 6 PD11 Input Output Reserve 7 PD12 Input Output Reserve 8 PD13 Input TOUCHLINK pin which continuously lowers more than 3000ms will initiate a zll network establishment or join request 9 PD...

Страница 10: ... pin is pulled down and after the transmission is successful the pin is pulled high 20 GND Input Output Ground connecting to power source referential ground 21 PB14 GPIO0 Input Output GPIO Input Output port 0 22 PB15 GPIO1 Input Output GPIO Input Output Port 1 23 GND Input Output Ground connecting to power source referential ground 24 GND Input Output Ground connecting to power source referential ...

Страница 11: ...is regarded as the hex instruction 4 3 Mode switch 4 3 1 Command switch The module power on initialization defaults to the transmission mode In transmission mode when the serial port receives 2A 2D 2E character it will enter the configuration mode After entering the configuration mode successfully it will return 7A 7D 7E character In configuration mode when the serial port of the module receives 2...

Страница 12: ...th the same group number in network will receive the data 5 1 3 Unicast Mode In unicast mode devices in network point to point communicatation through network address and the transmitting device sends the received serial port data to the target address device and the target address device can return an ACK to the transmitting device to indicate that the data has been received after receiving the d...

Страница 13: ...RSSI value of the received data packet Note The maximum packet length supported by the sender for a single packet is 72 bytes 6 Application function and instruction configuration 6 1 Function pin 6 1 1 LINK LINK pin indicates the current network status after the device is successfully connected to the network the current pin is pulled high When the device has no network or the parent node is lost ...

Страница 14: ...n is continuously pulled down for more than 3000ms the initiator will send a network establishment or joining request to the target 6 1 6 UART_BAUD_RESET UART_BAUD_RESET pin is used to reset the baud rate The default level is high when the device is powered on In any mode the pin of the module is pulled down for more than 1000ms The serial port parameters will be restored to the default 115200 and...

Страница 15: ...ded before it initiates the touch link to the target Network request 4 Finally the target responds to the initiator s request to create a new network or join the touch link network After the above steps a new ZLL touch link network has been completed There may only be one initiator in network and other nodes are all targets Before the touch link the initiator must first clear the previously added ...

Страница 16: ...mption Remote configuration ID Read Write 2 byte It is used to determine whether the data received by the air in the air is a remote configuration command The customer can change the unlimited configuration ID according to the requirements The default is A8 8A Local network group number Read Write 0 255 Used to configure the device number of the device in network Target network group number Read W...

Страница 17: ... ADC GPIO read FF Command terminator Read return format FB CMD DATA FB fixed head CMD Command ID DATA parameter Local serial port configuration format FD LEN CMD DATA FF FD fixed head LEN Actual length of DATA CMD Actual named ID DATA Actual parameter FF Command terminator Configuration return FA CMD FA fixed head CMD Command ID Return when reading configuring access F7 FF does not exist the infor...

Страница 18: ...l MAC address 06 Send FE 08 06 FF Return FB 06 Mac_Addr Send FE 08 06 FF Return FB 06 1F 1C 21 FE FF 57 B4 14 Read short address of father nodes 07 Send FE 02 07 FF Return FB 07 Coor_shortAddr Send FE 02 07 FF Return FB 07 00 00 Read short MAC address of father nodes 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 S...

Страница 19: ...etwork reconnection 30 Send FE 01 30 FF Return FB 30 net_rejoincount Send FE 01 30 FF Return FB 30 05 Read wireless configuration ID 31 Send FE 02 31 FF Return FB 31 header Send FE 02 31 FF Return FB 31 A8 8A Read all device data 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...

Страница 20: ...1 6C 6C 69 61 6E 63 65 30 39 6 5 3 Configuration instruction set Configure device type Send FD 01 01 dev_type FF Return FA 01 Send FD 01 01 03 FF Return FA 01 Configure PAN_ID Send FD 02 03 pan_id FF Return FA 03 Send FD 02 03 FE 5B FF Return FA 03 Configure the network group number Send FD 01 09 group FF Return FA 09 Send FD 01 09 01 FF Return FA 09 Configuring communication channel Send FD 01 0A...

Страница 21: ...ll_info FF Return FA FE Send 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 Return FA FE Configure Remote Local GPIO Input and Output Status Send FD 03 20 GpioId In Out level FF Return FA 20 Send FD 03 20 00 01 01 FF Return FA 20 Configure remote local PWM status 指令 FD 06 21 PwmId start stop Period1 Period2 duty1 duty2 FF Return FA 21 Send FD 06 21 00 FF ...

Страница 22: ...re the target group number in configuration mode first 0x02 Transparent transmission on demand short address need to configure the target short address in configuration mode 0x03 transparent transmission on demand long address need to configure the target long address in configuration mode 0x04 protocol on demand short address the first two bytes in the transmission mode are the short address of t...

Страница 23: ...tly joining the network 0x02 joined the network 0x03 A network exists but the parent node is lost 0x04 Leaving the current network 6 6 5 Network PAN_ID pan_id 0x0000 0xFFFE fixed network PAN_ID 0xFFFF stochastic network PAN_ID PANID Parameters need to be configured before setting up or joining the network 6 6 6 Network short address Short_Addr 2 Byte Address randomly assigned by coordinator 6 6 7 ...

Страница 24: ...n cannot be greater than 30S 6 6 16 Centralized network opening time Open time 1 254 The time range of network opening is 1 254 10 Unit S 255 Network permanent development 6 6 17 Period of network reconnection after loss of parent node Rejoin period 1 255 Reconnection cycle range 1 255 Unit Minute 6 6 18 The maximum number of attempts to reconnect Rejoin maxcount 0 255 The range of the maximum num...

Страница 25: ...ID Channel ID GPIO Port 00 PB14 Port 01 PB15 Port 02 PC6 Port 03 PC7 Port In Out Channel output input mode 0 Output 1 Input level Channel Level state 0 Low level 1 High level 2 Flip Note When configured as input the level indicates the input level value is 0 low level or 1 high level When the output is configured the level indicates 0 low level 1 high level 2 Level flip output 6 6 21 User pwm para...

Страница 26: ...e 2 Indicates lower 8 bits If Read value voltage 0x0C voltage 0xE4 Then voltage voltage 0x0CE4 Note If the power supply voltage is the highest 3 7V the detection range of the ADC can reach 3 7V 6 6 23 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 Node type 03 Network PANID FE 5B Network group number 01 Channel 0B...

Страница 27: ...the coordinator or router node will print out the end device node information every 50ms interval according to the sequence number index of the end device node from 0 to child_count 1 Such as Receive FE 0E 33 FF Retuen 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 50...

Страница 28: ...0x39 Take effect once restart Note Only the connected device holding the same link key LinkKey as the trust center coordinator can it connect to the network of the trust center coordinator and the trust center coordinator transmits the network key to the connected device The connected device completes the process of joining the network to obtain the network key for normal communication 6 6 31 firm...

Страница 29: ...ead parameter successfully The main network parameters include the node type defaults to the end device channel 11 default PAN ID random default transmit power is 10 default 3 Modify node type as coordinator and click the Enter button the message box prompts Configure device type success The general ZigBee 3 0 network is established by the coordinator node so the factory default end device node ty...

Страница 30: ...ishing some network parameters you can also use the default value without modifying the parameters Modify the channel network PANID and transmit power After modifying the parameters click Write Network Parameters the message box will prompt Write parameters successfully 5 The node type is modified and the module needs to be restarted to take effect Click Module Restart and the message box prompts ...

Страница 31: ...ck Enter Configuration Mode again the message box prompts Enter the configuration status successfully read parameters successfully It can be seen that the parameters read out are the previously modified parameters indicating that the network parameters are modified successfully 7 Select the fixed point networking interface display the network status as joined network The coordinator network is suc...

Страница 32: ...ts Enter the configuration status successfully read parameters successfully The main network parameters include the node type defaults to the end device the channel 11 default the PAN ID defaults randomly and the transmit power is 20 default 3 Modify the node type as sleep end device click the Enter button the message box prompts Configure device type is successful modify the network parameters it...

Страница 33: ...parameters successfully confirm whether the read PAN ID and transmit channel parameters are Modified value before 5 Select the fixed point networking interface and display the network status as joined network The sleep end device node has joined the network created by the former coordinator Similarly the routing node and the end device node also join the ZigBee network according to the appeal meth...

Страница 34: ...nd device The destination network address of the end device is 0 by default 0 is the coordinator s network short address the coordinator s network short address is always 0 It does not need to be modified at this time If the end device communicates with the non coordinator node it needs to be modified modified to the destination node s network local short address 2 After the target address between...

Страница 35: ...e first configure the target MAC address The coordinator end configures the target MAC address as the long MAC address of the end device and the end device end configures the target MAC address as the long MAC address of the 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 th...

Страница 36: ...iguration click to enter the transmission mode communicate in the transmission mode 7 3 2 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 ...

Страница 37: ...up number in the network will receive multicast data modify the target group number to 5 and then write the parameter and the message box will prompt write the parameter successfully 3 Enter the transmission mode the message box will prompt enter the transmission mode successfully and then carry out multicast data communication 4 The end device receiver enters the configuration mode changes the ne...

Страница 38: ...roadcasts click enter configuration mode enter fixed point networking select broadcast mode and then write parameters The message box prompts write parameters successfully 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 ...

Страница 39: ...e referential ground 2 GND Input Output Ground connecting to power source referential ground 3 VCC Input Power supply positive reference voltage 1 95 3 7v 4 GND Input Output Ground connecting to power source referential ground 5 PD10 Input Output Configurable general IO port See EFR32MG1 datasheet 6 PD11 Input Output Configurable general IO port See EFR32MG1 datasheet 7 PD12 Input Output Configura...

Страница 40: ...power source referential ground 24 GND Input Output Ground connecting to power source referential ground 25 GND Input Output Ground connecting to power source referential ground 26 PC6 Input Output Configurable general IO port See EFR32MG1 datasheet 27 PC7 Input Output Configurable general IO port See EFR32MG1 datasheet 28 PC8 Input Output Configurable general IO port See EFR32MG1 datasheet 29 PC9...

Страница 41: ...nce Users can download our compiled hex files directly or change and implement their own functions based on the original code Program download interface definition Pin J LINK Interface VCC VCC PF0 SWCLK PF1 SWDIO GND GND 2 Test board There is no test board yet 8 4 Hardware design It is recommended to use a DC stabilized power supply The power supply ripple factor is as small as possible and the mo...

Страница 42: ... interference around the module that will greatly affect the performance It is recommended to keep them away from the module according to the strength of the interference If necessary appropriate isolation and shielding can be done Assume that there are traces with large electromagnetic interference high frequency digital high frequency analog power traces around the module that will greatly affec...

Страница 43: ...the lower the transmitting power Due to antenna quality or poor matching between antenna and module 9 2 Module is easy to damage Please check the power supply source ensure it is 2 0V 3 6V voltage higher than 3 6V will damage the module Please check the stability of power source the voltage cannot fluctuate too much Please make sure antistatic measure are taken when installing and using high frequ...

Страница 44: ...19 Chengdu Ebyte Electronic Technology Co Ltd 1 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 ...

Отзывы: