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

From version 37.2
edited by Xiaoling
on 2023/04/26 08:35
Change comment: There is no comment for this version
To version 37.9
edited by Xiaoling
on 2023/04/27 10:29
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -100,9 +100,19 @@
100 100  
101 101  [[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"]]
102 102  
103 -[[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-20220525110604-2.png?rev=1.1||alt="image-20220525110604-2.png"]]
104 104  
105 105  
105 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
106 +|=(% 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**
107 +|(% 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" %)(((
108 +If LHT65N is already Joined to rhe LoRaWAN network, LHT65N will send an uplink packet, if LHT65N has external sensor connected,(% style="color:blue" %)**Blue led** (%%)will blink once. If LHT65N has not external sensor, (% style="color:red" %)**Red led**(%%) will blink once.
109 +)))
110 +|(% 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" %)(((
111 +(% style="background-color:#f2f2f2; color:green" %)**Green led**(%%) will fast blink 5 times, LHT65N will enter working mode and start to JOIN LoRaWAN network.
112 +(% style="background-color:#f2f2f2; color:green" %)**Green led**(%%) will solidly turn on for 5 seconds after join in network.
113 +)))
114 +|(% 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 is in Deep Sleep Mode.
115 +
106 106  == 2.3 Example to join LoRaWAN network ==
107 107  
108 108  
... ... @@ -135,37 +135,43 @@
135 135  [[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220522232916-3.png||_mstalt="430495"]]
136 136  
137 137  
138 -[[image:image-20220522232932-4.png||_mstalt="430157"]]
148 +[[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"]]
139 139  
140 140  
141 -[[image:image-20220522232954-5.png||_mstalt="431847"]]
151 +[[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"]]
142 142  
143 143  
144 -
145 145  (% style="color:red" %)**Note: LHT65N-PIR use same payload decoder as LHT65.**
146 146  
147 147  
148 -Input APP EUI,  APP KEY and DEV EUI:
157 +[[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"]]
149 149  
150 150  
151 -[[image:image-20220522233118-7.png||_mstalt="430430"]]
160 +**Input APP EUI,  APP KEY and DEV EUI:**
152 152  
162 +[[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"]]
153 153  
164 +
154 154  === 2.3.2 Step 2: Activate LHT65N-PIR by pressing the ACT button for more than 5 seconds. ===
155 155  
167 +
156 156  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.
157 -[[image:image-20220522233300-8.png||_mstalt="428389" height="219" width="722"]]
158 158  
159 159  
171 +[[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"]]
172 +
173 +
160 160  == 2.4 Uplink Payload~-~-Device Status, (Fport~=5) ==
161 161  
176 +
162 162  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.
163 163  
164 164  The Payload format is as below.
165 165  
166 -|(% colspan="6" %)**Device Status (FPORT=5)**
167 -|**Size (bytes)**|**1**|**2**|**1**|**1**|**2**
168 -|**Value**|Sensor Model|Firmware Version|Frequency Band|Sub-band|BAT
181 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
182 +|(% colspan="6" style="background-color:#d9e2f3; color:#0070c0" %)**Device Status (FPORT=5)**
183 +|(% 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**
184 +|(% 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
169 169  
170 170  Example parse in TTNv3
171 171  
... ... @@ -224,40 +224,41 @@
224 224  
225 225  == 2.5 Uplink Payload, Sensor Data  ( Fport~=2) ==
226 226  
243 +
227 227  The uplink payload includes totally 11 bytes. Uplink packets use FPORT=2 and (% style="color:#4f81bd" %)**every 20 minutes**(%%) send one uplink by default.
228 228  
229 229  After each uplink, the (% style="color:blue" %)**BLUE LED**(%%) will blink once.
230 230  
231 -(% border="1" cellspacing="4" style="background-color:#ffffcc; color:green; width:390px" %)
232 -|=(% style="width: 60px;" %)(((
248 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:390px" %)
249 +|=(% style="width: 60px;background-color:#D9E2F3" %)(((
233 233  **Size(bytes)**
234 -)))|=(% style="width: 30px;" %)(((
251 +)))|=(% style="width: 30px;background-color:#D9E2F3" %)(((
235 235  **2**
236 -)))|=(% style="width: 100px;" %)(((
253 +)))|=(% style="width: 100px;background-color:#D9E2F3" %)(((
237 237  **2**
238 -)))|=(% style="width: 100px;" %)(((
255 +)))|=(% style="width: 100px;background-color:#D9E2F3" %)(((
239 239  **2**
240 -)))|=(% style="width: 50px;" %)(((
257 +)))|=(% style="width: 50px;background-color:#D9E2F3" %)(((
241 241  **1**
242 -)))|=(% style="width: 50px;" %)(((
259 +)))|=(% style="width: 50px;background-color:#D9E2F3" %)(((
243 243  **4**
244 244  )))
245 245  |(% style="width:97px" %)(((
246 246  **Value**
247 247  )))|(% style="width:39px" %)(((
248 -[[BAT>>||anchor="H2.4.2BAT-BatteryInfo"]]
265 +[[BAT>>||anchor="H2.5.2BAT-BatteryInfo"]]
249 249  )))|(% style="width:100px" %)(((
250 250  (((
251 -[[Built-In Temperature>>||anchor="H2.4.3Built-inTemperature"]]
268 +[[Built-In Temperature>>||anchor="H2.5.3Built-inTemperature"]]
252 252  )))
253 253  )))|(% style="width:77px" %)(((
254 254  (((
255 -[[Built-in Humidity>>||anchor="H2.4.4Built-inHumidity"]]
272 +[[Built-in Humidity>>||anchor="H2.5.4Built-inHumidity"]]
256 256  )))
257 257  )))|(% style="width:47px" %)(((
258 -[[Ext>>||anchor="H2.4.5Ext23"]] #
275 +Ext #
259 259  )))|(% style="width:51px" %)(((
260 -[[Ext value>>||anchor="H2.4.6Extvalue"]]
277 +[[Ext value>>||anchor="H2.5.5Extvalue"]]
261 261  )))
262 262  
263 263  * The First 6 bytes: has fix meanings for every LHT65N-PIR.
... ... @@ -281,7 +281,19 @@
281 281  
282 282  These two bytes of BAT include the battery state and the actually voltage
283 283  
284 -[[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220523152839-18.png||_mstalt="457613"]]
301 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:477px" %)
302 +|=(% style="width: 69px; background-color:#D9E2F3;color:#0070C0" %)(((
303 +**Bit(bit)**
304 +)))|=(% style="width: 253px;background-color:#D9E2F3;color:#0070C0" %)[15:14]|=(% style="width: 155px;background-color:#D9E2F3;color:#0070C0" %)[13:0]
305 +|(% style="width:66px" %)(((
306 +**Value**
307 +)))|(% style="width:250px" %)(((
308 +BAT Status
309 +00(b): Ultra Low ( BAT <= 2.50v)
310 +01(b): Low (2.50v <=BAT <= 2.55v)
311 +10(b): OK (2.55v <= BAT <=2.65v)
312 +11(b): Good (BAT >= 2.65v)
313 +)))|(% style="width:152px" %)Actually BAT voltage
285 285  
286 286  
287 287  [[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"]]
... ... @@ -321,19 +321,19 @@
321 321  
322 322  Bit0 of byte 8th shows if this uplink is generate by PIR activity.
323 323  
324 -(% border="1" cellspacing="4" style="background-color:#ffffcc; color:green; width:490px" %)
325 -|=(% style="width: 147px;" %)(((
353 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:393px" %)
354 +|=(% style="width: 106px; background-color: rgb(217, 226, 243); color: rgb(0, 112, 192);" %)(((
326 326  **The 8^^th^^ byte**
327 -)))|=(% style="width: 108px;" %)(((
356 +)))|=(% style="width: 71px; background-color: rgb(217, 226, 243); color: rgb(0, 112, 192);" %)(((
328 328  **Bit 1~~7**
329 -)))|=(% style="width: 228px;" %)(((
358 +)))|=(% style="width: 211px; background-color: rgb(217, 226, 243); color: rgb(0, 112, 192);" %)(((
330 330  **Bit 0**
331 331  )))
332 -|(% style="width:147px" %)(((
361 +|(% style="width:106px" %)(((
333 333  **Value**
334 -)))|(% style="width:108px" %)(((
363 +)))|(% style="width:71px" %)(((
335 335  Reserve
336 -)))|(% style="width:228px" %)(((
365 +)))|(% style="width:211px" %)(((
337 337  (((
338 338  0: Normal Uplink
339 339  
... ... @@ -341,7 +341,7 @@
341 341  )))
342 342  )))
343 343  
344 -**Note**: Uplink by activity is disable by default.
373 +(% style="color:red" %)**Note**:** Uplink by activity is disable by default.**
345 345  
346 346  
347 347  The 9^^th^^ ~~ 11^^st^^  byte: Movement Detect Count.
... ... @@ -438,7 +438,7 @@
438 438  
439 439  LHT65N-PIR supports below configure method:
440 440  
441 -* AT Command via UART Connection : See [[FAQ>>path:#H7.FAQ]].
470 +* AT Command via UART Connection : See [[FAQ>>||anchor="H7.FAQ"]].
442 442  * LoRaWAN Downlink.  Instruction for different platforms: See [[IoT LoRaWAN Server>>url:http://wiki.dragino.com/xwiki/bin/view/Main/]] section.
443 443  
444 444  == 4.2 General Commands ==
... ... @@ -468,9 +468,11 @@
468 468  
469 469  (% style="color:#4f81bd" %)**AT Command: AT+TDC**
470 470  
471 -[[image:image-20220523150701-2.png||_mstalt="427453"]]
500 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:501px" %)
501 +|(% 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**
502 +|(% style="width:155px" %)AT+TDC?|(% style="width:162px" %)Show current transmit Interval|(% style="width:177px" %)30000 OK the interval is 30000ms = 30s
503 +|(% style="width:155px" %)AT+TDC=60000|(% style="width:162px" %)Set Transmit Interval|(% style="width:177px" %)OK Set transmit interval to 60000ms = 60 seconds
472 472  
473 -
474 474  (% style="color:#4f81bd" %)**Downlink Payload: 0x01**
475 475  
476 476  Format: Command Code (0x01) followed by 3 bytes time value.
... ... @@ -496,26 +496,24 @@
496 496  Feature: Set device password, max 9 digits
497 497  
498 498  
499 -(% style="color:#4f81bd" %)**AT Command: AT+EXT**
530 +(% style="color:#4f81bd" %)**AT Command: AT+PWORD**
500 500  
501 -(% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:510px" %)
502 -|Command Example|Function|Response
503 -|AT+EXT=?|Get or Set external sensor model|(((
504 -5
505 505  
506 -OK
533 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:372px" %)
534 +|(% 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**
535 +|(% style="width:155px" %)AT+PWORD=?|(% style="width:124px" %)Show password|(% style="width:86px" %)(((
536 +123456
537 +
538 +OK
507 507  )))
508 -|AT+EXT=5|(% colspan="2" %)Set external sensor mode to 5
540 +|(% style="width:155px" %)AT+PWORD=999999|(% style="width:124px" %)Set password|(% style="width:86px" %)OK
509 509  
510 -(% style="color:#4f81bd" %)**Downlink Command:0xA2**
542 +(% style="color:#4f81bd" %)**Downlink Command:**
511 511  
544 +No downlink command for this feature.
512 512  
513 -Total bytes: 2 bytes
514 514  
515 -**Example:**
516 516  
517 -* 0xA205: Set external sensor type to E5
518 -
519 519  === 4.3.4 Set to sleep mode ===
520 520  
521 521  
... ... @@ -522,6 +522,7 @@
522 522  Feature: Set device to sleep mode
523 523  
524 524  * **AT+Sleep=0**  : Normal working mode, device will sleep and use lower power when there is no LoRa message
554 +
525 525  * **AT+Sleep=1** :  Device is in deep sleep mode, no LoRa activation happen, used for storage or shipping.
526 526  
527 527  (% style="color:#4f81bd" %)**AT Command: AT+SLEEP**