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

From version 13.1
edited by Edwin Chen
on 2023/04/09 08:49
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  
... ... @@ -330,18 +330,16 @@
330 330  
331 331  == 2.9 installation ==
332 332  
333 -~1. Don't install LHT65N-PIR outdoor or place where will get wet
334 334  
335 -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"]]
336 336  
337 337  
338 -
339 339  = 3. Sensors and Accessories =
340 340  
341 341  == 3.1 E2 Extension Cable ==
342 342  
343 343  
344 -[[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"]]
345 345  
346 346  
347 347  **1m long breakout cable for LHT65N-E5. Features:**
... ... @@ -353,7 +353,7 @@
353 353  Update firmware for LHT65N-PIR
354 354  )))
355 355  
356 -[[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"]]
357 357  
358 358  
359 359  = 4. Configure LHT65N-PIR via AT command or LoRaWAN downlink =
... ... @@ -467,6 +467,8 @@
467 467  
468 468  * There is no downlink command to set to Sleep mode.
469 469  
464 +
465 +
470 470  = 5. Battery & How to replace =
471 471  
472 472  == 5.1 Battery Type ==
image-20230409080812-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Edwin
Size
... ... @@ -1,1 +1,0 @@
1 -249.6 KB
Content