Changes for page LHT52 - LoRaWAN Temperature & Humidity Sensor User Manual
Last modified by Mengting Qiu on 2024/04/30 14:27
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -16,18 +16,29 @@ 16 16 17 17 == 1.1 What is LHT65N Temperature & Humidity Sensor == 18 18 19 - 19 +((( 20 20 The Dragino LHT65N Temperature & Humidity sensor is a Long Range LoRaWAN Sensor. It includes a (% style="color:#4f81bd" %)**built-in Temperature & Humidity sensor**(%%) and has an external sensor connector to connect to an external (% style="color:#4f81bd" %)**Temperature Sensor**(%%)**.** 21 +))) 21 21 23 +((( 22 22 The LHT65N allows users to send data and reach extremely long ranges. It provides ultra-long range spread spectrum communication and high interference immunity whilst minimizing current consumption. It targets professional wireless sensor network applications such as irrigation systems, smart metering, smart cities, building automation, and so on. 25 +))) 23 23 27 +((( 24 24 LHT65N has a built-in 2400mAh non-chargeable battery which can be used for up to 10 years*. 29 +))) 25 25 31 +((( 26 26 LHT65N is full compatible with LoRaWAN v1.0.3 Class A protocol, it can work with a standard LoRaWAN gateway. 33 +))) 27 27 35 +((( 28 28 LHT65N supports (% style="color:#4f81bd" %)**Datalog Feature**(%%). It will record the data when there is no network coverage and users can retrieve the sensor value later to ensure no miss for every sensor reading. 37 +))) 29 29 39 +((( 30 30 *The actual battery life depends on how often to send data, please see the battery analyzer chapter. 41 +))) 31 31 32 32 == 1.2 Features == 33 33 ... ... @@ -45,36 +45,69 @@ 45 45 46 46 == 1.3 Specification == 47 47 59 +((( 48 48 **Built-in Temperature Sensor:** 61 +))) 49 49 50 -* Resolution: 0.01 °C 51 -* Accuracy Tolerance : Typ ±0.3 °C 52 -* Long Term Drift: < 0.02 °C/yr 53 -* Operating Range: -40 ~~ 85 °C 63 +* ((( 64 +Resolution: 0.01 °C 65 +))) 66 +* ((( 67 +Accuracy Tolerance : Typ ±0.3 °C 68 +))) 69 +* ((( 70 +Long Term Drift: < 0.02 °C/yr 71 +))) 72 +* ((( 73 +Operating Range: -40 ~~ 85 °C 74 +))) 54 54 76 +((( 55 55 **Built-in Humidity Sensor:** 78 +))) 56 56 57 -* Resolution: 0.04 %RH 58 -* Accuracy Tolerance : Typ ±3 %RH 59 -* Long Term Drift: < 0.02 °C/yr 60 -* Operating Range: 0 ~~ 96 %RH 80 +* ((( 81 +Resolution: 0.04 %RH 82 +))) 83 +* ((( 84 +Accuracy Tolerance : Typ ±3 %RH 85 +))) 86 +* ((( 87 +Long Term Drift: < 0.02 °C/yr 88 +))) 89 +* ((( 90 +Operating Range: 0 ~~ 96 %RH 91 +))) 61 61 93 +((( 62 62 **External Temperature Sensor:** 95 +))) 63 63 64 -* Resolution: 0.0625 °C 65 -* ±0.5°C accuracy from -10°C to +85°C 66 -* ±2°C accuracy from -55°C to +125°C 67 -* Operating Range: -55 °C ~~ 125 °C 97 +* ((( 98 +Resolution: 0.0625 °C 99 +))) 100 +* ((( 101 +±0.5°C accuracy from -10°C to +85°C 102 +))) 103 +* ((( 104 +±2°C accuracy from -55°C to +125°C 105 +))) 106 +* ((( 107 +Operating Range: -55 °C ~~ 125 °C 108 +))) 68 68 69 69 = 2. Connect LHT65N to IoT Server = 70 70 71 71 == 2.1 How does LHT65N work? == 72 72 114 +((( 73 73 LHT65N is configured as LoRaWAN OTAA Class A mode by default. Each LHT65N is shipped with a worldwide unique set of OTAA keys. To use LHT65N in a LoRaWAN network, first, we need to put the OTAA keys in LoRaWAN Network Server and then activate LHT65N. 116 +))) 74 74 118 +((( 75 75 If LHT65N is under the coverage of this LoRaWAN network. LHT65N can join the LoRaWAN network automatically. After successfully joining, LHT65N will start to measure environment temperature and humidity, and start to transmit sensor data to the LoRaWAN server. The default period for each uplink is 20 minutes. 120 +))) 76 76 77 - 78 78 == 2.2 How to Activate LHT65N? == 79 79 80 80 The LHT65N has two working modes: ... ... @@ -82,15 +82,17 @@ 82 82 * **Deep Sleep Mode**: LHT65N doesn’t have any LoRaWAN activation. This mode is used for storage and shipping to save battery life. 83 83 * **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, LHT65 will be in STOP mode (IDLE mode), in STOP mode, LHT65N has the same power consumption as Deep Sleep mode. 84 84 129 +((( 85 85 The LHT65N is set in deep sleep mode by default; The ACT button on the front is to switch to different modes: 131 +))) 86 86 87 87 [[image:image-20220515123819-1.png||height="379" width="317"]] 88 88 89 -(% border="1" %) 90 -|**Behavior on ACT**|**Function**|**Action** 91 -|**Pressing ACT between 1s < time < 3s**|Test uplink status|If LHT65N is already Joined to the LoRaWAN network, LHT65N will send an uplink packet, if LHT65N has an external sensor connected, blue led will blink once. If LHT65N has no external sensor, red led will blink once. 92 -|**Pressing ACT for more than 3s**|Active Device|green led will fast blink 5 times, LHT65N will enter working mode and start to JOIN LoRaWAN network. green led will solid turn on for 5 seconds after join in network. 93 -|**Fast press ACT 5 times**|Deactivate Device|red led will solid on for 5 seconds. This means LHT65N is in Deep Sleep Mode. 135 +(% border="1" style="background-color:#ffffcc; color:green; width:739px" %) 136 +|**Behavior on ACT**|**Function**|(% style="width:424px" %)**Action** 137 +|**Pressing ACT between 1s < time < 3s**|Test uplink status|(% style="width:424px" %)If LHT65N is already Joined to the LoRaWAN network, LHT65N will send an uplink packet, if LHT65N has an external sensor connected, blue led will blink once. If LHT65N has no external sensor, red led will blink once. 138 +|**Pressing ACT for more than 3s**|Active Device|(% style="width:424px" %)green led will fast blink 5 times, LHT65N will enter working mode and start to JOIN LoRaWAN network. green led will solid turn on for 5 seconds after join in network. 139 +|**Fast press ACT 5 times**|Deactivate Device|(% style="width:424px" %)red led will solid on for 5 seconds. This means LHT65N is in Deep Sleep Mode. 94 94 95 95 == 2.3 Example to join LoRaWAN network == 96 96 ... ... @@ -117,10 +117,8 @@ 117 117 118 118 [[image:image-20220522232916-3.png]] 119 119 120 - 121 121 [[image:image-20220522232932-4.png]] 122 122 123 - 124 124 [[image:image-20220522232954-5.png]] 125 125 126 126 Note: LHT65N use same payload as LHT65. ... ... @@ -137,28 +137,24 @@ 137 137 138 138 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. 139 139 140 -[[image:image-20220522233300-8.png]] 184 +[[image:image-20220522233300-8.png||height="219" width="722"]] 141 141 142 142 143 143 == 2.4 Uplink Payload == 144 144 145 -The uplink payload includes totally 11 bytes. Uplink packets use FPORT=2 and(% class="mark" %)189 +The uplink payload includes totally 11 bytes. Uplink packets use FPORT=2 and (% style="color:#4f81bd" %)**every 20 minutes**(%%) send one uplink by default. 146 146 147 -After each uplink, the (% class="mark" %)BLUE LED(%%) will blink once.191 +After each uplink, the (% style="color:blue" %)**BLUE LED**(%%) will blink once. 148 148 149 149 150 -(% border="1" style="width:572px" %) 151 -|(% style="width:106px" %)**Size(bytes)**|(% style="width:71px" %)**2**|(% style="width:128px" %)**2**|(% style="width:103px" %)**2**|(% style="width:72px" %)**1**|(% style="width:89px" %)**4** 152 -|(% style="width:106px" %)**Value**|(% style="width:71px" %)[[BAT>>path:#Battery]]|(% style="width:128px" %)((( 153 -[[Built-In>>path:#SHT20_Temperature]] 194 +(% border="1" style="background-color:#ffffcc; color:green; width:605px" %) 195 +|(% style="width:106px" %)**Size(bytes)**|(% style="width:71px" %)**2**|(% style="width:183px" %)**2**|(% style="width:155.172px" %)**2**|(% style="width:49px" %)**1**|(% style="width:92px" %)**4** 196 +|(% style="width:106px" %)**Value**|(% style="width:71px" %)[[BAT>>path:http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.2BAT-BatteryInfo]]|(% style="width:183px" %)((( 197 +[[Built In Temperature>>http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.3Built-inTemperature]] 198 +)))|(% style="width:155.172px" %)((( 199 +[[Built-in Humidity>>path:http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.4Built-inHumidity]] 200 +)))|(% style="width:49px" %)[[Ext>>path:#Extension_Sensor]] #|(% style="width:92px" %)[[Ext value>>path:http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.6Extvalue]] 154 154 155 -[[Temperature>>path:#SHT20_Temperature]] 156 -)))|(% style="width:103px" %)((( 157 -[[Built-in>>path:#SHT20_Humidity]] 158 - 159 -[[Humidity>>path:#SHT20_Humidity]] 160 -)))|(% style="width:72px" %)[[Ext>>path:#Extension_Sensor]] #|(% style="width:89px" %)[[Ext value>>path:#Extension_sensor_value]] 161 - 162 162 * The First 6 bytes: has fix meanings for every LHT65N. 163 163 * The 7th byte (EXT #): defines the external sensor model. 164 164 * 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.) ... ... @@ -171,16 +171,15 @@ 171 171 172 172 [[https:~~/~~/www.dropbox.com/sh/r2i3zlhsyrpavla/AAB1sZw3mdT0K7XjpHCITt13a?dl=0 >>https://www.dropbox.com/sh/r2i3zlhsyrpavla/AAB1sZw3mdT0K7XjpHCITt13a?dl=0]] 173 173 174 -[[image:image-20220522234118-10.png]] 214 +[[image:image-20220522234118-10.png||height="353" width="729"]] 175 175 176 - 177 177 === 2.4.2 BAT-Battery Info === 178 178 179 179 These two bytes of BAT include the battery state and the actually voltage 180 180 181 -(% style="width: 646px" %)182 -|Bit(bit)|(% style="width:2 72px" %)[15:14]|(% style="width:214px" %)[13:0]183 -|Value|(% style="width:2 72px" %)(((220 +(% border="1" style="background-color:#ffffcc; color:green; width:508px" %) 221 +|(% style="width:75px" %)Bit(bit)|(% style="width:268px" %)[15:14]|(% style="width:162px" %)[13:0] 222 +|(% style="width:75px" %)Value|(% style="width:268px" %)((( 184 184 BAT Status 185 185 186 186 00(b): Ultra Low ( BAT <= 2.50v) ... ... @@ -190,9 +190,9 @@ 190 190 10(b): OK (2.55v <= BAT <=2.65v) 191 191 192 192 11(b): Good (BAT >= 2.65v) 193 -)))|(% style="width: 214px" %)Actually BAT voltage232 +)))|(% style="width:162px" %)Actually BAT voltage 194 194 195 -[[image:image-20220522235639-1.png]] 234 +[[image:image-20220522235639-1.png||height="139" width="727"]] 196 196 197 197 Check the battery voltage for LHT65N. 198 198 ... ... @@ -201,7 +201,7 @@ 201 201 202 202 === 2.4.3 Built-in Temperature === 203 203 204 -[[image:image-20220522235639-2.png]] 243 +[[image:image-20220522235639-2.png||height="138" width="722"]] 205 205 206 206 * Temperature: 0x0ABB/100=27.47℃ 207 207 ... ... @@ -211,7 +211,7 @@ 211 211 212 212 === 2.4.4 Built-in Humidity === 213 213 214 -[[image:image-20220522235639-4.png]] 253 +[[image:image-20220522235639-4.png||height="138" width="722"]] 215 215 216 216 * Humidity: 0x025C/10=60.4% 217 217 ... ... @@ -219,10 +219,10 @@ 219 219 220 220 Bytes for External Sensor: 221 221 222 -(% style="width: 624px" %)223 -|(% style="width:139px" %)**EXT # Value**|(% style="width: 484px" %)**External Sensor Type**224 -|(% style="width:139px" %)0x01|(% style="width: 484px" %)Sensor E3, Temperature Sensor225 -|(% style="width:139px" %)0x09|(% style="width: 484px" %)Sensor E3, Temperature Sensor, Datalog Mod261 +(% border="1" style="background-color:#ffffcc; color:green; width:473px" %) 262 +|(% style="width:139px" %)**EXT # Value**|(% style="width:331px" %)**External Sensor Type** 263 +|(% style="width:139px" %)0x01|(% style="width:331px" %)Sensor E3, Temperature Sensor 264 +|(% style="width:139px" %)0x09|(% style="width:331px" %)Sensor E3, Temperature Sensor, Datalog Mod 226 226 227 227 === 2.4.6 Ext value === 228 228 ... ... @@ -238,9 +238,13 @@ 238 238 239 239 * External temperature= (0xF54F-65536)/100=-27.37℃ 240 240 280 +((( 241 241 The last 2 bytes of data are meaningless 282 +))) 242 242 284 +((( 243 243 If the external sensor is 0x01, and there is no external temperature connected. The temperature will be set to 7FFF which is 327.67℃ 286 +))) 244 244 245 245 246 246 ==== 2.4.6.2 Ext~=9, E3 sensor with Unix Timestamp ==== ... ... @@ -247,28 +247,27 @@ 247 247 248 248 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: 249 249 293 +(% border="1" style="background-color:#ffffcc; color:green; width:533px" %) 294 +|(% style="width:96px" %)**Size(bytes)**|(% style="width:71px" %)**2**|(% style="width:69px" %)**2**|(% style="width:88px" %)**2**|(% style="width:69px" %)**1**|(% style="width:75px" %)**4** 295 +|(% style="width:96px" %)**Value**|(% style="width:71px" %)[[External temperature>>http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H4.2SetExternalSensorMode]]|(% style="width:69px" %)((( 296 +[[Built-In>>http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.3Built-inTemperature]] 250 250 251 -(% border="1" style="width:697px" %) 252 -|(% style="width:96px" %)**Size(bytes)**|(% style="width:164px" %)**2**|(% style="width:104px" %)**2**|(% style="width:106px" %)**2**|(% style="width:108px" %)**1**|(% style="width:116px" %)**4** 253 -|(% style="width:96px" %)**Value**|(% style="width:164px" %)[[External temperature>>path:#DS18b20_value]]|(% style="width:104px" %)((( 254 -[[Built-In>>path:#SHT20_Temperature]] 298 +[[Temperature>>http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.3Built-inTemperature]] 299 +)))|(% style="width:88px" %)((( 300 +BAT Status & 255 255 256 -[[Temperature>>path:#SHT20_Temperature]] 257 -)))|(% style="width:106px" %)((( 258 -[[BAT Status &>>path:#BAT_Humidity]] 302 +[[Built-in>>http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.4Built-inHumidity]] 259 259 260 -[[Built-in>>path:#BAT_Humidity]] 304 +[[Humidity>>http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.4Built-inHumidity]] 305 +)))|(% style="width:69px" %)Status & Ext|(% style="width:75px" %)((( 306 +[[Unix>>path:http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H4.1SetTransmitIntervalTime]] 261 261 262 -[[Humidity>>path:#BAT_Humidity]] 263 -)))|(% style="width:108px" %)[[Status & Ext>>path:#Status_EXT]]|(% style="width:116px" %)((( 264 -[[Unix>>path:#Unix_Time_Stamp]] 265 - 266 -[[Time Stamp>>path:#Unix_Time_Stamp]] 308 +[[Time Stamp>>path:http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H4.1SetTransmitIntervalTime]] 267 267 ))) 268 268 269 -* **Battery status & **[[(% class="wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink" %)**Built-in Humidity**>>path:#SHT20_Humidity]]311 +* **Battery status & (% class="wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink" %)Built-in Humidity(%%)** 270 270 271 -(% border="1" style="width:587px" %) 313 +(% border="1" style="background-color:#ffffcc; color:green; width:587px" %) 272 272 |Bit(bit)|(% style="width:280px" %)[15:14]|(% style="width:136px" %)[11:0] 273 273 |Value|(% style="width:280px" %)((( 274 274 BAT Status ... ... @@ -281,7 +281,7 @@ 281 281 282 282 11(b): Good (BAT >= 2.65v) 283 283 )))|(% style="width:136px" %)((( 284 -[[Built-in Humidity>>path: #SHT20_Humidity]]326 +[[Built-in Humidity>>path:http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.4Built-inHumidity]] 285 285 286 286 287 287 ))) ... ... @@ -288,12 +288,10 @@ 288 288 289 289 * **Status & Ext Byte** 290 290 291 -(% border="1" style="width:732px" %) 333 +(% border="1" style="background-color:#ffffcc; color:green; width:732px" %) 292 292 |(% style="width:128px" %)**Bits**|(% style="width:102px" %)**7**|(% style="width:145px" %)**6**|(% style="width:117px" %)**5**|(% style="width:147px" %)**4**|(% style="width:90px" %)**[3:0]** 293 293 |(% style="width:128px" %)**Status & Ext**|(% style="width:102px" %)Not Defined|(% style="width:145px" %)Poll Message Flag|(% style="width:117px" %)Sync time OK|(% style="width:147px" %)Unix Time Request|(% style="width:90px" %)((( 294 -Ext: 295 - 296 -0b(1001) 336 +Ext:0b(1001) 297 297 ))) 298 298 299 299 * Poll Message Flag: 1: This message is a poll message reply, 0: means this is a normal uplink. ... ... @@ -304,12 +304,17 @@ 304 304 305 305 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: 306 306 347 +((( 307 307 **Step 1**: Be sure that your device is programmed and properly connected to the LoRaWAN network. 349 +))) 308 308 351 +((( 309 309 **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. 353 +))) 310 310 311 - 355 +((( 312 312 Add Datacake: 357 +))) 313 313 314 314 [[image:image-20220523000825-7.png||height="262" width="583"]] 315 315 ... ... @@ -318,16 +318,12 @@ 318 318 319 319 [[image:image-20220523000825-8.png||height="453" width="406"]] 320 320 321 - 322 322 In Datacake console ([[https:~~/~~/datacake.co/>>url:https://datacake.co/]]) , add LHT65 device. 323 323 324 324 [[image:image-20220523000825-9.png||height="366" width="392"]] 325 325 326 - 327 - 328 328 [[image:image-20220523000825-10.png||height="432" width="762"]] 329 329 330 - 331 331 == 2.6 Datalog Feature == 332 332 333 333 This feature is always enabled. When user wants to retrieve the sensor value, he can send a poll command from the IoT platform to ask LHT65N to send the value in the required time slot. ... ... @@ -339,9 +339,13 @@ 339 339 [[image:image-20220523001219-11.png||height="97" width="627"]] 340 340 341 341 383 +((( 342 342 User can get this time from link: [[https:~~/~~/www.epochconverter.com/>>url:https://www.epochconverter.com/]] : 385 +))) 343 343 387 +((( 344 344 Below is the converter example 389 +))) 345 345 346 346 [[image:image-20220523001219-12.png||height="302" width="730"]] 347 347