Last modified by Xiaoling on 2025/06/10 09:17

From version 14.1
edited by Edwin Chen
on 2023/04/09 08:54
Change comment: There is no comment for this version
To version 6.1
edited by Edwin Chen
on 2023/04/09 00:33
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -76,7 +76,6 @@
76 76  * (% class="mark" %)Resolution: 1 lx
77 77  * (% class="mark" %)Range: 0-65535 lx
78 78  * (% class="mark" %)Operating Range: -40 °C ~~ 85 °C
79 -*
80 80  
81 81  = 2. Connect LHT65N-PIR to IoT Server =
82 82  
... ... @@ -111,7 +111,7 @@
111 111  
112 112  
113 113  (% class="wikigeneratedid" %)
114 -[[image:image-20230409080812-1.png||height="487" width="785"]]
113 +[[image:image-20221224101636-1.png||height="435" width="715"]]
115 115  
116 116  
117 117  Assume the LPS8v2 is already set to connect to [[TTN V3 network>>url:https://eu1.cloud.thethings.network||_mstvisible="2"]], So it provides network coverage for LHT65N-PIR. Next we need to add the LHT65N-PIR device in TTN V3:
... ... @@ -131,7 +131,7 @@
131 131  Add APP EUI in the application.
132 132  
133 133  
134 -[[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220522232916-3.png||_mstalt="430495"]]
133 +[[image:image-20220522232916-3.png||_mstalt="430495"]]
135 135  
136 136  
137 137  [[image:image-20220522232932-4.png||_mstalt="430157"]]
... ... @@ -195,9 +195,9 @@
195 195  )))
196 196  
197 197  * The First 6 bytes: has fix meanings for every LHT65N-PIR.
198 -* The 7th byte (EXT #): defines the external sensor model. It can be 0x0A for LHT65N-PIR
199 -* The 8^^th^^ byte: Alarm Bit (if this uplink is from periodically or movement)
200 -* The 9^^th^^ ~~ 11^^st^^  byte: Movement Detect Count.
197 +* The 7th byte (EXT #): defines the external sensor model. It can be (% class="mark" %)0x05 or 0x09(%%) for LHT65N-PIR
198 +* The 7^^th^^ byte: Alarm Bit (if this uplink is from periodically or movement)
199 +* The 8^^th^^ ~~ 11st  byte: Movement Detect Count.
201 201  
202 202  === 2.4.1 Decoder in TTN V3 ===
203 203  
... ... @@ -207,7 +207,7 @@
207 207  Below is the position to put the decoder and LHT65N-PIR decoder can be download from here: [[https:~~/~~/github.com/dragino/dragino-end-node-decoder>>https://github.com/dragino/dragino-end-node-decoder]]
208 208  
209 209  
210 -[[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220522234118-10.png||_mstalt="451464" height="353" width="729"]]
209 +[[image:image-20220522234118-10.png||_mstalt="451464" height="353" width="729"]]
211 211  
212 212  
213 213  === 2.4.2 BAT-Battery Info ===
... ... @@ -215,10 +215,10 @@
215 215  
216 216  These two bytes of BAT include the battery state and the actually voltage
217 217  
218 -[[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220523152839-18.png||_mstalt="457613"]]
217 +[[image:image-20220523152839-18.png||_mstalt="457613"]]
219 219  
220 220  
221 -[[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220522235639-1.png||_mstalt="431392" height="139" width="727"]]
220 +[[image:image-20220522235639-1.png||_mstalt="431392" height="139" width="727"]]
222 222  
223 223  
224 224  Check the battery voltage for LHT65N-PIR.
... ... @@ -226,90 +226,87 @@
226 226  * BAT status=(0xcba4>>14)&0xFF=11(B),very good
227 227  * Battery Voltage =0xCBF6&0x3FFF=0x0BA4=2980mV
228 228  
228 +
229 229  === 2.4.3 Built-in Temperature ===
230 230  
231 -[[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220522235639-2.png||_mstalt="431756" height="138" width="722"]]
232 232  
232 +[[image:image-20220522235639-2.png||_mstalt="431756" height="138" width="722"]]
233 +
233 233  * Temperature:  0x0ABB/100=27.47℃
234 234  
235 -[[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220522235639-3.png||_mstalt="432120"]]
236 +[[image:image-20220522235639-3.png||_mstalt="432120"]]
236 236  
237 237  * Temperature:  (0xF5C6-65536)/100=-26.18℃
238 238  
239 239  === 2.4.4 Built-in Humidity ===
240 240  
241 -[[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220522235639-4.png||_mstalt="432484" height="138" width="722"]]
242 242  
243 +[[image:image-20220522235639-4.png||_mstalt="432484" height="138" width="722"]]
244 +
243 243  * Humidity:    0x025C/10=60.4%
244 244  
245 245  === 2.4.5 Ext value ===
246 246  
247 -==== 2.4.5.1 Ext~=0x0A, PIR Sensor ====
249 +==== 2.4.5.1 Ext~=0x05, Illuminance Sensor ====
248 248  
251 +
249 249  [[image:image-20221224161634-2.png||height="138" width="851"]]
250 250  
251 251  
252 -==== 2.4.5.2 Ext Value ====
255 +* Illumination=0x005E=94 lux
253 253  
254 -There are 4 bytes in Ext Value field.
257 +The last 2 bytes of data are meaningless
255 255  
256 -Bit0 of byte 8th shows if this uplink is generate by PIR activity.
259 +[[image:image-20221224161725-3.png]]
257 257  
258 -(% border="1" cellspacing="4" style="background-color:#ffffcc; color:green; width:490px" %)
259 -|=(% style="width: 147px;" %)(((
260 -**The 8^^th^^ byte**
261 -)))|=(% style="width: 108px;" %)(((
262 -**Bit 1~~7**
263 -)))|=(% style="width: 228px;" %)(((
264 -**Bit 0**
265 -)))
266 -|(% style="width:147px" %)(((
267 -**Value**
268 -)))|(% style="width:108px" %)(((
269 -Reserve
270 -)))|(% style="width:228px" %)(((
271 -(((
272 -0: Normal Uplink
261 +* When the sensor is not connected or not connected properly, will show "NULL"
273 273  
274 -1: Uplink by activity detected
275 -)))
276 -)))
263 + The last 2 bytes of data are meaningless
277 277  
278 -**Note**: Uplink by activity is disable by default.
279 279  
280 -
281 -The 9^^th^^ ~~ 11^^st^^  byte: Movement Detect Count.
282 -
283 -0x00 E5 09 : Total detect 58633 activity since end node start.
284 -
285 -
286 286  == 2.5 Show data on Datacake ==
287 287  
268 +
269 +(((
288 288  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:
271 +)))
289 289  
273 +(((
274 +
275 +)))
276 +
277 +(((
290 290  (% style="color:blue" %)**Step 1**(%%): Be sure that your device is programmed and properly connected to the LoRaWAN network.
279 +)))
291 291  
281 +(((
292 292  (% 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.
283 +)))
293 293  
285 +
286 +
287 +(((
294 294  Add Datacake:
289 +)))
295 295  
296 -[[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220523000825-7.png||_mstalt="429884" height="262" width="583"]]
297 297  
292 +[[image:image-20220523000825-7.png||_mstalt="429884" height="262" width="583"]]
298 298  
299 299  
295 +
300 300  Select default key as Access Key:
301 301  
302 302  
303 -[[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220523000825-8.png||_mstalt="430248" height="453" width="406"]]
299 +[[image:image-20220523000825-8.png||_mstalt="430248" height="453" width="406"]]
304 304  
305 305  
306 306  In Datacake console ([[https:~~/~~/datacake.co/>>url:https://datacake.co/]]) , add LHT65 device.
307 307  
308 308  
309 -[[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20221224161935-5.png||height="523" width="409"]]
305 +[[image:image-20221224161935-5.png||height="523" width="409"]]
310 310  
311 311  
312 -[[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20221224161957-6.png||height="306" width="852"]]
308 +[[image:image-20221224161957-6.png||height="306" width="852"]]
313 313  
314 314  
315 315  
... ... @@ -327,20 +327,19 @@
327 327  * RED LED when external sensor is not connected
328 328  * For each success downlink, the PURPLE LED will blink once
329 329  
326 +
330 330  == 2.9 installation ==
331 331  
332 -~1. Don't install LHT65N-PIR outdoor or place where will get wet
333 333  
334 -2. Towards the PIR probe to the place where need to monitor activity.
330 +[[image:image-20220516231650-1.png||_mstalt="428597" height="436" width="428"]]
335 335  
336 336  
337 -
338 338  = 3. Sensors and Accessories =
339 339  
340 340  == 3.1 E2 Extension Cable ==
341 341  
342 342  
343 -[[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220619092222-1.png||_mstalt="429533" height="182" width="188"]][[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220619092313-2.png||_mstalt="430222" height="182" width="173"]]
338 +[[image:image-20220619092222-1.png||_mstalt="429533" height="182" width="188"]][[image:image-20220619092313-2.png||_mstalt="430222" height="182" width="173"]]
344 344  
345 345  
346 346  **1m long breakout cable for LHT65N-E5. Features:**
... ... @@ -352,7 +352,7 @@
352 352  Update firmware for LHT65N-PIR
353 353  )))
354 354  
355 -[[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220619092421-3.png||_mstalt="430547" height="371" width="529"]]
350 +[[image:image-20220619092421-3.png||_mstalt="430547" height="371" width="529"]]
356 356  
357 357  
358 358  = 4. Configure LHT65N-PIR via AT command or LoRaWAN downlink =
... ... @@ -468,13 +468,47 @@
468 468  
469 469  
470 470  
471 -= 5. Battery & Power Consumption =
466 += 5. Battery & How to replace =
472 472  
473 -LHT65N-PIR use **CR17450** battery pack. See below link for detail information about the battery info and how to replace.
468 +== 5.1 Battery Type ==
474 474  
475 -[[**Battery Info & Power Consumption Analyze**>>url:http://wiki.dragino.com/xwiki/bin/view/Main/How%20to%20calculate%20the%20battery%20life%20of%20Dragino%20sensors%3F/]] .
476 476  
471 +(((
472 +LHT65N-E5 is equipped with a 2400mAH Li-MnO2 (CR17505) battery . The battery is an un-rechargeable battery with low discharge rate targeting for up to 8~~10 years use. This type of battery is commonly used in IoT devices for long-term running, such as water meters.
473 +)))
477 477  
475 +(((
476 +The discharge curve is not linear so can't simply use percentage to show the battery level. Below is the battery performance.
477 +
478 +
479 +[[image:image-20220515075034-1.png||_mstalt="428961" height="208" width="644"]]
480 +)))
481 +
482 +The minimum Working Voltage for the LHT65N-E5 is ~~ 2.5v. When battery is lower than 2.6v, it is time to change the battery.
483 +
484 +
485 +== 5.2 Replace Battery ==
486 +
487 +
488 +LHT65N-E5 has two screws on the back, Unscrew them, and changing the battery inside is ok. The battery is a general CR17450 battery (3.0v). Any brand should be ok.
489 +
490 +[[image:image-20220515075440-2.png||_mstalt="429546" height="338" width="272"]][[image:image-20220515075625-3.png||_mstalt="431574" height="193" width="257"]]
491 +
492 +
493 +== 5.3 Battery Life Analyze ==
494 +
495 +
496 +(((
497 +Dragino battery-powered products are all run in Low Power mode. User can check the guideline from this link to calculate the estimated battery life:
498 +[[https:~~/~~/www.dragino.com/downloads/downloads/LoRa_End_Node/Battery_Analyze/DRAGINO_Battery_Life_Guide.pdf>>https://www.dragino.com/downloads/downloads/LoRa_End_Node/Battery_Analyze/DRAGINO_Battery_Life_Guide.pdf]]
499 +)))
500 +
501 +
502 +(((
503 +A full detail test report for LHT65N-E5 on different frequency can be found at : [[https:~~/~~/www.dropbox.com/sh/r2i3zlhsyrpavla/AAB1sZw3mdT0K7XjpHCITt13a?dl=0>>https://www.dropbox.com/sh/r2i3zlhsyrpavla/AAB1sZw3mdT0K7XjpHCITt13a?dl=0]]
504 +)))
505 +
506 +
478 478  = 6. FAQ =
479 479  
480 480  == 6.1 How to use AT Command? ==
image-20230409080812-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Edwin
Size
... ... @@ -1,1 +1,0 @@
1 -249.6 KB
Content