User Adc Parameters; Configure All Network Parameters; Read All Network Parameters - Ebyte JN5189 User Manual

2.4ghz zigbee multifunction soc wireless module
Table of Contents

Advertisement

Chengdu Ebyte Electronic Technology Co.,Ltd.
duty1 represents the high 8 bits of the duty cycle
duty2 means the lower 8 of the duty cycle is
Note: The duty cycle is less than the period

6.5.21 User adc parameters

Read command format:
Command format
Send: FE 03 22 adcid FF
Return: FB 22 adcid voltage1 voltage2
Adc peripheral read data format (3 Byte): adcid voltage1 voltage2
adcid: ADC channel ID
Channel ID
0x00
0x01
0x02
voltage: ADC channel voltage value read (unit mV)
The detectable range is 0x0000~0x0E74 (0~3700)
voltage 1 means high 8 bits
voltage 2 represents the lower 8 bits
Column such as the read value: 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
Send: FD 01 26 mode FF
Return: FA 26
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 short address FE 5B; 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 (not supported by this module of
non-coordinator); Period of rejoin 05; Number of rejoins 05; Wireless ID A8 8A;

6.5.23 Read all network parameters

Read command format:
Copyright ©2012–2021,Chengdu Ebyte Electronic Technology Co.,Ltd.
Command example
Send: FE 03 22 adcid FF
Return: FB 22 00 0C E4
ADC GPIO port
VDD Power supply voltage detection
PIO14 port
PIO15 port
Command example
Send: FD 01 26 02 FF
Return: FA 26
E180-Z8910SP User Manual
33

Advertisement

Table of Contents
loading

This manual is also suitable for:

E180-z8910sp

Table of Contents