background image

Chengdu Ebyte Electronic Technology Co., Ltd.

E180-Z5812SP User Manual

Copyright ©2012–2019

Chengdu Ebyte Electronic Technology Co.,Ltd.

6

RAM

64KB

-

Core chip

32 bit MCU

-

Size

11.5*22mm

-

Antenne

PCB

50Ω

3.Dimension and pin definition

No.

Pin

Direction

Description

1

NC

-

Reserved, suspended

2

GND

-

Ground

3

NC

-

Reserved, suspended

4

PD3(WAKE)

Input

The wake pin is mainly used to wake up the sleepingterminal. The default
value is high level. When the pin is pulled down, the sleeping terminal device
will wake up

5

PD7(TX)

Output

Serial port transmission TX

6

PA0(RX)

Input

Serial port receiving RX

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

Страница 1: ...0 E180 Z5812SP User Manual TLSR8258 2 4GHz ZigBee multifunctional SOC wireless module ...

Страница 2: ...itching 8 5 Transmission and receiving mode 8 5 1 Transmission mode 8 5 1 1 Broadcast mode 8 5 1 2 Multicast mode 9 5 1 3 Protocol multicast mode 9 5 1 4 Unicast Mode 9 5 1 5 Protocol unicast mode 9 5 2 Output mode of received data 9 5 2 1 Transparent output 9 5 2 2 Data short address 9 5 2 3 Data long address 9 5 2 4 Data RSSI 10 5 2 5 Data short address RSSI 10 5 2 6 Data long address RSSI 10 6 ...

Страница 3: ...5 11 Network channel 21 6 5 12 TX power 21 6 5 13 Serial port baud rate 22 6 5 14 Sleep time 22 6 5 15 Save time of parent node 23 6 5 16 Node rejoin cycle 23 6 5 17 The maximum number of attempts to reconnect 24 6 5 18 Remote configuration ID 24 6 5 19 User GPIO parameter 24 6 5 20 User PWM parameter 25 6 5 21 User ADC parameter 26 6 5 22 Configure all network parameters 27 6 5 23 Read all networ...

Страница 4: ...roducts quickly put into the market with lower cost 1 2 Feature Centralized network management ZigBee 3 0 security standard centralized network access mechanism data is safe and reliable Large capacity 512k flash 64K ram network nodes can be expanded to more than 100 Role switching user can switch the device between terminal and sleep terminal with comand through serial port Support a variety of n...

Страница 5: ...ssages and other nodes are not allowed to connect with the terminal device The non sleeping terminal is always in the working state and can receive and send data at any time 1 3 2 Sleeping terminal The sleeping terminal enters a dormant state when there is no data transmission and reception and the dormant current is as low as about 2uA When you need to send wireless data or command you need to se...

Страница 6: ... in close range use Working temperature 40 85 Industrial 2 2 Working parameter Parameter Performance Remark Max Typ Mix Power supply V 1 9 3 3 3 6 3 3V can guarantee output power Communication level V 3 3 Risk of damage using 5V TTL Working temperature 40 85 Industrial Working frequency band MHz 2405 2480 ISM band Power consumption TX current mA 24 Max 24mA at 12dbm RX current mA 9 Sleeping curren...

Страница 7: ...B 50Ω 3 Dimension and pin definition No Pin Direction Description 1 NC Reserved suspended 2 GND Ground 3 NC Reserved suspended 4 PD3 WAKE Input The wake pin is mainly used to wake up the sleepingterminal The default value is high level When the pin is pulled down the sleeping terminal device will wake up 5 PD7 TX Output Serial port transmission TX 6 PA0 RX Input Serial port receiving RX ...

Страница 8: ...3 VCC Power supply 14 GND Ground 15 PB4 GPIO1 Input Output GPIO Input Output 1 16 NC Reserved suspended 17 NC Reserved suspended 18 PB5 AUX Output The aux pin indicates the current working state of the device When the pin is at low level it indicates that the device is busy and the high level indicates that the device is idle 19 NC Reserved suspended 20 NC Reserved suspended 21 PB6 ADC1 Input ADC ...

