background image

Chengdu Ebyte Electronic Technology Co., Ltd.

E78-900M22S

User manual

Copyright ©2012–2021

Chengdu Ebyte Electronic Technology Co.,Ltd.

1

Product specification

JN5189 2.4GHz ZigBee Multifunction SoC Wireless Module

Summary of Contents for E180-Z8910SP

Page 1: ...ngdu Ebyte Electronic Technology Co Ltd E78 900M22S User manual Copyright 2012 2021 Chengdu Ebyte Electronic Technology Co Ltd 1 Product specification JN5189 2 4GHz ZigBee Multifunction SoC Wireless Module ...

Page 2: ... DATA TRANSMISSION 13 5 1 1 BROADCAST MODE 13 5 1 2 MULTICAST MODE 13 5 1 3 PROTOCOL MULTICAST MODE 13 5 1 4 UNICAST MODE 13 5 2 OUTPUT MODE OF RECEIVED DATA 14 6 APPLICATION FUNCTION AND COMMAND CONFIGURATION 15 6 1 FUNCTION PINS 15 6 2 WIRELESS REMOTE CONFIGURATION FUNCTION 16 6 3 FUNCTION PARAMETER DESCRIPTION 16 6 4 HEX INSTRUCTION SET 18 6 4 1 INSTRUCTION RULES 18 6 4 2 READ INSTRUCTION SET 1...

Page 3: ... USER ADC PARAMETERS 33 6 5 22 CONFIGURE ALL NETWORK PARAMETERS 33 6 5 23 READ ALL NETWORK PARAMETERS 33 6 5 24 WHEN CONFIGURING AUX TO WAKE UP THE EXTERNAL MCU SERIAL PORT IN THE WIRELESS RECEIVING STATE TO DELAY PRINTING 34 6 5 25 CONFIGURE THE SERIAL PORT WAKE UP HOLD TIME 34 6 5 26 CONFIGURE ENDPOINT INFORMATION 35 6 5 27 TRUST CENTER CONNECTION KEY 35 6 5 28 FIRMWARE VERSION COMMAND PARAMETER...

Page 4: ...ied is given including but not limited with respect to the accuracy correctness reliability and fitness for a particular purpose of the information This document may be revised by EBYTE at any time For most recent documents visit www ebyte com Note The contents of this manual are subject to change due to product version upgrades or other reasons Chengdu Ebyte Electronic Technology Co Ltd reserves ...

Page 5: ...on mode and integrates quickly and easily The self organizing network function used provides multi channel configurable ADC IO and PWM interfaces which can simplify the complex and greatly simplify the complex development process of wireless products so that your products can be quickly put into the market at a lower cost 1 2 Feature Centralized network management ZIGBEE 3 0 security standard cent...

Page 6: ...e Routers and multiple End_Devices the terminal nodes can be divided into sleeping terminals and non sleeping terminals This product supports all nodes and can be interconnected with E180 ZG120A B E180 Z6907 E180 Z5812 and other models 1 3 1 Non sleeping terminal The main task of the terminal device is to send and receive messages and other nodes are not allowed to connect with the terminal device...

Page 7: ...art home and industrial sensors etc Security system positioning system Wireless remote control UAV Wireless game remote control Medical and healthcare products Wireless voice wireless headset Advanced meter reading architecture AMI Applications in the automotive industry Building automation solutions Application of agricultural greenhouse automation 2 Technical Parameters 2 1 Limit parameter Main ...

Page 8: ... 3 3 For 5V TTL it may be at risk of burning down Operating temperature 40 85 Industrial grade Frequency MHz 2405 2480 ISM band Power consumption Transmitting current mA 34 1 Emission current 34 1mA at 11dbm Receiving current mA 7 2 Turn off current μA 1120 Periodic sleep current averages 1120nA 1 1uA maximum emitting power dBm 11 Air data rate bps 250k ...

Page 9: ... Distance 500m Between two points Zigbee network supports routing multi hop function which can extend the transmission distance by adding routers Support agreement Zigbee 3 0 Single transmission maximum length Package SMD Connector 1 27mm stamp hole Full name of IC JN5189HN 001Z FLASH 640KB RAM 152KB Kernel ARM M4 Kernel Size 11 5 22 7mm Antenna PCB 50Ω Impedance ...

Page 10: ... 3 NC Reserved directly suspende 4 PIO1 WAK E Input The WAKE pin is mainly used to wake up the dormant terminal It is high when it is powered on When the pin is pulled low externally the dormant terminal device will be awakened 5 PIO8 TX Output Serial transmission port TX 6 PIO9 RX Input Serial receiving port RX 7 NC Reserved directly suspended 8 NC Reserved directly suspended 9 PIO2 MOD E Input W...

Page 11: ...output port 1 16 PIO4 Reserved directly suspended 17 PIO5 PIO5 pulled low the module is in download mode PIO5 pulled high the module is in running mode 18 PIO16 AUX Output The AUX pin indicates the current working status of the device When the pin is low it indicates that the device is busy and the high level indicates that the device is idle 19 PIO11 GPIO 2 Reserved directly suspended 20 NC Reser...

