RS-232 Temperature Humidity Sensor
(Built in Sensirion SHT-20 sensor)
聯刊於台灣黃頁
Raw data: Byte 0~7
Temperature(SHT-20) | 0x30 |
0x31 |
+:0x2b,-0x2d |
0~F |
0~F |
.0x2e |
0~F |
0~F |
Humidity(SHT-20) |
0x30 |
0x32 |
+ |
0~F |
0~F |
|
|
|
RTLS Tag Output Format:
$<msg type>,<reader id>,<tag type>,<tag id>,<battery>,<button>,<G-sensor>,<sensor>,<RSSI>#
Field
|
Description
|
$
|
start of report
|
msg type
|
Type of message ex. 0: general scanner, 1: tag scanner
|
reader id
|
6 bytes ID of reader in hex => 12 chars
|
tag type
|
type of tag ex. 1: tag w/o g-sensor, 2: tag w/ g-sensor ..
|
tag id
|
6 bytes ID of tag in hex => 12 chars
|
tag batt
|
batt voltage of tag in 1/10 volt unit
|
tag button status
|
button status ex. 0: released, 1: pushed
|
tag motion status
|
motion status ex. 0: non-moving, 1: moving
|
reserved
|
Reserved for external sensor data (11 bytes)
|
tag rssi
|
tag read rssi
|
#
|
end of report
|
example:
$1,E2C69918FD94,1,FFC98B7FC1A9,32,0,0,,-55#
$1,E2C69918FD94,1,FFC98B7FC1A9,32,1,1,,-55#
$1,E2C69918FD94,1,FFC98B7FC1A9,32,1,1,,-54#
$1,E2C69918FD94,1,FFC98B7FC1A9,32,1,1,,-63#
$1,E2C69918FD94,1,FFC98B7FC1A9,32,0,0,,-56#
Poll mode by AT command :
*RST: Reset
READ? : Read the sensor value
Auto Report :
Set by DIP switch on the rear side, please check the picture.
1
|
2
|
3
|
4
|
5
|
6
|
7
|
8
|
9
|
Config
|
Format
|
Report
|
Base-1
|
Base-2
|
Time-1
|
Time-2
|
Time-3
|
Time-4
|
0: HW
1: SW
|
0: Raw
1: Tag
|
0: Auto
|
00: Second
01: Minute
10: Hour
11: Day
*Remark
|
0000:1 0100:5 1000:9 1100:13
0001:2 0101:6 1001:10 1101:14
0010:3 0110:7 1010:11 1110:15
0011:4 0111:8 1011:12 1111:16
*Remark
|
|
|
1: Poll
|
Poll the sensor value by the command set via RS-232 or RS-485, please check the command table. If you set the Modbus RTU command, the pin setting will indicate the Modbus ID: 1~64
The following string indicates the DIP No.: [4] [5] [6] [7] [8] [9]
000000:1 010000:17 100000:33 110000:49
000001:2 010001:18 100001:34 110001:50
000010:3 010010:19 100010:35 110010:51
000011:4 010011:20 100011:36 110011:52
000100:5 010100:21 100100:37 110100:53
000101:6 010101:22 100101:38 110101:54
000110:7 010110:23 100110:39 110110:55
000111:8 010111:24 100111:40 110111:56
001000:9 011000:25 101000:41 111000:57
001001:10 011001:26 101001:42 111001:58
001010:11 011010:27 101010:43 111010:59
001011:12 011011:28 101011:44 111011:60
001100:13 011100:29 101100:45 111100:61
001101:14 011101:30 101101:46 111101:62
001110:15 011110:31 101110:47 111110:63
001111:16 011111:32 101111:48 111111:64
|