Changes for page LHT65N-PIR Temperature/Humidity/PIR Motion Sensor User Manual
Last modified by Xiaoling on 2025/06/10 09:17
From version 11.1
edited by Edwin Chen
on 2023/04/09 08:40
on 2023/04/09 08:40
Change comment:
There is no comment for this version
To version 7.1
edited by Edwin Chen
on 2023/04/09 08:10
on 2023/04/09 08:10
Change comment:
Uploaded new attachment "image-20230409080812-1.png", version {1}
Summary
-
Page properties (1 modified, 0 added, 0 removed)
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-202 30409080812-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 0x0 Afor LHT65N-PIR199 -* 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,75 +226,70 @@ 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 - 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"]] 243 243 243 +[[image:image-20220522235639-4.png||_mstalt="432484" height="138" width="722"]] 244 + 244 244 * Humidity: 0x025C/10=60.4% 245 245 246 - 247 247 === 2.4.5 Ext value === 248 248 249 -==== 2.4.5.1 Ext~=0x0 A,PIRSensor ====249 +==== 2.4.5.1 Ext~=0x05, Illuminance Sensor ==== 250 250 251 + 251 251 [[image:image-20221224161634-2.png||height="138" width="851"]] 252 252 253 253 254 -== == 2.4.5.2Ext Value ====255 +* Illumination=0x005E=94 lux 255 255 256 -The reare4bytesinExtValuefield.257 +The last 2 bytes of data are meaningless 257 257 258 - Bit0 of byte8th showsif this uplink isgenerate by PIR activity.259 +[[image:image-20221224161725-3.png]] 259 259 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 261 +* When the sensor is not connected or not connected properly, will show "NULL" 275 275 276 -1: Uplink by activity detected 277 -))) 278 -))) 263 + The last 2 bytes of data are meaningless 279 279 280 -**Note**: Uplink by activity is disable by default. 281 281 282 - 283 -The 9^^th^^ ~~ 11^^st^^ byte: Movement Detect Count. 284 - 285 -0x00 E5 09 : Total detect 58633 activity since end node start. 286 - 287 - 288 288 == 2.5 Show data on Datacake == 289 289 268 + 269 +((( 290 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: 271 +))) 291 291 273 +((( 274 + 275 +))) 276 + 277 +((( 292 292 (% style="color:blue" %)**Step 1**(%%): Be sure that your device is programmed and properly connected to the LoRaWAN network. 279 +))) 293 293 281 +((( 294 294 (% 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 +))) 295 295 285 + 286 + 287 +((( 296 296 Add Datacake: 289 +))) 297 297 291 + 298 298 [[image:image-20220523000825-7.png||_mstalt="429884" height="262" width="583"]] 299 299 300 300 ... ... @@ -329,6 +329,7 @@ 329 329 * RED LED when external sensor is not connected 330 330 * For each success downlink, the PURPLE LED will blink once 331 331 326 + 332 332 == 2.9 installation == 333 333 334 334 ... ... @@ -466,6 +466,8 @@ 466 466 467 467 * There is no downlink command to set to Sleep mode. 468 468 464 + 465 + 469 469 = 5. Battery & How to replace = 470 470 471 471 == 5.1 Battery Type ==