<
From version < 7.1 >
edited by Edwin Chen
on 2023/04/09 08:10
To version < 11.1 >
edited by Edwin Chen
on 2023/04/09 08:40
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -76,6 +76,7 @@
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 +*
79 79  
80 80  = 2. Connect LHT65N-PIR to IoT Server =
81 81  
... ... @@ -110,7 +110,7 @@
110 110  
111 111  
112 112  (% class="wikigeneratedid" %)
113 -[[image:image-20221224101636-1.png||height="435" width="715"]]
114 +[[image:image-20230409080812-1.png||height="487" width="785"]]
114 114  
115 115  
116 116  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:
... ... @@ -130,7 +130,7 @@
130 130  Add APP EUI in the application.
131 131  
132 132  
133 -[[image:image-20220522232916-3.png||_mstalt="430495"]]
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"]]
134 134  
135 135  
136 136  [[image:image-20220522232932-4.png||_mstalt="430157"]]
... ... @@ -194,9 +194,9 @@
194 194  )))
195 195  
196 196  * The First 6 bytes: has fix meanings for every LHT65N-PIR.
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.
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.
200 200  
201 201  === 2.4.1 Decoder in TTN V3 ===
202 202  
... ... @@ -206,7 +206,7 @@
206 206  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]]
207 207  
208 208  
209 -[[image:image-20220522234118-10.png||_mstalt="451464" height="353" width="729"]]
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"]]
210 210  
211 211  
212 212  === 2.4.2 BAT-Battery Info ===
... ... @@ -214,10 +214,10 @@
214 214  
215 215  These two bytes of BAT include the battery state and the actually voltage
216 216  
217 -[[image:image-20220523152839-18.png||_mstalt="457613"]]
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"]]
218 218  
219 219  
220 -[[image:image-20220522235639-1.png||_mstalt="431392" height="139" width="727"]]
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"]]
221 221  
222 222  
223 223  Check the battery voltage for LHT65N-PIR.
... ... @@ -225,70 +225,75 @@
225 225  * BAT status=(0xcba4>>14)&0xFF=11(B),very good
226 226  * Battery Voltage =0xCBF6&0x3FFF=0x0BA4=2980mV
227 227  
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"]]
231 231  
232 -[[image:image-20220522235639-2.png||_mstalt="431756" height="138" width="722"]]
233 -
234 234  * Temperature:  0x0ABB/100=27.47℃
235 235  
236 -[[image:image-20220522235639-3.png||_mstalt="432120"]]
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"]]
237 237  
238 238  * Temperature:  (0xF5C6-65536)/100=-26.18℃
239 239  
239 +
240 240  === 2.4.4 Built-in Humidity ===
241 241  
242 +[[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 -
245 245  * Humidity:    0x025C/10=60.4%
246 246  
246 +
247 247  === 2.4.5 Ext value ===
248 248  
249 -==== 2.4.5.1 Ext~=0x05, Illuminance Sensor ====
249 +==== 2.4.5.1 Ext~=0x0A, PIR Sensor ====
250 250  
251 -
252 252  [[image:image-20221224161634-2.png||height="138" width="851"]]
253 253  
254 254  
255 -* Illumination=0x005E=94 lux
254 +==== 2.4.5.2 Ext Value ====
256 256  
257 -The last 2 bytes of data are meaningless
256 +There are 4 bytes in Ext Value field.
258 258  
259 -[[image:image-20221224161725-3.png]]
258 +Bit0 of byte 8th shows if this uplink is generate by PIR activity.
260 260  
261 -* When the sensor is not connected or not connected properly, will show "NULL"
260 +(% border="1" cellspacing="4" style="background-color:#ffffcc; color:green; width:490px" %)
261 +|=(% style="width: 147px;" %)(((
262 +**The 8^^th^^ bytes**
263 +)))|=(% style="width: 108px;" %)(((
264 +**Bit 1~~7**
265 +)))|=(% style="width: 228px;" %)(((
266 +**Bit 0**
267 +)))
268 +|(% style="width:147px" %)(((
269 +**Value**
270 +)))|(% style="width:108px" %)(((
271 +Reserve
272 +)))|(% style="width:228px" %)(((
273 +(((
274 +0: Normal Uplink
262 262  
263 - The last 2 bytes of data are meaningless
276 +1: Uplink by activity detected
277 +)))
278 +)))
264 264  
280 +**Note**: Uplink by activity is disable by default.
265 265  
266 -== 2.5 Show data on Datacake ==
267 267  
283 +The 9^^th^^ ~~ 11^^st^^  byte: Movement Detect Count.
268 268  
269 -(((
270 -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 -)))
285 +0x00 E5 09 : Total detect 58633 activity since end node start.
272 272  
273 -(((
274 -
275 -)))
276 276  
277 -(((
288 +== 2.5 Show data on Datacake ==
289 +
290 +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:
291 +
278 278  (% style="color:blue" %)**Step 1**(%%): Be sure that your device is programmed and properly connected to the LoRaWAN network.
279 -)))
280 280  
281 -(((
282 282  (% 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 -)))
284 284  
285 -
286 -
287 -(((
288 288  Add Datacake:
289 -)))
290 290  
291 -
292 292  [[image:image-20220523000825-7.png||_mstalt="429884" height="262" width="583"]]
293 293  
294 294  
... ... @@ -323,7 +323,6 @@
323 323  * RED LED when external sensor is not connected
324 324  * For each success downlink, the PURPLE LED will blink once
325 325  
326 -
327 327  == 2.9 installation ==
328 328  
329 329  
... ... @@ -461,8 +461,6 @@
461 461  
462 462  * There is no downlink command to set to Sleep mode.
463 463  
464 -
465 -
466 466  = 5. Battery & How to replace =
467 467  
468 468  == 5.1 Battery Type ==
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0