Download ZIG-L1/P1 User Manual

Transcript
MY-ZB010C-S/P Module User Manual
This is an example of periodical acquisition AD channel 4, the
acquisition interval is 10s, and the collected data is sent to the node
with network address 0x0 (the coordinator).
Send: AT+ADCSMP=1,4,100,NID,0x0\r\n
Respond: OK\r\n
This is an example of periodical acquisition AD channel 1, the
acquisition interval is 5s, and the collected data is sent to the node
with MAC address 0x00158D0000355378.
Send: AT+ADCSMP=1,1,50,MID,0x00158D0000355378\r\n
Respond: OK\r\n
Cancel the AD channel 1 periodical acquisition function.
Send: AT+ADCSMP=0,1\r\n
Respond: OK\r\n
Query command:
AT+ADCSMP?
Response:
 OK = <Enable/disable, AD channels, acquisition interval, the
destination address mode, the destination address > list
 ERR=<Error Code>
Example:
One line represents an enabled AD acquisition function.
The example line as “OK=1,3,10,LID,0x0” indicates that AD 3
periodical acquisition is enabled, the acquisition interval is 1s, the
destination address mode for the collected data is LID (the node)
The example line as “OK=1,1,15,NID,0x0” indicates that AD 1
periodical acquisition is enabled, the acquisition interval is 1.5 s, the
destination address mode for the collected data is NID, that is, 0x0
(the coordinator).
The last line end with "OK\r\n".
Send: AT+ADCSMP?\r\n
Respond: OK=1,3,10,LID,0x0\r\n
OK=1,1,15,NID,0x0\r\n
…
OK\r\n
Execution command:
Not supported
Description:
 The supported AD channels are: 1, 2, 3, 4.

The AD precision is 10 bit, the reference voltage is: 2.47V, the AD value of 1023
indicates that the collected voltage is greater than or equal to 2.47V. The AD value of
512 indicates that the collected voltage is1.235 V.
80