37
ProBee-ZE10 User Guide Rev.1.1
AT+DIO?<CR> or AT+DIO<number>?<CR>
Where <number> is the specific IO number to read ranges 0~12
AT+DIO command can also be used to set the digital output lines.
AT+DIO=<value><CR> or AT+DIO<number>=<value><CR>
Where <number> is the specific IO number to read ranges 0~12, and the <val ues> is a 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.1 mv. 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?<CR> or AT+AI<number>?<CR>
Where <number> is the specific IO number to read ranges 0~2
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?<CR>
10001**011100
DIO 0, 4, 8, 9, 10 are ON. Pins 5, 6 a re configured as
analog inputs
OK
AT+DIO0=0<CR>
OK
AT+DIO?<CR>
00001**011100
DIO 0, 4, 8, 9, 10 are ON. Pins 5, 6 are configured as
analog inputs
OK
AT+AIO?<CR>
****,****,192A,13E8
AI 2, 3 are used. (GPIO5, 6) 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.
AT+REMOTE=<node ID or IEEE address of a remote node>,<AT command><CR>