User Guide
User Guide
©2008-2020 Seeed Technology Co., Ltd. All rights reserved. solution.seeedstudio.com
19 / 21
004A0040 - 8 characters, serial
number
THPL - Output measurement list, T
temperature, H humidity, P
atmospheric pressure, L light
Modify device address
Request
aAb!
a –The current address
A - Address Change
b – The new address
! - Instruction terminator
Response
b<CR><LF>
b –The new address
<CR><LF> - End of the response
Example
Request:0A1!
Response:1<CR><LF>
The address 0 was changed to 1.
The response received was
modified successfully
Start measuring
Request
aM!
或 aMC!
a - Address
M - Measure
C - CRC
! - Instruction terminator
Response
atttn<CR><LF>
a - Address
ttt - 3 characters, measurement end
time, unit: second
n - 1 character, the number of
measurements to be output
<CR><LF> - End of the response
When the data logger sends
‘aMC!’, the response returns
data with a CRC.
Example
Request:0M!
Response:00024<CR><LF>
0M! - Command
0 - Address
002 - The detection is completed
after a maximum of 2 seconds
4 – Four measurements will be
output
Service request
a<CR><LF>
a - Address
When the data logger sends a
instruction, the sensor immediately
responds to ' atttn<CR><LF>', and
when the measurement is finished,
the service request will be replied