Page 12: ... the serial port of the module is regarded as a HEX command 4 3 Mode switch 4 3 1 Command switching The module power on initialization defaults to the transmission mode In the transmission mode when the module serial port receives the 2A 2D 2E character it will enter the configuration mode After entering the configuration mode it will return the 7A 7D 7E character In the configuration mode when th...

Page 13: ...ich group to send the data to and then The sending device enters the transmission mode and sends the data received by the serial port to the network The device with the same group number in the network will receive the data and the minimum multicast period is 500ms 5 1 3 Protocol Multicast Mode When the sending device is in transmission mode the serial port receives data the first byte indicates t...

Page 14: ...a 5 2 1 Transparent output If the output mode of the configuration device is transparent output the module will output the original data through the serial port after receiving the wireless data 5 2 2 Data short address When the output mode of the device is data short address after the module receives wireless data the serial port will output the original data the short address of the sending devi...

Page 15: ...he device When the pin is low it indicates that the device is busy when the pin is low it indicates that the device is idle when the device receives data the module will pull the AUX pin low for AUX_delaytime and the serial port will start outputting Data used to wake up the external control device AUX_delaytime defaults to 4ms which can be changed by the serial port command and the customer decid...

Page 16: ...ifier of ZIGBEE which is used to determine the identity of the network to which it belongs The PANID of all devices in the same network must be the same When the terminal or router is configured as 0xFFFF it can join any network where the same channel already exists Local network address Read 0x0000 0xFFFF It is used to distinguish each node in the network Each device is in the same network The lo...

Page 17: ...ustomers can change the unlimited configuration ID according to their needs The default is A8 8A Local network group number Read Write 1 254 Used to configure the group number of the device in the network Target network group number Read Write 1 254 Used to configure the group number of the corresponding target when the device is multicast Wake up period sleep time Read Write 1 2010S Used to confi...

Page 18: ...rn 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 the actual length of DATA CMD Actual named ID DATA actual parameters FF end of command Configuration Return FA CMD FA fixed head CMD Command ID Return when reading configuration access F7 FF does not exist the information reading configuration format failed ...

Page 19: ...n_id Send FE 02 03 FF Return FB 03 FE 5B Read local network short address 05 Send FE 02 05 FF Return FB 05 Short_Addr Send FE 02 05 FF Return FB 05 F6 FA Read local 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 the short network address of the parent node 07 Send FE 02 07 FF Return FB 07 Coor_shortAddr Send FE 02 07 FF Return FB 07...

Page 20: ...E 01 29 FF Return FB 29 05 Read the maximum number of reconnections of the lost parent node 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 network parameters of the device FE Send FE 2F FE FF Return FB FE all_info Send FE 2F FE FF Return FB FE 03 02...

Page 21: ...irmwareVersion Send FE 03 34 FF Return FB 34 89 10 00 Read the delayed printing time of AUX waking up the external MCU serial port in the wireless receiving state 35 Send FE 01 35 FF Return FB 35 AUX_delaytime Send FE 01 35 FF Return FB 35 04 Read serial port wake up hold time 36 Send FE 01 36 FF Return FB 36 Uart_holdtime Send FE 01 36 FF Return FB 36 64 Read endpoint information 37 Send FE 05 37...

Page 22: ...ess Send FD 02 23 dec_addr FF Return FA 23 Send FD 02 23 00 00 FF Return FA 23 Configure the target network group number Send FD 01 24 netid FF Return FA 24 Send FD 01 24 00 FF Return FA 24 Configure the target long address Send FD 08 25 dec_mac FF Return FA 25 Send FD 08 25 0A 1C 21 FE FF 57 B4 14 FF Return FA 25 Configure system sending mode Send FD 01 26 mode FF Return FA 26 Send FD 01 26 02 FF...

Page 23: ...D 00 13 FF Return FA 13 Configure the delayed printing time for AUX to wake up the external MCU serial port in the wireless receiving state Send FD 01 35 AUX_delaytime FF Return FA 35 Send FD 01 35 04 FF Return FA 35 Configure the serial port wake up hold time Send FD 01 36 Uart_holdtime FF Return FA 36 Send FD 01 36 64 FF Return FA 36 Configure endpoint information Send FD 05 37 Endpoint_info FF ...

Page 24: ...he restart or new network command to join the new network New network mainly for the terminal execute this command to join a new network you need to leave the network and then execute the new network to join the new network 6 5 HEX parameter description 6 5 1 System sending mode Read command format Command format Command example Send FE 01 26 FF Return FB 26 send_mode Send FE 01 26 FF Return FB 26...

Page 25: ... 6 5 3 Network node type Read command format Command format Command example Send FE 01 01 FF Return FB 01 dev_type Send FE 01 01 FF Return FB 01 03 Configuration instruction format Command format Command example Send FD 01 01 dev_type FF Return FA 01 Send FD 01 01 03 FF Return FA 01 dev_type 0x03 terminal default 0x04 Sleep terminal The configuration of changing the node type needs to be restarted...

