Changes for page LHT52 - LoRaWAN Temperature & Humidity Sensor User Manual
Last modified by Mengting Qiu on 2024/04/30 14:27
Change comment:
Uploaded new attachment "image-20220523000825-7.png", version {1}
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 18 added, 0 removed)
- image-20220516231650-1.png
- image-20220522232442-1.png
- image-20220522232812-2.png
- image-20220522232916-3.png
- image-20220522232932-4.png
- image-20220522232954-5.png
- image-20220522233026-6.png
- image-20220522233118-7.png
- image-20220522233300-8.png
- image-20220522234038-9.png
- image-20220522234118-10.png
- image-20220522235639-1.png
- image-20220522235639-2.png
- image-20220522235639-3.png
- image-20220522235639-4.png
- image-20220522235639-5.png
- image-20220522235639-6.png
- image-20220523000825-7.png
Details
- Page properties
-
- Content
-
... ... @@ -57,7 +57,6 @@ 57 57 * ±2°C accuracy from -55°C to +125°C 58 58 * Operating Range: -55 °C ~~ 125 °C 59 59 60 - 61 61 = Connect LHT65N to IoT Server = 62 62 63 63 == How does LHT65N work? == ... ... @@ -72,9 +72,8 @@ 72 72 The LHT65N has two working modes: 73 73 74 74 * **Deep Sleep Mode**: LHT65N doesn’t have any LoRaWAN activation. This mode is used for storage and shipping to save battery life. 75 -* **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. 74 +* **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. 76 76 77 - 78 78 The LHT65N is set in deep sleep mode by default; The ACT button on the front is to switch to different modes: 79 79 80 80 [[image:image-20220515123819-1.png||height="379" width="317"]] ... ... @@ -84,8 +84,247 @@ 84 84 |**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. 85 85 |**Fast press ACT 5 times**|Deactivate Device|red led will solid on for 5 seconds. This means LHT65N is in Deep Sleep Mode. 86 86 85 +== Example to join LoRaWAN network == 87 87 87 +(% class="wikigeneratedid" %) 88 +This section shows an example of how to join the TTN V3 LoRaWAN IoT server. Use with other LoRaWAN IoT servers is of a similar procedure. 88 88 90 +(% class="wikigeneratedid" %) 91 +[[image:image-20220522232442-1.png||height="387" width="648"]] 92 + 93 +Assume the LPS8N is already set to connect to [[TTN V3 network>>url:https://eu1.cloud.thethings.network]], So it provides network coverage for LHT65N. Next we need to add the LHT65N device in TTN V3: 94 + 95 + 96 +=== **Step 1**: Create Device n TTN === 97 + 98 +Create a device in TTN V3 with the OTAA keys from LHT65N. 99 + 100 +Each LHT65N is shipped with a sticker with its device EUI, APP Key and APP EUI as below: 101 + 102 +[[image:image-20220522232812-2.png||height="219" width="279"]] 103 + 104 +User can enter these keys in the LoRaWAN Server portal. Below is TTN V3 screenshot: 105 + 106 +Add APP EUI in the application. 107 + 108 +[[image:image-20220522232916-3.png]] 109 + 110 + 111 +[[image:image-20220522232932-4.png]] 112 + 113 + 114 +[[image:image-20220522232954-5.png]] 115 + 116 +Note: LHT65N use same payload as LHT65. 117 + 118 +[[image:image-20220522233026-6.png]] 119 + 120 + 121 +Input APP EUI, APP KEY and DEV EUI: 122 + 123 +[[image:image-20220522233118-7.png]] 124 + 125 + 126 +=== Step 2: Activate LHT65N by pressing the ACT button for more than 5 seconds. === 127 + 128 +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. 129 + 130 +[[image:image-20220522233300-8.png]] 131 + 132 + 133 +== Uplink Payload: == 134 + 135 +The uplink payload includes totally 11 bytes. Uplink packets use FPORT=2 and(% class="mark" %) every 20 minutes(%%) send one uplink by default. 136 + 137 +After each uplink, the (% class="mark" %)BLUE LED(%%) will blink once. 138 + 139 + 140 +(% style="width:572px" %) 141 +|(% 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** 142 +|(% style="width:106px" %)**Value**|(% style="width:71px" %)[[BAT>>path:#Battery]]|(% style="width:128px" %)((( 143 +[[Built-In>>path:#SHT20_Temperature]] 144 + 145 +[[Temperature>>path:#SHT20_Temperature]] 146 +)))|(% style="width:103px" %)((( 147 +[[Built-in>>path:#SHT20_Humidity]] 148 + 149 +[[Humidity>>path:#SHT20_Humidity]] 150 +)))|(% style="width:72px" %)[[Ext>>path:#Extension_Sensor]] #|(% style="width:89px" %)[[Ext value>>path:#Extension_sensor_value]] 151 + 152 +* The First 6 bytes: has fix meanings for every LHT65N. 153 +* The 7th byte (EXT #): defines the external sensor model. 154 +* 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.) 155 + 156 +=== Decoder in TTN V3 === 157 + 158 +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. 159 + 160 +Below is the position to put the decoder and LHT65N decoder can be download from here: 161 + 162 +[[https:~~/~~/www.dropbox.com/sh/r2i3zlhsyrpavla/AAB1sZw3mdT0K7XjpHCITt13a?dl=0 >>https://www.dropbox.com/sh/r2i3zlhsyrpavla/AAB1sZw3mdT0K7XjpHCITt13a?dl=0]] 163 + 164 +[[image:image-20220522234118-10.png]] 165 + 166 + 167 +=== BAT-Battery Info === 168 + 169 +These two bytes of BAT include the battery state and the actually voltage 170 + 171 +(% style="width:646px" %) 172 +|Bit(bit)|(% style="width:272px" %)[15:14]|(% style="width:214px" %)[13:0] 173 +|Value|(% style="width:272px" %)((( 174 +BAT Status 175 + 176 +00(b): Ultra Low ( BAT <= 2.50v) 177 + 178 +01(b): Low (2.50v <=BAT <= 2.55v) 179 + 180 +10(b): OK (2.55v <= BAT <=2.65v) 181 + 182 +11(b): Good (BAT >= 2.65v) 183 +)))|(% style="width:214px" %)Actually BAT voltage 184 + 185 +[[image:image-20220522235639-1.png]] 186 + 187 +Check the battery voltage for LHT65N. 188 + 189 +* BAT status=(0Xcba4>>14)&0xFF=11(B),very good 190 +* Battery Voltage =0xCBF6&0x3FFF=0x0BA4=2980mV 191 + 192 +=== Built-in Temperature === 193 + 194 +[[image:image-20220522235639-2.png]] 195 + 196 +* Temperature: 0x0ABB/100=27.47℃ 197 + 198 + 199 +[[image:image-20220522235639-3.png]] 200 + 201 +* Temperature: (0xF5C6-65536)/100=-26.18℃ 202 + 203 + 204 +=== Built-in Humidity === 205 + 206 +[[image:image-20220522235639-4.png]] 207 + 208 +* Humidity: 0x025C/10=60.4% 209 + 210 + 211 +=== Ext # === 212 + 213 +Bytes for External Sensor: 214 + 215 +(% style="width:624px" %) 216 +|(% style="width:139px" %)**EXT # Value**|(% style="width:484px" %)**External Sensor Type** 217 +|(% style="width:139px" %)0x01|(% style="width:484px" %)Sensor E3, Temperature Sensor 218 +|(% style="width:139px" %)0x09|(% style="width:484px" %)Sensor E3, Temperature Sensor, Datalog Mod 219 + 220 + 221 +=== Ext value === 222 + 223 +==== Ext~=1, E3 Temperature Sensor ==== 224 + 225 +[[image:image-20220522235639-5.png]] 226 + 227 + 228 +* DS18B20 temp=0x0ADD/100=27.81℃ 229 + 230 +The last 2 bytes of data are meaningless 231 + 232 + 233 + 234 +[[image:image-20220522235639-6.png]] 235 + 236 +* External temperature= (0xF54F-65536)/100=-27.37℃ 237 + 238 +The last 2 bytes of data are meaningless 239 + 240 + 241 +If the external sensor is 0x01, and there is no external temperature connected. The temperature will be set to 7FFF which is 327.67℃ 242 + 243 + 244 +==== Ext~=9, E3 sensor with Unix Time stamp ==== 245 + 246 +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: 247 + 248 + 249 +(% style="width:697px" %) 250 +|(% 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** 251 +|(% style="width:96px" %)**Value**|(% style="width:164px" %)[[External temperature>>path:#DS18b20_value]]|(% style="width:104px" %)((( 252 +[[Built-In>>path:#SHT20_Temperature]] 253 + 254 +[[Temperature>>path:#SHT20_Temperature]] 255 +)))|(% style="width:106px" %)((( 256 +[[BAT Status &>>path:#BAT_Humidity]] 257 + 258 +[[Built-in>>path:#BAT_Humidity]] 259 + 260 +[[Humidity>>path:#BAT_Humidity]] 261 +)))|(% style="width:108px" %)[[Status & Ext>>path:#Status_EXT]]|(% style="width:116px" %)((( 262 +[[Unix>>path:#Unix_Time_Stamp]] 263 + 264 +[[Time Stamp>>path:#Unix_Time_Stamp]] 265 +))) 266 + 267 +* **Battery status & **[[**Built-in Humidity**>>path:#SHT20_Humidity]] 268 + 269 +(% style="width:587px" %) 270 +|Bit(bit)|(% style="width:280px" %)[15:14]|(% style="width:136px" %)[11:0] 271 +|Value|(% style="width:280px" %)((( 272 +BAT Status 273 + 274 +00(b): Ultra Low ( BAT <= 2.50v) 275 + 276 +01(b): Low (2.50v <=BAT <= 2.55v) 277 + 278 +10(b): OK (2.55v <= BAT <=2.65v) 279 + 280 +11(b): Good (BAT >= 2.65v) 281 +)))|(% style="width:136px" %)((( 282 +[[Built-in Humidity>>path:#SHT20_Humidity]] 283 + 284 + 285 +))) 286 + 287 + 288 +* **Status & Ext Byte** 289 + 290 +(% style="width:732px" %) 291 +|(% 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]** 292 +|(% 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" %)((( 293 +Ext: 294 + 295 +0b(1001) 296 +))) 297 + 298 +* Poll Message Flag: 1: This message is a poll message reply, 0: means this is a normal uplink. 299 +* 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. 300 +* 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) 301 + 302 + 303 + 304 +== LED Indicator == 305 + 306 +The LHT65N has a triple color LED which for easy shows different stage. 307 + 308 +While pressing ACT button, the LED will work as per LED status with ACT button. 309 + 310 +In a normal working state: 311 + 312 +* For each uplink, the BLUE LED or RED LED will blink once. 313 +* BLUE LED when an external sensor is connected 314 +* RED LED when an external sensor is not connected 315 +* For each success downlink, the PURPLE LED will blink once 316 + 317 +---- 318 + 319 +== Installation == 320 + 321 +[[image:image-20220516231650-1.png||height="632" width="620"]] 322 + 323 + 324 + 325 + 89 89 = Sensors & Accessories = 90 90 91 91 == E3 Temperature Probe ==
- image-20220516231650-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Edwin - Size
-
... ... @@ -1,0 +1,1 @@ 1 +462.8 KB - Content
- image-20220522232442-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Edwin - Size
-
... ... @@ -1,0 +1,1 @@ 1 +216.4 KB - Content
- image-20220522232812-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Edwin - Size
-
... ... @@ -1,0 +1,1 @@ 1 +73.4 KB - Content
- image-20220522232916-3.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Edwin - Size
-
... ... @@ -1,0 +1,1 @@ 1 +69.4 KB - Content
- image-20220522232932-4.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Edwin - Size
-
... ... @@ -1,0 +1,1 @@ 1 +44.5 KB - Content
- image-20220522232954-5.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Edwin - Size
-
... ... @@ -1,0 +1,1 @@ 1 +53.7 KB - Content
- image-20220522233026-6.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Edwin - Size
-
... ... @@ -1,0 +1,1 @@ 1 +48.0 KB - Content
- image-20220522233118-7.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Edwin - Size
-
... ... @@ -1,0 +1,1 @@ 1 +57.6 KB - Content
- image-20220522233300-8.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Edwin - Size
-
... ... @@ -1,0 +1,1 @@ 1 +53.9 KB - Content
- image-20220522234038-9.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Edwin - Size
-
... ... @@ -1,0 +1,1 @@ 1 +38.0 KB - Content
- image-20220522234118-10.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Edwin - Size
-
... ... @@ -1,0 +1,1 @@ 1 +66.7 KB - Content
- image-20220522235639-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Edwin - Size
-
... ... @@ -1,0 +1,1 @@ 1 +43.4 KB - Content
- image-20220522235639-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Edwin - Size
-
... ... @@ -1,0 +1,1 @@ 1 +43.4 KB - Content
- image-20220522235639-3.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Edwin - Size
-
... ... @@ -1,0 +1,1 @@ 1 +3.7 KB - Content
- image-20220522235639-4.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Edwin - Size
-
... ... @@ -1,0 +1,1 @@ 1 +43.4 KB - Content
- image-20220522235639-5.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Edwin - Size
-
... ... @@ -1,0 +1,1 @@ 1 +11.3 KB - Content
- image-20220522235639-6.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Edwin - Size
-
... ... @@ -1,0 +1,1 @@ 1 +3.7 KB - Content
- image-20220523000825-7.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Edwin - Size
-
... ... @@ -1,0 +1,1 @@ 1 +126.2 KB - Content