Страница 9: ...the module receives 2A 2D 2E it will enter the configuration mode After entering the configuration mode successfully it will return 7A 7D 7E In the configuration mode when the serial port of the module receives 2F 2C 2B the module exits the configuration mode and enters the transmission mode After entering the transmission mode successfully the module returns 7F 7C 7B 4 3 2 Pin switching The pin o...

Страница 10: ...unicast mode In the transmission mode the transmitter receives data from the serial port The first two bytes represent the network short address of the target device and the following data represent valid data There is no need to enter the configuration mode to configure the network short address of the target device Note when it is configured as broadcast or multicast it is recommended that the p...

Страница 11: ... bytes 6 Application function and command configuration 6 1 Pin definition 6 1 1 LINK description Link pin indicates the current network status of the module After the device is successfully connected to the network it is high level When the device has no network or the parent node is lost it is low level External devices can query the network status of the device through the pin level 6 1 2 WAKE ...

Страница 12: ...e receives the first two bytes of the wireless air data as the wireless configuration ID the module judges that the data packet is the remote configuration command and executes the corresponding operation of the command The data packet will not be output through the serial port When configuring the sleep terminal remotely it is necessary to wake it up first 6 3 Function parameter description The m...

Страница 13: ...mode Read Write 0 1 2 3 4 5 Transparent communication data short address data long address data RSSI data short address RSSI data long address RSSI TX power Read Write 37dbm 7dbm In the case of high requirements for low power consumption and no requirements for distance the transmission power can be reduced to save the average power consumption Remote configuratio n ID Read Write 2 bytes It is use...

Страница 14: ...ocal serial port Network parameter reading FE LEN CMD FF Peripheral parameter reading FE LEN CMD CHANNEL FF FE Fixed head LEN DATA length CMD Command ID CHANNEL PWM ADC GPIO Channel selection when reading FF Command terminator Read return format FB CMD DATA FB Fixed head CMD Command ID DATA Paremeter Local serial port configuration format FD LEN CMD DATA FF FD Fixed head LEN DATA length CMD Comman...

Страница 15: ... 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 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 F...

Страница 16: ...n 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 remote local GPIO level 20 Command FE 03 20 GpioId FF Return FB 20 GpioId In Out level Send FE 03 20 00 FF Return FB 20 00 01 01 Read remote local PWM parameters 21 Command FE 06 21 PWMId FF Return FB 21 PWMId start stop Period Period duty duty S...

Страница 17: ...D Send FD 01 0D 54 FF Return FA 0D Configure target network short address Send FD 02 23 dec_addr FF Return FA 23 Send FD 02 23 00 00 FF Return FA 23 Configure target network group number Send FD 01 24 netid FF Return FA 24 Send FD 01 24 00 FF Return FA 24 Configure 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 trans...

Страница 18: ... 38 TrustCentLinkKey FF Return FA 38 Send FD 10 38 5A 69 67 42 65 65 41 6C 6C 69 61 6E 63 65 30 39 FF Return FA 38 6 4 4 Network operation command set Open the network Send F5 01 40 01 FF Return FC 40 00 Send F5 01 40 01 FF Return FC 40 00 Leave the network Send F5 01 40 02 FF Return FC 40 00 Send F5 01 40 02 FF Return FC 40 00 Creat the network Send F5 01 40 03 FF Return FC 40 00 Send F5 01 40 03...

Страница 19: ...sparent unicast long address It needs to configure the target long address in configuration mode first 0x04 Protocol unicast short address In transmission mode the first two bytes are the network short address of the target device 0x05 Protocol multicast In transmission mode the first byte is the target network group number 6 5 2 Receiving data output mode Read command format Command format Comman...

