Chengdu Ebyte Electronic Technology Co., Ltd.
E180-Z5812SP Product Manual
Copyright ©2012–2019,
Chengdu Ebyte Electronic Technology Co., Ltd.
15
Max. number of
reconnections
Read/Write
1
~
254 times
After the parent node is lost, the maximum number of
reconnections. If the reconnection has not been
successful, the previous network information will be
cleared and the new network will be re-scanned. The
scanning period is equal to the reconnection period;
I/O status
Read/Write
high/low
Access/control the level status of the GPIO channel of
the module;
PWM
Read/Write
1us
~
340ms
Access/control the duty cycle and period of the PWM
channel of the module;
ADC value
Read
0
~
3300mv
Read the ADC value of the device, where channel 0 can
read the power supply voltage value of the device;
6.5 HEX instruction set
6.5.1 Command rules
Local serial port reading format:
Network parameter reading FE LEN CMD FF
Peripheral parameter reading FE LEN CMD CHANNEL FF
FE : fixed head
LEN: The actual length of DATA
CMD: actual naming 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: parameter
Local serial port configuration format
:
FD LEN CMD DATA FF
FD : fixed head
LEN: The actual length of DATA
CMD: actual naming ID
DATA: actual parameters
FF
:
command terminator
Configuration returns
:
FA CMD
FA: fixed head
CMD: command ID
Returns on read/config access: F7 FF the info does not exist/read/config/format failed
ID Wireless remote reading/configuration format: add wireless configuration ID before the instruction format of local serial port mode
The default is A8 8A (the value can be modified), for example:
The configuration format is A8 8A FD LEN CMD DATA FF