Changes for page LHT65N -- Manual do sensor de temperatura e umidade LoRaWAN
Last modified by Xiaoling on 2023/07/18 10:12
From version 248.1
edited by Ellie Zhang
on 2023/05/09 14:12
on 2023/05/09 14:12
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Ellie1 +XWiki.Xiaoling - Content
-
... ... @@ -5,7 +5,7 @@ 5 5 6 6 7 7 8 -**Table of Contents :**8 +**Table of Contents:** 9 9 10 10 {{toc/}} 11 11 ... ... @@ -43,7 +43,6 @@ 43 43 ))) 44 44 45 45 46 - 47 47 == 1.2 Features == 48 48 49 49 ... ... @@ -155,7 +155,7 @@ 155 155 Each LHT65N is shipped with a sticker with its device EUI, APP Key and APP EUI as below: 156 156 ))) 157 157 158 -[[image:image-20230426083319-1.png]] 157 +[[image:image-20230426083319-1.png||height="258" width="556"]] 159 159 160 160 User can enter these keys in the LoRaWAN Server portal. Below is TTN V3 screenshot: 161 161 ... ... @@ -194,7 +194,7 @@ 194 194 [[image:image-20220522233300-8.png||_mstalt="428389" height="219" width="722"]] 195 195 196 196 197 -== 2.4 Uplink Payload 196 +== 2.4 Uplink Payload (Fport~=2) == 198 198 199 199 200 200 ((( ... ... @@ -294,7 +294,7 @@ 294 294 295 295 [[image:image-20220522235639-3.png||_mstalt="432120"]] 296 296 297 -* Temperature: (0xF5C6-65536)/100=-26.18℃ 296 +* Temperature: (0xF5C6-65536)/100=-26.18℃(% style="display:none" %) 298 298 299 299 === 2.4.4 Built-in Humidity === 300 300 ... ... @@ -301,7 +301,7 @@ 301 301 302 302 [[image:image-20220522235639-4.png||_mstalt="432484" height="138" width="722"]] 303 303 304 -* Humidity: 0x025C/10=60.4% 303 +* Humidity: 0x025C/10=60.4%(% style="display:none" %) 305 305 306 306 === 2.4.5 Ext # === 307 307 ... ... @@ -309,7 +309,7 @@ 309 309 Bytes for External Sensor: 310 310 311 311 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:425px" %) 312 -|=(% style="width: 102px; background-color:#D9E2F3;color:#0070C0" %)**EXT # Value **|=(% style="width: 323px;background-color:#D9E2F3;color:#0070C0" %)**External Sensor Type**311 +|=(% style="width: 102px; background-color:#D9E2F3;color:#0070C0" %)**EXT # **Value|=(% style="width: 323px;background-color:#D9E2F3;color:#0070C0" %)External Sensor Type 313 313 |(% style="width:102px" %)0x01|(% style="width:319px" %)Sensor E3, Temperature Sensor 314 314 |(% style="width:102px" %)0x09|(% style="width:319px" %)Sensor E3, Temperature Sensor, Datalog Mod 315 315 ... ... @@ -399,10 +399,10 @@ 399 399 |=(% 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) 400 400 401 401 * (% style="color:blue" %)**Poll Message Flag**:(%%) 1: This message is a poll message reply, 0: means this is a normal uplink. 402 -* (% style="color:blue" %)**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. 401 +* (% style="color:blue" %)**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. 403 403 * (% style="color:blue" %)**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) 404 404 405 -==== 2.4.6.3 Ext~=6, ADC Sensor 404 +==== 2.4.6.3 Ext~=6, ADC Sensor(use with E2 Cable) ==== 406 406 407 407 408 408 In this mode, user can connect external ADC sensor to check ADC value. The 3V3_OUT can ... ... @@ -451,7 +451,7 @@ 451 451 452 452 453 453 454 -==== 2.4.6.4 Ext~=2 TMP117 Sensor (Since Firmware v1.3)====453 +==== 2.4.6.4 Ext~=2 TMP117 Sensor(Since Firmware v1.3) ==== 455 455 456 456 457 457 [[image:image-20220927095645-1.png||_mstalt="433771" height="534" width="460"]] ... ... @@ -467,20 +467,22 @@ 467 467 The external cable NE2 can be use for MOD4 and MOD8 468 468 469 469 470 -==== 2.4.6.5 Ext~=11 SHT31 Sensor (Since Firmware v1.3) ==== 471 471 470 +==== 2.4.6.5 Ext~=11 SHT31 Sensor (Since Firmware v1.4.1) ==== 472 472 472 + 473 473 [[image:65N-E31F.jpg||height="454" width="459"]] 474 474 475 475 476 -(% style="color:blue" %)**Ext=11,Temperature 476 +(% style="color:blue" %)**Ext=11,Temperature & Humidity Sensor(SHT31):** 477 477 478 478 [[image:SHT31.png]] 479 479 480 480 481 -==== 2.4.6.5 Ext~=4 Interrupt Mode (Since Firmware v1.3) ==== 482 482 482 +==== 2.4.6.6 Ext~=4 Interrupt Mode(Since Firmware v1.3) ==== 483 483 484 + 484 484 (% style="color:red" %)**Note: In this mode, 3.3v output will be always ON. LHT65N will send an uplink when there is a trigger.** 485 485 486 486 ... ... @@ -525,7 +525,7 @@ 525 525 526 526 527 527 528 -==== 2.4.6. 6Ext~=8 Counting Mode(Since Firmware v1.3)====529 +==== 2.4.6.7 Ext~=8 Counting Mode(Since Firmware v1.3) ==== 529 529 530 530 531 531 (% style="color:red" %)**Note: In this mode, 3.3v output will be always ON. LHT65N will count for every interrupt and uplink periodically.** ... ... @@ -576,6 +576,66 @@ 576 576 A2 08 02 00 00 00 3C: Same as AT+ SETCNT=60 (AT+ SETCNT = 4th byte and 5th byte and 6th byte and 7th byte) 577 577 578 578 580 +==== 2.4.6.8 Ext~=10, E2 sensor (TMP117)with Unix Timestamp(Since firmware V1.3.2) ==== 581 + 582 + 583 +((( 584 +Timestamp mode is designed for LHT65N with E2 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: 585 +))) 586 + 587 + 588 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:480px" %) 589 +|=(% style="width: 50px;background-color:#D9E2F3" %)((( 590 +**Size(bytes)** 591 +)))|=(% style="width: 70px;background-color:#D9E2F3" %)((( 592 +**2** 593 +)))|=(% style="width: 120px;background-color:#D9E2F3" %)((( 594 +**2** 595 +)))|=(% style="width: 120px;background-color:#D9E2F3" %)((( 596 +**2** 597 +)))|=(% style="width: 50px;background-color:#D9E2F3" %)((( 598 +**1** 599 +)))|=(% style="width: 70px;background-color:#D9E2F3" %)((( 600 +**4** 601 +))) 602 +|(% style="width:110px" %)((( 603 +**Value** 604 +)))|(% style="width:71px" %)((( 605 +External temperature 606 +)))|(% style="width:99px" %)((( 607 +[[Built-In Temperature>>||anchor="H2.4.3Built-inTemperature"]] 608 +)))|(% style="width:132px" %)((( 609 +BAT Status & [[Built-in Humidity>>||anchor="H2.4.4Built-inHumidity"]] 610 +)))|(% style="width:54px" %)((( 611 +Status & Ext 612 +)))|(% style="width:64px" %)((( 613 +[[Unix Time Stamp>>||anchor="H2.6.2UnixTimeStamp"]] 614 +))) 615 + 616 +* **Battery status & Built-in Humidity** 617 + 618 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:461px" %) 619 +|=(% 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] 620 +|(% style="width:67px" %)**Value**|(% style="width:256px" %)((( 621 +BAT Status 622 +00(b): Ultra Low ( BAT <= 2.50v) 623 +01(b): Low (2.50v <=BAT <= 2.55v) 624 +10(b): OK (2.55v <= BAT <=2.65v) 625 +11(b): Good (BAT >= 2.65v) 626 +)))|(% style="width:132px" %)((( 627 +[[Built-in Humidity>>||anchor="H2.4.4Built-inHumidity"]] 628 +))) 629 + 630 +* **Status & Ext Byte** 631 + 632 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:500px" %) 633 +|=(% 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]** 634 +|=(% 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) 635 + 636 +* (% style="color:blue" %)**Poll Message Flag**:(%%) 1: This message is a poll message reply, 0: means this is a normal uplink. 637 +* (% style="color:blue" %)**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. 638 +* (% style="color:blue" %)**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) 639 + 579 579 == 2.5 Show data on Datacake == 580 580 581 581 ... ... @@ -706,7 +706,7 @@ 706 706 User can poll sensor value based on timestamps from the server. Below is the downlink command. 707 707 708 708 (% border="1" cellspacing="5" style="background-color:#f2f2f2; width:428px" %) 709 -|(% style="width:58px" %)1byte|(% style="width:128px" %)4bytes|(% style="width:123px" %)4bytes|(% style="width:116px" %)1byte 770 +|(% style="width:58px" %)**1byte**|(% style="width:128px" %)**4bytes**|(% style="width:123px" %)**4bytes**|(% style="width:116px" %)**1byte** 710 710 |(% style="width:58px" %)31|(% style="width:128px" %)Timestamp start|(% style="width:123px" %)Timestamp end|(% style="width:116px" %)Uplink Interval 711 711 712 712 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. ... ... @@ -891,11 +891,11 @@ 891 891 892 892 Explain: 893 893 894 -* (% style="color:#037691" %)**parameter1:**(%%)Set Working Mode to **Mode 3** 955 +* (% style="color:#037691" %)**parameter1: **(%%)Set Working Mode to **Mode 3** 895 895 * (% style="color:#037691" %)**parameter2:**(%%) Set the temperature sampling mode to** 1**(1:DS18B20;2:TMP117;3:** **Internal GXHT30). 896 -* (% style="color:#037691" %)**parameter3:**(%%)Sampling Interval is **60**s. 897 -* (% 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) 898 -* (% style="color:#037691" %)**parameter5 & parameter6:**(%%)Temperature alarm range is **-16** to **32**°C, 957 +* (% style="color:#037691" %)**parameter3: **(%%)Sampling Interval is **60**s. 958 +* (% 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) 959 +* (% style="color:#037691" %)**parameter5 & parameter6: **(%%)Temperature alarm range is **-16** to **32**°C, 899 899 * (% 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. 900 900 901 901 (% style="color:#4f81bd" %)**Downlink Command:** ... ... @@ -916,6 +916,7 @@ 916 916 917 917 ARTEMP=01 918 918 980 + 919 919 **Uplink payload( Fport=3)** 920 920 921 921 **Example: CBEA**01**0992**//0A41//**09C4** ... ... @@ -1060,10 +1060,10 @@ 1060 1060 1061 1061 **Built-in Humidity Sensor:** 1062 1062 1063 -* Resolution: 0.04 %RH 1064 -* Accuracy Tolerance : Typ ±3 %RH 1125 +* Resolution: 0.04 % RH 1126 +* Accuracy Tolerance : Typ ±3 % RH 1065 1065 * Long Term Drift: < 0.02 °C/yr 1066 -* Operating Range: 0 ~~ 96 %RH 1128 +* Operating Range: 0 ~~ 96 % RH 1067 1067 1068 1068 **External Temperature Sensor :** 1069 1069 ... ... @@ -1074,12 +1074,11 @@ 1074 1074 1075 1075 **External Humidity Sensor :** 1076 1076 1077 -* Resolution: 0.04 %RH 1078 -* Accuracy Tolerance : Typ ±3 %RH 1139 +* Resolution: 0.04 % RH 1140 +* Accuracy Tolerance : Typ ±3 % RH 1079 1079 * Long Term Drift: < 0.02 °C/yr 1080 -* Operating Range: 0 ~~ 96 %RH 1142 +* Operating Range: 0 ~~ 96 % RH 1081 1081 1082 - 1083 1083 = 4. Configure LHT65N via AT command or LoRaWAN downlink = 1084 1084 1085 1085