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)
-
Attachments (0 modified, 5 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -43,6 +43,7 @@ 43 43 ))) 44 44 45 45 46 + 46 46 == 1.2 Features == 47 47 48 48 ... ... @@ -120,9 +120,19 @@ 120 120 121 121 [[image:image-20220515123819-1.png||_mstalt="430742" height="379" width="317"]] 122 122 123 -[[image:image-20220525110604-2.png||_mstalt="427531"]] 124 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 125 +|=(% 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** 126 +|(% 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" %)((( 127 +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. 128 +))) 129 +|(% 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" %)((( 130 +(% style="background-color:#f2f2f2; color:green" %)**Green led**(%%) will fast blink 5 times, LHT65N will enter working mode and start to JOIN LoRaWAN network. 131 +(% style="background-color:#f2f2f2; color:green" %)**Green led**(%%) will solidly turn on for 5 seconds after join in network. 132 +))) 133 +|(% 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. 124 124 125 125 136 + 126 126 == 2.3 Example to join LoRaWAN network == 127 127 128 128 ... ... @@ -150,7 +150,7 @@ 150 150 Each LHT65N is shipped with a sticker with its device EUI, APP Key and APP EUI as below: 151 151 ))) 152 152 153 -[[image:image-202 20617150003-1.jpeg||_mstalt="5426434"]]164 +[[image:image-20230426083319-1.png]] 154 154 155 155 User can enter these keys in the LoRaWAN Server portal. Below is TTN V3 screenshot: 156 156 ... ... @@ -200,18 +200,18 @@ 200 200 After each uplink, the (% style="color:blue" %)**BLUE LED**(%%) will blink once. 201 201 ))) 202 202 203 -(% border="1" cellspacing="4" style="background-color:#fff fcc;color:green;width:390px" %)204 -|=(% style="width: 60px;" %)((( 214 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:390px" %) 215 +|=(% style="width: 60px;background-color:#D9E2F3" %)((( 205 205 **Size(bytes)** 206 -)))|=(% style="width: 30px;" %)((( 217 +)))|=(% style="width: 30px;background-color:#D9E2F3" %)((( 207 207 **2** 208 -)))|=(% style="width: 100px;" %)((( 219 +)))|=(% style="width: 100px;background-color:#D9E2F3" %)((( 209 209 **2** 210 -)))|=(% style="width: 100px;" %)((( 221 +)))|=(% style="width: 100px;background-color:#D9E2F3" %)((( 211 211 **2** 212 -)))|=(% style="width: 50px;" %)((( 223 +)))|=(% style="width: 50px;background-color:#D9E2F3" %)((( 213 213 **1** 214 -)))|=(% style="width: 50px;" %)((( 225 +)))|=(% style="width: 50px;background-color:#D9E2F3" %)((( 215 215 **4** 216 216 ))) 217 217 |(% style="width:97px" %)((( ... ... @@ -233,7 +233,9 @@ 233 233 ))) 234 234 235 235 * The First 6 bytes: has fix meanings for every LHT65N. 247 + 236 236 * The 7th byte (EXT #): defines the external sensor model. 249 + 237 237 * The 8^^th^^ ~~ 11^^th^^ byte: the value for external sensor value. The definition is based on external sensor type. (If EXT=0, there won't be these four bytes.) 238 238 239 239 ... ... @@ -252,21 +252,36 @@ 252 252 === 2.4.2 BAT-Battery Info === 253 253 254 254 255 -These two bytes of BAT include the battery state and the actually voltage 268 +These two bytes of BAT include the battery state and the actually voltage. 256 256 257 -[[image:image-20220523152839-18.png||_mstalt="457613"]] 270 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:477px" %) 271 +|=(% style="width: 69px; background-color:#D9E2F3;color:#0070C0" %)((( 272 +**Bit(bit)** 273 +)))|=(% style="width: 253px;background-color:#D9E2F3;color:#0070C0" %)[15:14]|=(% style="width: 155px;background-color:#D9E2F3;color:#0070C0" %)[13:0] 274 +|(% style="width:66px" %)((( 275 +**Value** 276 +)))|(% style="width:250px" %)((( 277 +BAT Status 278 +00(b): Ultra Low ( BAT <= 2.50v) 279 +01(b): Low (2.50v <=BAT <= 2.55v) 280 +10(b): OK (2.55v <= BAT <=2.65v) 281 +11(b): Good (BAT >= 2.65v) 282 +)))|(% style="width:152px" %)Actually BAT voltage 258 258 284 +**(b)stands for binary** 259 259 286 + 260 260 [[image:image-20220522235639-1.png||_mstalt="431392" height="139" width="727"]] 261 261 262 262 263 263 Check the battery voltage for LHT65N. 264 264 265 -* BAT status=(0Xcba4>>14)&0xFF=11(B),very good 266 -* Battery Voltage =0xCBF6&0x3FFF=0x0BA4=2980mV 292 +* BAT status=(0Xcba4>>14)&0xFF=11 (BIN) ,very good 267 267 294 +* Battery Voltage =0xCBA4&0x3FFF=0x0BA4=2980mV 268 268 269 269 297 + 270 270 === 2.4.3 Built-in Temperature === 271 271 272 272 ... ... @@ -294,9 +294,13 @@ 294 294 295 295 Bytes for External Sensor: 296 296 297 -[[image:image-20220523152822-17.png||_mstalt="454545"]] 325 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:425px" %) 326 +|=(% style="width: 102px; background-color:#D9E2F3;color:#0070C0" %)**EXT # Value**|=(% style="width: 323px;background-color:#D9E2F3;color:#0070C0" %)**External Sensor Type** 327 +|(% style="width:102px" %)0x01|(% style="width:319px" %)Sensor E3, Temperature Sensor 328 +|(% style="width:102px" %)0x09|(% style="width:319px" %)Sensor E3, Temperature Sensor, Datalog Mod 298 298 299 299 331 + 300 300 === 2.4.6 Ext value === 301 301 302 302 ==== 2.4.6.1 Ext~=1, E3 Temperature Sensor ==== ... ... @@ -333,28 +333,25 @@ 333 333 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: 334 334 ))) 335 335 336 -((( 337 - 338 -))) 339 339 340 -(% border="1" cellspacing="4" style="background-color:#fff fcc;color:green;width:480px" %)341 -|=(% style="width: 50px;" %)((( 369 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:480px" %) 370 +|=(% style="width: 50px;background-color:#D9E2F3" %)((( 342 342 **Size(bytes)** 343 -)))|=(% style="width: 70px;" %)((( 372 +)))|=(% style="width: 70px;background-color:#D9E2F3" %)((( 344 344 **2** 345 -)))|=(% style="width: 120px;" %)((( 374 +)))|=(% style="width: 120px;background-color:#D9E2F3" %)((( 346 346 **2** 347 -)))|=(% style="width: 120px;" %)((( 376 +)))|=(% style="width: 120px;background-color:#D9E2F3" %)((( 348 348 **2** 349 -)))|=(% style="width: 50px;" %)((( 378 +)))|=(% style="width: 50px;background-color:#D9E2F3" %)((( 350 350 **1** 351 -)))|=(% style="width: 70px;" %)((( 380 +)))|=(% style="width: 70px;background-color:#D9E2F3" %)((( 352 352 **4** 353 353 ))) 354 354 |(% style="width:110px" %)((( 355 355 **Value** 356 356 )))|(% style="width:71px" %)((( 357 - [[External temperature>>||anchor="H4.2SetExternalSensorMode"]]386 +External temperature 358 358 )))|(% style="width:99px" %)((( 359 359 [[Built-In Temperature>>||anchor="H2.4.3Built-inTemperature"]] 360 360 )))|(% style="width:132px" %)((( ... ... @@ -367,9 +367,9 @@ 367 367 368 368 * **Battery status & Built-in Humidity** 369 369 370 -(% border="1" cellspacing="4" style="background-color:#fff fcc;color:green;width:461px" %)371 -|=(% style="width: 6 7px;" %)Bit(bit)|=(% style="width: 256px;" %)[15:14]|=(% style="width: 132px;" %)[11:0]372 -|(% style="width:67px" %)Value|(% style="width:256px" %)((( 399 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:461px" %) 400 +|=(% style="width: 69px;background-color:#D9E2F3;color:#0070C0" %)Bit(bit)|=(% style="width: 258px;background-color:#D9E2F3;color:#0070C0" %)[15:14]|=(% style="width: 134px;background-color:#D9E2F3;color:#0070C0" %)[11:0] 401 +|(% style="width:67px" %)**Value**|(% style="width:256px" %)((( 373 373 BAT Status 374 374 00(b): Ultra Low ( BAT <= 2.50v) 375 375 01(b): Low (2.50v <=BAT <= 2.55v) ... ... @@ -381,8 +381,8 @@ 381 381 382 382 * **Status & Ext Byte** 383 383 384 -(% border="1" cellspacing="4" style="background-color:#fff fcc;color:green;width:500px" %)385 -|=(% s cope="row" style="width: 60px;" %)**Bits**|(% style="width:90px" %)**7**|(% style="width:100px" %)**6**|(% style="width:90px" %)**5**|(% style="width:100px" %)**4**|(% style="width:60px" %)**[3:0]**413 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:500px" %) 414 +|=(% style="width: 60px;background-color:#D9E2F3;color:#0070C0" %)**Bits**|(% style="background-color:#d9e2f3; color:#0070c0; width:90px" %)**7**|(% style="background-color:#d9e2f3; color:#0070c0; width:100px" %)**6**|(% style="background-color:#d9e2f3; color:#0070c0; width:90px" %)**5**|(% style="background-color:#d9e2f3; color:#0070c0; width:100px" %)**4**|(% style="background-color:#d9e2f3; color:#0070c0; width:60px" %)**[3:0]** 386 386 |=(% style="width: 96px;" %)**Status&Ext**|(% style="width:124px" %)None-ACK Flag|(% style="width:146px" %)Poll Message FLAG|(% style="width:109px" %)Sync time OK|(% style="width:143px" %)Unix Time Request|(% style="width:106px" %)Ext: 0b(1001) 387 387 388 388 * (% style="color:blue" %)**Poll Message Flag**:(%%) 1: This message is a poll message reply, 0: means this is a normal uplink. ... ... @@ -476,21 +476,21 @@ 476 476 477 477 Ext=4,Interrupt Sensor: 478 478 479 -(% border="1 .5" cellpadding="4" cellspacing="4" style="background-color:#ffffcc;color:green; height:6px;width:478px" %)508 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:504px" %) 480 480 |(% style="width:101px" %)((( 481 -AT+EXT=4,1 482 -)))|(% style="width:3 73px" %)(((483 -Sent uplink packet in both rising and falling interrupt 510 +**AT+EXT=4,1** 511 +)))|(% style="width:395px" %)((( 512 +**Sent uplink packet in both rising and falling interrupt** 484 484 ))) 485 485 |(% style="width:101px" %)((( 486 -AT+EXT=4,2 487 -)))|(% style="width:3 73px" %)(((488 -Sent uplink packet only in falling interrupt 515 +**AT+EXT=4,2** 516 +)))|(% style="width:395px" %)((( 517 +**Sent uplink packet only in falling interrupt** 489 489 ))) 490 490 |(% style="width:101px" %)((( 491 -AT+EXT=4,3 492 -)))|(% style="width:3 73px" %)(((493 -Sent uplink packet only in rising interrupt 520 +**AT+EXT=4,3** 521 +)))|(% style="width:395px" %)((( 522 +**Sent uplink packet only in rising interrupt** 494 494 ))) 495 495 496 496 Trigger by falling edge: ... ... @@ -522,21 +522,21 @@ 522 522 523 523 Ext=8, Counting Sensor ( 4 bytes): 524 524 525 -(% border=" 2" cellpadding="4" cellspacing="4" style="background-color:#ffffcc;color:green; height:6px;width:381px" %)526 -|(% style="width:13 8px" %)(((527 -AT+EXT=8,0 528 -)))|(% style="width: 240px" %)(((529 -Count at falling interrupt 554 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:330px" %) 555 +|(% style="width:131px" %)((( 556 +**AT+EXT=8,0** 557 +)))|(% style="width:195px" %)((( 558 +**Count at falling interrupt** 530 530 ))) 531 -|(% style="width:13 8px" %)(((532 -AT+EXT=8,1 533 -)))|(% style="width: 240px" %)(((534 -Count at rising interrupt 560 +|(% style="width:131px" %)((( 561 +**AT+EXT=8,1** 562 +)))|(% style="width:195px" %)((( 563 +**Count at rising interrupt** 535 535 ))) 536 -|(% style="width:13 8px" %)(((537 -AT+SETCNT=60 538 -)))|(% style="width: 240px" %)(((539 -Sent current count to 60 565 +|(% style="width:131px" %)((( 566 +**AT+SETCNT=60** 567 +)))|(% style="width:195px" %)((( 568 +**Sent current count to 60** 540 540 ))) 541 541 542 542 [[image:image-20220906101320-6.png||_mstalt="428064"]] ... ... @@ -562,9 +562,6 @@ 562 562 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: 563 563 ))) 564 564 565 -((( 566 - 567 -))) 568 568 569 569 ((( 570 570 (% style="color:blue" %)**Step 1**(%%): Be sure that your device is programmed and properly connected to the LoRaWAN network. ... ... @@ -574,9 +574,6 @@ 574 574 (% 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. 575 575 ))) 576 576 577 -((( 578 - 579 -))) 580 580 581 581 ((( 582 582 Add Datacake: ... ... @@ -690,9 +690,10 @@ 690 690 691 691 User can poll sensor value based on timestamps from the server. Below is the downlink command. 692 692 693 -[[image:image-20220523152302-15.png||_mstalt="451581"]] 716 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:428px" %) 717 +|(% style="width:58px" %)1byte|(% style="width:128px" %)4bytes|(% style="width:123px" %)4bytes|(% style="width:116px" %)1byte 718 +|(% style="width:58px" %)31|(% style="width:128px" %)Timestamp start|(% style="width:123px" %)Timestamp end|(% style="width:116px" %)Uplink Interval 694 694 695 - 696 696 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. 697 697 698 698 For example, downlink command (% _mstmutation="1" %)**31 5FC5F350 5FC6 0160 05**(%%) ... ... @@ -709,10 +709,10 @@ 709 709 710 710 **Retrieval data payload:** 711 711 712 -(% border="1" cellspacing="4" style="background-color:#fff fcc;color:green;width:480px" %)713 -|=(% style="width: 60px;" %)((( 736 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:480px" %) 737 +|=(% style="width: 60px;background-color:#D9E2F3" %)((( 714 714 **Size(bytes)** 715 -)))|=(% style="width: 90px;" %)**2**|=(% style="width: 90px;" %)**2**|=(% style="width: 70px;" %)**2**|=(% style="width: 100px;" %)**1**|=(% style="width: 70px;" %)**4** 739 +)))|=(% style="width: 90px;background-color:#D9E2F3" %)**2**|=(% style="width: 90px;background-color:#D9E2F3" %)**2**|=(% style="width: 70px;background-color:#D9E2F3" %)**2**|=(% style="width: 100px;background-color:#D9E2F3" %)**1**|=(% style="width: 70px;background-color:#D9E2F3" %)**4** 716 716 |(% style="width:97px" %)**Value**|(% style="width:123px" %)[[External sensor data>>||anchor="H2.4.6Extvalue"]]|(% style="width:108px" %)[[Built In Temperature>>||anchor="H2.4.3Built-inTemperature"]]|(% style="width:133px" %)[[Built-in Humidity>>||anchor="H2.4.4Built-inHumidity"]]|(% style="width:159px" %)Poll message flag & Ext|(% style="width:80px" %)[[Unix Time Stamp>>||anchor="H2.6.2UnixTimeStamp"]] 717 717 718 718 **Poll message flag & Ext:** ... ... @@ -744,7 +744,7 @@ 744 744 745 745 If LHT65N has below data inside Flash: 746 746 747 -[[image:image-202 20523144455-1.png||_mstalt="430040" height="335" width="735"]]771 +[[image:image-20230426171833-4.png]] 748 748 749 749 750 750 If user sends below downlink command: (% style="background-color:yellow" %)3160065F9760066DA705 ... ... @@ -869,18 +869,18 @@ 869 869 temperature fluctuation=05 870 870 871 871 872 - ====**Sampling multiple times and uplink together**====896 +**Sampling multiple times and uplink together** 873 873 874 - 875 875 **AT+WMOD=3,1,60,20,-16,32,1** 876 876 877 877 Explain: 878 878 879 -* Set Working Mode to **Mode 3** 880 -* Sampling Interval is **60**s. 881 -* When there is **20** sampling dats, Device will send these data via one uplink. (max value is 60, means max 60 sampling in one uplink) 882 -* Temperature alarm range is **-16** to **32**°C, 883 -* **1** to enable temperature alarm, **0** to disable the temperature alarm. If alarm is enabled, a data will be sent immediately if temperate exceeds the Alarm range. 902 +* (% style="color:#037691" %)**parameter1:**(%%)Set Working Mode to **Mode 3** 903 +* (% style="color:#037691" %)**parameter2:**(%%) Set the temperature sampling mode to** 1**(1:DS18B20;2:TMP117;3:** **Internal GXHT30). 904 +* (% style="color:#037691" %)**parameter3:**(%%)Sampling Interval is **60**s. 905 +* (% style="color:#037691" %)**parameter4:**(%%)When there is **20** sampling dats, Device will send these data via one uplink. (max value is 60, means max 60 sampling in one uplink) 906 +* (% style="color:#037691" %)**parameter5 & parameter6:**(%%)Temperature alarm range is **-16** to **32**°C, 907 +* (% style="color:#037691" %)**parameter7:**(%%) 1 to enable temperature alarm, **0** to disable the temperature alarm. If alarm is enabled, a data will be sent immediately if temperate exceeds the Alarm range. 884 884 885 885 (% style="color:#4f81bd" %)**Downlink Command:** 886 886 ... ... @@ -888,7 +888,7 @@ 888 888 889 889 MOD=03 890 890 891 - EXT=01915 +TEMP=DS18B20 892 892 893 893 CITEMP=003C(S) 894 894 ... ... @@ -900,7 +900,6 @@ 900 900 901 901 ARTEMP=01 902 902 903 - 904 904 **Uplink payload( Fport=3)** 905 905 906 906 **Example: CBEA**01**0992**//0A41//**09C4** ... ... @@ -907,7 +907,7 @@ 907 907 908 908 BatV=CBEA 909 909 910 - EXT=01933 +TEMP=DS18B20 911 911 912 912 Temp1=0992 ~/~/ 24.50℃ 913 913 ... ... @@ -915,10 +915,9 @@ 915 915 916 916 Temp3=09C4 ~/~/ 25.00℃ 917 917 918 - 919 919 (% style="color:red" %)**Note: This uplink will automatically select the appropriate DR according to the data length** 920 920 921 -(% style="color:red" %)** In this mode, the temperature resolution of ds18b20 is 0.25℃ 943 +(% style="color:red" %)** In this mode, the temperature resolution of ds18b20 is 0.25℃ to save power consumption** 922 922 ))) 923 923 924 924 ... ... @@ -978,7 +978,6 @@ 978 978 * For each success downlink, the PURPLE LED will blink once 979 979 980 980 981 - 982 982 == 2.9 installation == 983 983 984 984 ... ... @@ -1088,9 +1088,11 @@ 1088 1088 1089 1089 (% style="color:#4f81bd" %)**AT Command: AT+TDC** 1090 1090 1091 -[[image:image-20220523150701-2.png||_mstalt="427453"]] 1112 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:501px" %) 1113 +|(% 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** 1114 +|(% style="width:155px" %)AT+TDC=?|(% style="width:162px" %)Show current transmit Interval|(% style="width:177px" %)30000 OK the interval is 30000ms = 30s 1115 +|(% style="width:155px" %)AT+TDC=60000|(% style="width:162px" %)Set Transmit Interval|(% style="width:177px" %)OK Set transmit interval to 60000ms = 60 seconds 1092 1092 1093 - 1094 1094 (% style="color:#4f81bd" %)**Downlink Command: 0x01** 1095 1095 1096 1096 Format: Command Code (0x01) followed by 3 bytes time value. ... ... @@ -1111,8 +1111,12 @@ 1111 1111 1112 1112 (% style="color:#4f81bd" %)**AT Command: AT+EXT** 1113 1113 1114 -[[image:image-20220523150759-3.png||_mstalt="432146"]] 1115 1115 1138 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:468px" %) 1139 +|(% style="background-color:#d9e2f3; color:#0070c0; width:155px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#0070c0; width:153px" %)**Function**|(% style="background-color:#d9e2f3; color:#0070c0; width:160px" %)**Response** 1140 +|(% style="width:155px" %)AT+EXT=?|(% style="width:151px" %)Get current external sensor mode|(% style="width:158px" %)1 OK External Sensor mode =1 1141 +|(% style="width:155px" %)AT+EXT=1|(% colspan="2" rowspan="1" style="width:309px" %)Set external sensor mode to 1 1142 +|(% style="width:155px" %)AT+EXT=9|(% colspan="2" rowspan="1" style="width:309px" %)Set to external DS18B20 with timestamp 1116 1116 1117 1117 (% style="color:#4f81bd" %)**Downlink Command: 0xA2** 1118 1118 ... ... @@ -1150,9 +1150,10 @@ 1150 1150 1151 1151 (% style="color:#4f81bd" %)**AT Command:** 1152 1152 1153 -[[image:image-20220523150928-4.png||_mstalt="431821"]] 1180 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:381px" %) 1181 +|(% style="background-color:#d9e2f3; color:#0070c0; width:155px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#0070c0; width:138px" %)**Function**|(% style="background-color:#d9e2f3; color:#0070c0; width:88px" %)**Response** 1182 +|(% style="width:155px" %)AT+PID=1|(% style="width:136px" %)Enable PID uplink|(% style="width:86px" %)OK 1154 1154 1155 - 1156 1156 (% style="color:#4f81bd" %)**Downlink Command:** 1157 1157 1158 1158 * **0xA800** **~-~->** AT+PID=0 ... ... @@ -1165,11 +1165,16 @@ 1165 1165 1166 1166 Feature: Set device password, max 9 digits 1167 1167 1168 - 1169 1169 (% style="color:#4f81bd" %)**AT Command: AT+PWORD** 1170 1170 1171 -[[image:image-20220523151052-5.png||_mstalt="428623"]] 1198 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:372px" %) 1199 +|(% 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** 1200 +|(% style="width:155px" %)AT+PWORD=?|(% style="width:124px" %)Show password|(% style="width:86px" %)((( 1201 +123456 1172 1172 1203 +OK 1204 +))) 1205 +|(% style="width:155px" %)AT+PWORD=999999|(% style="width:124px" %)Set password|(% style="width:86px" %)OK 1173 1173 1174 1174 (% style="color:#4f81bd" %)**Downlink Command:** 1175 1175 ... ... @@ -1181,12 +1181,12 @@ 1181 1181 1182 1182 Feature: Quit AT Command mode, so user needs to input password again before use AT Commands. 1183 1183 1184 - 1185 1185 (% style="color:#4f81bd" %)**AT Command: AT+DISAT** 1186 1186 1187 -[[image:image-20220523151132-6.png||_mstalt="428649"]] 1219 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:433px" %) 1220 +|(% style="background-color:#d9e2f3; color:#0070c0; width:155px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#0070c0; width:191px" %)**Function**|(% style="background-color:#d9e2f3; color:#0070c0; width:86px" %)**Response** 1221 +|(% style="width:155px" %)AT+DISAT|(% style="width:191px" %)Quit AT Commands mode|(% style="width:86px" %)OK 1188 1188 1189 - 1190 1190 (% style="color:#4f81bd" %)**Downlink Command:** 1191 1191 1192 1192 No downlink command for this feature. ... ... @@ -1202,8 +1202,13 @@ 1202 1202 1203 1203 (% style="color:#4f81bd" %)**AT Command: AT+SLEEP** 1204 1204 1205 -[[image:image-20220523151218-7.png||_mstalt="430703"]] 1238 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:513px" %) 1239 +|(% 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** 1240 +|(% style="width:155px" %)AT+SLEEP|(% style="width:139px" %)Set to sleep mode|(% style="width:213px" %)((( 1241 +Clear all stored sensor data… 1206 1206 1243 +OK 1244 +))) 1207 1207 1208 1208 (% style="color:#4f81bd" %)**Downlink Command:** 1209 1209 ... ... @@ -1216,11 +1216,15 @@ 1216 1216 1217 1217 Feature: Set system time, unix format. [[See here for format detail.>>||anchor="H2.6.2UnixTimeStamp"]] 1218 1218 1219 - 1220 1220 (% style="color:#4f81bd" %)**AT Command:** 1221 1221 1222 -[[image:image-20220523151253-8.png||_mstalt="430677"]] 1259 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:506px" %) 1260 +|(% style="background-color:#d9e2f3; color:#0070c0; width:188px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#0070c0; width:318px" %)**Function** 1261 +|(% style="width:154px" %)AT+TIMESTAMP=1611104352|(% style="width:285px" %)((( 1262 +OK 1223 1223 1264 +Set System time to 2021-01-20 00:59:12 1265 +))) 1224 1224 1225 1225 (% style="color:#4f81bd" %)**Downlink Command:** 1226 1226 ... ... @@ -1236,15 +1236,14 @@ 1236 1236 1237 1237 ((( 1238 1238 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. 1239 - 1240 - 1241 1241 ))) 1242 1242 1243 1243 (% style="color:#4f81bd" %)**AT Command:** 1244 1244 1245 -[[image:image-20220523151336-9.png||_mstalt="431717"]] 1285 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:475px" %) 1286 +|(% style="background-color:#d9e2f3; color:#0070c0; width:156px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#0070c0; width:315px" %)**Function** 1287 +|(% style="width:156px" %)AT+SYNCMOD=1|(% style="width:315px" %)Enable Sync system time via LoRaWAN MAC Command (DeviceTimeReq) 1246 1246 1247 - 1248 1248 (% style="color:#4f81bd" %)**Downlink Command:** 1249 1249 1250 1250 0x28 01 ~/~/ Same As AT+SYNCMOD=1 ... ... @@ -1256,12 +1256,12 @@ 1256 1256 1257 1257 Feature: Define System time sync interval. SYNCTDC default value: 10 days. 1258 1258 1259 - 1260 1260 (% style="color:#4f81bd" %)**AT Command:** 1261 1261 1262 -[[image:image-20220523151411-10.png||_mstalt="449696"]] 1302 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:472px" %) 1303 +|(% style="background-color:#d9e2f3; color:#0070c0; width:158px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#0070c0; width:314px" %)**Function** 1304 +|(% style="width:156px" %)AT+SYNCTDC=0x0A |(% style="width:311px" %)Set SYNCTDC to 10 (0x0A), so the sync time is 10 days. 1263 1263 1264 - 1265 1265 (% style="color:#4f81bd" %)**Downlink Command:** 1266 1266 1267 1267 **0x29 0A** ~/~/ Same as AT+SYNCTDC=0x0A ... ... @@ -1272,10 +1272,9 @@ 1272 1272 1273 1273 Feature: Print the sector data from start page to stop page (max is 416 pages). 1274 1274 1275 - 1276 1276 (% style="color:#4f81bd" %)**AT Command: AT+PDTA** 1277 1277 1278 -[[image:image-202 20523151450-11.png||_mstalt="451035"]]1318 +[[image:image-20230426164330-2.png]] 1279 1279 1280 1280 1281 1281 (% style="color:#4f81bd" %)**Downlink Command:** ... ... @@ -1288,10 +1288,9 @@ 1288 1288 1289 1289 Feature: Print the last few data entries 1290 1290 1291 - 1292 1292 (% style="color:#4f81bd" %)**AT Command: AT+PLDTA** 1293 1293 1294 -[[image:image-202 20523151524-12.png||_mstalt="452101"]]1333 +[[image:image-20230426164932-3.png]] 1295 1295 1296 1296 1297 1297 (% style="color:#4f81bd" %)**Downlink Command:** ... ... @@ -1307,9 +1307,15 @@ 1307 1307 1308 1308 (% style="color:#4f81bd" %)**AT Command: AT+CLRDTA** 1309 1309 1310 -[[image:image-20220523151556-13.png||_mstalt="454129"]] 1311 1311 1350 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:503px" %) 1351 +|(% style="background-color:#d9e2f3; color:#0070c0; width:157px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#0070c0; width:137px" %)**Function**|(% style="background-color:#d9e2f3; color:#0070c0; width:209px" %)**Response** 1352 +|(% style="width:155px" %)AT+CLRDTA |(% style="width:134px" %)Clear date record|(% style="width:209px" %)((( 1353 +Clear all stored sensor data… 1312 1312 1355 +OK 1356 +))) 1357 + 1313 1313 (% style="color:#4f81bd" %)**Downlink Command: 0xA3** 1314 1314 1315 1315 * Example: 0xA301 ~/~/ Same as AT+CLRDTA ... ... @@ -1321,13 +1321,12 @@ 1321 1321 1322 1322 Feature: LHT65N will wait for ACK for each uplink, If LHT65N doesn't get ACK from the IoT server, it will consider the message doesn't arrive server and store it. LHT65N keeps sending messages in normal periodically. Once LHT65N gets ACK from a server, it will consider the network is ok and start to send the not-arrive message. 1323 1323 1324 - 1325 1325 (% style="color:#4f81bd" %)**AT Command: AT+PNACKMD** 1326 1326 1327 1327 The default factory setting is 0 1328 1328 1329 -(% border="1" cellspacing="4" style="background-color:#fff fcc;color:green;width:367px" %)1330 -|=(% style="width: 158px;" %)**Command Example**|=(% style="width: 1 18px;" %)**Function**|=(% style="width: 87px;" %)**Response**1373 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:367px" %) 1374 +|=(% style="width: 158px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 120px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 87px;background-color:#D9E2F3;color:#0070C0" %)**Response** 1331 1331 |(% style="width:158px" %)AT+PNACKMD=1|(% style="width:118px" %)Poll None-ACK message|(% style="width:87px" %)OK 1332 1332 1333 1333 (% style="color:#4f81bd" %)**Downlink Command: 0x34** ... ... @@ -1341,8 +1341,8 @@ 1341 1341 1342 1342 Feature: Set internal and external temperature sensor alarms. 1343 1343 1344 -(% border="1" cellspacing="4" style="background-color:#fff fcc;color:green;width:500px" %)1345 -|=(% style="width: 250px;" %)**Command Example**|=(% style="width: 200px;" %)**Function**|=(% style="width: 50px;" %)**Response** 1388 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:500px" %) 1389 +|=(% style="width: 250px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 200px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 50px;background-color:#D9E2F3;color:#0070C0" %)**Response** 1346 1346 |(% style="width:268px" %)AT+WMOD=parameter1,parameter2,parameter3,parameter4|(% style="width:255px" %)Set internal and external temperature sensor alarms|(% style="width:181px" %)OK 1347 1347 1348 1348 (% style="color:#037691" %)**AT+WMOD=parameter1,parameter2,parameter3,parameter4** ... ... @@ -1654,7 +1654,7 @@ 1654 1654 [[image:image-20220615153355-1.png||_mstalt="430222"]] 1655 1655 1656 1656 1657 -(% style="color:blue" %)**Step1**(%%): Install TremoProgrammer first. 1701 +(% style="color:blue" %)**Step1**(%%): Install [[TremoProgrammer>>https://www.dropbox.com/sh/g99v0fxcltn9r1y/AAAnJD_qGZ42bB52o4UmH9v9a/LHT65N%20Temperature%20%26%20Humidity%20Sensor/tool?dl=0&subfolder_nav_tracking=1]] first. 1658 1658 1659 1659 [[image:image-20220615170542-5.png||_mstalt="430638"]] 1660 1660 ... ... @@ -1720,7 +1720,7 @@ 1720 1720 [[image:image-20220623110706-1.png||_mstalt="427869"]] 1721 1721 1722 1722 1723 -(% style="color:blue" %)**Step1**(%%): Install TremoProgrammer first. 1767 +(% style="color:blue" %)**Step1**(%%): Install [[TremoProgrammer>>https://www.dropbox.com/sh/g99v0fxcltn9r1y/AAAnJD_qGZ42bB52o4UmH9v9a/LHT65N%20Temperature%20%26%20Humidity%20Sensor/tool?dl=0&subfolder_nav_tracking=1]] first. 1724 1724 1725 1725 [[image:image-20220615170542-5.png||_mstalt="430638"]] 1726 1726 ... ... @@ -1812,6 +1812,3 @@ 1812 1812 (1) This device may not cause harmful interference; 1813 1813 1814 1814 (2) this device must accept any interference received, including interference that may cause undesired operation. 1815 - 1816 - 1817 -
- image-20230426083319-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +190.0 KB - Content
- image-20230426155837-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +2.4 KB - Content
- image-20230426164330-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +36.6 KB - Content
- image-20230426164932-3.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +23.2 KB - Content
- image-20230426171833-4.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +33.0 KB - Content