SENA ProBee-ZE10 User Manual
Page 45
45
ProBee-ZE10 User Guide Rev.1.5
0 (Low) and 1 (High) if the pins are configured as digital I/O lines. If the pins are configured as analog
inputs, the corresponding return values are shown as *.
AT+DIO?
, where
AT+DIO command can also be used to set the digital output lines.
AT+DIO=
, where
combination of 0 or 1, 0 = Low, 1 = High
The analog input values can be read using the AT+AI command. Return value is a combination of 16-bit
hexadecimal integer between 0~2EE0(0~1200mV) or D120-FFFF(-1200~-1mV) which unit value
corresponds to 0.1mv. To convert the hexadecimal value to the actual voltage, please use the formula
below. If the pins are configured as digital I/Os, the corresponding return values are shown as *.
AT+AI?
, where
If the Value is between 0 ~ 2EE0, Voltage (mV) = Value * 0.1
If the Value is between D120 ~ FFFF, Voltage (mV) = (Value – 65536) * 0.1
Example)
AT+DIO?
10001**011100
DIO 0, 4, 8, 9, 10 are ON. GPIO5, 6 are configured as
analog inputs
OK
AT+DIO0=0
OK
AT+DIO?
00001**011100
DIO 4, 8, 9, 10 are ON. GPIO5, 6 are configured as analog
inputs
OK
AT+AIO?
****,****,192A,13E8
AI 2, 3(GPIO5, 6) are used. The others are
configured as DIO.
OK
To get/set the I/O values of the remote devices, remote AT commands can be used as below.