Page 26: ...work normally and data can be sent and received normally There is a network but no parent node It means that the module has joined the network but the parent node is offline and the data cannot be sent and received normally 6 5 5 Network PAN_ID Read command format Command format Command example Send FE 02 03 FF Return FB 03 pan_id Send FE 02 03 FF Return FB 03 FE 5B Configuration instruction forma...

Page 27: ...F Return FB 06 1F 1C 21 FE FF 57 B4 14 Mac_Addr 8 Byte 64 bit IEEE address of the module fixed 6 5 8 Parent node network short address Read command format Command format Command example Send FE 02 07 FF Return FB 07 Coor_shortAddr Send FE 02 07 FF Return FB 07 00 00 Coor_shortAddr 2 Bytes the short address of the parent node of the current node if the coordinator is 0x0000 6 5 9 Parent node MAC ad...

Page 28: ...B 11 0x1A 26 default 11 channels 0xFF means full channel scanning 0xFE means scanning on the channel recommended by the zigbee alliance including 11 15 20 25 four channels The channel parameter needs to be configured before entering the network 6 5 12 Transmit power Read command format Command format Command example Send FE 01 0B FF Return FB 0B txpower Send FE 01 0B FF Return FB 0B 0C Configurati...

Page 29: ...on of serial communication you need to restart the device for the changed baud rate to take effect 6 5 14 Sleep time Read command format Command format Command example Send FE 01 0D FF Return FB 0D sleep_time Send FE 01 0D FF Return FB 0D 0A Configuration instruction format Command format Command example Send FD 01 0D sleep_time FF Return FA 0D Send FD 01 0D 0A FF Return FA 0D When the node is a d...

Page 30: ...of its child nodes for 30 seconds If a terminal node needs to receive the parent node data the sleep time configuration cannot be greater than 30 seconds Note This parameter is the parameter of the parent node router and coordinator and temporarily saves the data buffered and sent to the sleeping node 6 5 16 Node Rejoin Cycle Read command format Command format Command example Send FE 01 29 FF Retu...

Page 31: ... no network status or the network has no parent node status and is powered on it will not perform periodic network access or network recovery actions 6 5 18 Wireless remote configuration ID Read command format Command format Command example Send FE 02 31 FF Return FB 31 header Send FE 02 31 FF Return FB 31 A8 8A Configuration instruction format Command format Command example Send FD 02 31 header F...

Page 32: ...end FD 06 21 PwmId start stop Period1 Period2 duty1 duty2 FF Return FA 20 Send FD 06 21 00 FF 03 65 02 48 FF Return FA 21 Pwm peripheral configuration data format 6 Byte PwmId start stop Period1 Period2 duty1 duty2 PwmId Channel ID Channel ID PWM GPIO port 0x00 PIO20 port 0x01 PIO19 port 0x02 PIO18 port 0x03 PIO17 port start stop start and stop channel PWM output 0xFF means to start PWM in the uni...

Page 33: ...lue voltage 0x0C voltage 0xE4 The voltage value is voltage 0x0CE4 Note 1 If the power supply voltage is the highest 3 3V the detection range of the ADC can reach a voltage of 3 3V at this time 2 The interval between reading the ADC voltage value of the same device twice must be greater than 10ms 6 5 22 Configure all network parameters Configuration instruction format Command format Command example...

Page 34: ...C address 0C 46 0C FE FF 9F FD 90 Network group number 01 Channel 0B Transmit power 0A Baud rate 09 Sleep time 54 Target network short address 00 00 Target network group number 00 Target long address 0A 1C 21 FE FF 57 B4 14 System sending mode 02 Data output mode 00 Network open time FF the coordinator is valid and this module does not support Period of rejoin 05 Number of rejoins 05 Wireless ID A...

Page 35: ...format Command format Command example Send FD 05 37 Endpoint_info FF Return FA 37 Send FD 05 37 01 FE B0 05 04 FF Return FA 37 Endpoint_info 5 byte length data format is endpoint clusterId_H clusterId_L profileId_H profileId_L The default parameters are endpoint 0x01 clusterId 0xfeb0 profileId 0x0504 endpoint clusterId profileId clusterId_H clusterId_L profileId_H profileId_L 01 FE B0 05 04 6 5 27...

Page 36: ...d format Command example Send FE 0A 14 Short_Addr FF Return FB 14 Mac_Addr Short_Addr Send FE 0A 14 F6 FA FF Return FB 14 1F 1C 21 FE FF 57 B4 14 F6 FA When the short network address of the remote target node is known this command can be used to read the long network MAC address of the remote target node 6 5 30 Query the short address through the MAC long address in the network Read command format...

Page 37: ...d the lower the voltage the lower the power output The matching degree of the antenna and the module is poor or the quality of the antenna itself is problematic 7 2 Module is easy to damage Check the power supply to ensure that permanent damage to the module occurs between recommended supply voltages if exceeded Please check the stability of the power supply The voltage cannot fluctuate significan...

Page 38: ...y Co Ltd 38 About us Technical support support cdebyte com Documents and RF Setting download link www ebyte com Thank you for using Ebyte products Please contact us with any questions or suggestions info cdebyte com Phone 86 028 61399028 Web www ebyte com Address B5 Mould Park 199 Xiqu Ave High tech District Sichuan China ...

Reviews: