Changes for page LHT65N-PIR Temperature/Humidity/PIR Motion Sensor User Manual
Last modified by Xiaoling on 2025/04/24 10:00
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -156,8 +156,73 @@ 156 156 [[image:image-20220522233300-8.png||_mstalt="428389" height="219" width="722"]] 157 157 158 158 159 -== 2.4 Uplink Payload (Fport~=2) ==159 +== 2.4 Uplink Payload~-~-Device Status, (Fport~=5) == 160 160 161 +Users can use the downlink command(**0x26 01**) to ask LHT65N-PIR to send device configure detail, include device configure status. LHT65N-PIR will uplink a payload via FPort=5 to server. 162 + 163 +The Payload format is as below. 164 + 165 +|(% colspan="6" %)**Device Status (FPORT=5)** 166 +|**Size (bytes)**|**1**|**2**|**1**|**1**|**2** 167 +|**Value**|Sensor Model|Firmware Version|Frequency Band|Sub-band|BAT 168 + 169 +Example parse in TTNv3 170 + 171 +[[image:1675144504430-490.png]] 172 + 173 +**Sensor Model**: For LHT65N-PIR, this value is 0x1A 174 + 175 +**Firmware Version**: 0x0100, Means: v1.0.0 version 176 + 177 +**Frequency Band**: 178 + 179 +*0x01: EU868 180 + 181 +*0x02: US915 182 + 183 +*0x03: IN865 184 + 185 +*0x04: AU915 186 + 187 +*0x05: KZ865 188 + 189 +*0x06: RU864 190 + 191 +*0x07: AS923 192 + 193 +*0x08: AS923-1 194 + 195 +*0x09: AS923-2 196 + 197 +*0x0a: AS923-3 198 + 199 +*0x0b: CN470 200 + 201 +*0x0c: EU433 202 + 203 +*0x0d: KR920 204 + 205 +*0x0e: MA869 206 + 207 +**Sub-Band**: 208 + 209 +AU915 and US915:value 0x00 ~~ 0x08 210 + 211 +CN470: value 0x0B ~~ 0x0C 212 + 213 +Other Bands: Always 0x00 214 + 215 +**Battery Info**: 216 + 217 +Check the battery voltage. 218 + 219 +Ex1: 0x0B45 = 2885mV 220 + 221 +Ex2: 0x0B49 = 2889mV 222 + 223 + 224 +== 2.5 Uplink Payload, Sensor Data ( Fport~=2) == 225 + 161 161 The uplink payload includes totally 11 bytes. Uplink packets use FPORT=2 and (% style="color:#4f81bd" %)**every 20 minutes**(%%) send one uplink by default. 162 162 163 163 After each uplink, the (% style="color:blue" %)**BLUE LED**(%%) will blink once. ... ... @@ -199,7 +199,7 @@ 199 199 * The 8^^th^^ byte: Alarm Bit (if this uplink is from periodically or movement) 200 200 * The 9^^th^^ ~~ 11^^st^^ byte: Movement Detect Count. 201 201 202 -=== 2. 4.1 Decoder in TTN V3 ===267 +=== 2.5.1 Decoder in TTN V3 === 203 203 204 204 205 205 When the uplink payload arrives TTNv3, it shows HEX format and not friendly to read. We can add LHT65N-PIR decoder in TTNv3 for friendly reading. ... ... @@ -210,7 +210,7 @@ 210 210 [[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220522234118-10.png||_mstalt="451464" height="353" width="729"]] 211 211 212 212 213 -=== 2. 4.2 BAT-Battery Info ===278 +=== 2.5.2 BAT-Battery Info === 214 214 215 215 216 216 These two bytes of BAT include the battery state and the actually voltage ... ... @@ -226,7 +226,7 @@ 226 226 * BAT status=(0xcba4>>14)&0xFF=11(B),very good 227 227 * Battery Voltage =0xCBF6&0x3FFF=0x0BA4=2980mV 228 228 229 -=== 2. 4.3 Built-in Temperature ===294 +=== 2.5.3 Built-in Temperature === 230 230 231 231 [[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220522235639-2.png||_mstalt="431756" height="138" width="722"]] 232 232 ... ... @@ -236,20 +236,20 @@ 236 236 237 237 * Temperature: (0xF5C6-65536)/100=-26.18℃ 238 238 239 -=== 2. 4.4 Built-in Humidity ===304 +=== 2.5.4 Built-in Humidity === 240 240 241 241 [[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220522235639-4.png||_mstalt="432484" height="138" width="722"]] 242 242 243 243 * Humidity: 0x025C/10=60.4% 244 244 245 -=== 2. 4.5 Ext value ===310 +=== 2.5.5 Ext value === 246 246 247 -==== 2. 4.5.1 Ext~=0x0A, PIR Sensor ====312 +==== 2.5.5.1 Ext~=0x0A, PIR Sensor ==== 248 248 249 249 [[image:image-20221224161634-2.png||height="138" width="851"]] 250 250 251 251 252 -==== 2. 4.5.2 Ext Value ====317 +==== 2.5.5.2 Ext Value ==== 253 253 254 254 There are 4 bytes in Ext Value field. 255 255 ... ... @@ -283,7 +283,7 @@ 283 283 0x00 E5 09 : Total detect 58633 activity since end node start. 284 284 285 285 286 -== 2. 5Show data on Datacake ==351 +== 2.6 Show data on Datacake == 287 287 288 288 Datacake IoT platform provides a human-friendly interface to show the sensor data, once we have sensor data in TTN V3, we can use Datacake to connect to TTN V3 and see the data in Datacake. Below are the steps: 289 289 ... ... @@ -313,7 +313,7 @@ 313 313 314 314 315 315 316 -== 2. 8LED Indicator ==381 +== 2.7 LED Indicator == 317 317 318 318 319 319 The LHT65N-PIR has a triple color LED which for easy showing different stage . ... ... @@ -327,7 +327,7 @@ 327 327 * RED LED when external sensor is not connected 328 328 * For each success downlink, the PURPLE LED will blink once 329 329 330 -== 2. 9installation ==395 +== 2.8 installation == 331 331 332 332 ~1. Don't install LHT65N-PIR outdoor or place where will get wet 333 333 ... ... @@ -355,56 +355,38 @@ 355 355 [[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220619092421-3.png||_mstalt="430547" height="371" width="529"]] 356 356 357 357 358 -= 4. Configure LHT65N-PIR via AT command or LoRaWAN downlink=423 += 4. Configure LHT65N-PIR = 359 359 425 +== 4.1 Configure Methods: == 360 360 361 -((( 362 -Use can configure LHT65N-E5 via AT Command or LoRaWAN Downlink. 363 -))) 364 364 365 -* ((( 366 -AT Command Connection: See [[FAQ>>||anchor="H6.FAQ"]]. 367 -))) 428 +LHT65N-PIR supports below configure method: 368 368 369 -* ((( 370 -LoRaWAN Downlink instruction for different platforms: [[IoT LoRaWAN Server>>doc:Main.WebHome]] 371 -))) 430 +* AT Command via UART Connection : See [[FAQ>>path:#H7.FAQ]]. 431 +* LoRaWAN Downlink. Instruction for different platforms: See [[IoT LoRaWAN Server>>url:http://wiki.dragino.com/xwiki/bin/view/Main/]] section. 372 372 373 -((( 374 -There are two kinds of commands to configure LHT65N-E5, they are: 375 -))) 433 +== 4.2 General Commands == 376 376 377 -* ((( 378 -(% style="color:#4f81bd" %)**General Commands**. 379 -))) 380 380 381 -((( 382 382 These commands are to configure: 383 -))) 384 384 385 -1. ((( 386 -General system settings like: uplink interval. 387 -))) 388 -1. ((( 389 -LoRaWAN protocol & radio-related commands. 390 -))) 438 +* General system settings like: uplink interval. 439 +* LoRaWAN protocol & radio related command. 391 391 392 -((( 393 -They are the same for all Dragino Devices which supports DLWS-005 LoRaWAN Stack(Note~*~*). These commands can be found on the wiki: [[End Device Downlink Command>>doc:Main.End Device AT Commands and Downlink Command.WebHome]] 394 -))) 441 +They are same for all Dragino Devices which support DLWS-005 LoRaWAN Stack. These commands can be found on the wiki: 395 395 396 -* ((( 397 -(% style="color:#4f81bd" %)**Commands special design for LHT65N-E5** 398 -))) 443 +[[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20AT%20Commands%20and%20Downlink%20Command/>>url:http://wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20AT%20Commands%20and%20Downlink%20Command/]] 399 399 400 -((( 401 -These commands are only valid for LHT65N-E5, as below: 402 -))) 403 403 446 +== 4.3 Commands special design for LHT65N-PIR == 404 404 405 -== 4.1 Set Transmit Interval Time == 406 406 449 +These commands only valid for LHT65N-PIR, as below: 407 407 451 + 452 +=== 4.3.1 Set Transmit Interval Time === 453 + 454 + 408 408 Feature: Change LoRaWAN End Node Transmit Interval. 409 409 410 410 ... ... @@ -413,7 +413,7 @@ 413 413 [[image:image-20220523150701-2.png||_mstalt="427453"]] 414 414 415 415 416 -(% style="color:#4f81bd" %)**Downlink Command: 0x01**463 +(% style="color:#4f81bd" %)**Downlink Payload: 0x01** 417 417 418 418 Format: Command Code (0x01) followed by 3 bytes time value. 419 419 ... ... @@ -423,9 +423,18 @@ 423 423 424 424 * **Example 2**: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 425 425 426 -== 4.2 CurrentlyonlysupportsE5==473 +=== 4.3.2 Get Device Status === 427 427 475 +Send a LoRaWAN downlink to ask device send Alarm settings. 428 428 477 +* (% style="color:#4f81bd" %)**Downlink Payload**(%%)**: **0x26 01 478 + 479 +Sensor will upload Device Status via FPORT=5. See payload section for detail. 480 + 481 + 482 +=== 4.3.3 Set Password === 483 + 484 + 429 429 Feature: Set device password, max 9 digits 430 430 431 431 ... ... @@ -449,7 +449,7 @@ 449 449 450 450 * 0xA205: Set external sensor type to E5 451 451 452 -== 4.3 Set to sleep mode == 508 +=== 4.3.4 Set to sleep mode === 453 453 454 454 455 455 Feature: Set device to sleep mode ... ... @@ -466,6 +466,21 @@ 466 466 467 467 * There is no downlink command to set to Sleep mode. 468 468 525 +=== 4.3.5 Set UOA (Uplink on Activity) === 526 + 527 +Feature: Enable / Disable Uplink on Activity 528 + 529 +* **AT+UOA=0** : Disable UoA 530 +* **AT+UOA=1,2** : Enable UoA , Calm Down Time: 2 minutes. If device already send a uplink on activity, it will not send another uplink on activiy in 2 minutes, even detect activity. 531 + 532 +Notice: Calm Down time range is 1 ~~ 65535 minutes. If user set Calm Down time to low value, such as 1 minute, the sensor might send uplink very frequenctly and battery drain fast. 533 + 534 +(% style="color:#4f81bd" %)**AT Command: AT+UOA** 535 + 536 + 537 +(% style="color:#4f81bd" %)**Downlink Command: **(% class="mark" %)**xxxxxxx** 538 + 539 + 469 469 = 5. Battery & Power Consumption = 470 470 471 471 LHT65N-PIR use **CR17450** battery pack. See below link for detail information about the battery info and how to replace. ... ... @@ -478,9 +478,9 @@ 478 478 Please see this link for how to do OTA firmware update: [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/Firmware%20OTA%20Update%20for%20Sensors/>>url:http://wiki.dragino.com/xwiki/bin/view/Main/Firmware%20OTA%20Update%20for%20Sensors/]] 479 479 480 480 481 -= 6. FAQ =552 += 7. FAQ = 482 482 483 -== 6.1 How to use AT Command? ==554 +== 7.1 How to use AT Command? == 484 484 485 485 486 486 LHT65N-E5 supports AT Command set.User can use a USB to TTL adapter plus the Program Cable to connect to LHT65 for using AT command, as below. ... ... @@ -499,7 +499,7 @@ 499 499 500 500 501 501 502 -== 6.2 Where to use AT commands and Downlink commands ==573 +== 7.2 Where to use AT commands and Downlink commands == 503 503 504 504 505 505 **AT commands:** ... ... @@ -545,7 +545,7 @@ 545 545 [[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220615154519-3.png||_mstalt="431925" height="672" width="807"]] 546 546 547 547 548 -== 6.4 How to use TTL-USB to connect PC to upgrade firmware? ==619 +== 7.4 How to use TTL-USB to connect PC to upgrade firmware? == 549 549 550 550 [[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220615153355-1.png||_mstalt="430222"]] 551 551 ... ... @@ -586,7 +586,7 @@ 586 586 [[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220615154519-3.png||_mstalt="431925" height="672" width="807"]] 587 587 588 588 589 -= 7. Order Info =660 += 8. Order Info = 590 590 591 591 592 592 Part Number: (% style="color:#4f81bd" %)** LHT65N-PIR-XX** ... ... @@ -602,7 +602,7 @@ 602 602 * (% style="color:#4f81bd" %)** **(% _mstmutation="1" style="color:red" %)**IN865**(%%): LoRaWAN IN865 band 603 603 * (% style="color:#4f81bd" %)** **(% _mstmutation="1" style="color:red" %)**CN470**(%%): LoRaWAN CN470 band 604 604 605 -= 8. Packing Info =676 += 9. Packing Info = 606 606 607 607 608 608 **Package Includes**: ... ... @@ -614,12 +614,12 @@ 614 614 * Device Size: 10 x 10 x 3.5 mm 615 615 * Device Weight: 120.5g 616 616 617 -= 9. Reference material =688 += 10. Reference material = 618 618 619 619 620 620 * [[Datasheet, photos, decoder, firmware>>https://www.dropbox.com/sh/una19zsni308dme/AACOKp6J2RF5TMlKWT5zU3RTa?dl=0]] 621 621 622 -= 1 0. FCC Warning =693 += 11. FCC Warning = 623 623 624 624 625 625 This device complies with part 15 of the FCC Rules.Operation is subject to the following two conditions: