Version 46.4 by Xiaoling on 2023/08/16 10:40

Hide last authors
Edwin Chen 1.1 1 (% style="text-align:center" %)
Xiaoling 44.2 2 [[image:LHT65N-PIR1.jpg||alt="image-20221206143242-2.png" height="484" width="485"]]
Edwin Chen 1.1 3
4
5
6
7 **Table of Contents:**
8
9 {{toc/}}
10
11
12
13
14
15
16 = 1. Introduction =
17
Edwin Chen 2.1 18 == 1.1 What is LHT65N-PIR Temperature,Humidity & PIR Sensor ==
Edwin Chen 1.1 19
Xiaoling 37.10 20
Edwin Chen 2.1 21 The Dragino (% style="color:blue" %)**LHT65N-PIR Temperature, Humidity & PIR sensor**(%%) is a Long Range LoRaWAN Sensor.It includes a (% style="color:blue" %)**built-in Temperature & Humidity sensor**(%%) and has an (% style="color:blue" %)**external PIR Probe**(%%)**.** LHT65N-PIR can detect environment Temperature & Humdity, it also detects (% style="color:blue" %)**People Activity**(%%) via PIR probe and them send these info to LoRaWAN IoT Server.
Edwin Chen 1.1 22
Edwin Chen 2.1 23 The LHT65N-PIR allows users to send data and reach extremely long ranges. It provides ultra-long range spread spectrum communication and high interference immunity whilst minimizing current consumption. It targets professional wireless sensor network applications such as irrigation systems, smart metering, smart cities, building automation, and so on.
Edwin Chen 1.1 24
Edwin Chen 2.1 25 LHT65N-PIR has a (% style="color:blue" %)**built-in 2400mAh non-chargeable battery**(%%) which can be used for more than 5 years*.
Edwin Chen 1.1 26
Edwin Chen 2.1 27 LHT65N-PIR supports (% style="color:blue" %)**wireless configure & OTA update**(%%) which make user easy to use.
Edwin Chen 1.1 28
Edwin Chen 2.1 29 LHT65N-PIR is fully compatible with (% style="color:blue" %)**LoRaWAN v1.0.3 Class A protocol**(%%), it can work with a standard LoRaWAN gateway.
Edwin Chen 1.1 30
Edwin Chen 3.1 31 **~*~***The actual battery life depends on how often to send data, please see battery analyzer chapter.
Edwin Chen 1.1 32
Edwin Chen 2.1 33
Edwin Chen 1.1 34 == 1.2 Features ==
35
Xiaoling 37.10 36
Edwin Chen 1.1 37 * LoRaWAN v1.0.3 Class A protocol
38 * Frequency Bands: CN470/EU433/KR920/US915/EU868/AS923/AU915
39 * AT Commands to change parameters
40 * Remote configure parameters via LoRaWAN Downlink
Edwin Chen 3.1 41 * Support wireless OTA update firmware
Edwin Chen 1.1 42 * Firmware upgradeable via program port
Edwin Chen 3.1 43 * Built-in 2400mAh battery for up to 5 years of use.
Edwin Chen 1.1 44 * Built-in Temperature & Humidity sensor
Edwin Chen 3.1 45 * External PIR Sensor
Xiaoling 45.4 46 * Tri-color LED to indicate working status
Edwin Chen 1.1 47
Xiaoling 46.4 48
49
Xiaoling 45.4 50 (% style="display:none" %)
51
Edwin Chen 1.1 52 == 1.3 Specification ==
53
54
55 (% style="color:#037691" %)**Built-in Temperature Sensor:**
56
57 * Resolution: 0.01 °C
58 * Accuracy Tolerance : Typ ±0.3 °C
59 * Long Term Drift: < 0.02 °C/yr
60 * Operating Range: -40 ~~ 85 °C
61
62 (% style="color:#037691" %)**Built-in Humidity Sensor:**
63
64 * Resolution: 0.04 %RH
65 * Accuracy Tolerance : Typ ±3 %RH
66 * Long Term Drift: < 0.02 °C/yr
67 * Operating Range: 0 ~~ 96 %RH
68
Edwin Chen 45.1 69 (% style="color:#037691" %)**External PIR Sensor:**
Edwin Chen 1.1 70
Edwin Chen 45.1 71 * Base on RDB223 Sensor
72 * Cable Length : 1 meter
73 * Stable detect distance : 0~~3 meter
Edwin Chen 1.1 74
Xiaoling 46.4 75
76
Edwin Chen 3.1 77 = 2. Connect LHT65N-PIR to IoT Server =
Edwin Chen 1.1 78
Edwin Chen 3.1 79 == 2.1 How does LHT65N-PIR work? ==
Edwin Chen 1.1 80
Xiaoling 37.10 81
Edwin Chen 3.1 82 LHT65N-PIR is configured as LoRaWAN OTAA Class A sensor by default. Each LHT65N-PIR is shipped with a worldwide unique set of OTAA keys. To use LHT65N-PIR in a LoRaWAN network, first, we need to put the OTAA keys in LoRaWAN Network Server and then activate LHT65N-PIR.
Edwin Chen 1.1 83
Edwin Chen 3.1 84 If LHT65N-PIR is within the coverage of this LoRaWAN network. LHT65N-PIR can join the LoRaWAN network automatically. After successfully joining, LHT65N-PIR will start to measure environment temperature, humidity & people activity, and start to transmit sensor data to the LoRaWAN server. The default period for each uplink is 20 minutes.
Edwin Chen 1.1 85
86
Edwin Chen 3.1 87 == 2.2 How to Activate LHT65N-PIR? ==
Edwin Chen 1.1 88
Xiaoling 37.10 89
Edwin Chen 4.1 90 The LHT65N-PIR has two working modes:
Edwin Chen 1.1 91
Edwin Chen 4.1 92 * (% style="color:blue" %)**Deep Sleep Mode**(%%): LHT65N-PIR doesn't have any LoRaWAN activation. This mode is used for storage and shipping to save battery life.
Edwin Chen 3.1 93
Edwin Chen 4.1 94 * (% style="color:blue" %)**Working Mode**(%%):  In this mode, LHT65N-PIR works as LoRaWAN Sensor mode to Join LoRaWAN network and send out the sensor data to the server. Between each sampling/tx/rx periodically, LHT65N-PIR will be in STOP mode (IDLE mode), in STOP mode, the PIR sensor is still working to detect people activity in low power consumption.
Edwin Chen 1.1 95
Edwin Chen 4.1 96 The LHT65N-PIR is set in deep sleep mode by default; The ACT button on the front is to switch to different modes:
Edwin Chen 1.1 97
98
Edwin Chen 4.1 99 [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N-E5%20LoRaWAN%20Temperature_Humidity%20%26%20Illuminance%20Sensor%20User%20Manual/WebHome/image-20220515123819-1.png?width=317&height=379&rev=1.1||alt="image-20220515123819-1.png" height="379" width="317"]]
Edwin Chen 1.1 100
101
Xiaoling 37.3 102 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
103 |=(% style="width: 167px;background-color:#D9E2F3;color:#0070C0" %)**Behavior on ACT**|=(% style="width: 117px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 225px;background-color:#D9E2F3;color:#0070C0" %)**Action**
104 |(% style="background-color:#f2f2f2; width:167px" %)Pressing ACT between 1s < time < 3s|(% style="background-color:#f2f2f2; width:117px" %)Test uplink status|(% style="background-color:#f2f2f2; width:225px" %)(((
Xiaoling 45.9 105 If LHT65N-PIR is already Joined to rhe LoRaWAN network, LHT65N-PIR will send an uplink packet, if LHT65N-PIR has external sensor connected,(% style="color:blue" %)**Blue led** (%%)will blink once. If LHT65N-PIR has not external sensor, (% style="color:red" %)**Red led**(%%) will blink once.
Xiaoling 37.3 106 )))
107 |(% style="background-color:#f2f2f2; width:167px" %)Pressing ACT for more than 3s|(% style="background-color:#f2f2f2; width:117px" %)Active Device|(% style="background-color:#f2f2f2; width:225px" %)(((
Xiaoling 45.9 108 (% style="background-color:#f2f2f2; color:green" %)**Green led**(%%) will fast blink 5 times, LHT65N-PIR will enter working mode and start to JOIN LoRaWAN network.
Xiaoling 37.3 109 (% style="background-color:#f2f2f2; color:green" %)**Green led**(%%) will solidly turn on for 5 seconds after join in network.
110 )))
Xiaoling 45.9 111 |(% style="background-color:#f2f2f2; width:167px" %)Fast press ACT 5 times.|(% style="background-color:#f2f2f2; width:117px" %)Deactivate Device|(% style="background-color:#f2f2f2; width:225px" %)(% style="color:red" %)**Red led**(%%) will solid on for 5 seconds. Means LHT65N-PIR is in Deep Sleep Mode.
Xiaoling 37.3 112
Xiaoling 46.4 113
114
Edwin Chen 1.1 115 == 2.3 Example to join LoRaWAN network ==
116
117
118 (% class="wikigeneratedid" %)
119 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.
120
121
122 (% class="wikigeneratedid" %)
Edwin Chen 8.1 123 [[image:image-20230409080812-1.png||height="487" width="785"]]
Edwin Chen 1.1 124
125
Edwin Chen 4.1 126 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:
Edwin Chen 1.1 127
128
129 === 2.3.1 Step 1: Create Device n TTN ===
130
131
Edwin Chen 4.1 132 Create a device in TTN V3 with the OTAA keys from LHT65N-PIR.
Edwin Chen 1.1 133
Edwin Chen 4.1 134 Each LHT65N-PIR is shipped with a sticker with its device EUI, APP Key and APP EUI as below:
Edwin Chen 1.1 135
Xiaoling 44.2 136 [[image:image-20230426083533-1.png||height="286" width="616"]]
Edwin Chen 1.1 137
Xiaoling 37.2 138
Edwin Chen 1.1 139 User can enter these keys in the LoRaWAN Server portal. Below is TTN V3 screenshot:
140
141 Add APP EUI in the application.
142
143
Edwin Chen 9.1 144 [[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220522232916-3.png||_mstalt="430495"]]
Edwin Chen 1.1 145
146
Xiaoling 37.7 147 [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N-E5%20LoRaWAN%20Temperature_Humidity%20%26%20Illuminance%20Sensor%20User%20Manual/WebHome/image-20220522232932-4.png?rev=1.1||alt="image-20220522232932-4.png"]]
Edwin Chen 1.1 148
149
Xiaoling 37.7 150 [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N-E5%20LoRaWAN%20Temperature_Humidity%20%26%20Illuminance%20Sensor%20User%20Manual/WebHome/image-20220522232954-5.png?rev=1.1||alt="image-20220522232954-5.png"]]
Edwin Chen 1.1 151
152
Edwin Chen 5.1 153 (% style="color:red" %)**Note: LHT65N-PIR use same payload decoder as LHT65.**
Edwin Chen 1.1 154
155
Xiaoling 37.7 156 [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N-E5%20LoRaWAN%20Temperature_Humidity%20%26%20Illuminance%20Sensor%20User%20Manual/WebHome/image-20220522233026-6.png?rev=1.1||alt="image-20220522233026-6.png"]]
Edwin Chen 1.1 157
158
Xiaoling 37.3 159 **Input APP EUI,  APP KEY and DEV EUI:**
160
Xiaoling 37.7 161 [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N-E5%20LoRaWAN%20Temperature_Humidity%20%26%20Illuminance%20Sensor%20User%20Manual/WebHome/image-20220522233118-7.png?rev=1.1||alt="image-20220522233118-7.png"]]
Edwin Chen 1.1 162
163
Edwin Chen 5.1 164 === 2.3.2 Step 2: Activate LHT65N-PIR by pressing the ACT button for more than 5 seconds. ===
Edwin Chen 1.1 165
Xiaoling 37.3 166
Edwin Chen 5.1 167 Use ACT button to activate LHT65N-PIR 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.
Xiaoling 37.3 168
169
Xiaoling 37.7 170 [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N-E5%20LoRaWAN%20Temperature_Humidity%20%26%20Illuminance%20Sensor%20User%20Manual/WebHome/image-20220522233300-8.png?rev=1.1||alt="image-20220522233300-8.png"]]
Edwin Chen 1.1 171
172
Edwin Chen 19.1 173 == 2.4 Uplink Payload~-~-Device Status, (Fport~=5) ==
Edwin Chen 1.1 174
Xiaoling 37.3 175
Edwin Chen 18.1 176 Users can use the downlink command(**0x26 01**) to ask LHT65N-PIR to send device configure detail, include device configure status. LHT65N-PIR will uplink a payload via FPort=5 to server.
177
178 The Payload format is as below.
179
Xiaoling 37.3 180 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
181 |(% colspan="6" style="background-color:#d9e2f3; color:#0070c0" %)**Device Status (FPORT=5)**
182 |(% style="background-color:#f2f2f2; width:103px" %)**Size (bytes)**|(% style="background-color:#f2f2f2; width:72px" %)**1**|(% style="background-color:#f2f2f2" %)**2**|(% style="background-color:#f2f2f2; width:91px" %)**1**|(% style="background-color:#f2f2f2; width:86px" %)**1**|(% style="background-color:#f2f2f2; width:44px" %)**2**
183 |(% style="background-color:#f2f2f2; width:103px" %)**Value**|(% style="background-color:#f2f2f2; width:72px" %)Sensor Model|(% style="background-color:#f2f2f2" %)Firmware Version|(% style="background-color:#f2f2f2; width:91px" %)Frequency Band|(% style="background-color:#f2f2f2; width:86px" %)Sub-band|(% style="background-color:#f2f2f2; width:44px" %)BAT
Edwin Chen 18.1 184
185 Example parse in TTNv3
186
kai 41.2 187 [[image:image-20230508151932-1.png]]
Edwin Chen 18.1 188
Xiaoling 44.7 189
Xiaoling 45.2 190 (% style="color:blue" %)**Sensor Model**(%%): For LHT65N-PIR, this value is 0x1A
Edwin Chen 18.1 191
Xiaoling 45.2 192 (% style="color:blue" %)**Firmware Version**(%%): 0x0100, Means: v1.0.0 version
Edwin Chen 18.1 193
Xiaoling 45.2 194 (% style="color:blue" %)**Frequency Band**:
Edwin Chen 18.1 195
Xiaoling 46.4 196 0x01: EU868
Edwin Chen 18.1 197
Xiaoling 46.4 198 0x02: US915
Edwin Chen 18.1 199
Xiaoling 46.4 200 0x03: IN865
Edwin Chen 18.1 201
Xiaoling 46.4 202 0x04: AU915
Edwin Chen 18.1 203
Xiaoling 46.4 204 0x05: KZ865
Edwin Chen 18.1 205
Xiaoling 46.4 206 0x06: RU864
Edwin Chen 18.1 207
Xiaoling 46.4 208 0x07: AS923
Edwin Chen 18.1 209
Xiaoling 46.4 210 0x08: AS923-1
Edwin Chen 18.1 211
Xiaoling 46.4 212 0x09: AS923-2
Edwin Chen 18.1 213
Xiaoling 46.4 214 0x0a: AS923-3
Edwin Chen 18.1 215
Xiaoling 46.4 216 0x0b: CN470
Edwin Chen 18.1 217
Xiaoling 46.4 218 0x0c: EU433
Edwin Chen 18.1 219
Xiaoling 46.4 220 0x0d: KR920
Edwin Chen 18.1 221
Xiaoling 46.4 222 0x0e: MA869
Edwin Chen 18.1 223
Xiaoling 46.4 224
Xiaoling 45.2 225 (% style="color:blue" %)**Sub-Band**:
Edwin Chen 18.1 226
Xiaoling 45.4 227 AU915 and US915: value 0x00 ~~ 0x08
Edwin Chen 18.1 228
229 CN470: value 0x0B ~~ 0x0C
230
231 Other Bands: Always 0x00
232
Xiaoling 46.4 233
Xiaoling 45.2 234 (% style="color:blue" %)**Battery Info**:
Edwin Chen 18.1 235
236 Check the battery voltage.
237
238 Ex1: 0x0B45 = 2885mV
239
240 Ex2: 0x0B49 = 2889mV
241
242
243 == 2.5 Uplink Payload, Sensor Data  ( Fport~=2) ==
244
Xiaoling 37.3 245
Edwin Chen 1.1 246 The uplink payload includes totally 11 bytes. Uplink packets use FPORT=2 and (% style="color:#4f81bd" %)**every 20 minutes**(%%) send one uplink by default.
247
248 After each uplink, the (% style="color:blue" %)**BLUE LED**(%%) will blink once.
249
Xiaoling 37.3 250 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:390px" %)
Xiaoling 45.4 251 |=(% style="width: 60px;background-color:#D9E2F3;color:#0070C0" %)(((
Edwin Chen 1.1 252 **Size(bytes)**
Xiaoling 45.4 253 )))|=(% style="width: 30px;background-color:#D9E2F3;color:#0070C0" %)(((
Edwin Chen 1.1 254 **2**
Xiaoling 45.4 255 )))|=(% style="width: 100px;background-color:#D9E2F3;color:#0070C0" %)(((
Edwin Chen 1.1 256 **2**
Xiaoling 45.4 257 )))|=(% style="width: 100px;background-color:#D9E2F3;color:#0070C0" %)(((
Edwin Chen 1.1 258 **2**
Xiaoling 45.4 259 )))|=(% style="width: 50px;background-color:#D9E2F3;color:#0070C0" %)(((
Edwin Chen 1.1 260 **1**
Xiaoling 45.4 261 )))|=(% style="width: 50px;background-color:#D9E2F3;color:#0070C0" %)(((
Edwin Chen 1.1 262 **4**
263 )))
264 |(% style="width:97px" %)(((
Xiaoling 45.6 265 Value
Edwin Chen 1.1 266 )))|(% style="width:39px" %)(((
Xiaoling 37.5 267 [[BAT>>||anchor="H2.5.2BAT-BatteryInfo"]]
Edwin Chen 1.1 268 )))|(% style="width:100px" %)(((
269 (((
Xiaoling 37.5 270 [[Built-In Temperature>>||anchor="H2.5.3Built-inTemperature"]]
Edwin Chen 1.1 271 )))
272 )))|(% style="width:77px" %)(((
273 (((
Xiaoling 37.5 274 [[Built-in Humidity>>||anchor="H2.5.4Built-inHumidity"]]
Edwin Chen 1.1 275 )))
276 )))|(% style="width:47px" %)(((
Xiaoling 37.4 277 Ext #
Edwin Chen 1.1 278 )))|(% style="width:51px" %)(((
Xiaoling 37.5 279 [[Ext value>>||anchor="H2.5.5Extvalue"]]
Edwin Chen 1.1 280 )))
281
Edwin Chen 5.1 282 * The First 6 bytes: has fix meanings for every LHT65N-PIR.
Edwin Chen 9.1 283 * The 7th byte (EXT #): defines the external sensor model. It can be 0x0A for LHT65N-PIR
284 * The 8^^th^^ byte: Alarm Bit (if this uplink is from periodically or movement)
285 * The 9^^th^^ ~~ 11^^st^^  byte: Movement Detect Count.
Edwin Chen 1.1 286
Xiaoling 46.4 287
288
Edwin Chen 18.1 289 === 2.5.1 Decoder in TTN V3 ===
Edwin Chen 1.1 290
291
Edwin Chen 6.1 292 When the uplink payload arrives TTNv3, it shows HEX format and not friendly to read. We can add LHT65N-PIR decoder in TTNv3 for friendly reading.
Edwin Chen 1.1 293
Edwin Chen 6.1 294 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]]
Edwin Chen 1.1 295
296
Edwin Chen 9.1 297 [[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"]]
Edwin Chen 1.1 298
299
Edwin Chen 18.1 300 === 2.5.2 BAT-Battery Info ===
Edwin Chen 1.1 301
302
303 These two bytes of BAT include the battery state and the actually voltage
304
Xiaoling 37.6 305 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:477px" %)
306 |=(% style="width: 69px; background-color:#D9E2F3;color:#0070C0" %)(((
307 **Bit(bit)**
308 )))|=(% style="width: 253px;background-color:#D9E2F3;color:#0070C0" %)[15:14]|=(% style="width: 155px;background-color:#D9E2F3;color:#0070C0" %)[13:0]
309 |(% style="width:66px" %)(((
Xiaoling 45.7 310 Value
Xiaoling 37.6 311 )))|(% style="width:250px" %)(((
312 BAT Status
313 00(b): Ultra Low ( BAT <= 2.50v)
314 01(b): Low (2.50v <=BAT <= 2.55v)
315 10(b): OK (2.55v <= BAT <=2.65v)
316 11(b): Good (BAT >= 2.65v)
317 )))|(% style="width:152px" %)Actually BAT voltage
Edwin Chen 1.1 318
Edwin Chen 10.1 319 [[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"]]
Edwin Chen 1.1 320
321
Edwin Chen 6.1 322 Check the battery voltage for LHT65N-PIR.
Edwin Chen 1.1 323
Edwin Chen 6.1 324 * BAT status=(0xcba4>>14)&0xFF=11(B),very good
Edwin Chen 1.1 325 * Battery Voltage =0xCBF6&0x3FFF=0x0BA4=2980mV
326
Xiaoling 46.4 327
328
Edwin Chen 18.1 329 === 2.5.3 Built-in Temperature ===
Edwin Chen 1.1 330
Xiaoling 45.7 331
Edwin Chen 10.1 332 [[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"]]
Edwin Chen 1.1 333
334 * Temperature:  0x0ABB/100=27.47℃
335
Edwin Chen 10.1 336 [[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220522235639-3.png||_mstalt="432120"]]
Edwin Chen 1.1 337
338 * Temperature:  (0xF5C6-65536)/100=-26.18℃
339
Xiaoling 46.4 340
341
Edwin Chen 18.1 342 === 2.5.4 Built-in Humidity ===
Edwin Chen 1.1 343
Xiaoling 45.7 344
Edwin Chen 10.1 345 [[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"]]
Edwin Chen 1.1 346
347 * Humidity:    0x025C/10=60.4%
348
Xiaoling 46.4 349
350
Edwin Chen 18.1 351 === 2.5.5 Ext value ===
Edwin Chen 1.1 352
Ellie Zhang 44.1 353 ==== 2.5.5.1 Ext~=0x0E, PIR Sensor ====
Edwin Chen 18.1 354
Xiaoling 44.7 355
Ellie Zhang 44.1 356 [[image:ext=14.png||alt="image-20221224161634-2.png"]]
Edwin Chen 1.1 357
358
Edwin Chen 18.1 359 ==== 2.5.5.2 Ext Value ====
Edwin Chen 1.1 360
Xiaoling 37.10 361
Edwin Chen 11.1 362 There are 4 bytes in Ext Value field.
Edwin Chen 1.1 363
Edwin Chen 11.1 364 Bit0 of byte 8th shows if this uplink is generate by PIR activity.
Edwin Chen 1.1 365
Xiaoling 37.8 366 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:393px" %)
Xiaoling 45.2 367 |=(% style="width: 107px; background-color:#D9E2F3;color:#0070C0" %)(((
Edwin Chen 12.1 368 **The 8^^th^^ byte**
Xiaoling 45.2 369 )))|=(% style="width: 73px; background-color:#D9E2F3;color:#0070C0" %)(((
Edwin Chen 11.1 370 **Bit 1~~7**
Xiaoling 45.2 371 )))|=(% style="width: 213px; background-color:#D9E2F3;color:#0070C0" %)(((
Edwin Chen 11.1 372 **Bit 0**
373 )))
Xiaoling 37.8 374 |(% style="width:106px" %)(((
Edwin Chen 11.1 375 **Value**
Xiaoling 37.8 376 )))|(% style="width:71px" %)(((
Edwin Chen 11.1 377 Reserve
Xiaoling 37.8 378 )))|(% style="width:211px" %)(((
Edwin Chen 11.1 379 (((
380 0: Normal Uplink
381 1: Uplink by activity detected
382 )))
383 )))
Edwin Chen 1.1 384
Xiaoling 37.10 385 (% style="color:red" %)**Note**:** Uplink by activity is disable by default.**
Edwin Chen 1.1 386
Edwin Chen 11.1 387 The 9^^th^^ ~~ 11^^st^^  byte: Movement Detect Count.
388
389 0x00 E5 09 : Total detect 58633 activity since end node start.
390
391
Edwin Chen 18.1 392 == 2.6 Show data on Datacake ==
Edwin Chen 1.1 393
Xiaoling 37.10 394
Edwin Chen 1.1 395 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:
396
397 (% style="color:blue" %)**Step 1**(%%): Be sure that your device is programmed and properly connected to the LoRaWAN network.
398
399 (% 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.
400
401 Add Datacake:
402
Edwin Chen 12.1 403 [[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"]]
Edwin Chen 1.1 404
405
406
407 Select default key as Access Key:
408
409
Edwin Chen 12.1 410 [[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"]]
Edwin Chen 1.1 411
412
413 In Datacake console ([[https:~~/~~/datacake.co/>>url:https://datacake.co/]]) , add LHT65 device.
414
415
Edwin Chen 12.1 416 [[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"]]
Edwin Chen 1.1 417
418
Edwin Chen 12.1 419 [[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"]]
Edwin Chen 1.1 420
421
Edwin Chen 18.1 422 == 2.7 LED Indicator ==
Edwin Chen 1.1 423
424
Edwin Chen 6.1 425 The LHT65N-PIR has a triple color LED which for easy showing different stage .
Edwin Chen 1.1 426
427 While user press ACT button, the LED will work as per LED status with ACT button.
428
429 In a normal working state:
430
Xiaoling 44.6 431 * For each uplink, the (% style="color:blue" %)**BLUE LED**(%%) or (% style="color:red" %)**RED LED**(%%) will blink once.
Xiaoling 44.3 432 (% style="color:blue" %)**BLUE LED**(%%) when external sensor is connected.
433 * (% style="color:red" %)**RED LED**(%%) when external sensor is not connected
Xiaoling 44.4 434 * For each success downlink, the (% style="color:purple" %)**PURPLE LED**(%%) will blink once
Edwin Chen 1.1 435
Xiaoling 46.4 436
437
Edwin Chen 18.1 438 == 2.8 installation ==
Edwin Chen 1.1 439
Xiaoling 37.10 440
Edwin Chen 22.1 441 ~1. Don't install LHT65N-PIR outdoor or place where will get wet.
Edwin Chen 1.1 442
Edwin Chen 22.1 443 2. Towards the PIR probe to the place where need to monitor activity. Below is the detect beam.
Edwin Chen 1.1 444
Edwin Chen 24.1 445 Stable distance is 0~~3m. Some motion might not detected between 3~~5 m.
Edwin Chen 1.1 446
Edwin Chen 24.1 447 [[image:image-20230411135341-1.png||height="450" width="456"]]
448
Xiaoling 44.7 449
Xiaoling 37.10 450 (% style="color:red" %)**Notice: PIR can only detect motion activity, not to use to detect static people case.**
Edwin Chen 13.1 451
Edwin Chen 22.1 452 * 1. PIR Motion Detector should not be installed near the Air conditioner places where with cold wind or hot wind flow, because PIR motion detector is sensitive with the temperature changes of the environment. Environment changes quickly will cause a false alarm.
Xiaoling 44.5 453
Edwin Chen 22.1 454 * 2. PIR should not be installed facing the glass window, facing glass window will be interfered by the outside sunlight and moving objects (people or vehicle). The infrared energy can penetrate the glass window.
Xiaoling 44.5 455
Edwin Chen 22.1 456 * 3. PIR should not be installed facing the moving objects or background changing objects, movement object will cause airflow change, it may cause false alarm.
Xiaoling 44.5 457
Edwin Chen 22.1 458 * 4. Between the detection range of PIR Motion detector, there is should be less objects.  Many objects may reduce the sensitive of detection range.
Xiaoling 44.5 459
Edwin Chen 22.1 460 * 5. Do not install more than one (2 or above) Wireless PIR in the same detection space (like at the same room).
461
Xiaoling 46.4 462
463
Edwin Chen 1.1 464 = 3. Sensors and Accessories =
465
466 == 3.1 E2 Extension Cable ==
467
468
Edwin Chen 13.1 469 [[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"]]
Edwin Chen 1.1 470
471
Xiaoling 37.11 472 **1m long breakout cable for LHT65N-PIR. Features:**
Edwin Chen 1.1 473
474 * (((
475 Use for AT Command
476 )))
477 * (((
Edwin Chen 6.1 478 Update firmware for LHT65N-PIR
Edwin Chen 1.1 479 )))
480
Edwin Chen 13.1 481 [[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"]]
Edwin Chen 1.1 482
483
Edwin Chen 17.1 484 = 4. Configure LHT65N-PIR =
Edwin Chen 1.1 485
Edwin Chen 17.1 486 == 4.1 Configure Methods: ==
Edwin Chen 1.1 487
488
Edwin Chen 17.1 489 LHT65N-PIR supports below configure method:
Edwin Chen 1.1 490
Xiaoling 37.9 491 * AT Command via UART Connection : See [[FAQ>>||anchor="H7.FAQ"]].
Xiaoling 44.5 492
Edwin Chen 17.1 493 * LoRaWAN Downlink.  Instruction for different platforms: See [[IoT LoRaWAN Server>>url:http://wiki.dragino.com/xwiki/bin/view/Main/]] section.
Edwin Chen 1.1 494
Xiaoling 46.4 495
496
Edwin Chen 17.1 497 == 4.2 General Commands ==
Edwin Chen 1.1 498
Edwin Chen 17.1 499
Edwin Chen 1.1 500 These commands are to configure:
501
Edwin Chen 17.1 502 * General system settings like: uplink interval.
503 * LoRaWAN protocol & radio related command.
Edwin Chen 1.1 504
Edwin Chen 17.1 505 They are same for all Dragino Devices which support DLWS-005 LoRaWAN Stack. These commands can be found on the wiki:
Edwin Chen 1.1 506
Edwin Chen 17.1 507 [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20AT%20Commands%20and%20Downlink%20Command/>>url:http://wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20AT%20Commands%20and%20Downlink%20Command/]]
Edwin Chen 1.1 508
509
Edwin Chen 17.1 510 == 4.3 Commands special design for LHT65N-PIR ==
Edwin Chen 1.1 511
512
Edwin Chen 17.1 513 These commands only valid for LHT65N-PIR, as below:
Edwin Chen 1.1 514
Edwin Chen 17.1 515
516 === 4.3.1 Set Transmit Interval Time ===
517
518
Edwin Chen 1.1 519 Feature: Change LoRaWAN End Node Transmit Interval.
520
Xiaoling 46.4 521 (% style="color:#4f81bd" %)**AT Command: **
Edwin Chen 1.1 522
Xiaoling 37.9 523 (% border="1" cellspacing="5" style="background-color:#f2f2f2; width:501px" %)
524 |(% style="background-color:#d9e2f3; color:#0070c0; width:155px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#0070c0; width:166px" %)**Function**|(% style="background-color:#d9e2f3; color:#0070c0; width:180px" %)**Response**
Xiaoling 46.4 525 |(% style="width:155px" %)AT+TDC=?|(% style="width:162px" %)Show current transmit Interval|(% style="width:177px" %)30000 OK the interval is 30000ms = 30s
Xiaoling 37.9 526 |(% style="width:155px" %)AT+TDC=60000|(% style="width:162px" %)Set Transmit Interval|(% style="width:177px" %)OK Set transmit interval to 60000ms = 60 seconds
Edwin Chen 1.1 527
Edwin Chen 17.1 528 (% style="color:#4f81bd" %)**Downlink Payload: 0x01**
Edwin Chen 1.1 529
530 Format: Command Code (0x01) followed by 3 bytes time value.
531
532 If the downlink payload=0100003C, it means set the END Node's Transmit Interval to 0x00003C=60(S), while type code is 01.
533
534 * **Example 1**: Downlink Payload: 0100001E  ~/~/ Set Transmit Interval (TDC) = 30 seconds
535
536 * **Example 2**: Downlink Payload: 0100003C  ~/~/ Set Transmit Interval (TDC) = 60 seconds
537
Xiaoling 46.4 538
539
Edwin Chen 17.1 540 === 4.3.2 Get Device Status ===
Edwin Chen 1.1 541
Xiaoling 37.10 542
Edwin Chen 17.1 543 Send a LoRaWAN downlink to ask device send Alarm settings.
544
545 * (% style="color:#4f81bd" %)**Downlink Payload**(%%)**:  **0x26 01
546
547 Sensor will upload Device Status via FPORT=5. See payload section for detail.
548
549
550 === 4.3.3 Set Password ===
551
552
Edwin Chen 1.1 553 Feature: Set device password, max 9 digits
554
Xiaoling 46.4 555 (% style="color:#4f81bd" %)**AT Command: **
Edwin Chen 1.1 556
Xiaoling 37.9 557 (% border="1" cellspacing="5" style="background-color:#f2f2f2; width:372px" %)
558 |(% style="background-color:#d9e2f3; color:#0070c0; width:155px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#0070c0; width:128px" %)**Function**|(% style="background-color:#d9e2f3; color:#0070c0; width:89px" %)**Response**
559 |(% style="width:155px" %)AT+PWORD=?|(% style="width:124px" %)Show password|(% style="width:86px" %)(((
560 123456
561
562 OK
Edwin Chen 1.1 563 )))
Xiaoling 37.9 564 |(% style="width:155px" %)AT+PWORD=999999|(% style="width:124px" %)Set password|(% style="width:86px" %)OK
Edwin Chen 1.1 565
Xiaoling 37.9 566 (% style="color:#4f81bd" %)**Downlink Command:**
Edwin Chen 1.1 567
Xiaoling 37.9 568 No downlink command for this feature.
Edwin Chen 1.1 569
570
Edwin Chen 17.1 571 === 4.3.4 Set to sleep mode ===
Edwin Chen 1.1 572
Edwin Chen 17.1 573
Edwin Chen 1.1 574 Feature: Set device to sleep mode
575
Xiaoling 46.2 576 * (% style="color:#037691" %)**AT+Sleep=0**(%%)  : Normal working mode, device will sleep and use lower power when there is no LoRa message
Xiaoling 37.9 577
Xiaoling 46.2 578 * (% style="color:#037691" %)**AT+Sleep=1**(%%) :  Device is in deep sleep mode, no LoRa activation happen, used for storage or shipping.
Edwin Chen 1.1 579
Xiaoling 46.2 580 (% style="color:#4f81bd" %)**AT Command: **
Edwin Chen 1.1 581
Xiaoling 37.10 582 (% border="1" cellspacing="5" style="background-color:#f2f2f2; width:513px" %)
583 |(% style="background-color:#d9e2f3; color:#0070c0; width:155px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#0070c0; width:140px" %)**Function**|(% style="background-color:#d9e2f3; color:#0070c0; width:218px" %)**Response**
584 |(% style="width:155px" %)AT+SLEEP|(% style="width:139px" %)Set to sleep mode|(% style="width:213px" %)(((
585 Clear all stored sensor data…
Edwin Chen 1.1 586
Xiaoling 37.10 587 OK
588 )))
Edwin Chen 1.1 589
590 (% style="color:#4f81bd" %)**Downlink Command:**
591
592 * There is no downlink command to set to Sleep mode.
593
Xiaoling 46.4 594
595
Edwin Chen 17.1 596 === 4.3.5 Set UOA (Uplink on Activity) ===
597
Xiaoling 37.10 598
Edwin Chen 17.1 599 Feature: Enable / Disable Uplink on Activity
600
Saxer Lin 46.1 601 (% style="color:#4f81bd" %)**AT Command: **
602
Xiaoling 46.2 603 * (% style="color:#037691" %)**AT+UOA=0**(%%)  : Disable UoA
Xiaoling 37.10 604
Xiaoling 46.2 605 * (% style="color:#037691" %)**AT+UOA=1,2**(%%) :  Enable UoA , Calm Down Time: 2 minutes. If device already send a uplink on activity, it will not send another uplink on activiy in 2 minutes, even detect activity.
Edwin Chen 17.1 606
Xiaoling 37.10 607 (% style="color:red" %)**Notice: Calm Down time range is 1 ~~ 65535 minutes. If user set Calm Down time to low value, such as 1 minute, the sensor might send uplink very frequenctly and battery drain fast.**
Edwin Chen 20.1 608
Edwin Chen 17.1 609
Saxer Lin 46.1 610 (% style="color:#4f81bd" %)**Downlink Command:**
Edwin Chen 17.1 611
Saxer Lin 46.1 612 Format: Command Code (0xA1) followed by 1 byte or 3 bytes.
Edwin Chen 17.1 613
Saxer Lin 46.1 614 When followed by 3 bytes, the first byte is 01, and the second and third bytes are Calm Down Time.
Edwin Chen 17.1 615
Xiaoling 46.4 616 * (% style="color:#037691" %)**A1 00    **(%%)** ==>  AT+UOA=0     **
617 * (% style="color:#037691" %)**A1 01 00 02  **(%%)** ==>  AT+UOA=1,2**
Saxer Lin 46.1 618
619
Xiaoling 46.2 620
Edwin Chen 14.1 621 = 5. Battery & Power Consumption =
Edwin Chen 1.1 622
Xiaoling 37.10 623
Edwin Chen 14.1 624 LHT65N-PIR use **CR17450** battery pack. See below link for detail information about the battery info and how to replace.
Edwin Chen 1.1 625
Edwin Chen 14.1 626 [[**Battery Info & Power Consumption Analyze**>>url:http://wiki.dragino.com/xwiki/bin/view/Main/How%20to%20calculate%20the%20battery%20life%20of%20Dragino%20sensors%3F/]] .
Edwin Chen 1.1 627
628
Edwin Chen 15.1 629 = 6. OTA firmware update =
630
631
Xiaoling 37.10 632 User can change firmware LHT65N-PIR to:
633
Edwin Chen 25.1 634 * Change Frequency band/ region.
635 * Update with new features.
636 * Fix bugs.
Edwin Chen 15.1 637
Edwin Chen 25.1 638 Firmware and changelog can be downloaded from : **[[Firmware download link>>url:http://wiki.dragino.com/xwiki/bin/view/Main/Firmware%20OTA%20Update%20for%20Sensors/]]**
639
640 Methods to Update Firmware:
641
642 * (Recommanded way) OTA firmware update via wireless: [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/Firmware%20OTA%20Update%20for%20Sensors/>>url:http://wiki.dragino.com/xwiki/bin/view/Main/Firmware%20OTA%20Update%20for%20Sensors/]]
643 * Update through UART TTL interface. **[[Instruction>>url:http://wiki.dragino.com/xwiki/bin/view/Main/UART%20Access%20for%20LoRa%20ST%20v4%20base%20model/#H1.LoRaSTv4baseHardware]]**.
644
Xiaoling 46.3 645
646
Edwin Chen 18.1 647 = 7. FAQ =
Edwin Chen 1.1 648
Edwin Chen 18.1 649 == 7.1 How to use AT Command? ==
Edwin Chen 1.1 650
651
Xiaoling 37.10 652 LHT65N-PIR supports AT Command set.User can use a USB to TTL adapter plus the Program Cable to connect to LHT65 for using AT command, as below.
Edwin Chen 1.1 653
654
Edwin Chen 16.1 655 [[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220615153355-1.png||_mstalt="430222"]]
Edwin Chen 1.1 656
657
Edwin Chen 16.1 658 [[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@1655802313617-381.png||_mstalt="293917"]]
Edwin Chen 1.1 659
660
Xiaoling 37.11 661 In PC, User needs to set serial tool(such as [[**putty**>>https://www.chiark.greenend.org.uk/~~sgtatham/putty/latest.html]], SecureCRT) baud rate to (% style="color:green" %)**9600** (%%)to access to access serial console for LHT65N-PIR. The AT commands are disable by default and need to enter password (default:(% style="color:green" %)**123456**(% style="color:red" %))(%%) to active it. Timeout to input AT Command is 5 min, after 5-minute, user need to input password again. User can use AT+DISAT command to disable AT command before timeout.
Edwin Chen 1.1 662
Edwin Chen 16.1 663 [[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220615154519-3.png||_mstalt="431925" height="672" width="807"]]
Edwin Chen 1.1 664
665
Edwin Chen 18.1 666 == 7.2 Where to use AT commands and Downlink commands ==
Edwin Chen 1.1 667
668
669 **AT commands:**
670
Edwin Chen 16.1 671 [[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220620153708-1.png||_mstalt="429806" height="603" width="723"]]
Edwin Chen 1.1 672
673
674 **Downlink commands:**
675
676
677
678 (% style="color:blue" %)**TTN:**
679
Edwin Chen 16.1 680 [[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220615092124-2.png||_mstalt="429221" height="649" width="688"]]
Edwin Chen 1.1 681
682
683
684 (% style="color:blue" %)**Helium:**
685
Edwin Chen 16.1 686 [[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220615092551-3.png||_mstalt="430794" height="423" width="835"]]
Edwin Chen 1.1 687
688
689
690 (% style="color:blue" %)**Chirpstack: The downlink window will not be displayed until the network is accessed**
691
692
Edwin Chen 16.1 693 [[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220615094850-6.png||_mstalt="433082"]]
Edwin Chen 1.1 694
695
Edwin Chen 16.1 696 [[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220615094904-7.png||_mstalt="433485" height="281" width="911"]]
Edwin Chen 1.1 697
698
699
700 (% style="color:blue" %)**Aws:**
701
Edwin Chen 16.1 702 [[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220615092939-4.png||_mstalt="434460" height="448" width="894"]]
Edwin Chen 1.1 703
704
Edwin Chen 25.1 705 == 7.3 How to change the uplink interval? ==
Edwin Chen 1.1 706
Xiaoling 37.10 707
Edwin Chen 1.1 708 Please see this link: [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/How%20to%20set%20the%20transmit%20time%20interval/>>url:http://wiki.dragino.com/xwiki/bin/view/Main/How%20to%20set%20the%20transmit%20time%20interval/||_mstmutation="1" style="background-color: rgb(255, 255, 255);"]]
709
Edwin Chen 16.1 710 [[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220615154519-3.png||_mstalt="431925" height="672" width="807"]]
Edwin Chen 1.1 711
712
Edwin Chen 18.1 713 == 7.4 How to use TTL-USB to connect PC to upgrade firmware? ==
Edwin Chen 1.1 714
Xiaoling 37.10 715
Edwin Chen 16.1 716 [[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220615153355-1.png||_mstalt="430222"]]
Edwin Chen 1.1 717
Xiaoling 46.4 718
Edwin Chen 1.1 719 (% style="color:blue" %)**Step1**(%%): Install TremoProgrammer  first.
720
Edwin Chen 16.1 721 [[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220615170542-5.png||_mstalt="430638"]]
Edwin Chen 1.1 722
Xiaoling 46.4 723
Edwin Chen 1.1 724 (% _mstmutation="1" style="color:blue" %)**Step2**(%%):wiring method.(% style="display:none" %)
725
726 First connect the four lines;(% style="display:none" %)
727
Edwin Chen 16.1 728 [[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220621170938-1.png||_mstalt="431340" height="413" width="419"]],(% style="display:none" %)
Edwin Chen 1.1 729
730
731 Then use DuPont cable to short circuit port3 and port1, and then release them, so that the device enters bootlaod mode.
732
Edwin Chen 16.1 733 [[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220621170938-2.png||_mstalt="431704"]]
Edwin Chen 1.1 734
735
736 (% style="color:blue" %)**Step3:**(%%)Select the device port to be connected, baud rate and bin file to be downloaded.
737
Edwin Chen 16.1 738 [[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220615171334-6.png||_mstalt="431028"]]
Edwin Chen 1.1 739
740
741 Click the (% style="color:blue" %)**start**(%%) button to start the firmware upgrade.
742
743
744 When this interface appears, it indicates that the download has been completed.
745
Edwin Chen 16.1 746 [[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220620160723-8.png||_mstalt="430703"]]
Edwin Chen 1.1 747
748
749 Finally, unplug the DuPont cable on port4, and then use the DuPont cable to short circuit port3 and port1 to reset the device.
750
Edwin Chen 16.1 751 [[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220615154519-3.png||_mstalt="431925" height="672" width="807"]]
Edwin Chen 1.1 752
753
Edwin Chen 18.1 754 = 8. Order Info =
Edwin Chen 1.1 755
756
757 Part Number: (% style="color:#4f81bd" %)** LHT65N-PIR-XX**
758
759 (% style="color:#4f81bd" %)**XX **(%%): The default frequency band
760
761 * (% style="color:#4f81bd" %)** **(% _mstmutation="1" style="color:red" %)**AS923**(%%): LoRaWAN AS923 band
762 * (% style="color:#4f81bd" %)** **(% _mstmutation="1" style="color:red" %)**AU915**(%%): LoRaWAN AU915 band
763 * (% style="color:#4f81bd" %)** **(% _mstmutation="1" style="color:red" %)**EU433**(%%): LoRaWAN EU433 band
764 * (% style="color:#4f81bd" %)** **(% _mstmutation="1" style="color:red" %)**EU868**(%%): LoRaWAN EU868 band
765 * (% style="color:#4f81bd" %)** **(% _mstmutation="1" style="color:red" %)**KR920**(%%): LoRaWAN KR920 band
766 * (% style="color:#4f81bd" %)** **(% _mstmutation="1" style="color:red" %)**US915**(%%): LoRaWAN US915 band
767 * (% style="color:#4f81bd" %)** **(% _mstmutation="1" style="color:red" %)**IN865**(%%): LoRaWAN IN865 band
768 * (% style="color:#4f81bd" %)** **(% _mstmutation="1" style="color:red" %)**CN470**(%%): LoRaWAN CN470 band
769
Xiaoling 46.4 770
771
Edwin Chen 18.1 772 = 9. Packing Info =
Edwin Chen 1.1 773
774
775 **Package Includes**:
776
777 * LHT65N-PIR Temperature/Humidity/PIR Sensor x 1
778
Xiaoling 46.4 779
780
Edwin Chen 18.1 781 = 10. Reference material =
Edwin Chen 1.1 782
783
784 * [[Datasheet, photos, decoder, firmware>>https://www.dropbox.com/sh/una19zsni308dme/AACOKp6J2RF5TMlKWT5zU3RTa?dl=0]]
785
Xiaoling 46.4 786
787
Edwin Chen 18.1 788 = 11. FCC Warning =
Edwin Chen 1.1 789
790
791 This device complies with part 15 of the FCC Rules.Operation is subject to the following two conditions:
792
793 (1) This device may not cause harmful interference;
794
795 (2) this device must accept any interference received, including interference that may cause undesired operation.