Changes for page LHT65N -- Manual do sensor de temperatura e umidade LoRaWAN
Last modified by Xiaoling on 2023/07/18 10:12
From version 188.1
edited by Edwin Chen
on 2022/07/03 11:17
on 2022/07/03 11:17
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 14 removed)
- image-20220623110706-1.png
- image-20220623110723-2.png
- image-20220623111949-3.png
- image-20220623112117-4.png
- image-20220623113959-5.png
- image-20220628150112-1.png
- image-20220628150542-2.png
- image-20220628150648-3.png
- image-20220628150714-4.png
- image-20220628151005-5.png
- image-20220628151056-6.png
- image-20220628151143-7.png
- image-20220703111533-1.png
- image-20220703111700-2.png
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Edwin1 +XWiki.Xiaoling - Content
-
... ... @@ -59,8 +59,6 @@ 59 59 * Datalog feature 60 60 61 61 62 - 63 - 64 64 == 1.3 Specification == 65 65 66 66 ... ... @@ -86,8 +86,6 @@ 86 86 * Operating Range: -55 °C ~~ 125 °C 87 87 88 88 89 - 90 - 91 91 = 2. Connect LHT65N to IoT Server = 92 92 93 93 == 2.1 How does LHT65N work? == ... ... @@ -272,6 +272,7 @@ 272 272 273 273 274 274 271 + 275 275 === 2.4.1 Decoder in TTN V3 === 276 276 277 277 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. ... ... @@ -305,6 +305,7 @@ 305 305 306 306 307 307 305 + 308 308 === 2.4.3 Built-in Temperature === 309 309 310 310 [[image:image-20220522235639-2.png||_mstalt="431756" _mstvisible="3" height="138" width="722"]] ... ... @@ -318,6 +318,7 @@ 318 318 319 319 320 320 319 + 321 321 === 2.4.4 Built-in Humidity === 322 322 323 323 [[image:image-20220522235639-4.png||_mstalt="432484" _mstvisible="3" height="138" width="722"]] ... ... @@ -327,6 +327,7 @@ 327 327 328 328 329 329 329 + 330 330 === 2.4.5 Ext # === 331 331 332 332 Bytes for External Sensor: ... ... @@ -482,6 +482,7 @@ 482 482 483 483 484 484 485 + 485 485 ==== 2.4.6.3 Ext~=6, ADC Sensor (use with E2 Cable) ==== 486 486 487 487 In this mode, user can connect external ADC sensor to check ADC value. The 3V3_OUT can ... ... @@ -492,43 +492,8 @@ 492 492 493 493 AT+EXT=6,timeout (% _msthash="506085" _msttexthash="8782189" _mstvisible="3" style="color:red" %)Time to power this sensor, from 0 ~~ 65535ms 494 494 495 -For example: 496 496 497 -AT+EXT=6,1000 will power this sensor for 1000ms before sampling the ADC value. 498 498 499 - 500 -Or use **downlink command A2** to set the same. 501 - 502 -The measuring range of the node is only about 0.1V to 1.1V The voltage resolution is about 0.24mv. 503 - 504 -When the measured output voltage of the sensor is not within the range of 0.1V and 1.1V, the output voltage terminal of the sensor shall be divided The example in the following figure is to reduce the output voltage of the sensor by three times If it is necessary to reduce more times, calculate according to the formula in the figure and connect the corresponding resistance in series. 505 - 506 -[[image:image-20220628150112-1.png||height="241" width="285"]] 507 - 508 - 509 -When ADC_IN1 pin is connected to GND or suspended, ADC value is 0 510 - 511 -[[image:image-20220628150714-4.png]] 512 - 513 - 514 -When the voltage collected by ADC_IN1 is less than the minimum range, the minimum range will be used as the output; Similarly, when the collected voltage is greater than the maximum range, the maximum range will be used as the output. 515 - 516 -1) The minimum range is about 0.1V. Each chip has internal calibration, so this value is close to 0.1V 517 - 518 -[[image:image-20220628151005-5.png]] 519 - 520 - 521 -2) The maximum range is about 1.1V. Each chip has internal calibration, so this value is close to 1.1v 522 - 523 -[[image:image-20220628151056-6.png]] 524 - 525 - 526 -3) Within range 527 - 528 -[[image:image-20220628151143-7.png]] 529 - 530 - 531 - 532 532 == 2.5 Show data on Datacake == 533 533 534 534 ((( ... ... @@ -588,14 +588,13 @@ 588 588 589 589 There are two methods: 590 590 591 -1. IoT Server sends a downlink LoRaWAN command to [[poll the value>>||anchor="H2.6.4Pollsensorvalue"]] for specify ingtime range.592 -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 thenetwork recovery.557 +1. IoT Server sends a downlink LoRaWAN command to [[poll the value>>||anchor="H2.6.4Pollsensorvalue"]] for specify time range. 558 +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. 593 593 594 -Below is the typical case for the auto-update datalog feature (Set PNACKMD=1) 595 595 596 -[[image:image-20220703111700-2.png||height="381" width="1119"]] 597 597 598 598 563 + 599 599 === 2.6.2 Unix TimeStamp === 600 600 601 601 ... ... @@ -1001,43 +1001,28 @@ 1001 1001 1002 1002 == 2.7 Alarm Mode == 1003 1003 1004 -((( 1005 1005 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. 1006 -))) 1007 1007 1008 -((( 1009 1009 (% style="color:red" %)Note: alarm mode adds a little power consumption, and we recommend extending the normal read time when this feature is enabled. 1010 -))) 1011 1011 1012 -((( 1013 1013 **AT COMMAND FOR ALARM MODE:** 1014 -))) 1015 1015 1016 1016 (% _mstvisible="1" class="box infomessage" %) 1017 1017 ((( 1018 -((( 1019 1019 **AT+WMOD=1**: Enable/disable alarm mode. (0: Disabled, 1: Enabled) 1020 -))) 1021 1021 1022 -((( 1023 1023 **AT+CITEMP=1**: The interval between checking the alarm temperature. (In minutes) 1024 -))) 1025 1025 1026 -((( 1027 1027 **AT+ARTEMP**: Gets or sets the alarm range of the internal temperature sensor 1028 -))) 1029 1029 1030 -((( 1031 1031 **AT+ARTEMP=? **: Gets the alarm range of the internal temperature sensor(% _mstvisible="3" style="display:none" %) 1032 -))) 1033 1033 1034 -((( 1035 1035 **AT+ARTEMP=45,105**: Set the internal temperature sensor alarm range from 45 to 105. 1036 1036 ))) 1037 -))) 1038 1038 1039 1039 1040 1040 990 + 1041 1041 == 2.8 LED Indicator == 1042 1042 1043 1043 The LHT65 has a triple color LED which for easy showing different stage . ... ... @@ -1047,13 +1047,10 @@ 1047 1047 In a normal working state: 1048 1048 1049 1049 * For each uplink, the BLUE LED or RED LED will blink once. 1050 -BLUE LED when external sensor is connected. 1000 + BLUE LED when external sensor is connected. 1051 1051 * RED LED when external sensor is not connected 1052 1052 * For each success downlink, the PURPLE LED will blink once 1053 1053 1054 - 1055 - 1056 - 1057 1057 == 2.9 installation == 1058 1058 1059 1059 (% _mstvisible="1" %) ... ... @@ -1067,24 +1067,8 @@ 1067 1067 1068 1068 [[image:image-20220619092222-1.png||height="182" width="188"]][[image:image-20220619092313-2.png||height="182" width="173"]] 1069 1069 1070 - **1m long breakout cable for LHT65N. Features:**1017 +1m long breakout cable for LHT65N 1071 1071 1072 -* ((( 1073 -Use for AT Command, works for both LHT52/LHT65N 1074 -))) 1075 -* ((( 1076 -Update firmware for LHT65N, works for both LHT52/LHT65N 1077 -))) 1078 -* ((( 1079 -Supports ADC mode to monitor external ADC 1080 -))) 1081 -* ((( 1082 -Supports Interrupt mode 1083 -))) 1084 -* ((( 1085 -Exposed All pins from the LHT65N Type-C connector. 1086 -))) 1087 - 1088 1088 [[image:image-20220619092421-3.png||height="371" width="529"]] 1089 1089 1090 1090 ... ... @@ -1104,53 +1104,28 @@ 1104 1104 * Operating Range: -40 ~~ 125 °C 1105 1105 * Working voltage 2.35v ~~ 5v 1106 1106 1107 - 1108 - 1109 - 1110 1110 = 4. Configure LHT65N via AT command or LoRaWAN downlink = 1111 1111 1112 -((( 1113 1113 Use can configure LHT65N via AT Command or LoRaWAN Downlink. 1114 -))) 1115 1115 1116 -* ((( 1117 -AT Command Connection: See [[FAQ>>||anchor="H6.FAQ"]]. 1118 -))) 1042 +* AT Command Connection: See [[FAQ>>||anchor="H6.FAQ"]]. 1119 1119 1120 -* ((( 1121 -LoRaWAN Downlink instruction for different platforms: [[IoT LoRaWAN Server>>doc:Main.WebHome]] 1122 -))) 1044 +* LoRaWAN Downlink instruction for different platforms: [[IoT LoRaWAN Server>>doc:Main.WebHome]] 1123 1123 1124 -((( 1125 1125 There are two kinds of commands to configure LHT65N, they are: 1126 -))) 1127 1127 1128 -* ((( 1129 -(% style="color:#4f81bd" %)**General Commands**. 1130 -))) 1048 +* (% style="color:#4f81bd" %)**General Commands**. 1131 1131 1132 -((( 1133 1133 These commands are to configure: 1134 -))) 1135 1135 1136 -1. ((( 1137 -General system settings like: uplink interval. 1138 -))) 1139 -1. ((( 1140 -LoRaWAN protocol & radio-related commands. 1141 -))) 1052 +1. General system settings like: uplink interval. 1053 +1. LoRaWAN protocol & radio-related commands. 1142 1142 1143 -((( 1144 1144 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]] 1145 -))) 1146 1146 1147 -* ((( 1148 -(% style="color:#4f81bd" %)**Commands special design for LHT65N** 1149 -))) 1057 +* (% style="color:#4f81bd" %)**Commands special design for LHT65N** 1150 1150 1151 -((( 1152 1152 These commands are only valid for LHT65N, as below: 1153 -))) 1154 1154 1155 1155 1156 1156 == 4.1 Set Transmit Interval Time == ... ... @@ -1172,9 +1172,6 @@ 1172 1172 1173 1173 * **Example 2**: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 1174 1174 1175 - 1176 - 1177 - 1178 1178 == 4.2 Set External Sensor Mode == 1179 1179 1180 1180 Feature: Change External Sensor Mode. ... ... @@ -1196,9 +1196,6 @@ 1196 1196 1197 1197 * 0xA20702003c: Same as AT+SETCNT=60 1198 1198 1199 - 1200 - 1201 - 1202 1202 == 4.3 Enable/Disable uplink Temperature probe ID == 1203 1203 1204 1204 ((( ... ... @@ -1226,9 +1226,6 @@ 1226 1226 * **0xA800** **~-~->** AT+PID=0 1227 1227 * **0xA801** **~-~->** AT+PID=1 1228 1228 1229 - 1230 - 1231 - 1232 1232 == 4.4 Set Password == 1233 1233 1234 1234 Feature: Set device password, max 9 digits ... ... @@ -1275,9 +1275,6 @@ 1275 1275 1276 1276 * There is no downlink command to set to Sleep mode. 1277 1277 1278 - 1279 - 1280 - 1281 1281 == 4.7 Set system time == 1282 1282 1283 1283 Feature: Set system time, unix format. [[See here for format detail.>>||anchor="H2.6.2UnixTimeStamp"]] ... ... @@ -1374,9 +1374,6 @@ 1374 1374 1375 1375 * Example: 0xA301 ~/~/Same as AT+CLRDTA 1376 1376 1377 - 1378 - 1379 - 1380 1380 == 4.13 Auto Send None-ACK messages == 1381 1381 1382 1382 (% _msthash="315394" _msttexthash="51837149" _mstvisible="1" %) ... ... @@ -1395,9 +1395,6 @@ 1395 1395 1396 1396 * Example: 0x3401 ~/~/Same as AT+PNACKMD=1 1397 1397 1398 - 1399 - 1400 - 1401 1401 = 5. Battery & How to replace = 1402 1402 1403 1403 == 5.1 Battery Type == ... ... @@ -1457,11 +1457,16 @@ 1457 1457 1458 1458 (% _msthash="506061" _msttexthash="170755" %)**Connection:** 1459 1459 1460 -* (% style="background-color:yellow" %)**USB to TTL GND <~-~->GND** 1461 -* (% style="background-color:yellow" %)**USB to TTL RXD <~-~-> D+** 1462 -* (% style="background-color:yellow" %)**USB to TTL TXD <~-~-> A11** 1463 -* (% style="background-color:yellow" %)**USB to TTL 3.3V <~-~-> D-** 1348 +(% _msthash="506062" _msttexthash="1187732" %) 1349 +**✓ (% style="background-color:yellow" %)USB to TTL GND <~-~->GND(%%)** 1464 1464 1351 +(% _msthash="506063" _msttexthash="1158313" %)**✓ **(% style="background-color:yellow" %)**USB to TTL RXD <~-~-> D+** 1352 + 1353 +(% _msthash="506064" _msttexthash="1175629" %)**✓ **(% style="background-color:yellow" %)**USB to TTL TXD <~-~-> A11** 1354 + 1355 +(% _msthash="506065" _msttexthash="1164696" %)**✓ **(% style="background-color:yellow" %)**USB to TTL 3.3V <~-~-> D-** 1356 + 1357 + 1465 1465 ((( 1466 1466 In PC, User needs to set serial tool(such as [[**putty**>>https://www.chiark.greenend.org.uk/~~sgtatham/putty/latest.html]], SecureCRT) baud rate to (% style="color:green" %)**9600**(%%) to access to access serial console for LHT65N. The AT commands are disable by default and need to enter password (default:(% style="color:green" %)**123456**) (%%)to active it. Timeout to input AT Command is 5 min, after 5-minute, user need to input password again. User can use AT+DISAT command to disable AT command before timeout. 1467 1467 ))) ... ... @@ -1770,59 +1770,7 @@ 1770 1770 Finally, unplug the DuPont cable on port4, and then use the DuPont cable to short circuit port3 and port1 to reset the device. 1771 1771 1772 1772 1773 -== 6.6 Using USB-TYPE-C to connect to the computer using the AT command == 1774 1774 1775 -[[image:image-20220623110706-1.png]] 1776 - 1777 - 1778 -[[image:image-20220623112117-4.png||height="459" width="343"]] 1779 - 1780 -((( 1781 -In PC, User needs to set serial tool(such as [[**putty**>>https://www.chiark.greenend.org.uk/~~sgtatham/putty/latest.html]], SecureCRT) baud rate to (% style="color:green" %)**9600** (%%)to access to access serial console for LHT65N. The AT commands are disable by default and need to enter password (default:(% style="color:green" %)**123456**(% style="color:red" %))(%%) to active it. Timeout to input AT Command is 5 min, after 5-minute, user need to input password again. User can use AT+DISAT command to disable AT command before timeout. 1782 -))) 1783 - 1784 - 1785 -Input password and ATZ to activate LHT65N,As shown below: 1786 - 1787 -[[image:image-20220615154519-3.png||height="672" width="807"]] 1788 - 1789 - 1790 -== 6.7 How to use USB-TYPE-C to connect PC to upgrade firmware? == 1791 - 1792 -[[image:image-20220623110706-1.png]] 1793 - 1794 -(% style="color:blue" %)**Step1**(%%): Install TremoProgrammer first. 1795 - 1796 -[[image:image-20220615170542-5.png]] 1797 - 1798 - 1799 -(% style="color:blue" %)**Step2**(%%):wiring method.(% style="display:none" %) 1800 - 1801 -(% _msthash="506146" _msttexthash="52173160" %) 1802 -First connect the four lines; 1803 - 1804 -(% _msthash="506146" _msttexthash="52173160" %) 1805 -[[image:image-20220623113959-5.png||height="528" width="397"]] 1806 - 1807 -(% _msthash="506146" _msttexthash="52173160" %) 1808 -Press and hold the start key to restart and enter (% _mstvisible="1" %)bootlaod(%%) mode. 1809 - 1810 -(% style="color:blue" %)**Step3:**(%%)Select the device port to be connected, baud rate and bin file to be downloaded. 1811 - 1812 -[[image:image-20220615171334-6.png]] 1813 - 1814 - 1815 -Click the (% style="color:blue" %)**start**(%%) button to start the firmware upgrade. 1816 - 1817 - 1818 -When this interface appears, it indicates that the download has been completed. 1819 - 1820 -[[image:image-20220620160723-8.png]] 1821 - 1822 - 1823 -Finally,restart reset device again 1824 - 1825 - 1826 1826 = 7. Order Info = 1827 1827 1828 1828 ... ... @@ -1850,9 +1850,6 @@ 1850 1850 1851 1851 * (% style="color:red" %)**E3**(%%): External Temperature Probe 1852 1852 1853 - 1854 - 1855 - 1856 1856 = 8. Packing Info = 1857 1857 1858 1858 ... ... @@ -1866,16 +1866,10 @@ 1866 1866 * Device Size: 10 x 10 x 3.5 cm 1867 1867 * Device Weight: 120.5g 1868 1868 1869 - 1870 - 1871 - 1872 1872 = 9. Reference material = 1873 1873 1874 1874 * [[Datasheet, photos, decoder, firmware>>https://www.dropbox.com/sh/una19zsni308dme/AACOKp6J2RF5TMlKWT5zU3RTa?dl=0||_msthash="504975" _msttexthash="51420512"]] 1875 1875 1876 - 1877 - 1878 - 1879 1879 = 10. FCC Warning = 1880 1880 1881 1881 This device complies with part 15 of the FCC Rules.Operation is subject to the following two conditions:
- image-20220623110706-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -689.7 KB - Content
- image-20220623110723-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -501.5 KB - Content
- image-20220623111949-3.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -1.6 MB - Content
- image-20220623112117-4.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -513.9 KB - Content
- image-20220623113959-5.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -834.2 KB - Content
- image-20220628150112-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -220.3 KB - Content
- image-20220628150542-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -45.6 KB - Content
- image-20220628150648-3.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -8.3 KB - Content
- image-20220628150714-4.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -7.1 KB - Content
- image-20220628151005-5.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -7.3 KB - Content
- image-20220628151056-6.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -8.2 KB - Content
- image-20220628151143-7.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -7.2 KB - Content
- image-20220703111533-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Edwin - Size
-
... ... @@ -1,1 +1,0 @@ 1 -694.5 KB - Content
- image-20220703111700-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Edwin - Size
-
... ... @@ -1,1 +1,0 @@ 1 -369.4 KB - Content