Changes for page LHT65N -- Manual do sensor de temperatura e umidade LoRaWAN
Last modified by Xiaoling on 2023/07/18 10:12
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -45,9 +45,10 @@ 45 45 * Tri-color LED to indicate working status 46 46 * Datalog feature 47 47 48 -== 1.3 Specification == 49 49 50 50 50 +== 1.3 Specification == 51 + 51 51 **Built-in Temperature Sensor:** 52 52 53 53 * Resolution: 0.01 °C ... ... @@ -69,6 +69,8 @@ 69 69 * ±2°C accuracy from -55°C to +125°C 70 70 * Operating Range: -55 °C ~~ 125 °C 71 71 73 + 74 + 72 72 = 2. Connect LHT65N to IoT Server = 73 73 74 74 == 2.1 How does LHT65N work? == ... ... @@ -85,6 +85,7 @@ 85 85 * (% style="color:blue" %)**Deep Sleep Mode**(%%): LHT65N doesn’t have any LoRaWAN activation. This mode is used for storage and shipping to save battery life. 86 86 * (% style="color:blue" %)**Working Mode**(%%): In this mode, LHT65N works as LoRaWAN Sensor mode to Join LoRaWAN network and send out the sensor data to the server. Between each sampling/tx/rx periodically, LHT65N will be in STOP mode (IDLE mode), in STOP mode, LHT65N has the same power consumption as Deep Sleep mode. 87 87 91 + 88 88 The LHT65N is set in deep sleep mode by default; The ACT button on the front is to switch to different modes: 89 89 90 90 ... ... @@ -102,73 +102,71 @@ 102 102 (% _mstvisible="1" class="wikigeneratedid" %) 103 103 [[image:image-20220522232442-1.png||_mstalt="427830" _mstvisible="3" height="387" width="648"]] 104 104 105 - 106 -((( 109 +(% _msthash="315241" _msttexthash="10802155" _mstvisible="1" %) 107 107 Assume the LPS8N is already set to connect to [[TTN V3 network>>url:https://eu1.cloud.thethings.network||_mstvisible="2"]], So it provides network coverage for LHT65N. Next we need to add the LHT65N device in TTN V3: 108 -))) 109 109 110 110 113 +(% _mstvisible="1" %) 114 +=== (% _msthash="670592" _msttexthash="634075" _mstvisible="3" %)2.3.1 Step 1: Create Device n TTN(%%) === 111 111 112 -=== 2.3.1 Step 1: Create Device n TTN === 113 - 114 -((( 116 +(% _msthash="315242" _msttexthash="1601782" _mstvisible="1" %) 115 115 Create a device in TTN V3 with the OTAA keys from LHT65N. 116 -))) 117 117 118 -( ((119 +(% _msthash="315243" _msttexthash="3694444" _mstvisible="1" %) 119 119 Each LHT65N is shipped with a sticker with its device EUI, APP Key and APP EUI as below: 120 -))) 121 121 122 +(% _mstvisible="1" %) 122 122 [[image:image-20220617150003-1.jpeg]] 123 123 125 +(% _msthash="315244" _msttexthash="3659149" _mstvisible="1" %) 124 124 User can enter these keys in the LoRaWAN Server portal. Below is TTN V3 screenshot: 125 125 128 +(% _msthash="315245" _msttexthash="642889" _mstvisible="1" %) 126 126 Add APP EUI in the application. 127 127 128 - 131 +(% _mstvisible="1" %) 129 129 [[image:image-20220522232916-3.png||_mstalt="430495" _mstvisible="3"]] 130 130 131 - 134 +(% _mstvisible="1" %) 132 132 [[image:image-20220522232932-4.png||_mstalt="430157" _mstvisible="3"]] 133 133 134 - 137 +(% _mstvisible="1" %) 135 135 [[image:image-20220522232954-5.png||_mstalt="431847" _mstvisible="3"]] 136 136 137 - 140 +(% _msthash="315246" _msttexthash="878800" _mstvisible="1" %) 138 138 Note: LHT65N use same payload as LHT65. 139 139 140 - 143 +(% _mstvisible="1" %) 141 141 [[image:image-20220522233026-6.png||_mstalt="429403" _mstvisible="3"]] 142 142 143 143 147 +(% _msthash="315247" _msttexthash="595543" _mstvisible="1" %) 144 144 Input APP EUI, APP KEY and DEV EUI: 145 145 146 - 150 +(% _mstvisible="1" %) 147 147 [[image:image-20220522233118-7.png||_mstalt="430430" _mstvisible="3"]] 148 148 149 149 150 150 155 +(% _mstvisible="1" %) 156 +=== (% _msthash="3537456" _msttexthash="3448549" _mstvisible="3" %)2.3.2 Step 2: Activate LHT65N by pressing the ACT button for more than 5 seconds.(%%) === 151 151 152 -=== 2.3.2 Step 2: Activate LHT65N by pressing the ACT button for more than 5 seconds. === 153 - 154 -((( 158 +(% _msthash="315248" _msttexthash="14452321" _mstvisible="1" %) 155 155 Use ACT button to activate LHT65N 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 -))) 157 157 161 +(% _mstvisible="1" %) 158 158 [[image:image-20220522233300-8.png||_mstalt="428389" _mstvisible="3" height="219" width="722"]] 159 159 160 160 161 161 166 +(% _mstvisible="1" %) 167 +== (% _msthash="320879" _msttexthash="294970" _mstvisible="3" %)2.4 Uplink Payload(%%) == 162 162 163 -== 2.4 Uplink Payload == 164 - 165 -((( 169 +(% _msthash="315249" _msttexthash="7722962" _mstvisible="1" %) 166 166 The uplink payload includes totally 11 bytes. Uplink packets use FPORT=2 and (% _mstvisible="3" style="color:#4f81bd" %)**every 20 minutes**(%%) send one uplink by default. 167 -))) 168 168 169 -( ((172 +(% _msthash="315250" _msttexthash="1322711" _mstvisible="1" %) 170 170 After each uplink, the (% _mstvisible="3" style="color:blue" %)**BLUE LED**(%%) will blink once. 171 -))) 172 172 173 173 (% _mstvisible="1" border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:426px" %) 174 174 (% _mstvisible="3" %)|=(% _mstvisible="4" style="width: 97px;" %)(% _mstvisible="5" %) ... ... @@ -234,104 +234,123 @@ 234 234 [[Ext value>>||anchor="H2.4.6Extvalue" _msthash="1817487" _msttexthash="116545" _mstvisible="7"]] 235 235 ))) 236 236 239 +(% _mstvisible="1" %) 237 237 * The First 6 bytes: has fix meanings for every LHT65N. 238 238 * The 7th byte (EXT #): defines the external sensor model. 239 239 * The 8(% _msthash="734578" _msttexthash="21372" _mstvisible="4" %)^^th^^(%%) ~~ 11(% _msthash="734579" _msttexthash="21372" _mstvisible="4" %)^^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.) 240 240 244 +(% _mstvisible="1" %) 245 +=== (% _msthash="360269" _msttexthash="333762" _mstvisible="3" %)2.4.1 Decoder in TTN V3(%%) === 241 241 242 - 243 - 244 -=== 2.4.1 Decoder in TTN V3 === 245 - 247 +(% _msthash="315251" _msttexthash="9786491" _mstvisible="1" %) 246 246 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. 247 247 250 +(% _msthash="315252" _msttexthash="3928483" _mstvisible="1" %) 248 248 Below is the position to put the decoder and LHT65N decoder can be download from here: 249 249 250 - 253 +(% _mstvisible="1" %) 251 251 [[https:~~/~~/www.dropbox.com/sh/r2i3zlhsyrpavla/AAB1sZw3mdT0K7XjpHCITt13a?dl=0 >>https://www.dropbox.com/sh/r2i3zlhsyrpavla/AAB1sZw3mdT0K7XjpHCITt13a?dl=0||_msthash="315253" _msttexthash="3509064" _mstvisible="2"]] 252 252 253 - 256 +(% _mstvisible="1" %) 254 254 [[image:image-20220522234118-10.png||_mstalt="451464" _mstvisible="3" height="353" width="729"]] 255 255 256 256 257 257 261 +(% _mstvisible="1" %) 262 +=== (% _msthash="411411" _msttexthash="383656" _mstvisible="3" %)2.4.2 BAT-Battery Info(%%) === 258 258 259 -=== 2.4.2 BAT-Battery Info === 260 - 264 +(% _msthash="315254" _msttexthash="3122912" _mstvisible="1" %) 261 261 These two bytes of BAT include the battery state and the actually voltage 262 262 267 +(% _mstvisible="1" %) 263 263 [[image:image-20220523152839-18.png||_mstalt="457613" _mstvisible="3"]] 264 264 265 - 270 +(% _mstvisible="1" %) 266 266 [[image:image-20220522235639-1.png||_mstalt="431392" _mstvisible="3" height="139" width="727"]] 267 267 268 - 273 +(% _msthash="315255" _msttexthash="871611" _mstvisible="1" %) 269 269 Check the battery voltage for LHT65N. 270 270 276 +(% _mstvisible="1" %) 271 271 * BAT status=(0Xcba4>>14)&0xFF=11(B),very good 272 272 * Battery Voltage =0xCBF6&0x3FFF=0x0BA4=2980mV 273 273 280 +(% _mstvisible="1" %) 281 +=== (% _msthash="600769" _msttexthash="565838" _mstvisible="3" %)2.4.3 Built-in Temperature(%%) === 274 274 275 - 276 -=== 2.4.3 Built-in Temperature === 277 - 283 +(% _mstvisible="1" %) 278 278 [[image:image-20220522235639-2.png||_mstalt="431756" _mstvisible="3" height="138" width="722"]] 279 279 286 +(% _mstvisible="1" %) 280 280 * Temperature: 0x0ABB/100=27.47℃ 281 281 289 +(% _mstvisible="1" %) 282 282 [[image:image-20220522235639-3.png||_mstalt="432120" _mstvisible="3"]] 283 283 292 +(% _mstvisible="1" %) 284 284 * Temperature: (0xF5C6-65536)/100=-26.18℃ 285 285 295 +(% _mstvisible="1" %) 296 +=== (% _msthash="475891" _msttexthash="445120" _mstvisible="3" %)2.4.4 Built-in Humidity(%%) === 286 286 287 -=== 2.4.4 Built-in Humidity === 288 - 298 +(% _mstvisible="1" %) 289 289 [[image:image-20220522235639-4.png||_mstalt="432484" _mstvisible="3" height="138" width="722"]] 290 290 301 +(% _mstvisible="1" %) 291 291 * Humidity: 0x025C/10=60.4% 292 292 304 +(% _mstvisible="1" %) 305 +=== (% _msthash="116532" _msttexthash="87958" _mstvisible="3" %)2.4.5 Ext #(%%) === 293 293 294 -=== 2.4.5 Ext # === 295 - 307 +(% _msthash="315256" _msttexthash="552240" _mstvisible="1" %) 296 296 Bytes for External Sensor: 297 297 310 +(% _mstvisible="1" %) 298 298 [[image:image-20220523152822-17.png||_mstalt="454545" _mstvisible="3"]] 299 299 300 300 314 +(% _mstvisible="1" %) 315 +=== (% _msthash="221429" _msttexthash="200655" _mstvisible="3" %)2.4.6 Ext value(%%) === 301 301 302 -=== 2.4.6 Ext value === 317 +(% _mstvisible="1" %) 318 +==== (% _msthash="1005901" _msttexthash="877578" _mstvisible="3" %)2.4.6.1 Ext~=1, E3 Temperature Sensor(%%) ==== 303 303 304 -==== 2.4.6.1 Ext~=1, E3 Temperature Sensor ==== 305 - 306 - 320 +(% _mstvisible="1" %) 307 307 [[image:image-20220522235639-5.png||_mstalt="432848" _mstvisible="3"]] 308 308 309 309 324 +(% _mstvisible="1" %) 310 310 * DS18B20 temp=0x0ADD/100=27.81℃ 311 311 327 +(% _msthash="315257" _msttexthash="1038479" _mstvisible="1" %) 312 312 The last 2 bytes of data are meaningless 313 313 330 +(% _mstvisible="1" %) 314 314 [[image:image-20220522235639-6.png||_mstalt="433212" _mstvisible="3"]] 315 315 316 316 334 +(% _mstvisible="1" %) 317 317 * External temperature= (0xF54F-65536)/100=-27.37℃ 318 318 337 +(% _mstvisible="1" %) 338 +((( 339 +(% _msthash="506063" _msttexthash="1038479" _mstvisible="2" %) 319 319 The last 2 bytes of data are meaningless 341 +))) 320 320 343 +(% _mstvisible="1" %) 344 +((( 345 +(% _msthash="506064" _msttexthash="21185632" _mstvisible="2" %) 321 321 If the external sensor is 0x01, and there is no external temperature connected. The temperature will be set to 7FFF which is 327.67℃ 347 +))) 322 322 323 323 350 +(% _mstvisible="1" %) 351 +==== (% _msthash="1389752" _msttexthash="1234766" _mstvisible="3" %)2.4.6.2 Ext~=9, E3 sensor with Unix Timestamp(%%) ==== 324 324 325 -==== 2.4.6.2 Ext~=9, E3 sensor with Unix Timestamp ==== 326 - 327 -((( 353 +(% _msthash="315258" _msttexthash="41539368" _mstvisible="1" %) 328 328 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: 329 -))) 330 330 331 -((( 332 - 333 -))) 334 - 335 335 (% _mstvisible="1" border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:510px" %) 336 336 (% _mstvisible="3" %)|=(% _mstvisible="4" style="width: 96px;" %)(% _mstvisible="5" %) 337 337 ((( ... ... @@ -435,18 +435,19 @@ 435 435 436 436 ))) 437 437 459 +(% _mstvisible="1" %) 438 438 * (% _msthash="504956" _msttexthash="245037" _mstvisible="4" %)**Status & Ext Byte** 439 439 462 +(% _mstvisible="1" %) 440 440 [[image:image-20220523152434-16.png||_mstalt="453921" _mstvisible="3"]] 441 441 442 -* Poll Message Flag: 1: This message is a poll message reply, 0: means this is a normal uplink. 443 -* 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. 444 -* 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) 465 +(% _mstvisible="1" %) 466 +* Poll Message Flag: 1: This message is a poll message reply, 0: means this is a normal uplink. 467 +* 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. 468 +* 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) 445 445 470 +==== (% _msthash="1389752" _msttexthash="1234766" _mstvisible="3" %)2.4.6.3 Ext~=6, ADC Sensor (use with E2 Cable)(%%) ==== 446 446 447 - 448 -==== 2.4.6.3 Ext~=6, ADC Sensor (use with E2 Cable) ==== 449 - 450 450 In this mode, user can connect external ADC sensor to check ADC value. The 3V3_OUT can 451 451 452 452 be used to power the external ADC sensor; user can control the power on time for this ... ... @@ -457,129 +457,188 @@ 457 457 458 458 459 459 460 -== 2.5 Show data on Datacake == 482 +(% _mstvisible="1" %) 483 +== (% _msthash="487097" _msttexthash="454818" _mstvisible="3" %)2.5 Show data on Datacake(%%) == 461 461 462 -( ((485 +(% _msthash="315259" _msttexthash="20933341" _mstvisible="1" %) 463 463 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: 464 -))) 465 465 488 +(% _mstvisible="1" %) 466 466 ((( 467 - 490 +(% _msthash="506065" _msttexthash="4753983" _mstvisible="2" %) 491 +(% _mstvisible="3" %)**Step 1**(%%): Be sure that your device is programmed and properly connected to the LoRaWAN network. 468 468 ))) 469 469 494 +(% _mstvisible="1" %) 470 470 ((( 471 -(% style="color:blue" %)**Step 1**(%%): Be sure that your device is programmed and properly connected to the LoRaWAN network. 496 +(% _msthash="506066" _msttexthash="14696682" _mstvisible="2" %) 497 +(% _mstvisible="3" %)**Step 2**(%%): Configure your Application to forward data to Datacake you will need to add integration. Go to TTN V3 Console ~-~-> Applications ~-~-> Integrations ~-~-> Add Integrations. 472 472 ))) 473 473 500 +(% _mstvisible="1" %) 474 474 ((( 475 -(% style="color:blue" %)**Step 2**(%%): Configure your Application to forward data to Datacake you will need to add integration. Go to TTN V3 Console ~-~-> Applications ~-~-> Integrations ~-~-> Add Integrations. 476 -))) 477 - 478 -((( 479 - 480 -))) 481 - 482 -((( 502 +(% _msthash="506067" _msttexthash="180297" _mstvisible="2" %) 483 483 Add Datacake: 484 484 ))) 485 485 486 - 506 +(% _mstvisible="1" %) 487 487 [[image:image-20220523000825-7.png||_mstalt="429884" _mstvisible="3" height="262" width="583"]] 488 488 489 489 490 - 510 +(% _msthash="315260" _msttexthash="750178" _mstvisible="1" %) 491 491 Select default key as Access Key: 492 492 493 - 513 +(% _mstvisible="1" %) 494 494 [[image:image-20220523000825-8.png||_mstalt="430248" _mstvisible="3" height="453" width="406"]] 495 495 496 - 516 +(% _msthash="315261" _msttexthash="2134964" _mstvisible="1" %) 497 497 In Datacake console ([[https:~~/~~/datacake.co/>>url:https://datacake.co/||_mstvisible="2"]]) , add LHT65 device. 498 498 499 - 519 +(% _mstvisible="1" %) 500 500 [[image:image-20220523000825-9.png||_mstalt="430612" _mstvisible="3" height="366" width="392"]] 501 501 502 - 522 +(% _mstvisible="1" %) 503 503 [[image:image-20220523000825-10.png||_mstalt="450619" _mstvisible="3" height="413" width="728"]] 504 504 505 505 506 506 507 -== 2.6 Datalog Feature == 527 +(% _mstvisible="1" %) 528 +== (% _msthash="350454" _msttexthash="323544" _mstvisible="3" %)2.6 Datalog Feature(%%) == 508 508 509 -( ((530 +(% _msthash="315262" _msttexthash="32283004" _mstvisible="1" %) 510 510 Datalog Feature is to ensure IoT Server can get all sampling data from Sensor even if the LoRaWAN network is down. For each sampling, LHT65N will store the reading for future retrieving purposes. There are two ways for IoT servers to get datalog from LHT65N. 511 -))) 512 512 513 513 534 +(% _mstvisible="1" %) 535 +=== (% _msthash="886158" _msttexthash="842426" _mstvisible="3" %)2.6.1 Ways to get datalog via LoRaWAN(%%) === 514 514 515 -=== 2.6.1 Ways to get datalog via LoRaWAN === 516 - 537 +(% _msthash="315263" _msttexthash="409604" _mstvisible="1" %) 517 517 There are two methods: 518 518 540 +(% _mstvisible="1" %) 519 519 1. IoT Server sends a downlink LoRaWAN command to [[poll the value>>||anchor="H2.6.4Pollsensorvalue"]] for specify time range. 520 520 1. Set [[PNACKMD=1>>||anchor="H4.13AutoSendNone-ACKmessages"]], LHT65N will wait for ACK for every uplink, when there is no LoRaWAN network, LHT65N will store the sensor data, and it will send all messages after network recover. 521 521 544 +(% _mstvisible="1" %) 545 +=== (% _msthash="369915" _msttexthash="342797" _mstvisible="3" %)2.6.2 Unix TimeStamp(%%) === 522 522 523 - 524 - 525 -=== 2.6.2 Unix TimeStamp === 526 - 527 - 547 +(% _msthash="315264" _msttexthash="1182285" _mstvisible="1" %) 528 528 LHT65N uses Unix TimeStamp format based on 529 529 530 - 550 +(% _mstvisible="1" %) 531 531 [[image:image-20220523001219-11.png||_mstalt="450450" _mstvisible="3" height="97" width="627"]] 532 532 533 533 534 - 554 +(% _mstvisible="1" %) 555 +((( 556 +(% _msthash="506068" _msttexthash="2717234" _mstvisible="2" %) 535 535 User can get this time from link: [[https:~~/~~/www.epochconverter.com/>>url:https://www.epochconverter.com/||_mstvisible="3"]] : 558 +))) 536 536 560 +(% _mstvisible="1" %) 561 +((( 562 +(% _msthash="506069" _msttexthash="709813" _mstvisible="2" %) 537 537 Below is the converter example 564 +))) 538 538 566 +(% _mstvisible="1" %) 539 539 [[image:image-20220523001219-12.png||_mstalt="450827" _mstvisible="3" height="298" width="720"]] 540 540 569 +(% _msthash="315265" _msttexthash="15137317" _mstvisible="1" %) 541 541 So, we can use AT+TIMESTAMP=1611889405 or downlink 3060137afd00 to set the current time 2021 – Jan ~-~- 29 Friday 03:03:25 542 542 543 543 573 +(% _mstvisible="1" %) 574 +=== (% _msthash="359294" _msttexthash="332748" _mstvisible="3" %)2.6.3 Set Device Time(%%) === 544 544 545 -=== 2.6.3 Set Device Time === 576 +(% _mstvisible="1" %) 577 +((( 578 +(% _msthash="506070" _msttexthash="4521946" _mstvisible="2" %) 579 +There are two ways to set device’s time: 580 +))) 546 546 547 -There are two ways to set device's time: 582 +(% _mstvisible="1" %) 583 +((( 584 +(% _mstvisible="2" %) 585 +(% _msthash="506071" _msttexthash="1498471" _mstvisible="4" %)**1. Through LoRaWAN MAC Command (Default settings)** 586 +))) 548 548 549 -**~1. Through LoRaWAN MAC Command (Default settings)** 550 - 588 +(% _mstvisible="1" %) 589 +((( 590 +(% _msthash="506072" _msttexthash="2126267" _mstvisible="2" %) 551 551 User need to set SYNCMOD=1 to enable sync time via MAC command. 592 +))) 552 552 594 +(% _mstvisible="1" %) 595 +((( 596 +(% _msthash="506073" _msttexthash="54430324" _mstvisible="2" %) 553 553 Once LHT65N Joined LoRaWAN network, it will send the MAC command (DeviceTimeReq) and the server will reply with (DeviceTimeAns) to send the current time to LHT65N. If LHT65N fails to get the time from the server, LHT65N will use the internal time and wait for next time request (AT+SYNCTDC to set the time request period, default is 10 days). 598 +))) 554 554 555 -(% style="color:red" %)Note: LoRaWAN Server need to support LoRaWAN v1.0.3(MAC v1.0.3) or higher to support this MAC command feature, Chirpstack,TTN V3 v3 and loriot support but TTN V3 v2 doesn’t support. If server doesn’t support this command, it will through away uplink packet with this command, so user will lose the packet with time request for TTN V3 v2 if SYNCMOD=1. 600 +(% _mstvisible="1" %) 601 +((( 602 +(% _msthash="506074" _msttexthash="92531127" _mstvisible="2" %) 603 +Note: LoRaWAN Server need to support LoRaWAN v1.0.3(MAC v1.0.3) or higher to support this MAC command feature, Chirpstack,TTN V3 v3 and loriot support but TTN V3 v2 doesn’t support. If server doesn’t support this command, it will through away uplink packet with this command, so user will lose the packet with time request for TTN V3 v2 if SYNCMOD=1. 604 +))) 556 556 606 +(% _mstvisible="1" %) 607 +((( 608 +(% _mstvisible="2" %) 609 + 610 +))) 557 557 558 -**2. Manually Set Time** 612 +(% _mstvisible="1" %) 613 +((( 614 +(% _mstvisible="2" %) 615 +(% _msthash="506075" _msttexthash="329719" _mstvisible="4" %)**2. Manually Set Time** 616 +))) 559 559 618 +(% _mstvisible="1" %) 619 +((( 620 +(% _msthash="506076" _msttexthash="7889297" _mstvisible="2" %) 560 560 User needs to set SYNCMOD=0 to manual time, otherwise, the user set time will be overwritten by the time set by the server. 561 561 623 +(% _msthash="506076" _msttexthash="7889297" _mstvisible="2" %) 624 + 625 +))) 562 562 627 +(% _mstvisible="1" %) 628 +=== (% _msthash="460759" _msttexthash="430001" _mstvisible="3" %)2.6.4 Poll sensor value(%%) === 563 563 564 -=== 2.6.4 Poll sensor value === 565 - 630 +(% _msthash="315266" _msttexthash="4955821" _mstvisible="1" %) 566 566 User can poll sensor value based on timestamps from the server. Below is the downlink command. 567 567 633 +(% _mstvisible="1" %) 568 568 [[image:image-20220523152302-15.png||_mstalt="451581" _mstvisible="3"]] 569 569 570 - 636 +(% _mstvisible="1" %) 637 +((( 638 +(% _msthash="506077" _msttexthash="14670916" _mstvisible="2" %) 571 571 Timestamp start and Timestamp end use Unix TimeStamp format as mentioned above. Devices will reply with all data log during this time period, use the uplink interval. 640 +))) 572 572 573 -For example, downlink command **31 5FC5F350 5FC6 0160 05** 642 +(% _mstvisible="1" %) 643 +((( 644 +(% _mstvisible="2" %) 645 +For example, downlink command (% _mstmutation="1" %)**31 5FC5F350 5FC6 0160 05**(% _mstvisible="3" style="display:none" %) 646 +))) 574 574 648 +(% _mstvisible="1" %) 649 +((( 650 +(% _msthash="506078" _msttexthash="6907459" _mstvisible="2" %) 575 575 Is to check 2020/12/1 07:40:00 to 2020/12/1 08:40:00’s data 652 +))) 576 576 654 +(% _mstvisible="1" %) 655 +((( 656 +(% _msthash="506079" _msttexthash="23531573" _mstvisible="2" %) 577 577 Uplink Internal =5s,means LHT65N will send one packet every 5s. range 5~~255s. 658 +))) 578 578 579 579 661 +(% _mstvisible="1" %) 662 +=== (% _msthash="650923" _msttexthash="614185" _mstvisible="3" %)2.6.5 Datalog Uplink payload(%%) === 580 580 581 -=== 2.6.5 Datalog Uplink payload === 582 - 583 583 (% _msthash="315267" _msttexthash="2245087" _mstvisible="1" %) 584 584 The Datalog poll reply uplink will use below payload format. 585 585 ... ... @@ -871,58 +871,95 @@ 871 871 Unix time is 0x60065F97=1611030423s=21/1/19 04:27:03 872 872 873 873 955 +(% _mstvisible="1" style="text-align: left;" %) 956 +== (% _msthash="244504" _msttexthash="177736" _mstvisible="3" %)2.7 Alarm Mode(%%) == 874 874 875 -== 2.7 Alarm Mode == 876 - 958 +(% _msthash="315279" _msttexthash="16493308" _mstvisible="1" style="text-align: left;" %) 877 877 when the device is in alarm mode, it checks the built-in sensor temperature for a short time. if the temperature exceeds the preconfigured range, it sends an uplink immediately. 878 878 879 -(% style="color:red" %)Note: alarm mode adds a little power consumption, and we recommend extending the normal read time when this feature is enabled. 961 +(% _mstvisible="1" %) 962 +((( 963 +(% _mstvisible="2" style="text-align: left;" %) 964 +(% _msthash="506085" _msttexthash="8782189" _mstvisible="3" style="color:red" %)note: alarm mode adds a little power consumption, and we recommend extending the normal read time when this feature is enabled. 965 +))) 880 880 881 -**AT COMMAND FOR ALARM MODE:** 967 +(% _mstvisible="1" style="text-align: left;" %) 968 +(% _msthash="315280" _msttexthash="363480" _mstvisible="3" %)**AT COMMAND FOR ALARM MODE:** 882 882 883 883 (% _mstvisible="1" class="box infomessage" %) 884 884 ((( 885 -**AT+WMOD=1**: Enable/disable alarm mode. (0: Disabled, 1: Enabled) 972 +(% _msthash="506086" _msttexthash="2193529" _mstvisible="2" style="text-align: left;" %) 973 +(% _istranslated="1" _mstmutation="1" _mstvisible="4" %)**AT+WMOD=1**(%%): Enable/disable alarm mode. (0: Disabled, 1: Enabled) 886 886 887 -**AT+CITEMP=1**: The interval between checking the alarm temperature. (In minutes) 975 +(% _msthash="506087" _msttexthash="3671265" _mstvisible="2" style="text-align: left;" %) 976 +(% _istranslated="1" _mstvisible="4" %)**AT+CITEMP=1**(%%): The interval between checking the alarm temperature. (In minutes) 888 888 889 -**AT+ARTEMP**: Gets or sets the alarm range of the internal temperature sensor 978 +(% _msthash="506088" _msttexthash="3310437" _mstvisible="2" style="text-align: left;" %) 979 +(% _istranslated="1" _mstvisible="4" %)**AT+ARTEMP**(%%): Gets or sets the alarm range of the internal temperature sensor 890 890 891 -**AT+ARTEMP=? **: Gets the alarm range of the internal temperature sensor(% _mstvisible="3" style="display:none" %) 981 +(% _mstvisible="2" style="text-align: left;" %) 982 +(% _istranslated="1" _mstmutation="1" %)**AT+ARTEMP=? **(%%): Gets the alarm range of the internal temperature sensor(% _mstvisible="3" style="display:none" %) 892 892 893 -**AT+ARTEMP=45,105**: Set the internal temperature sensor alarm range from 45 to 105. 984 +(% _msthash="506089" _msttexthash="3590067" _mstvisible="2" style="text-align: left;" %) 985 +(% _istranslated="1" _mstvisible="4" %)**AT+ARTEMP=45,105**(%%): Set the internal temperature sensor alarm range from 45 to 105. 894 894 ))) 895 895 896 896 897 897 990 +(% _msthash="72514" _msttexthash="253149" _mstvisible="1" style="text-align: left;" %) 991 +== (% _istranslated="1" _msthash="168103" _msttexthash="59969" _mstvisible="3" %)2.8 (%%)LED Indicator == 898 898 899 -== 2.8 LED Indicator == 900 - 993 +(% _mstvisible="1" %) 994 +((( 995 +(% _msthash="197769" _msttexthash="2924142" style="text-align: left;" %) 901 901 The LHT65 has a triple color LED which for easy showing different stage . 902 902 998 +(% _msthash="289211" _msttexthash="3402659" style="text-align: left;" %) 903 903 While user press ACT button, the LED will work as per LED status with ACT button. 1000 +))) 904 904 1002 +(% _mstvisible="1" %) 1003 +((( 1004 +(% _msthash="506092" _msttexthash="521573" _mstvisible="2" style="text-align: left;" %) 905 905 In a normal working state: 1006 +))) 906 906 907 -* For each uplink, the BLUE LED or RED LED will blink once. 908 - BLUE LED when external sensor is connected. 909 -* RED LED when external sensor is not connected 910 -* For each success downlink, the PURPLE LED will blink once 1008 +(% _mstvisible="1" %) 1009 +* (% _mstvisible="3" %) 1010 +((( 1011 +(% _msthash="903005" _msttexthash="1647204" _mstvisible="4" %) 1012 +For each uplink, the BLUE LED or RED LED will blink (% _msthash="903005" _msttexthash="46254" _mstvisible="3" %)once(%%).(% style="display:none" %) 911 911 1014 +(% _msthash="197771" _msttexthash="1202526" %) 1015 +(% _msthash="903005" _msttexthash="1647204" _mstvisible="3" %)BLUE LED when external sensor is connected 1016 +))) 1017 +* (% _mstvisible="3" %) 1018 +((( 1019 +(% _msthash="903007" _msttexthash="1334749" _mstvisible="4" %) 1020 +RED LED when external sensor is not connected 1021 +))) 1022 +* (% _mstvisible="3" %) 1023 +((( 1024 +(% _msthash="903008" _msttexthash="1875640" _mstvisible="4" %) 1025 +For each success downlink, the PURPLE LED will blink once 912 912 913 913 1028 + 1029 +))) 914 914 915 -== 2.9 installation == 1031 +(% _mstvisible="1" style="text-align: left;" %) 1032 +== (% _msthash="112034" _msttexthash="277511" _mstvisible="3" %)2.9 installation(%%) == 916 916 917 917 (% _mstvisible="1" %) 918 918 [[image:image-20220516231650-1.png||_mstalt="428597" _mstvisible="3" height="436" width="428"]] 919 919 920 920 1038 +(% _msthash="604150" _msttexthash="563212" _mstvisible="1" style="text-align: left;" %) 1039 += (% _msthash="401388" _msttexthash="566956" _mstvisible="3" %)3. S(% _msthash="903005" _msttexthash="1647204" _mstvisible="2" %)ensors(% _msthash="401388" _msttexthash="40417" _mstvisible="3" %) and A(% _msthash="903005" _msttexthash="1647204" _mstvisible="2" %)ccessories(%%) = 921 921 922 -= 3. Sensors and Accessories = 1041 +(% _msthidden="1" _mstvisible="1" style="text-align: left;" %) 1042 +== (% _msthash="903005" _msttexthash="1647204" _mstvisible="2" %)3.1(% _msthash="487110" _msttexthash="455390" %) E2 Extension Cable(%%) == 923 923 924 -== 3.1 E2 Extension Cable == 925 - 926 926 [[image:image-20220619092222-1.png||height="182" width="188"]][[image:image-20220619092313-2.png||height="182" width="173"]] 927 927 928 928 1m long breakout cable for LHT65N ... ... @@ -931,15 +931,17 @@ 931 931 932 932 933 933 1052 +(% _msthidden="1" _mstvisible="1" style="text-align: left;" %) 1053 +== (% _msthash="903005" _msttexthash="1647204" _mstvisible="2" %)3.2(% _msthash="487110" _msttexthash="455390" %) E3 Temperature Probe(%%) == 934 934 935 -== 3.2 E3 Temperature Probe == 936 - 937 - 1055 +(% _mstvisible="1" %) 938 938 [[image:image-20220515080154-4.png||_mstalt="434681" _mstvisible="3" alt="photo-20220515080154-4.png" height="182" width="161"]] [[image:image-20220515080330-5.png||_mstalt="428792" _mstvisible="3" height="201" width="195"]] 939 939 940 940 1059 +(% _msthash="315354" _msttexthash="1270971" _mstvisible="1" style="text-align: left;" %) 941 941 Temperature sensor with 2 meters cable long 942 942 1062 +(% _mstvisible="1" %) 943 943 * Resolution: 0.0625 °C 944 944 * ±0.5°C accuracy from -10°C to +85°C 945 945 * ±2°C accuracy from -55°C to +125°C ... ... @@ -946,232 +946,405 @@ 946 946 * Operating Range: -40 ~~ 125 °C 947 947 * Working voltage 2.35v ~~ 5v 948 948 1069 +(% _mstvisible="1" style="text-align: left;" %) 1070 += (% _msthash="1940107" _msttexthash="1714063" _mstvisible="3" %)4. Configure LHT65N via AT command or LoRaWAN downlink(%%) = 949 949 950 - 951 - 952 -= 4. Configure LHT65N via AT command or LoRaWAN downlink = 953 - 1072 +(% _mstvisible="1" %) 1073 +((( 1074 +(% _msthash="506246" _msttexthash="2005926" _mstvisible="2" style="text-align: left;" %) 954 954 Use can configure LHT65N via AT Command or LoRaWAN Downlink. 1076 +))) 955 955 956 -* AT Command Connection: See [[FAQ>>||anchor="H6.FAQ"]]. 1078 +(% _mstvisible="1" %) 1079 +* (% _mstvisible="3" %) 1080 +((( 1081 +(% _msthash="903318" _msttexthash="635544" _mstvisible="4" %) 1082 +AT Command Connection: See [[FAQ>>||anchor="H6.FAQ"]]. 1083 +))) 1084 +* (% _mstvisible="3" %) 1085 +((( 1086 +(% _msthash="903319" _msttexthash="3225859" _mstvisible="4" %) 1087 +LoRaWAN Downlink instruction for different platforms: [[IoT LoRaWAN Server>>doc:Main.WebHome]] 1088 +))) 957 957 958 -* LoRaWAN Downlink instruction for different platforms: [[IoT LoRaWAN Server>>doc:Main.WebHome]] 1090 +(% _mstvisible="1" %) 1091 +((( 1092 +(% _mstvisible="2" style="text-align: left;" %) 1093 + 1094 +))) 959 959 1096 +(% _mstvisible="1" %) 1097 +((( 1098 +(% _msthash="506248" _msttexthash="2144051" _mstvisible="2" style="text-align: left;" %) 960 960 There are two kinds of commands to configure LHT65N, they are: 1100 +))) 961 961 962 -* (% style="color:#4f81bd" %)**General Commands**. 1102 +(% _mstvisible="1" %) 1103 +((( 1104 +(% _mstvisible="2" style="text-align: left;" %) 1105 +(% _msthash="506249" _msttexthash="317850" _mstvisible="3" style="color:#4f81bd" %)* (% _msthash="506249" _mstmutation="1" _msttexthash="317850" _mstvisible="4" style="color:#4f81bd" %)**General Commands**(% _msthash="506249" _mstmutation="1" _msttexthash="317850" _mstvisible="3" style="color:#4f81bd" %). 1106 +))) 963 963 1108 +(% _mstvisible="1" %) 1109 +((( 1110 +(% _msthash="506250" _msttexthash="774527" _mstvisible="2" style="text-align: left;" %) 964 964 These commands are to configure: 1112 +))) 965 965 966 -1. General system settings like: uplink interval. 967 -1. LoRaWAN protocol & radio-related commands. 1114 +(% _mstvisible="1" %) 1115 +* (% _mstvisible="3" %) 1116 +((( 1117 +(% _msthash="903320" _msttexthash="1503580" _mstvisible="4" %) 1118 +General system settings like: uplink interval. 1119 +))) 1120 +* (% _mstvisible="3" %) 1121 +((( 1122 +(% _msthash="903321" _msttexthash="1244334" _mstvisible="4" %) 1123 +LoRaWAN protocol & radio-related commands. 1124 +))) 968 968 1126 +(% _mstvisible="1" %) 1127 +((( 1128 +(% _msthash="506251" _msttexthash="12349142" _mstvisible="2" style="text-align: left;" %) 969 969 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]] 1130 +))) 970 970 971 -* (% style="color:#4f81bd" %)**Commands special design for LHT65N** 1132 +(% _mstvisible="1" %) 1133 +((( 1134 +(% _mstvisible="2" style="text-align: left;" %) 1135 + 1136 +))) 972 972 1138 +(% _mstvisible="1" %) 1139 +((( 1140 +(% _mstvisible="2" style="text-align: left;" %) 1141 +(% _mstvisible="3" style="color:#4f81bd" %)* (% _msthash="506249" _mstmutation="1" _msttexthash="317850" _mstvisible="4" style="color:#4f81bd" %)**Commands special design for LHT65N** 1142 +))) 1143 + 1144 +(% _mstvisible="1" %) 1145 +((( 1146 +(% _msthash="506254" _msttexthash="1501357" _mstvisible="2" style="text-align: left;" %) 973 973 These commands are only valid for LHT65N, as below: 974 974 975 975 976 -== 4.1 Set Transmit Interval Time == 1150 +(% _msthash="506254" _msttexthash="1501357" _mstvisible="2" style="text-align: left;" %) 1151 + 1152 +))) 977 977 1154 +(% _mstvisible="1" style="text-align: left;" %) 1155 +== (% _msthash="708253" _msttexthash="668772" _mstvisible="3" %)4.1 Set Transmit Interval Time(%%) == 1156 + 1157 +(% _msthash="315355" _msttexthash="1659268" _mstvisible="1" style="text-align: left;" %) 978 978 Feature: Change LoRaWAN End Node Transmit Interval. 979 979 980 -(% style="color:#4f81bd" %)**AT Command: AT+TDC** 1160 +(% _mstvisible="1" style="text-align: left;" %) 1161 +(% _msthash="315244" _msttexthash="241696" style="color:#4f81bd" %)**AT Command: AT+TDC** 981 981 1163 +(% _mstvisible="1" %) 982 982 [[image:image-20220523150701-2.png||_mstalt="427453" _mstvisible="3"]] 983 983 1166 +(% _mstvisible="1" %) 1167 +((( 1168 +(% _mstvisible="2" style="text-align: left;" %) 1169 + 984 984 985 -(% style="color:#4f81bd" %)**Downlink Command: 0x01** 1171 +(% _mstvisible="2" style="text-align: left;" %) 1172 +(% _msthash="506055" _msttexthash="381992" style="color:#4f81bd" %)**Downlink Command: 0x01** 1173 +))) 986 986 1175 +(% _mstvisible="1" %) 1176 +((( 1177 +(% _msthash="506256" _msttexthash="1996592" _mstvisible="2" style="text-align: left;" %) 987 987 Format: Command Code (0x01) followed by 3 bytes time value. 1179 +))) 988 988 1181 +(% _mstvisible="1" %) 1182 +((( 1183 +(% _msthash="506257" _msttexthash="12934649" _mstvisible="2" style="text-align: left;" %) 989 989 If the downlink payload=0100003C, it means set the END Node’s Transmit Interval to 0x00003C=60(S), while type code is 01. 1185 +))) 990 990 991 -* **Example 1**: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds 1187 +(% _mstvisible="1" %) 1188 +* (% _mstvisible="3" %) 1189 +((( 1190 +(% _msthash="903322" _msttexthash="3250546" _mstvisible="4" %) 1191 +(% _mstvisible="5" %)**Example 1**(%%): Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds 1192 +))) 1193 +* (% _mstvisible="3" %) 1194 +((( 1195 +(% _msthash="903323" _msttexthash="3253315" _mstvisible="4" %) 1196 +(% _mstvisible="5" %)**Example 2**(%%): Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 992 992 993 -* **Example 2**: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 994 994 1199 +(% _msthash="903323" _msttexthash="3253315" _mstvisible="4" %) 1200 + 1201 +))) 995 995 996 -== 4.2 Set External Sensor Mode == 1203 +(% _mstvisible="1" style="text-align: left;" %) 1204 +== (% _msthash="614770" _msttexthash="578240" _mstvisible="3" %)4.2 Set External Sensor Mode(%%) == 997 997 1206 +(% _msthash="315357" _msttexthash="975117" _mstvisible="1" style="text-align: left;" %) 998 998 Feature: Change External Sensor Mode. 999 999 1000 -(% style="color:#4f81bd" %)**AT Command: AT+EXT** 1209 +(% _mstvisible="1" style="text-align: left;" %) 1210 +(% _msthash="315245" _msttexthash="248118" style="color:#4f81bd" %)**AT Command: AT+EXT** 1001 1001 1212 +(% _mstvisible="1" %) 1002 1002 [[image:image-20220523150759-3.png||_mstalt="432146" _mstvisible="3"]] 1003 1003 1215 +(% _mstvisible="1" %) 1216 +((( 1217 +(% _mstvisible="2" style="text-align: left;" %) 1218 + 1004 1004 1005 -(% style="color:#4f81bd" %)**Downlink Command: 0xA2** 1220 +(% _mstvisible="2" style="text-align: left;" %) 1221 +(% _msthash="506056" _msttexthash="387855" style="color:#4f81bd" %)**Downlink Command: 0xA2** 1222 +))) 1006 1006 1224 +(% _mstvisible="1" %) 1225 +((( 1226 +(% _msthash="506259" _msttexthash="395629" _mstvisible="2" style="text-align: left;" %) 1007 1007 Total bytes: 2 ~~ 5 bytes 1228 +))) 1008 1008 1009 -**Example:** 1230 +(% _mstvisible="1" %) 1231 +((( 1232 +(% _mstvisible="2" %) 1233 +(% _msthash="506260" _msttexthash="104767" _mstvisible="4" %)**Example:** 1234 +))) 1010 1010 1011 -* 0xA201: Set external sensor type to E1 1236 +(% _mstvisible="1" %) 1237 +* (% _mstvisible="3" %) 1238 +((( 1239 +(% _msthash="903324" _msttexthash="934973" _mstvisible="4" %) 1240 +0xA201: Set external sensor type to E1 1241 +))) 1242 +* (% _mstvisible="3" %) 1243 +((( 1244 +(% _msthash="903325" _msttexthash="354770" _mstvisible="4" %) 1245 +0xA209: Same as AT+EXT=9 1246 +))) 1247 +* (% _mstvisible="3" %) 1248 +((( 1249 +(% _msthash="903326" _msttexthash="639067" _mstvisible="4" %) 1250 +0xA20702003c,Same as AT+SETCNT=60 1012 1012 1013 -* 0xA209: Same as AT+EXT=9 1014 1014 1015 -* 0xA20702003c: Same as AT+SETCNT=60 1253 +(% _msthash="903326" _msttexthash="639067" _mstvisible="4" %) 1254 + 1255 +))) 1016 1016 1257 +(% _mstvisible="1" style="text-align: left;" %) 1258 +== (% _msthash="1562483" _msttexthash="1445717" _mstvisible="3" %)4.3 Enable/Disable uplink Temperature probe ID(%%) == 1017 1017 1018 - 1019 -== 4.3 Enable/Disable uplink Temperature probe ID == 1020 - 1021 -((( 1260 +(% _msthash="315359" _msttexthash="2977572" _mstvisible="1" style="text-align: left;" %) 1022 1022 Feature: If PID is enabled, device will send the temperature probe ID on: 1023 -))) 1024 1024 1025 -* ((( 1026 -First Packet after OTAA Join 1027 -))) 1028 -* ((( 1029 -Every 24 hours since the first packet. 1030 -))) 1263 +(% _mstvisible="1" %) 1264 +* First Packet after OTAA Join 1265 +* Every 24 hours since the first packet. 1031 1031 1032 -( ((1267 +(% _msthash="315360" _msttexthash="658814" _mstvisible="1" style="text-align: left;" %) 1033 1033 PID is default set to disable (0) 1034 -))) 1035 1035 1036 -(% style="color:#4f81bd" %)**AT Command:** 1270 +(% _mstvisible="1" style="text-align: left;" %) 1271 +(% _msthash="315246" _msttexthash="137488" style="color:#4f81bd" %)**AT Command:** 1037 1037 1273 +(% _mstvisible="1" %) 1038 1038 [[image:image-20220523150928-4.png||_mstalt="431821" _mstvisible="3"]] 1039 1039 1040 1040 1041 -(% style="color:#4f81bd" %)**Downlink Command:** 1277 +(% _mstvisible="1" style="text-align: left;" %) 1278 +(% _msthash="315247" _msttexthash="298038" style="color:#4f81bd" %)**Downlink Command:** 1042 1042 1043 -* **0xA800** **~-~->** AT+PID=0 1044 -* **0xA801** **~-~->** AT+PID=1 1280 +(% _mstvisible="1" %) 1281 +* 0xA800 **~-~->** AT+PID=0 1282 +* 0xA801 **~-~->** AT+PID=1 1045 1045 1284 +(% _mstvisible="1" style="text-align: left;" %) 1285 +== (% _msthash="266344" _msttexthash="242879" _mstvisible="3" %)4.4 Set Password(%%) == 1046 1046 1047 - 1048 -== 4.4 Set Password == 1049 - 1287 +(% _msthash="315363" _msttexthash="1170728" _mstvisible="1" style="text-align: left;" %) 1050 1050 Feature: Set device password, max 9 digits 1051 1051 1052 -(% style="color:#4f81bd" %)**AT Command: AT+PWORD** 1290 +(% _mstvisible="1" style="text-align: left;" %) 1291 +(% _msthash="315248" _msttexthash="295009" style="color:#4f81bd" %)**AT Command: AT+PWORD** 1053 1053 1293 +(% _mstvisible="1" %) 1054 1054 [[image:image-20220523151052-5.png||_mstalt="428623" _mstvisible="3"]] 1055 1055 1296 +(% _mstvisible="1" %) 1297 +((( 1298 +(% _mstvisible="2" style="text-align: left;" %) 1299 + 1056 1056 1057 -(% style="color:#4f81bd" %)**Downlink Command:** 1301 +(% _mstvisible="2" style="text-align: left;" %) 1302 +(% _msthash="506057" _msttexthash="298038" style="color:#4f81bd" %)**Downlink Command:** 1303 +))) 1058 1058 1305 +(% _mstvisible="1" %) 1306 +((( 1307 +(% _msthash="506262" _msttexthash="974311" _mstvisible="2" style="text-align: left;" %) 1059 1059 No downlink command for this feature. 1060 1060 1310 +(% _msthash="506262" _msttexthash="974311" _mstvisible="2" style="text-align: left;" %) 1311 + 1312 +))) 1061 1061 1314 +(% _mstvisible="1" style="text-align: left;" %) 1315 +== (% _msthash="306956" _msttexthash="281918" _mstvisible="3" %)4.5 Quit AT Command(%%) == 1062 1062 1063 -== 4.5 Quit AT Command == 1064 - 1317 +(% _msthash="315365" _msttexthash="4616456" _mstvisible="1" style="text-align: left;" %) 1065 1065 Feature: Quit AT Command mode, so user needs to input password again before use AT Commands. 1066 1066 1067 -(% style="color:#4f81bd" %)**AT Command: AT+DISAT** 1320 +(% _mstvisible="1" style="text-align: left;" %) 1321 +(% _msthash="315249" _msttexthash="289120" style="color:#4f81bd" %)**AT Command: AT+DISAT** 1068 1068 1323 +(% _mstvisible="1" %) 1069 1069 [[image:image-20220523151132-6.png||_mstalt="428649" _mstvisible="3"]] 1070 1070 1071 1071 1072 -(% style="color:#4f81bd" %)**Downlink Command:** 1327 +(% _mstvisible="1" style="text-align: left;" %) 1328 +(% _msthash="315250" _msttexthash="298038" style="color:#4f81bd" %)**Downlink Command:** 1073 1073 1330 +(% _msthash="315368" _msttexthash="974311" _mstvisible="1" style="text-align: left;" %) 1074 1074 No downlink command for this feature. 1075 1075 1076 1076 1334 +(% _mstvisible="1" style="text-align: left;" %) 1335 +== (% _msthash="362752" _msttexthash="334919" _mstvisible="3" %)4.6 Set to sleep mode(%%) == 1077 1077 1078 -== 4.6 Set to sleep mode == 1079 - 1337 +(% _msthash="315369" _msttexthash="779688" _mstvisible="1" style="text-align: left;" %) 1080 1080 Feature: Set device to sleep mode 1081 1081 1082 -* **AT+Sleep=0**: Normal working mode, device will sleep and use lower power when there is no LoRa message1083 -* **AT+Sleep=1**:1340 +* AT+Sleep=0 : Normal working mode, device will sleep and use lower power when there is no LoRa message 1341 +* AT+Sleep=1 : Device is in deep sleep mode, no LoRa activation happen, used for storage or shipping. 1084 1084 1343 +(% _mstvisible="1" style="text-align: left;" %) 1085 1085 (% _msthash="315251" _msttexthash="289783" style="color:#4f81bd" %)**AT Command: AT+SLEEP** 1086 1086 1346 +(% _mstvisible="1" %) 1087 1087 [[image:image-20220523151218-7.png||_mstalt="430703" _mstvisible="3"]] 1088 1088 1089 1089 1350 +(% _mstvisible="1" %) 1090 1090 (% _msthash="315252" _msttexthash="298038" style="color:#4f81bd" %)**Downlink Command:** 1091 1091 1353 +(% _mstvisible="1" %) 1092 1092 * There is no downlink command to set to Sleep mode. 1093 1093 1356 +(% _mstvisible="1" %) 1357 +== (% _msthash="336557" _msttexthash="309712" _mstvisible="3" %)4.7 Set system time(%%) == 1094 1094 1095 - 1096 - 1097 -== 4.7 Set system time == 1098 - 1359 +(% _msthash="315372" _msttexthash="2565524" _mstvisible="1" %) 1099 1099 Feature: Set system time, unix format. [[See here for format detail.>>||anchor="H2.6.2UnixTimeStamp"]] 1100 1100 1362 +(% _mstvisible="1" %) 1101 1101 (% _msthash="315253" _msttexthash="137488" style="color:#4f81bd" %)**AT Command:** 1102 1102 1365 +(% _mstvisible="1" %) 1103 1103 [[image:image-20220523151253-8.png||_mstalt="430677" _mstvisible="3"]] 1104 1104 1105 1105 1369 +(% _mstvisible="1" %) 1106 1106 (% _msthash="315254" _msttexthash="298038" style="color:#4f81bd" %)**Downlink Command:** 1107 1107 1372 +(% _msthash="315375" _msttexthash="2898571" _mstvisible="1" %) 1108 1108 0x306007806000 ~/~/ Set timestamp to 0x(6007806000),Same as AT+TIMESTAMP=1611104352 1109 1109 1110 1110 1376 +(% _mstvisible="1" %) 1377 +== (% _msthash="376779" _msttexthash="348712" _mstvisible="3" %)4.8 Set Time Sync Mode(%%) == 1111 1111 1112 -== 4.8 Set Time Sync Mode == 1113 - 1379 +(% _mstvisible="1" %) 1114 1114 ((( 1381 +(% _msthash="506263" _msttexthash="11748321" _mstvisible="2" %) 1115 1115 Feature: Enable/Disable Sync system time via LoRaWAN MAC Command (DeviceTimeReq), LoRaWAN server must support v1.0.3 protocol to reply this command. 1116 1116 ))) 1117 1117 1385 +(% _mstvisible="1" %) 1118 1118 ((( 1387 +(% _msthash="506264" _msttexthash="6530264" _mstvisible="2" %) 1119 1119 SYNCMOD is set to 1 by default. If user want to set a different time from LoRaWAN server, user need to set this to 0. 1120 1120 ))) 1121 1121 1391 +(% _mstvisible="1" %) 1392 +((( 1393 +(% _mstvisible="2" %) 1122 1122 (% _msthash="506058" _msttexthash="137488" style="color:#4f81bd" %)**AT Command:** 1395 +))) 1123 1123 1397 +(% _mstvisible="1" %) 1124 1124 [[image:image-20220523151336-9.png||_mstalt="431717" _mstvisible="3"]] 1125 1125 1126 1126 1127 -(% style="color:#4f81bd" %)**Downlink Command:** 1401 +(% _mstvisible="1" %) 1402 +(% _msthash="315255" _msttexthash="298038" style="color:#4f81bd" %)**Downlink Command:** 1128 1128 1404 +(% _msthash="315377" _msttexthash="479648" _mstvisible="1" %) 1129 1129 0x28 01 ~/~/ Same As AT+SYNCMOD=1 1406 + 1407 +(% _msthash="315378" _msttexthash="479076" _mstvisible="1" %) 1130 1130 0x28 00 ~/~/ Same As AT+SYNCMOD=0 1131 1131 1132 1132 1411 +(% _mstvisible="1" %) 1412 +== (% _msthash="536432" _msttexthash="502528" _mstvisible="3" %)4.9 Set Time Sync Interval(%%) == 1133 1133 1134 -== 4.9 Set Time Sync Interval == 1135 - 1414 +(% _msthash="315379" _msttexthash="3065777" _mstvisible="1" %) 1136 1136 Feature: Define System time sync interval. SYNCTDC default value: 10 days. 1137 1137 1417 +(% _mstvisible="1" %) 1138 1138 (% _msthash="315256" _msttexthash="137488" style="color:#4f81bd" %)**AT Command:** 1139 1139 1420 +(% _mstvisible="1" %) 1140 1140 [[image:image-20220523151411-10.png||_mstalt="449696" _mstvisible="3"]] 1141 1141 1142 1142 1424 +(% _mstvisible="1" %) 1143 1143 (% _msthash="315257" _msttexthash="298038" style="color:#4f81bd" %)**Downlink Command:** 1144 1144 1145 -**0x29 0A** ~/~/ Same as AT+SYNCTDC=0x0A 1427 +(% _msthash="315382" _msttexthash="590044" _mstvisible="1" %) 1428 +0x29 0A ~/~/ Same as AT+SYNCTDC=0x0A 1146 1146 1147 1147 1431 +(% _mstvisible="1" %) 1432 +== (% _msthash="927901" _msttexthash="882570" _mstvisible="3" %)4.10 Print data entries base on page.(%%) == 1148 1148 1149 -== 4.10 Print data entries base on page. == 1150 - 1434 +(% _msthash="315383" _msttexthash="3233334" _mstvisible="1" %) 1151 1151 Feature: Print the sector data from start page to stop page (max is 416 pages). 1152 1152 1437 +(% _mstvisible="1" %) 1153 1153 (% _msthash="315258" _msttexthash="264953" style="color:#4f81bd" %)**AT Command: AT+PDTA** 1154 1154 1440 +(% _mstvisible="1" %) 1155 1155 [[image:image-20220523151450-11.png||_mstalt="451035" _mstvisible="3"]] 1156 1156 1157 1157 1444 +(% _mstvisible="1" %) 1158 1158 (% _msthash="315259" _msttexthash="298038" style="color:#4f81bd" %)**Downlink Command:** 1159 1159 1447 +(% _msthash="315386" _msttexthash="799539" _mstvisible="1" %) 1160 1160 No downlink commands for feature 1161 1161 1162 1162 1451 +(% _mstvisible="1" %) 1452 +== (% _msthash="788762" _msttexthash="747149" _mstvisible="3" %)4.11 Print last few data entries.(%%) == 1163 1163 1164 -== 4.11 Print last few data entries. == 1165 - 1454 +(% _msthash="315387" _msttexthash="1101009" _mstvisible="1" %) 1166 1166 Feature: Print the last few data entries 1167 1167 1457 +(% _mstvisible="1" %) 1168 1168 (% _msthash="315260" _msttexthash="288522" style="color:#4f81bd" %)**AT Command: AT+PLDTA** 1169 1169 1460 +(% _mstvisible="1" %) 1170 1170 [[image:image-20220523151524-12.png||_mstalt="452101" _mstvisible="3"]] 1171 1171 1172 1172 1464 +(% _mstvisible="1" %) 1173 1173 (% _msthash="315261" _msttexthash="298038" style="color:#4f81bd" %)**Downlink Command:** 1174 1174 1467 +(% _msthash="315390" _msttexthash="799539" _mstvisible="1" %) 1175 1175 No downlink commands for feature 1176 1176 1177 1177 ... ... @@ -1190,9 +1190,6 @@ 1190 1190 1191 1191 * Example: 0xA301 ~/~/Same as AT+CLRDTA 1192 1192 1193 - 1194 - 1195 - 1196 1196 == 4.13 Auto Send None-ACK messages == 1197 1197 1198 1198 (% _msthash="315394" _msttexthash="51837149" _mstvisible="1" %) ... ... @@ -1207,22 +1207,17 @@ 1207 1207 (% _mstvisible="3" %)|=(% _mstvisible="4" style="width: 171px;" %)(% _msthash="1231737" _msttexthash="251862" _mstvisible="6" %)**Command Example**|=(% _mstvisible="4" style="width: 219px;" %)(% _msthash="1231738" _msttexthash="116025" _mstvisible="6" %)**Function**|=(% _mstvisible="4" style="width: 119px;" %)(% _msthash="1231739" _msttexthash="116831" _mstvisible="6" %)**Response** 1208 1208 (% _mstvisible="3" %)|(% _msthash="1231321" _msttexthash="130455" _mstvisible="4" style="width:171px" %)AT+PNACKMD=1|(% _msthash="1231322" _msttexthash="377026" _mstvisible="4" style="width:219px" %)Poll None-ACK message|(% _msthash="1231323" _msttexthash="14989" _mstvisible="4" style="width:119px" %)OK 1209 1209 1210 - 1211 1211 (% style="color:#4f81bd" %)**Downlink Command: 0x34** 1212 1212 1213 1213 * Example: 0x3401 ~/~/Same as AT+PNACKMD=1 1214 1214 1215 - 1216 - 1217 1217 = 5. Battery & How to replace = 1218 1218 1219 1219 == 5.1 Battery Type == 1220 1220 1221 1221 ((( 1222 -((( 1223 1223 LHT65N is equipped with a 2400mAH Li-MnO2 (CR17505) battery . The battery is an un-rechargeable battery with low discharge rate targeting for up to 8~~10 years use. This type of battery is commonly used in IoT devices for long-term running, such as water meters. 1224 1224 ))) 1225 -))) 1226 1226 1227 1227 ((( 1228 1228 ... ... @@ -1229,11 +1229,9 @@ 1229 1229 ))) 1230 1230 1231 1231 ((( 1232 -((( 1233 1233 The discharge curve is not linear so can't simply use percentage to show the battery level. Below is the battery performance. 1234 1234 [[image:image-20220515075034-1.png||_mstalt="428961" _mstvisible="4" height="208" width="644"]] 1235 1235 ))) 1236 -))) 1237 1237 1238 1238 The minimum Working Voltage for the LHT65N is ~~ 2.5v. When battery is lower than 2.6v, it is time to change the battery. 1239 1239 ... ... @@ -1261,7 +1261,6 @@ 1261 1261 ))) 1262 1262 1263 1263 1264 - 1265 1265 = 6. FAQ = 1266 1266 1267 1267 == 6.1 How to use AT Command? == ... ... @@ -1619,9 +1619,6 @@ 1619 1619 1620 1620 * (% style="color:red" %)**E3**(%%): External Temperature Probe 1621 1621 1622 - 1623 - 1624 - 1625 1625 = 8. Packing Info = 1626 1626 1627 1627 ... ... @@ -1628,21 +1628,20 @@ 1628 1628 **Package Includes**: 1629 1629 1630 1630 * LHT65N Temperature & Humidity Sensor x 1 1631 -* Optional external sensor 1632 1632 1911 +*Optional external sensor 1633 1633 1913 + 1634 1634 **Dimension and weight**: 1635 1635 1636 1636 * Device Size: 10 x 10 x 3.5 cm 1917 + 1637 1637 * Device Weight: 120.5g 1638 1638 1639 - 1640 - 1641 1641 = 9. Reference material = 1642 1642 1643 1643 * [[Datasheet, photos, decoder, firmware>>https://www.dropbox.com/sh/una19zsni308dme/AACOKp6J2RF5TMlKWT5zU3RTa?dl=0||_msthash="504975" _msttexthash="51420512"]] 1644 1644 1645 - 1646 1646 = 10. FCC Warning = 1647 1647 1648 1648 This device complies with part 15 of the FCC Rules.Operation is subject to the following two conditions: