Changes for page LHT65N-PIR Temperature/Humidity/PIR Motion Sensor User Manual
Last modified by Xiaoling on 2025/06/10 09:17
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -25,6 +25,7 @@ 25 25 26 26 == 1.1 What is LHT65N-PIR Temperature,Humidity & PIR Sensor == 27 27 28 + 28 28 The Dragino (% style="color:blue" %)**LHT65N-PIR Temperature, Humidity & PIR sensor**(%%) is a Long Range LoRaWAN Sensor.It includes a (% style="color:blue" %)**built-in Temperature & Humidity sensor**(%%) and has an (% style="color:blue" %)**external PIR Probe**(%%)**.** LHT65N-PIR can detect environment Temperature & Humdity, it also detects (% style="color:blue" %)**People Activity**(%%) via PIR probe and them send these info to LoRaWAN IoT Server. 29 29 30 30 The LHT65N-PIR allows users to send data and reach extremely long ranges. It provides ultra-long range spread spectrum communication and high interference immunity whilst minimizing current consumption. It targets professional wireless sensor network applications such as irrigation systems, smart metering, smart cities, building automation, and so on. ... ... @@ -35,12 +35,12 @@ 35 35 36 36 LHT65N-PIR is fully compatible with (% style="color:blue" %)**LoRaWAN v1.0.3 Class A protocol**(%%), it can work with a standard LoRaWAN gateway. 37 37 38 - 39 39 **~*~***The actual battery life depends on how often to send data, please see battery analyzer chapter. 40 40 41 41 42 42 == 1.2 Features == 43 43 44 + 44 44 * LoRaWAN v1.0.3 Class A protocol 45 45 * Frequency Bands: CN470/EU433/KR920/US915/EU868/AS923/AU915 46 46 * AT Commands to change parameters ... ... @@ -52,6 +52,8 @@ 52 52 * External PIR Sensor 53 53 * Tri-color LED to indicate working status(% style="display:none" %) 54 54 56 + 57 + 55 55 == 1.3 Specification == 56 56 57 57 ... ... @@ -76,12 +76,14 @@ 76 76 * (% class="mark" %)Resolution: 1 lx 77 77 * (% class="mark" %)Range: 0-65535 lx 78 78 * (% class="mark" %)Operating Range: -40 °C ~~ 85 °C 79 -* 80 80 83 + 84 + 81 81 = 2. Connect LHT65N-PIR to IoT Server = 82 82 83 83 == 2.1 How does LHT65N-PIR work? == 84 84 89 + 85 85 LHT65N-PIR is configured as LoRaWAN OTAA Class A sensor by default. Each LHT65N-PIR is shipped with a worldwide unique set of OTAA keys. To use LHT65N-PIR in a LoRaWAN network, first, we need to put the OTAA keys in LoRaWAN Network Server and then activate LHT65N-PIR. 86 86 87 87 If LHT65N-PIR is within the coverage of this LoRaWAN network. LHT65N-PIR can join the LoRaWAN network automatically. After successfully joining, LHT65N-PIR will start to measure environment temperature, humidity & people activity, and start to transmit sensor data to the LoRaWAN server. The default period for each uplink is 20 minutes. ... ... @@ -89,6 +89,7 @@ 89 89 90 90 == 2.2 How to Activate LHT65N-PIR? == 91 91 97 + 92 92 The LHT65N-PIR has two working modes: 93 93 94 94 * (% style="color:blue" %)**Deep Sleep Mode**(%%): LHT65N-PIR doesn't have any LoRaWAN activation. This mode is used for storage and shipping to save battery life. ... ... @@ -100,9 +100,20 @@ 100 100 101 101 [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N-E5%20LoRaWAN%20Temperature_Humidity%20%26%20Illuminance%20Sensor%20User%20Manual/WebHome/image-20220515123819-1.png?width=317&height=379&rev=1.1||alt="image-20220515123819-1.png" height="379" width="317"]] 102 102 103 -[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N-E5%20LoRaWAN%20Temperature_Humidity%20%26%20Illuminance%20Sensor%20User%20Manual/WebHome/image-20220525110604-2.png?rev=1.1||alt="image-20220525110604-2.png"]] 104 104 110 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 111 +|=(% style="width: 167px;background-color:#D9E2F3;color:#0070C0" %)**Behavior on ACT**|=(% style="width: 117px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 225px;background-color:#D9E2F3;color:#0070C0" %)**Action** 112 +|(% style="background-color:#f2f2f2; width:167px" %)Pressing ACT between 1s < time < 3s|(% style="background-color:#f2f2f2; width:117px" %)Test uplink status|(% style="background-color:#f2f2f2; width:225px" %)((( 113 +If LHT65N is already Joined to rhe LoRaWAN network, LHT65N will send an uplink packet, if LHT65N has external sensor connected,(% style="color:blue" %)**Blue led** (%%)will blink once. If LHT65N has not external sensor, (% style="color:red" %)**Red led**(%%) will blink once. 114 +))) 115 +|(% style="background-color:#f2f2f2; width:167px" %)Pressing ACT for more than 3s|(% style="background-color:#f2f2f2; width:117px" %)Active Device|(% style="background-color:#f2f2f2; width:225px" %)((( 116 +(% style="background-color:#f2f2f2; color:green" %)**Green led**(%%) will fast blink 5 times, LHT65N will enter working mode and start to JOIN LoRaWAN network. 117 +(% style="background-color:#f2f2f2; color:green" %)**Green led**(%%) will solidly turn on for 5 seconds after join in network. 118 +))) 119 +|(% style="background-color:#f2f2f2; width:167px" %)Fast press ACT 5 times.|(% style="background-color:#f2f2f2; width:117px" %)Deactivate Device|(% style="background-color:#f2f2f2; width:225px" %)(% style="color:red" %)**Red led**(%%) will solid on for 5 seconds. Means LHT65N is in Deep Sleep Mode. 105 105 121 + 122 + 106 106 == 2.3 Example to join LoRaWAN network == 107 107 108 108 ... ... @@ -124,8 +124,9 @@ 124 124 125 125 Each LHT65N-PIR is shipped with a sticker with its device EUI, APP Key and APP EUI as below: 126 126 127 -[[image:image-202 20617150003-1.jpeg||_mstalt="5426434"]]144 +[[image:image-20230426083533-1.png]] 128 128 146 + 129 129 User can enter these keys in the LoRaWAN Server portal. Below is TTN V3 screenshot: 130 130 131 131 Add APP EUI in the application. ... ... @@ -134,37 +134,43 @@ 134 134 [[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220522232916-3.png||_mstalt="430495"]] 135 135 136 136 137 -[[image:image-20220522232932-4.png|| _mstalt="430157"]]155 +[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N-E5%20LoRaWAN%20Temperature_Humidity%20%26%20Illuminance%20Sensor%20User%20Manual/WebHome/image-20220522232932-4.png?rev=1.1||alt="image-20220522232932-4.png"]] 138 138 139 139 140 -[[image:image-20220522232954-5.png|| _mstalt="431847"]]158 +[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N-E5%20LoRaWAN%20Temperature_Humidity%20%26%20Illuminance%20Sensor%20User%20Manual/WebHome/image-20220522232954-5.png?rev=1.1||alt="image-20220522232954-5.png"]] 141 141 142 142 143 - 144 144 (% style="color:red" %)**Note: LHT65N-PIR use same payload decoder as LHT65.** 145 145 146 146 147 - InputAPPEUI, APP KEY andDEV EUI:164 +[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N-E5%20LoRaWAN%20Temperature_Humidity%20%26%20Illuminance%20Sensor%20User%20Manual/WebHome/image-20220522233026-6.png?rev=1.1||alt="image-20220522233026-6.png"]] 148 148 149 149 150 - [[image:image-20220522233118-7.png||_mstalt="430430"]]167 +**Input APP EUI, APP KEY and DEV EUI:** 151 151 169 +[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N-E5%20LoRaWAN%20Temperature_Humidity%20%26%20Illuminance%20Sensor%20User%20Manual/WebHome/image-20220522233118-7.png?rev=1.1||alt="image-20220522233118-7.png"]] 152 152 171 + 153 153 === 2.3.2 Step 2: Activate LHT65N-PIR by pressing the ACT button for more than 5 seconds. === 154 154 174 + 155 155 Use ACT button to activate LHT65N-PIR and it will auto-join to the TTN V3 network. After join success, it will start to upload sensor data to TTN V3 and user can see in the panel. 156 -[[image:image-20220522233300-8.png||_mstalt="428389" height="219" width="722"]] 157 157 158 158 178 +[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N-E5%20LoRaWAN%20Temperature_Humidity%20%26%20Illuminance%20Sensor%20User%20Manual/WebHome/image-20220522233300-8.png?rev=1.1||alt="image-20220522233300-8.png"]] 179 + 180 + 159 159 == 2.4 Uplink Payload~-~-Device Status, (Fport~=5) == 160 160 183 + 161 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 162 163 163 The Payload format is as below. 164 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 188 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 189 +|(% colspan="6" style="background-color:#d9e2f3; color:#0070c0" %)**Device Status (FPORT=5)** 190 +|(% style="background-color:#f2f2f2; width:103px" %)**Size (bytes)**|(% style="background-color:#f2f2f2; width:72px" %)**1**|(% style="background-color:#f2f2f2" %)**2**|(% style="background-color:#f2f2f2; width:91px" %)**1**|(% style="background-color:#f2f2f2; width:86px" %)**1**|(% style="background-color:#f2f2f2; width:44px" %)**2** 191 +|(% style="background-color:#f2f2f2; width:103px" %)**Value**|(% style="background-color:#f2f2f2; width:72px" %)Sensor Model|(% style="background-color:#f2f2f2" %)Firmware Version|(% style="background-color:#f2f2f2; width:91px" %)Frequency Band|(% style="background-color:#f2f2f2; width:86px" %)Sub-band|(% style="background-color:#f2f2f2; width:44px" %)BAT 168 168 169 169 Example parse in TTNv3 170 170 ... ... @@ -223,40 +223,41 @@ 223 223 224 224 == 2.5 Uplink Payload, Sensor Data ( Fport~=2) == 225 225 250 + 226 226 The uplink payload includes totally 11 bytes. Uplink packets use FPORT=2 and (% style="color:#4f81bd" %)**every 20 minutes**(%%) send one uplink by default. 227 227 228 228 After each uplink, the (% style="color:blue" %)**BLUE LED**(%%) will blink once. 229 229 230 -(% border="1" cellspacing="4" style="background-color:#fff fcc;color:green;width:390px" %)231 -|=(% style="width: 60px;" %)((( 255 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:390px" %) 256 +|=(% style="width: 60px;background-color:#D9E2F3" %)((( 232 232 **Size(bytes)** 233 -)))|=(% style="width: 30px;" %)((( 258 +)))|=(% style="width: 30px;background-color:#D9E2F3" %)((( 234 234 **2** 235 -)))|=(% style="width: 100px;" %)((( 260 +)))|=(% style="width: 100px;background-color:#D9E2F3" %)((( 236 236 **2** 237 -)))|=(% style="width: 100px;" %)((( 262 +)))|=(% style="width: 100px;background-color:#D9E2F3" %)((( 238 238 **2** 239 -)))|=(% style="width: 50px;" %)((( 264 +)))|=(% style="width: 50px;background-color:#D9E2F3" %)((( 240 240 **1** 241 -)))|=(% style="width: 50px;" %)((( 266 +)))|=(% style="width: 50px;background-color:#D9E2F3" %)((( 242 242 **4** 243 243 ))) 244 244 |(% style="width:97px" %)((( 245 245 **Value** 246 246 )))|(% style="width:39px" %)((( 247 -[[BAT>>||anchor="H2. 4.2BAT-BatteryInfo"]]272 +[[BAT>>||anchor="H2.5.2BAT-BatteryInfo"]] 248 248 )))|(% style="width:100px" %)((( 249 249 ((( 250 -[[Built-In Temperature>>||anchor="H2. 4.3Built-inTemperature"]]275 +[[Built-In Temperature>>||anchor="H2.5.3Built-inTemperature"]] 251 251 ))) 252 252 )))|(% style="width:77px" %)((( 253 253 ((( 254 -[[Built-in Humidity>>||anchor="H2. 4.4Built-inHumidity"]]279 +[[Built-in Humidity>>||anchor="H2.5.4Built-inHumidity"]] 255 255 ))) 256 256 )))|(% style="width:47px" %)((( 257 - [[Ext>>||anchor="H2.4.5Ext23"]]#282 +Ext # 258 258 )))|(% style="width:51px" %)((( 259 -[[Ext value>>||anchor="H2. 4.6Extvalue"]]284 +[[Ext value>>||anchor="H2.5.5Extvalue"]] 260 260 ))) 261 261 262 262 * The First 6 bytes: has fix meanings for every LHT65N-PIR. ... ... @@ -264,6 +264,8 @@ 264 264 * The 8^^th^^ byte: Alarm Bit (if this uplink is from periodically or movement) 265 265 * The 9^^th^^ ~~ 11^^st^^ byte: Movement Detect Count. 266 266 292 + 293 + 267 267 === 2.5.1 Decoder in TTN V3 === 268 268 269 269 ... ... @@ -280,9 +280,20 @@ 280 280 281 281 These two bytes of BAT include the battery state and the actually voltage 282 282 283 -[[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220523152839-18.png||_mstalt="457613"]] 310 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:477px" %) 311 +|=(% style="width: 69px; background-color:#D9E2F3;color:#0070C0" %)((( 312 +**Bit(bit)** 313 +)))|=(% style="width: 253px;background-color:#D9E2F3;color:#0070C0" %)[15:14]|=(% style="width: 155px;background-color:#D9E2F3;color:#0070C0" %)[13:0] 314 +|(% style="width:66px" %)((( 315 +**Value** 316 +)))|(% style="width:250px" %)((( 317 +BAT Status 318 +00(b): Ultra Low ( BAT <= 2.50v) 319 +01(b): Low (2.50v <=BAT <= 2.55v) 320 +10(b): OK (2.55v <= BAT <=2.65v) 321 +11(b): Good (BAT >= 2.65v) 322 +)))|(% style="width:152px" %)Actually BAT voltage 284 284 285 - 286 286 [[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220522235639-1.png||_mstalt="431392" height="139" width="727"]] 287 287 288 288 ... ... @@ -291,6 +291,8 @@ 291 291 * BAT status=(0xcba4>>14)&0xFF=11(B),very good 292 292 * Battery Voltage =0xCBF6&0x3FFF=0x0BA4=2980mV 293 293 332 + 333 + 294 294 === 2.5.3 Built-in Temperature === 295 295 296 296 [[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"]] ... ... @@ -301,6 +301,8 @@ 301 301 302 302 * Temperature: (0xF5C6-65536)/100=-26.18℃ 303 303 344 + 345 + 304 304 === 2.5.4 Built-in Humidity === 305 305 306 306 [[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"]] ... ... @@ -307,6 +307,8 @@ 307 307 308 308 * Humidity: 0x025C/10=60.4% 309 309 352 + 353 + 310 310 === 2.5.5 Ext value === 311 311 312 312 ==== 2.5.5.1 Ext~=0x0A, PIR Sensor ==== ... ... @@ -316,23 +316,24 @@ 316 316 317 317 ==== 2.5.5.2 Ext Value ==== 318 318 363 + 319 319 There are 4 bytes in Ext Value field. 320 320 321 321 Bit0 of byte 8th shows if this uplink is generate by PIR activity. 322 322 323 -(% border="1" cellspacing="4" style="background-color:#fff fcc;color:green;width:490px" %)324 -|=(% style="width: 1 47px;" %)(((368 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:393px" %) 369 +|=(% style="width: 106px; background-color: rgb(217, 226, 243); color: rgb(0, 112, 192);" %)((( 325 325 **The 8^^th^^ byte** 326 -)))|=(% style="width: 1 08px;" %)(((371 +)))|=(% style="width: 71px; background-color: rgb(217, 226, 243); color: rgb(0, 112, 192);" %)((( 327 327 **Bit 1~~7** 328 -)))|=(% style="width: 2 28px;" %)(((373 +)))|=(% style="width: 211px; background-color: rgb(217, 226, 243); color: rgb(0, 112, 192);" %)((( 329 329 **Bit 0** 330 330 ))) 331 -|(% style="width:1 47px" %)(((376 +|(% style="width:106px" %)((( 332 332 **Value** 333 -)))|(% style="width:1 08px" %)(((378 +)))|(% style="width:71px" %)((( 334 334 Reserve 335 -)))|(% style="width:2 28px" %)(((380 +)))|(% style="width:211px" %)((( 336 336 ((( 337 337 0: Normal Uplink 338 338 ... ... @@ -340,9 +340,8 @@ 340 340 ))) 341 341 ))) 342 342 343 -**Note**: 388 +(% style="color:red" %)**Note**:** Uplink by activity is disable by default.** 344 344 345 - 346 346 The 9^^th^^ ~~ 11^^st^^ byte: Movement Detect Count. 347 347 348 348 0x00 E5 09 : Total detect 58633 activity since end node start. ... ... @@ -350,6 +350,7 @@ 350 350 351 351 == 2.6 Show data on Datacake == 352 352 397 + 353 353 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: 354 354 355 355 (% style="color:blue" %)**Step 1**(%%): Be sure that your device is programmed and properly connected to the LoRaWAN network. ... ... @@ -387,13 +387,16 @@ 387 387 388 388 In a normal working state: 389 389 390 -* For each uplink, the BLUE LED or RED LED will blink once. 391 -BLUE LED when external sensor is connected. 392 -* RED LED when external sensor is not connected 435 +* For each uplink, the **BLUE LED** or **RED LED** will blink once. 436 +**BLUE LED** when external sensor is connected. 437 +* **RED LED** when external sensor is not connected 393 393 * For each success downlink, the PURPLE LED will blink once 394 394 440 + 441 + 395 395 == 2.8 installation == 396 396 444 + 397 397 ~1. Don't install LHT65N-PIR outdoor or place where will get wet. 398 398 399 399 2. Towards the PIR probe to the place where need to monitor activity. Below is the detect beam. ... ... @@ -402,7 +402,7 @@ 402 402 403 403 [[image:image-20230411135341-1.png||height="450" width="456"]] 404 404 405 -**Notice: PIR can only detect motion activity, not to use to detect static people case.** 453 +(% style="color:red" %)**Notice: PIR can only detect motion activity, not to use to detect static people case.** 406 406 407 407 * 1. PIR Motion Detector should not be installed near the Air conditioner places where with cold wind or hot wind flow, because PIR motion detector is sensitive with the temperature changes of the environment. Environment changes quickly will cause a false alarm. 408 408 * 2. PIR should not be installed facing the glass window, facing glass window will be interfered by the outside sunlight and moving objects (people or vehicle). The infrared energy can penetrate the glass window. ... ... @@ -410,6 +410,8 @@ 410 410 * 4. Between the detection range of PIR Motion detector, there is should be less objects. Many objects may reduce the sensitive of detection range. 411 411 * 5. Do not install more than one (2 or above) Wireless PIR in the same detection space (like at the same room). 412 412 461 + 462 + 413 413 = 3. Sensors and Accessories = 414 414 415 415 == 3.1 E2 Extension Cable == ... ... @@ -418,7 +418,7 @@ 418 418 [[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220619092222-1.png||_mstalt="429533" height="182" width="188"]][[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220619092313-2.png||_mstalt="430222" height="182" width="173"]] 419 419 420 420 421 -**1m long breakout cable for LHT65N- E5. Features:**471 +**1m long breakout cable for LHT65N-PIR. Features:** 422 422 423 423 * ((( 424 424 Use for AT Command ... ... @@ -437,9 +437,11 @@ 437 437 438 438 LHT65N-PIR supports below configure method: 439 439 440 -* AT Command via UART Connection : See [[FAQ>> path:#H7.FAQ]].490 +* AT Command via UART Connection : See [[FAQ>>||anchor="H7.FAQ"]]. 441 441 * LoRaWAN Downlink. Instruction for different platforms: See [[IoT LoRaWAN Server>>url:http://wiki.dragino.com/xwiki/bin/view/Main/]] section. 442 442 493 + 494 + 443 443 == 4.2 General Commands == 444 444 445 445 ... ... @@ -464,12 +464,13 @@ 464 464 465 465 Feature: Change LoRaWAN End Node Transmit Interval. 466 466 467 - 468 468 (% style="color:#4f81bd" %)**AT Command: AT+TDC** 469 469 470 -[[image:image-20220523150701-2.png||_mstalt="427453"]] 521 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:501px" %) 522 +|(% style="background-color:#d9e2f3; color:#0070c0; width:155px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#0070c0; width:166px" %)**Function**|(% style="background-color:#d9e2f3; color:#0070c0; width:180px" %)**Response** 523 +|(% style="width:155px" %)AT+TDC?|(% style="width:162px" %)Show current transmit Interval|(% style="width:177px" %)30000 OK the interval is 30000ms = 30s 524 +|(% style="width:155px" %)AT+TDC=60000|(% style="width:162px" %)Set Transmit Interval|(% style="width:177px" %)OK Set transmit interval to 60000ms = 60 seconds 471 471 472 - 473 473 (% style="color:#4f81bd" %)**Downlink Payload: 0x01** 474 474 475 475 Format: Command Code (0x01) followed by 3 bytes time value. ... ... @@ -480,8 +480,11 @@ 480 480 481 481 * **Example 2**: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 482 482 536 + 537 + 483 483 === 4.3.2 Get Device Status === 484 484 540 + 485 485 Send a LoRaWAN downlink to ask device send Alarm settings. 486 486 487 487 * (% style="color:#4f81bd" %)**Downlink Payload**(%%)**: **0x26 01 ... ... @@ -494,27 +494,22 @@ 494 494 495 495 Feature: Set device password, max 9 digits 496 496 553 +(% style="color:#4f81bd" %)**AT Command: AT+PWORD** 497 497 498 -(% style="color:#4f81bd" %)**AT Command: AT+EXT** 555 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:372px" %) 556 +|(% style="background-color:#d9e2f3; color:#0070c0; width:155px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#0070c0; width:128px" %)**Function**|(% style="background-color:#d9e2f3; color:#0070c0; width:89px" %)**Response** 557 +|(% style="width:155px" %)AT+PWORD=?|(% style="width:124px" %)Show password|(% style="width:86px" %)((( 558 +123456 499 499 500 -(% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:510px" %) 501 -|Command Example|Function|Response 502 -|AT+EXT=?|Get or Set external sensor model|((( 503 -5 504 - 505 -OK 560 +OK 506 506 ))) 507 -|AT+ EXT=5|(%colspan="2" %)Setexternalsensormodeto5562 +|(% style="width:155px" %)AT+PWORD=999999|(% style="width:124px" %)Set password|(% style="width:86px" %)OK 508 508 509 -(% style="color:#4f81bd" %)**Downlink Command: 0xA2**564 +(% style="color:#4f81bd" %)**Downlink Command:** 510 510 566 +No downlink command for this feature. 511 511 512 -Total bytes: 2 bytes 513 513 514 -**Example:** 515 - 516 -* 0xA205: Set external sensor type to E5 517 - 518 518 === 4.3.4 Set to sleep mode === 519 519 520 520 ... ... @@ -521,25 +521,35 @@ 521 521 Feature: Set device to sleep mode 522 522 523 523 * **AT+Sleep=0** : Normal working mode, device will sleep and use lower power when there is no LoRa message 575 + 524 524 * **AT+Sleep=1** : Device is in deep sleep mode, no LoRa activation happen, used for storage or shipping. 525 525 526 526 (% style="color:#4f81bd" %)**AT Command: AT+SLEEP** 527 527 528 -[[image:image-20220523151218-7.png||_mstalt="430703"]] 580 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:513px" %) 581 +|(% style="background-color:#d9e2f3; color:#0070c0; width:155px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#0070c0; width:140px" %)**Function**|(% style="background-color:#d9e2f3; color:#0070c0; width:218px" %)**Response** 582 +|(% style="width:155px" %)AT+SLEEP|(% style="width:139px" %)Set to sleep mode|(% style="width:213px" %)((( 583 +Clear all stored sensor data… 529 529 585 +OK 586 +))) 530 530 531 531 (% style="color:#4f81bd" %)**Downlink Command:** 532 532 533 533 * There is no downlink command to set to Sleep mode. 534 534 592 + 593 + 535 535 === 4.3.5 Set UOA (Uplink on Activity) === 536 536 596 + 537 537 Feature: Enable / Disable Uplink on Activity 538 538 539 539 * **AT+UOA=0** : Disable UoA 600 + 540 540 * **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. 541 541 542 -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. 603 +(% style="color:red" %)**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.** 543 543 544 544 (% style="color:#4f81bd" %)**AT Command: AT+UOA** 545 545 ... ... @@ -549,6 +549,7 @@ 549 549 550 550 = 5. Battery & Power Consumption = 551 551 613 + 552 552 LHT65N-PIR use **CR17450** battery pack. See below link for detail information about the battery info and how to replace. 553 553 554 554 [[**Battery Info & Power Consumption Analyze**>>url:http://wiki.dragino.com/xwiki/bin/view/Main/How%20to%20calculate%20the%20battery%20life%20of%20Dragino%20sensors%3F/]] . ... ... @@ -556,8 +556,9 @@ 556 556 557 557 = 6. OTA firmware update = 558 558 559 -User can change firmware S31x-LB to: 560 560 622 +User can change firmware LHT65N-PIR to: 623 + 561 561 * Change Frequency band/ region. 562 562 * Update with new features. 563 563 * Fix bugs. ... ... @@ -569,12 +569,14 @@ 569 569 * (Recommanded way) OTA firmware update via wireless: [[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/]] 570 570 * Update through UART TTL interface. **[[Instruction>>url:http://wiki.dragino.com/xwiki/bin/view/Main/UART%20Access%20for%20LoRa%20ST%20v4%20base%20model/#H1.LoRaSTv4baseHardware]]**. 571 571 635 + 636 + 572 572 = 7. FAQ = 573 573 574 574 == 7.1 How to use AT Command? == 575 575 576 576 577 -LHT65N- E5supports 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.642 +LHT65N-PIR 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. 578 578 579 579 580 580 [[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220615153355-1.png||_mstalt="430222"]] ... ... @@ -584,12 +584,11 @@ 584 584 [[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@1655802313617-381.png||_mstalt="293917"]] 585 585 586 586 587 -In PC, User needs to set serial tool(such as [[**putty**>>https://www.chiark.greenend.org.uk/~~sgtatham/putty/latest.html]], SecureCRT) baud rate to (% style="color:green" %)**9600** (%%)to access to access serial console for LHT65N- E5. The AT commands are disable by default and need to enter password (default:(% style="color:green" %)**123456**(% style="color:red" %))(%%) to active it. Timeout to input AT Command is 5 min, after 5-minute, user need to input password again. User can use AT+DISAT command to disable AT command before timeout.652 +In PC, User needs to set serial tool(such as [[**putty**>>https://www.chiark.greenend.org.uk/~~sgtatham/putty/latest.html]], SecureCRT) baud rate to (% style="color:green" %)**9600** (%%)to access to access serial console for LHT65N-PIR. The AT commands are disable by default and need to enter password (default:(% style="color:green" %)**123456**(% style="color:red" %))(%%) to active it. Timeout to input AT Command is 5 min, after 5-minute, user need to input password again. User can use AT+DISAT command to disable AT command before timeout. 588 588 589 589 [[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"]] 590 590 591 591 592 - 593 593 == 7.2 Where to use AT commands and Downlink commands == 594 594 595 595 ... ... @@ -631,6 +631,7 @@ 631 631 632 632 == 7.3 How to change the uplink interval? == 633 633 698 + 634 634 Please see this link: [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/How%20to%20set%20the%20transmit%20time%20interval/>>url:http://wiki.dragino.com/xwiki/bin/view/Main/How%20to%20set%20the%20transmit%20time%20interval/||_mstmutation="1" style="background-color: rgb(255, 255, 255);"]] 635 635 636 636 [[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"]] ... ... @@ -638,6 +638,7 @@ 638 638 639 639 == 7.4 How to use TTL-USB to connect PC to upgrade firmware? == 640 640 706 + 641 641 [[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220615153355-1.png||_mstalt="430222"]] 642 642 643 643 (% style="color:blue" %)**Step1**(%%): Install TremoProgrammer first. ... ... @@ -693,6 +693,8 @@ 693 693 * (% style="color:#4f81bd" %)** **(% _mstmutation="1" style="color:red" %)**IN865**(%%): LoRaWAN IN865 band 694 694 * (% style="color:#4f81bd" %)** **(% _mstmutation="1" style="color:red" %)**CN470**(%%): LoRaWAN CN470 band 695 695 762 + 763 + 696 696 = 9. Packing Info = 697 697 698 698 ... ... @@ -705,11 +705,15 @@ 705 705 * Device Size: 10 x 10 x 3.5 mm 706 706 * Device Weight: 120.5g 707 707 776 + 777 + 708 708 = 10. Reference material = 709 709 710 710 711 711 * [[Datasheet, photos, decoder, firmware>>https://www.dropbox.com/sh/una19zsni308dme/AACOKp6J2RF5TMlKWT5zU3RTa?dl=0]] 712 712 783 + 784 + 713 713 = 11. FCC Warning = 714 714 715 715