Страница 20: ...01 Dev_type 0x03 Terminal default 0x04 Sleep terminal The configuration of the changed node type will take effect after restart If the node type is configured in normal operation the device will leave the current network and be in no network state After restart it will switch to the changed node type Sleep terminal supports serial port pin wake up function wake up frame byte length is less than or...

Страница 21: ...F Return FB 05 Short_Addr Send FE 02 05 FF Return FB 05 F6 FA Short_Addr 2 Bytes address randomly assigned by Coordinator 6 5 7 MAC address Read command format Command format Command example 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 Mac_Addr 8 Bytes 6 5 8 Network short address of the parent node Read command format Command format Command example S...

Страница 22: ...xample Send FE 01 0A FF Return FB 0A channel Send FE 01 0A FF Return FB 0A 0B Configuration command format Command format Command example Send FD 01 0A channel FF Return FA 0A Send FD 01 0A 0B FF Return FA 0A Channel Channel range 0x0B 11 0x1A 26 Defauly 11 0xFF indicates full channel scan Channel parameter needs to be configured before joining network 6 5 12 TX power Read command format Command f...

Страница 23: ...te parameter baud table Note changing the serial port baud rate configuration will take effect only after restarting the device 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 54 Configuration command format terminal valid Command format Command example Send FD 01 0D sleep_time FF Return FA 0D Send FD 01 0D...

Страница 24: ... the route to find the best parent node At the same time the coordinator detects the network access of the terminal through heartbeat Sleep_time Value heartbeat cycle second 1 3 10 40 20 80 30 160 40 320 50 640 60 1280 Note if the node is coordinator and router this parameter is invalid 6 5 15 Save time of parent node Time the time for the parent node to save the data of its child node is 30 secon...

Страница 25: ...but no parent node the maximum number of rejoin attempts will be made after the node is powered on If the previous network has not been restored the previous network information will be cleared the node will periodically scan the new network in the cycle of rejoin period The power consumption of scanning the new network is higher than restoring the previous network When the parameter is 254 it mea...

Страница 26: ...when it is set to input level represents the input level value 0 low level or 1 high level when it is set to output level represents 0 low level 1 high level 2 reverse 6 5 20 User PWM parameter Read command format Command format Command example Send FE 06 21 PWMId FF Return FB 21 PWMId start stop Period Period duty duty Send FE 06 21 00 FF Return FB 21 00 01 0A 3E 63 50 Configuration command forma...

Страница 27: ...the lower 8 bits Note 1 The value of period must be greater than the value of duty It is recommended that the difference between period and duty is greater than 2ms If the period is less than duty the system will default that period is equal to twice of duty The duty here represents the high level time 2 The PWM cycle units of the four channels need to be the same 6 5 21 User ADC parameter Read co...

Страница 28: ...mmand format 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 all_info 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 Note type 03 Network ...

Страница 29: ...holdtime Send FE 01 36 FF Return FB 36 64 Configuration command format Command format Command example Send FD 01 36 Uart_holdtime FF Return FA 36 Send FD 01 36 64 FF Return FA 36 Uart_holdtime 1 255 unit is 10mS default is 100 That is after the serial port wakes up keep 100 10ms continuous wake up and then go to sleep after 1000ms 6 5 26 Configure node information Read command format Command forma...

Страница 30: ...the default key of ZigBee Alliance the value is 0x5A 0x69 0x67 0x42 0x65 0x65 0x41 0x6C 0x6C 0x69 0x61 0x6E 0x63 0x65 0x30 0x39 Device restart takes effect Note only the network access device with the same Linkkey as the Trust Center Coordinator can connect to the network of the Trust Center Coordinator At the same time the Trust Center Coordinator transmits the network key to the network access d...

Страница 31: ...oltage higher than the peak will lead to a permanent damage to the module Please check the stability of power supply and ensure the voltage not to fluctuate too much Please make sure anti static measures are taken when installing and using high frequency devices have electrostatic susceptibility Please ensure the humidity is within limited range for some parts are sensitive to humidity Please avoi...

Отзывы: