![Ebyte E180-Z5812SP Скачать руководство пользователя страница 14](http://html.mh-extra.com/html/ebyte/e180-z5812sp/e180-z5812sp_user-manual_530483014.webp)
Chengdu Ebyte Electronic Technology Co., Ltd.
Copyright ©2012–2019
,
Chengdu Ebyte Electronic Technology Co.,Ltd.
13
n cycle
Maximum
number of
reconnectio
ns
Read/Write
1
~
254 times
After the maximum number of reconnections is
exceeded, if the reconnection is not successful, the
previous network information will be cleared and the
new network will be scanned again. The scanning cycle
is equal to the reconnection cycle
IO status
Read/Write
High/Low
Access/control module GPIO level status
PWM
Read/Write
1us
~
340 ms
Access/control module PWM duty cycle and period
ADC value
Read
0
~
3300 mv
Read the ADC value of the device, you can use channel
0 to read the device power supply voltage value
6.4 HEX command
6.4.1 Command description
Read format of local 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: Command ID
DATA: Parameter
FF: Command terminator
Configuration return: FA CMD
FA: Fixed head
CMD: Commadn ID
Return when reading /configuration: F7 FF, it means command does not exist or failed to read /configure/format incorrect
Wireless remote reading /configuration format: add remote configuration ID before the command format of local serial
port mode. The default value is A8 8A (its value can be modified), for example:
Configuration format is A8 8A FD LEN CMD DATA
Parameter reading format is A8 8A FE LEN CMD (CHANNEL) FF
Network operation format: F5 LEN CMD DATA FF
F5: Fixed head