Changes for page LHT52 - LoRaWAN Temperature & Humidity Sensor User Manual
Last modified by Mengting Qiu on 2024/04/30 14:27
Change comment:
Uploaded new attachment "image-20220522235639-2.png", version {1}
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 8 removed)
Details
- Page properties
-
- Content
-
... ... @@ -132,7 +132,7 @@ 132 132 133 133 == Uplink Payload: == 134 134 135 -The uplink payload includes totally 11 bytes. Uplink packets use FPORT=2 and(% class="mark" %) 135 +The uplink payload includes totally 11 bytes. Uplink packets use FPORT=2 and(% class="mark" %) every 20 minutes(%%) send one uplink by default. 136 136 137 137 After each uplink, the (% class="mark" %)BLUE LED(%%) will blink once. 138 138 ... ... @@ -153,6 +153,7 @@ 153 153 * The 7th byte (EXT #): defines the external sensor model. 154 154 * The 8^^th^^ ~~ 11^^th^^ byte: the value for external sensor value. The definition is based on external sensor type. (If EXT=0, there won’t be these four bytes.) 155 155 156 + 156 156 === Decoder in TTN V3 === 157 157 158 158 When the uplink payload arrives TTNv3, it shows HEX format and not friendly to read. We can add LHT65N decoder in TTNv3 for friendly reading. ... ... @@ -159,148 +159,10 @@ 159 159 160 160 Below is the position to put the decoder and LHT65N decoder can be download from here: 161 161 162 -[[https:~~/~~/www.dropbox.com/sh/r2i3zlhsyrpavla/AAB1sZw3mdT0K7XjpHCITt13a?dl=0 >>https://www.dropbox.com/sh/r2i3zlhsyrpavla/AAB1sZw3mdT0K7XjpHCITt13a?dl=0]] 163 163 164 164 [[image:image-20220522234118-10.png]] 165 165 166 166 167 -=== BAT-Battery Info === 168 - 169 -These two bytes of BAT include the battery state and the actually voltage 170 - 171 -(% style="width:646px" %) 172 -|Bit(bit)|(% style="width:272px" %)[15:14]|(% style="width:214px" %)[13:0] 173 -|Value|(% style="width:272px" %)((( 174 -BAT Status 175 - 176 -00(b): Ultra Low ( BAT <= 2.50v) 177 - 178 -01(b): Low (2.50v <=BAT <= 2.55v) 179 - 180 -10(b): OK (2.55v <= BAT <=2.65v) 181 - 182 -11(b): Good (BAT >= 2.65v) 183 -)))|(% style="width:214px" %)Actually BAT voltage 184 - 185 -[[image:image-20220522235639-1.png]] 186 - 187 -Check the battery voltage for LHT65N. 188 - 189 -* BAT status=(0Xcba4>>14)&0xFF=11(B),very good 190 -* Battery Voltage =0xCBF6&0x3FFF=0x0BA4=2980mV 191 - 192 -=== Built-in Temperature === 193 - 194 -[[image:image-20220522235639-2.png]] 195 - 196 -* Temperature: 0x0ABB/100=27.47℃ 197 - 198 - 199 -[[image:image-20220522235639-3.png]] 200 - 201 -* Temperature: (0xF5C6-65536)/100=-26.18℃ 202 - 203 - 204 -=== Built-in Humidity === 205 - 206 -[[image:image-20220522235639-4.png]] 207 - 208 -* Humidity: 0x025C/10=60.4% 209 - 210 - 211 -=== Ext # === 212 - 213 -Bytes for External Sensor: 214 - 215 -(% style="width:624px" %) 216 -|(% style="width:139px" %)**EXT # Value**|(% style="width:484px" %)**External Sensor Type** 217 -|(% style="width:139px" %)0x01|(% style="width:484px" %)Sensor E3, Temperature Sensor 218 -|(% style="width:139px" %)0x09|(% style="width:484px" %)Sensor E3, Temperature Sensor, Datalog Mod 219 - 220 - 221 -=== Ext value === 222 - 223 -==== Ext~=1, E3 Temperature Sensor ==== 224 - 225 -[[image:image-20220522235639-5.png]] 226 - 227 - 228 -* DS18B20 temp=0x0ADD/100=27.81℃ 229 - 230 -The last 2 bytes of data are meaningless 231 - 232 - 233 - 234 -[[image:image-20220522235639-6.png]] 235 - 236 -* External temperature= (0xF54F-65536)/100=-27.37℃ 237 - 238 -The last 2 bytes of data are meaningless 239 - 240 - 241 -If the external sensor is 0x01, and there is no external temperature connected. The temperature will be set to 7FFF which is 327.67℃ 242 - 243 - 244 -==== Ext~=9, E3 sensor with Unix Time stamp ==== 245 - 246 -Timestamp mode is designed for LHT65N with E3 probe, it will send the uplink payload with Unix timestamp. With the limitation of 11 bytes (max distance of AU915/US915/AS923 band), the time stamp mode will be lack of BAT voltage field, instead, it shows the battery status. The payload is as below: 247 - 248 - 249 -(% style="width:697px" %) 250 -|(% style="width:96px" %)**Size(bytes)**|(% style="width:164px" %)**2**|(% style="width:104px" %)**2**|(% style="width:106px" %)**2**|(% style="width:108px" %)**1**|(% style="width:116px" %)**4** 251 -|(% style="width:96px" %)**Value**|(% style="width:164px" %)[[External temperature>>path:#DS18b20_value]]|(% style="width:104px" %)((( 252 -[[Built-In>>path:#SHT20_Temperature]] 253 - 254 -[[Temperature>>path:#SHT20_Temperature]] 255 -)))|(% style="width:106px" %)((( 256 -[[BAT Status &>>path:#BAT_Humidity]] 257 - 258 -[[Built-in>>path:#BAT_Humidity]] 259 - 260 -[[Humidity>>path:#BAT_Humidity]] 261 -)))|(% style="width:108px" %)[[Status & Ext>>path:#Status_EXT]]|(% style="width:116px" %)((( 262 -[[Unix>>path:#Unix_Time_Stamp]] 263 - 264 -[[Time Stamp>>path:#Unix_Time_Stamp]] 265 -))) 266 - 267 -* **Battery status & **[[**Built-in Humidity**>>path:#SHT20_Humidity]] 268 - 269 -(% style="width:587px" %) 270 -|Bit(bit)|(% style="width:280px" %)[15:14]|(% style="width:136px" %)[11:0] 271 -|Value|(% style="width:280px" %)((( 272 -BAT Status 273 - 274 -00(b): Ultra Low ( BAT <= 2.50v) 275 - 276 -01(b): Low (2.50v <=BAT <= 2.55v) 277 - 278 -10(b): OK (2.55v <= BAT <=2.65v) 279 - 280 -11(b): Good (BAT >= 2.65v) 281 -)))|(% style="width:136px" %)((( 282 -[[Built-in Humidity>>path:#SHT20_Humidity]] 283 - 284 - 285 -))) 286 - 287 - 288 -* **Status & Ext Byte** 289 - 290 -(% style="width:732px" %) 291 -|(% style="width:128px" %)**Bits**|(% style="width:102px" %)**7**|(% style="width:145px" %)**6**|(% style="width:117px" %)**5**|(% style="width:147px" %)**4**|(% style="width:90px" %)**[3:0]** 292 -|(% style="width:128px" %)**Status & Ext**|(% style="width:102px" %)Not Defined|(% style="width:145px" %)Poll Message Flag|(% style="width:117px" %)Sync time OK|(% style="width:147px" %)Unix Time Request|(% style="width:90px" %)((( 293 -Ext: 294 - 295 -0b(1001) 296 -))) 297 - 298 -* Poll Message Flag: 1: This message is a poll message reply, 0: means this is a normal uplink. 299 -* Sync time OK: 1: Set time ok,0: N/A. After time SYNC request is sent, LHT65N will set this bit to 0 until got the time stamp from the application server. 300 -* Unix Time Request:1: Request server downlink Unix time, 0 : N/A. In this mode, LHT65N will set this bit to 1 every 10 days to request a time SYNC. (AT+SYNCMOD to set this) 301 - 302 - 303 - 304 304 == LED Indicator == 305 305 306 306 The LHT65N has a triple color LED which for easy shows different stage.
- image-20220522235639-3.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Edwin - Size
-
... ... @@ -1,1 +1,0 @@ 1 -3.7 KB - Content
- image-20220522235639-4.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Edwin - Size
-
... ... @@ -1,1 +1,0 @@ 1 -43.4 KB - Content
- image-20220522235639-5.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Edwin - Size
-
... ... @@ -1,1 +1,0 @@ 1 -11.3 KB - Content
- image-20220522235639-6.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Edwin - Size
-
... ... @@ -1,1 +1,0 @@ 1 -3.7 KB - Content
- image-20220523000825-10.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Edwin - Size
-
... ... @@ -1,1 +1,0 @@ 1 -59.3 KB - Content
- image-20220523000825-7.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Edwin - Size
-
... ... @@ -1,1 +1,0 @@ 1 -126.2 KB - Content
- image-20220523000825-8.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Edwin - Size
-
... ... @@ -1,1 +1,0 @@ 1 -27.1 KB - Content
- image-20220523000825-9.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Edwin - Size
-
... ... @@ -1,1 +1,0 @@ 1 -60.7 KB - Content