Version 202.27 by Xiaoling on 2022/06/21 14:13

Show last authors
1 (% style="text-align:center" %)
2 [[image:1655774244188-589.png]]
3
4
5
6
7 (% _mstvisible="1" %)
8 (% _msthash="315238" _msttexthash="18964465" _mstvisible="3" %)**Table of Contents:**
9
10
11
12
13
14
15
16
17 = 1.  Introduction =
18
19
20 == 1.1  What is LHT52 Temperature & Humidity Sensor ==
21
22 (% _mstvisible="1" %)
23 (((
24 (% _msthash="506051" _msttexthash="24333127" _mstvisible="2" %)
25
26
27 The Dragino LHT52 Temperature & Humidity sensor is a Long Range LoRaWAN Sensor. It includes a (% style="color:blue" %)**built-in Temperature & Humidity sensor** (%%)and has a USB Type-C sensor connector to connect to external sensors such as external Temperature Sensor.
28
29 LHT52 (% style="color:blue" %)**senses environment temperature and humidity**(%%) and send these values via long-range wireless LoRaWAN protocol. It targets professional wireless sensor network applications such as food service, smart metering, smart cities, building automation, and so on.
30
31 LHT52 supports(% style="color:blue" %)** 2 x AAA batteries **(%%)and works for a long time up to several years. Use can replace the batteries easily after they are finished.
32
33 LHT52 is fully compatible with LoRaWAN v1.0.3 protocol, it can work with standard LoRaWAN gateway.
34
35 LHT52 supports(% style="color:blue" %)** Datalog feature** (%%)to make sure users won’t miss sensor data. It records sensor value for every uplink. These values can be retrieved by LoRaWAN server via downlink command.
36
37 LHT52 supports(% style="color:blue" %)** temperature alarm feature**(%%). It can uplink alarm in a short interval while temperature exceeds preset limits.
38
39 *Battery life depends how often to send data, please see [[battery analyzer>>||anchor="H4.2A0PowerConsumptionAnalyze"]].
40
41 (% _msthash="506051" _msttexthash="24333127" _mstvisible="2" %)
42 [[image:1655774519494-861.png]]
43 )))
44
45 (% _mstvisible="1" %)
46 (((
47 (% _msthash="506056" _msttexthash="5557097" _mstvisible="2" %)
48
49 )))
50
51
52 == 1.2  Features ==
53
54 (% _mstvisible="1" %)
55 * Wall Attachable.
56 * LoRaWAN v1.0.3 Class A protocol.
57 * Built-in Temperature & Humidity sensor
58 * Optional External Probe
59 * Frequency Bands: CN470/EU433/KR920/US915/EU868/AS923/AU915
60 * AT Commands to change parameters
61 * Remote configure parameters via LoRaWAN Downlink
62 * Firmware upgradable via program port
63 * Support 2 x AAA LR03 batteries.
64 * Datalog feature
65 * IP Rating: IP52
66
67 == 1.3  Specification ==
68
69
70 **Built-in Temperature Sensor:**
71
72 * Resolution: 0.01 °C
73 * Accuracy Tolerance: Typ ±0.3 °C
74 * Long Term Drift: < 0.02 °C/yr
75 * Operating Range: -20 ~~ 50 °C
76
77 **Built-in Humidity Sensor:**
78
79 * Resolution: 0.1 %RH
80 * Accuracy Tolerance: Typ ±3 %RH
81 * Long Term Drift: < 0.02 °C/yr
82 * Operating Range: 0 ~~ 99.0 %RH(no Dew)
83
84 == 1.4  Power Consumption ==
85
86 LHT52 (without external sensor): Idle: 5uA, Transmit: max 110mA
87
88 LHT52 + External Temperature Probe (AS-01): Idle: 6uA, Transmit: max 110mA.
89
90
91
92 == 1.5  Storage & Operation Temperature ==
93
94 -20°C to +50°C
95
96
97
98 == 1.6  Applications ==
99
100 * Smart Buildings & Home Automation
101 * Logistics and Supply Chain Management
102 * Smart Metering
103 * Smart Agriculture
104 * Smart Cities
105 * Smart Factory
106
107 = 2.  Operation Mode =
108
109
110 == 2.1  How it work? ==
111
112 Each LHT52 is shipped with a worldwide unique set of LoRaWAN OTAA keys. To use LHT52 in a LoRaWAN network, user needs to input the OTAA keys in LoRaWAN network server. After this, if LHT52 is under this LoRaWAN network coverage, LHT52 can join the LoRaWAN network and start to transmit sensor data. The default period for each uplink is** 20 minutes**.
113
114
115 == 2.2  How to Activate LHT52? ==
116
117 (% style="color:red" %)** 1.  Open enclosure from below position.**
118
119 [[image:image-20220621093835-1.png]]
120
121
122 (% style="color:red" %)** 2.  Insert 2 x AAA LR03 batteries.**
123
124 [[image:image-20220621093835-2.png]]
125
126
127 (% style="color:red" %)** 3.  Press the reset button to activate device.**
128
129 [[image:image-20220621093835-3.png]]
130
131
132 User can check [[LED Status>>||anchor="H2.8A0LEDIndicator"]] to know the working state of LHT52.
133
134
135
136
137 == 2.3  Example to join LoRaWAN network ==
138
139 This section shows an example for how to join the [[TheThingsNetwork>>url:https://www.thethingsnetwork.org/]] LoRaWAN IoT server. Usages with other LoRaWAN IoT servers are of similar procedure.
140
141 (% _mstvisible="1" class="wikigeneratedid" %)
142 [[image:1655775912928-657.png]]
143
144 Assume the DLOS8 is already set to connect to [[TTN V3 network >>url:https://eu1.cloud.thethings.network/]]. We need to add the LHT52 device in TTN V3 portal. 
145
146
147 (% style="color:blue" %)**Step 1**(%%):  Create a device in TTN V3 with the OTAA keys from LHT52.
148
149 Each LHT52 is shipped with a sticker with the default DEV EUI as below:
150
151
152 [[image:image-20220617150003-1.jpeg]]
153
154
155 Enter these keys in the LoRaWAN Server portal. Below is TTN V3 screen shot:
156
157 Add APP EUI in the application.
158
159 choose to create the device manually.
160
161 Add APP KEY and DEV EUI
162
163
164 [[image:image-20220522232916-3.png||_mstalt="430495" _mstvisible="3"]]
165
166 [[image:1655776122894-257.png]]
167
168
169
170 **Default mode OTAA**
171
172
173 [[image:1655776241177-240.png]]
174
175
176
177 (% style="color:blue" %)**Step 2**(%%):  Use ACT button to activate LHT52 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.
178
179 [[image:image-20220621095134-4.png]]
180
181
182
183 == 2.4  Uplink Payload ==
184
185 Uplink payloads include two types: Valid Sensor Value and other status / control command.
186
187 * Valid Sensor Value: Use FPORT=2
188 * Other control command: Use FPORT other than 2.
189
190 === 2.4.1  Uplink FPORT~=5, Device Status ===
191
192 Uplink the device configures with FPORT=5. Once LHT52 Joined the network, it will uplink this message to the server. After first uplink, LHT52 will uplink Device Status every 12 hours.
193
194 (% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:462px" %)
195 |=(% style="width: 99px;" %)**Size (bytes)**|=(% style="width: 62px;" %)**1**|=(% style="width: 80px;" %)**2**|=(% style="width: 82px;" %)**1**|=(% style="width: 85px;" %)**1**|=(% style="width: 46px;" %)**2**
196 |(% style="width:99px" %)**Value**|(% style="width:62px" %)Sensor Model|(% style="width:80px" %)Firmware Version|(% style="width:82px" %)Frequency Band|(% style="width:85px" %)Sub-band|(% style="width:46px" %)BAT
197
198 [[image:image-20220621100550-5.png]]
199
200 Example Payload (FPort=5):  [[image:image-20220621105116-11.png]]
201
202
203 (% style="color:#4472c4" %)**Sensor Model**(%%): For LHT52, this value is 0x09.
204
205
206 (% style="color:#4472c4" %)**Firmware Version**(%%): 0x0100, Means: v1.0.0 version.
207
208
209 (% style="color:#4472c4" %)**Frequency Band**:
210
211 *0x01: EU868
212
213 *0x02: US915
214
215 *0x03: IN865
216
217 *0x04: AU915
218
219 *0x05: KZ865
220
221 *0x06: RU864
222
223 *0x07: AS923
224
225 *0x08: AS923-1
226
227 *0x09: AS923-2
228
229 *0x0a: AS923-3
230
231
232 (% style="color:#4472c4" %)**Sub-Band**(%%): value 0x00 ~~ 0x08(only for CN470, AU915,US915. Others are0x00)
233
234
235 (% style="color:#4472c4" %)**BAT**(%%): shows the battery voltage for LHT52.
236
237 Ex1: 0x0B3A = 2874mV
238
239
240
241 Use can also get the Device Status uplink through the downlink command:
242
243 (% style="color:#4472c4" %)**Downlink:  0x2301**
244
245
246 [[image:image-20220621100550-6.png||height="504" width="1491"]]
247
248
249
250 === 2.4.2  Uplink FPORT~=2, Real time sensor value ===
251
252 LHT52 will send this uplink after Device Status uplink once join LoRaWAN network successfully. And it will periodically send this uplink. Default interval is 20 minutes and [[can be changed>>||anchor="H3.1A0DownlinkCommandSet"]].
253
254 Uplink uses FPORT=2 and every 20 minutes send one uplink by default.
255
256 (% _mstvisible="1" border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:426px" %)
257 (% _mstvisible="3" %)|=(% _mstvisible="4" style="width: 97px;" %)(% _mstvisible="5" %)
258 (((
259 (% _mstvisible="6" %)
260 (% _msthash="1817478" _msttexthash="161122" _mstvisible="8" %)**Size(bytes)**
261 )))|=(% _mstvisible="4" style="width: 39px;" %)(% _mstvisible="5" %)
262 (((
263 (% _mstvisible="6" %)
264 (% _msthash="1817479" _msttexthash="4550" _mstvisible="8" %)**2**
265 )))|=(% _mstvisible="4" style="width: 100px;" %)(% _mstvisible="5" %)
266 (((
267 (% _mstvisible="6" %)
268 (% _msthash="1817480" _msttexthash="4550" _mstvisible="8" %)**2**
269 )))|=(% _mstvisible="4" style="width: 77px;" %)(% _mstvisible="5" %)
270 (((
271 (% _mstvisible="6" %)
272 (% _msthash="1817481" _msttexthash="4550" _mstvisible="8" %)**2**
273 )))|=(% _mstvisible="4" style="width: 47px;" %)(% _mstvisible="5" %)
274 (((
275 (% _mstvisible="6" %)
276 (% _msthash="1817482" _msttexthash="4459" _mstvisible="8" %)**1**
277 )))|=(% _mstvisible="4" style="width: 51px;" %)(% _mstvisible="5" %)
278 (((
279 (% _mstvisible="6" %)
280 (% _msthash="1817483" _msttexthash="4732" _mstvisible="8" %)**4**
281 )))
282 (% _mstvisible="3" %)|(% _mstvisible="4" style="width:97px" %)(% _mstvisible="5" %)
283 (((
284 (% _mstvisible="6" %)
285 (% _msthash="1817484" _msttexthash="60203" _mstvisible="8" %)**Value**
286 )))|(% _mstvisible="4" style="width:39px" %)(% _mstvisible="5" %)
287 (((
288 (% _mstvisible="6" %)
289 [[Temperature>>||anchor="H2.4.3Built-inTemperature" _msthash="2224742" _msttexthash="405769" _mstvisible="8"]]
290 )))|(% _mstvisible="4" style="width:100px" %)(% _mstvisible="5" %)
291 (((
292 (% _mstvisible="6" %)
293 (((
294 (% _mstvisible="7" %)
295 [[Humidity>>||anchor="H2.4.4Built-inHumidity" _msthash="2224744" _msttexthash="117429" _mstvisible="8"]]
296
297 (% _mstvisible="7" %)
298
299 )))
300 )))|(% _mstvisible="4" style="width:77px" %)(% _mstvisible="5" %)
301 (((
302 (% _mstvisible="6" %)
303 (((
304 (% _mstvisible="7" %)
305 [[External Temperature>>||anchor="H2.4.3Built-inTemperature" _msthash="2224742" _msttexthash="405769" _mstvisible="8"]]
306 )))
307 )))|(% _mstvisible="4" style="width:47px" %)(% _mstvisible="5" %)
308 (((
309 (% _mstvisible="6" %)
310 [[Ext>>||anchor="H2.4.5Ext23" _msthash="1817486" _msttexthash="32331" _mstvisible="7"]] #
311 )))|(% _mstvisible="4" style="width:51px" %)(((
312 [[Unix TimeStamp>>||anchor="H2.4.6Extvalue" _msthash="1817487" _msttexthash="116545" _mstvisible="7"]]
313 )))
314
315 **Temperature:**
316
317 [[image:image-20220621101526-7.png]]
318
319 Example Payload (FPort=2):
320
321 08 CD 02 20 7F FF 01 61 CD 4E DD
322
323
324 ==== **Temperature & External Temperature:** ====
325
326 * Example1:  0x08CD/100=22.53℃
327 * Example2:  (0xF5C6-65536)/100=-26.18℃
328
329 ==== **Humidity:** ====
330
331 * Humidity:    0x0220/10=54.4%
332
333 ==== **Extension #** ====
334
335 Bytes for External Sensor:
336
337 (% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:310px" %)
338 |=(% style="width: 103px;" %)**EXT # Value**|=(% style="width: 203px;" %)**External Sensor Probe**
339 |(% style="width:103px" %)0x01|(% style="width:203px" %)Sensor AS-01, Temperature
340
341 === 2.4.3  Uplink FPORT~=3, Datalog sensor value ===
342
343 LHT52 stores sensor value and user can retrieve these history value via downlink command. The Datalog sensor value are sent via FPORT=3.
344
345 [[image:image-20220621101659-8.png]]
346
347
348 * Each data entry is 11 bytes, to save airtime and battery, LHT52 will send max bytes according to the current DR and Frequency bands.
349
350 For example, in US915 band, the max payload for different DR is:
351
352 1. DR0: max is 11 bytes so one entry of data
353 1. DR1: max is 53 bytes so devices will upload 4 entries of data (total 44 bytes)
354 1. DR2: total payload includes 11 entries of data
355 1. DR3: total payload includes 22 entries of data.
356
357 (% style="color:red" %)**Notice**: LHT52 will save 178 set of history data, If device doesn't have any data in the polling time. Device will uplink 11 bytes of 0.
358
359 See more info about the [[Datalog feature>>||anchor="H"]].
360
361
362
363
364 === 2.4.4  Uplink FPORT~=4, DS18B20 ID ===
365
366 User can get external DS18B20 ID through the downlink command.
367
368 Downlink:0x2302
369
370 [[image:image-20220621101853-9.png]]
371
372 Example Payload (FPort=4):
373
374 (% style="color:#037691" %)28 86 63 B2 00 00 00 9F
375
376
377 The External DS18B20 ID is 0x28 86 63 B2 00 00 00 9F
378
379
380
381
382 === 2.4.5  Decoder in TTN V3 ===
383
384 In LoRaWAN protocol, the uplink payload is HEX format, user need to add a payload formatter/decoder in LoRaWAN Server to get human friendly string.
385
386 In TTN , add formatter as below:
387
388 [[image:image-20220621102026-10.png]]
389
390 (((
391 Please check the decoder from this link:
392
393 (((
394 [[https:~~/~~/www.dragino.com/downloads/index.php?dir=LoRa_End_Node/LHT52/Decoder/>>url:https://www.dragino.com/downloads/index.php?dir=LoRa_End_Node/LHT52/Decoder/]]
395
396
397
398
399 == 2.5 Show data on Datacake ==
400
401 Datacake IoT platform provides a human friendly interface to show the sensor data in charts, 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:
402
403
404 (% style="color:bule" %)**Step 1**(%%): Be sure that your device is programmed and properly connected to the LoRaWAN network.
405
406 (% style="color:bule" %)**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.
407
408 1. Add Datacake:
409
410 2. Select default key as Access Key:
411
412 3. In Datacake console ([[https:~~/~~/datacake.co/>>url:https://datacake.co/]]) , add LHT52:
413
414 Please refer to the figure below
415
416
417 [[image:image-20220621112422-1.png]]
418
419
420
421 Log in to DATACAKE, copy the API under the account[[image:image-20220621112422-2.png]]
422
423
424 [[image:image-20220621112422-3.png]]
425
426
427
428 [[image:image-20220621112422-4.png]]
429
430
431 [[image:image-20220621112422-5.png]]
432
433
434 [[image:image-20220621112422-6.png]]
435
436
437 [[image:image-20220621112422-7.png]]
438
439 [[image:image-20220621112422-8.png]]
440
441
442 [[image:image-20220621112422-9.png]]
443
444
445 [[image:image-20220621112422-10.png||height="372" width="1215"]]
446
447
448 Copy and paste the [[TTN decoder>>url:https://www.dragino.com/downloads/index.php?dir=LoRa_End_Node/LHT52/Decoder/]] here and save
449
450 [[image:image-20220621112422-11.png||height="575" width="1215"]]
451
452
453 Visual widgets please read the DATACAKE documentation
454
455 [[image:image-20220621112422-12.png||height="713" width="1180"]]
456
457
458
459
460
461 == 2.6  Datalog Feature ==
462
463 (% _msthash="315262" _msttexthash="32283004" _mstvisible="1" %)
464 When user want to retrieve sensor value, he can send a poll command from the IoT platform to ask sensor to send value in the required time slot.
465
466
467
468 === 2.6.1  Unix TimeStamp ===
469
470 (% _msthash="315264" _msttexthash="1182285" _mstvisible="1" %)
471 Unix TimeStamp shows the sampling time of uplink payload. format base on
472
473 (% _mstvisible="1" %)
474 [[image:image-20220523001219-11.png||_mstalt="450450" _mstvisible="3" height="97" width="627"]]
475
476
477 (% _mstvisible="1" %)
478 (((
479 (% _msthash="506068" _msttexthash="2717234" _mstvisible="2" %)
480 User can get this time from link:  [[https:~~/~~/www.epochconverter.com/>>url:https://www.epochconverter.com/||_mstvisible="3"]] :
481 )))
482
483 (% _mstvisible="1" %)
484 (((
485 For example: if the Unix Timestamp we got is hex 0x60137afd, we can convert it to Decimal: 1611889405. and then convert to the time: 2021 – Jan ~-~- 29 Friday 03:03:25 (GMT)
486 )))
487
488 (% _mstvisible="1" %)
489 [[image:1655782409139-256.png]]
490
491
492 (% _mstvisible="1" %)
493 (((
494 (% _msthash="506076" _msttexthash="7889297" _mstvisible="2" %)
495
496 )))
497
498
499 === 2.6.2  Poll sensor value ===
500
501 (% _msthash="315266" _msttexthash="4955821" _mstvisible="1" %)
502 User can poll sensor value based on timestamps from the server. Below is the downlink command.
503
504 (% _mstvisible="1" %)
505 [[image:image-20220523152302-15.png||_mstalt="451581" _mstvisible="3"]]
506
507 (% _mstvisible="1" %)
508 (((
509 (% _msthash="506077" _msttexthash="14670916" _mstvisible="2" %)
510 Timestamp start and Timestamp end use Unix TimeStamp format as mentioned above. Devices will reply with all data log during this time period, use the uplink interval.
511 )))
512
513 (% _mstvisible="1" %)
514 (((
515 (% _mstvisible="2" %)
516 For example, downlink command [[image:image-20220621113526-13.png]] (% _mstvisible="3" style="display:none" %)
517 )))
518
519 (% _mstvisible="1" %)
520 (((
521 Is to check 2020/12/1 07:40:00 to 2020/12/1 08:40:00's data
522
523 Uplink Internal =5s,means LHT52 will send one packet every 5s. range 5~~255s.
524
525 (% _msthash="506078" _msttexthash="6907459" _mstvisible="2" %)
526
527 )))
528
529
530
531 === 2.6.3  Datalog Uplink payload ===
532
533 See [[Uplink FPORT=3, Datalog sensor value>>||anchor="H"]]
534
535
536
537
538 == 2.7  Alarm Mode ==
539
540 When device is in Alarm mode, it will check the built-in sensor temperature in a short interval. If the temperature exceeds the pre-configure range, it will send an uplink immediately.
541
542 The alarm mode can be modified by AT command or downlink, Alarm mode is disabled by default.
543
544 If you need to enable the Alarm mode, please refer to the following
545
546 (% style="color:red" %)**Note: Alarm mode will increase the power consumption, we recommend extending the normal uplink time (20 minutes default) when enable this feature.**
547
548 (% _mstvisible="1" %)
549 (((
550 (% _mstvisible="2" style="text-align: left;" %)
551
552
553 (% style="color:blue" %)**AT Commands for Alarm mode:**
554
555 (% style="color:#037691" %)**AT+WMOD=1**(%%)**: ** Enable/Disable Alarm Mode. (0:Disable, 1: Enable),need to reset the node to take effect
556
557 (% style="color:#037691" %)**AT+CITEMP=1**(%%)**: ** The interval to check temperature for Alarm. (Unit: minute)
558
559 (% style="color:#037691" %)**AT+ARTEMP=-40,125**(%%)**:   ** Set the normal temperature range from -40°C to 125°C
560
561 Suppose you want to set the normal temperature from 15°C to 50°C, and turn on the alarm mode, and check the temperature every 2 minutes. Please refer to the following
562
563 [[image:image-20220621114109-14.png]]
564
565 [[image:image-20220621114109-15.png]]
566
567
568 Modification via downlink,Take TTN_V3 as an example((% style="color:red" %)downlink commands, please refer to the downlink command set for details(%%))
569
570 In order to ensure that the node is indeed modified by downlink, I reset the node to factory settings first.
571
572 [[image:image-20220621114109-16.png]]
573
574
575 [[image:image-20220621114109-17.png||height="583" width="1274"]]
576
577 [[image:image-20220621114109-18.png]]
578
579
580 Or use a downlink directly: AA010002000F0032 ([[See command info>>||anchor="H"]])
581
582 [[image:image-20220621114109-19.png||height="178" width="1292"]]
583
584 (% _mstvisible="2" style="text-align: left;" %)
585
586 )))
587
588
589
590 == 2.8 LED Indicator ==
591
592 The LHT52 has a triple color LED which for easy showing different stage.
593
594
595 (% style="color:#037691" %)**In a normal working state**:
596
597 * When the node is restarted, (% style="color:green" %)**GREEN**, (% style="color:red" %)**RED**(%%) and (% style="color:blue" %)**BLUE**(%%) are sequentially lit.
598 * During OTAA Join:
599 ** **For each Join Request uplink:** the (% style="color:green" %)**GREEN LED** (%%)will blink once.
600 ** **Once Join Successful:** the (% style="color:green" %)**GREEN LED**(%%) will be solid on for 5 seconds.
601 * After joined, for each uplink, the (% style="color:blue" %)**BLUE LED**(%%) or (% style="color:green" %)**GREEN LED** (%%)will blink once.
602 ** (% style="color:blue" %)**BLUE LED**(%%) when external sensor is connected
603 ** (% style="color:green" %)**GREEN LED**(%%) when external sensor is not connected
604 * For each success downlink, the (% style="color:purple" %)**PURPLE LED**(%%) will blink once
605
606
607
608 (% style="color:#037691" %)**In AT Command Mode:**
609
610 If user use console cable to send AT Command to LHT52, the (% style="color:red" %)**RED LED**(%%) will always on until:
611
612 * Power off/on LHT52
613 * Press reset button of LHT52.
614 * Send an AT Command: AT+CLPM=1
615
616
617
618
619 == 2.9 Button ==
620
621 Press the button LHT52 will reset and join network again.
622
623
624
625 = 3.  Sensors and Accessories =
626
627 == 3.1  E2 Extension Cable ==
628
629 [[image:image-20220619092222-1.png||height="182" width="188"]][[image:image-20220619092313-2.png||height="182" width="173"]]
630
631 1m long breakout cable for LHT65N
632
633 [[image:image-20220619092421-3.png||height="371" width="529"]]
634
635
636
637 (% _msthidden="1" _mstvisible="1" style="text-align: left;" %)
638 == (% _msthash="903005" _msttexthash="1647204" _mstvisible="2" %)3.1(% _msthash="487110" _msttexthash="455390" %) E3 Temperature Probe(%%) ==
639
640 (% _mstvisible="1" %)
641 [[image:image-20220515080154-4.png||_mstalt="434681" _mstvisible="3" alt="photo-20220515080154-4.png" height="182" width="161"]] [[image:image-20220515080330-5.png||_mstalt="428792" _mstvisible="3" height="201" width="195"]]
642
643
644 (% _msthash="315354" _msttexthash="1270971" _mstvisible="1" style="text-align: left;" %)
645 Temperature sensor with 2 meters cable long
646
647 (% _mstvisible="1" %)
648 * Resolution: 0.0625 °C
649 * ±0.5°C accuracy from -10°C to +85°C
650 * ±2°C accuracy from -55°C to +125°C
651 * Operating Range: -40 ~~ 125 °C
652 * -55°C to 125°C
653 * Working voltage 2.35v ~~ 5v
654
655 (% _mstvisible="1" style="text-align: left;" %)
656 = (% _msthash="1940107" _msttexthash="1714063" _mstvisible="3" %)4. Configure LHT65N via AT command or LoRaWAN downlink(%%) =
657
658 (% _mstvisible="1" %)
659 (((
660 (% _msthash="506246" _msttexthash="2005926" _mstvisible="2" style="text-align: left;" %)
661 Use can configure LHT65N via AT Command or LoRaWAN Downlink.
662 )))
663
664 (% _mstvisible="1" %)
665 * (% _mstvisible="3" %)
666 (((
667 (% _msthash="903318" _msttexthash="635544" _mstvisible="4" %)
668 AT Command Connection: See [[FAQ>>||anchor="H6.FAQ"]].
669 )))
670 * (% _mstvisible="3" %)
671 (((
672 (% _msthash="903319" _msttexthash="3225859" _mstvisible="4" %)
673 LoRaWAN Downlink instruction for different platforms: [[IoT LoRaWAN Server>>doc:Main.WebHome]]
674 )))
675
676 (% _mstvisible="1" %)
677 (((
678 (% _mstvisible="2" style="text-align: left;" %)
679
680 )))
681
682 (% _mstvisible="1" %)
683 (((
684 (% _msthash="506248" _msttexthash="2144051" _mstvisible="2" style="text-align: left;" %)
685 There are two kinds of commands to configure LHT65N, they are:
686 )))
687
688 (% _mstvisible="1" %)
689 (((
690 (% _mstvisible="2" style="text-align: left;" %)
691 (% _msthash="506249" _msttexthash="317850" _mstvisible="3" style="color:#4f81bd" %)* (% _msthash="506249" _mstmutation="1" _msttexthash="317850" _mstvisible="4" style="color:#4f81bd" %)**General Commands**(% _msthash="506249" _mstmutation="1" _msttexthash="317850" _mstvisible="3" style="color:#4f81bd" %).
692 )))
693
694 (% _mstvisible="1" %)
695 (((
696 (% _msthash="506250" _msttexthash="774527" _mstvisible="2" style="text-align: left;" %)
697 These commands are to configure:
698 )))
699
700 (% _mstvisible="1" %)
701 * (% _mstvisible="3" %)
702 (((
703 (% _msthash="903320" _msttexthash="1503580" _mstvisible="4" %)
704 General system settings like: uplink interval.
705 )))
706 * (% _mstvisible="3" %)
707 (((
708 (% _msthash="903321" _msttexthash="1244334" _mstvisible="4" %)
709 LoRaWAN protocol & radio-related commands.
710 )))
711
712 (% _mstvisible="1" %)
713 (((
714 (% _msthash="506251" _msttexthash="12349142" _mstvisible="2" style="text-align: left;" %)
715 They are the same for all Dragino Devices which supports DLWS-005 LoRaWAN Stack(Note~*~*). These commands can be found on the wiki: [[End Device Downlink Command>>doc:Main.End Device AT Commands and Downlink Command.WebHome]]
716 )))
717
718 (% _mstvisible="1" %)
719 (((
720 (% _mstvisible="2" style="text-align: left;" %)
721
722 )))
723
724 (% _mstvisible="1" %)
725 (((
726 (% _mstvisible="2" style="text-align: left;" %)
727 (% _mstvisible="3" style="color:#4f81bd" %)* (% _msthash="506249" _mstmutation="1" _msttexthash="317850" _mstvisible="4" style="color:#4f81bd" %)**Commands special design for LHT65N**
728 )))
729
730 (% _mstvisible="1" %)
731 (((
732 (% _msthash="506254" _msttexthash="1501357" _mstvisible="2" style="text-align: left;" %)
733 These commands are only valid for LHT65N, as below:
734
735
736 (% _msthash="506254" _msttexthash="1501357" _mstvisible="2" style="text-align: left;" %)
737
738 )))
739
740 (% _mstvisible="1" style="text-align: left;" %)
741 == (% _msthash="708253" _msttexthash="668772" _mstvisible="3" %)4.1 Set Transmit Interval Time(%%) ==
742
743 (% _msthash="315355" _msttexthash="1659268" _mstvisible="1" style="text-align: left;" %)
744 Feature: Change LoRaWAN End Node Transmit Interval.
745
746 (% _mstvisible="1" style="text-align: left;" %)
747 (% _msthash="315244" _msttexthash="241696" style="color:#4f81bd" %)**AT Command: AT+TDC**
748
749 (% _mstvisible="1" %)
750 [[image:image-20220523150701-2.png||_mstalt="427453" _mstvisible="3"]]
751
752 (% _mstvisible="1" %)
753 (((
754 (% _mstvisible="2" style="text-align: left;" %)
755
756
757 (% _mstvisible="2" style="text-align: left;" %)
758 (% _msthash="506055" _msttexthash="381992" style="color:#4f81bd" %)**Downlink Command: 0x01**
759 )))
760
761 (% _mstvisible="1" %)
762 (((
763 (% _msthash="506256" _msttexthash="1996592" _mstvisible="2" style="text-align: left;" %)
764 Format: Command Code (0x01) followed by 3 bytes time value.
765 )))
766
767 (% _mstvisible="1" %)
768 (((
769 (% _msthash="506257" _msttexthash="12934649" _mstvisible="2" style="text-align: left;" %)
770 If the downlink payload=0100003C, it means set the END Node’s Transmit Interval to 0x00003C=60(S), while type code is 01.
771 )))
772
773 (% _mstvisible="1" %)
774 * (% _mstvisible="3" %)
775 (((
776 (% _msthash="903322" _msttexthash="3250546" _mstvisible="4" %)
777 (% _mstvisible="5" %)**Example 1**(%%): Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds
778 )))
779 * (% _mstvisible="3" %)
780 (((
781 (% _msthash="903323" _msttexthash="3253315" _mstvisible="4" %)
782 (% _mstvisible="5" %)**Example 2**(%%): Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds
783
784
785 (% _msthash="903323" _msttexthash="3253315" _mstvisible="4" %)
786
787 )))
788
789 (% _mstvisible="1" style="text-align: left;" %)
790 == (% _msthash="614770" _msttexthash="578240" _mstvisible="3" %)4.2 Set External Sensor Mode(%%) ==
791
792 (% _msthash="315357" _msttexthash="975117" _mstvisible="1" style="text-align: left;" %)
793 Feature: Change External Sensor Mode.
794
795 (% _mstvisible="1" style="text-align: left;" %)
796 (% _msthash="315245" _msttexthash="248118" style="color:#4f81bd" %)**AT Command: AT+EXT**
797
798 (% _mstvisible="1" %)
799 [[image:image-20220523150759-3.png||_mstalt="432146" _mstvisible="3"]]
800
801 (% _mstvisible="1" %)
802 (((
803 (% _mstvisible="2" style="text-align: left;" %)
804
805
806 (% _mstvisible="2" style="text-align: left;" %)
807 (% _msthash="506056" _msttexthash="387855" style="color:#4f81bd" %)**Downlink Command: 0xA2**
808 )))
809
810 (% _mstvisible="1" %)
811 (((
812 (% _msthash="506259" _msttexthash="395629" _mstvisible="2" style="text-align: left;" %)
813 Total bytes: 2 ~~ 5 bytes
814 )))
815
816 (% _mstvisible="1" %)
817 (((
818 (% _mstvisible="2" %)
819 (% _msthash="506260" _msttexthash="104767" _mstvisible="4" %)**Example:**
820 )))
821
822 (% _mstvisible="1" %)
823 * (% _mstvisible="3" %)
824 (((
825 (% _msthash="903324" _msttexthash="934973" _mstvisible="4" %)
826 0xA201: Set external sensor type to E1
827 )))
828 * (% _mstvisible="3" %)
829 (((
830 (% _msthash="903325" _msttexthash="354770" _mstvisible="4" %)
831 0xA209: Same as AT+EXT=9
832 )))
833 * (% _mstvisible="3" %)
834 (((
835 (% _msthash="903326" _msttexthash="639067" _mstvisible="4" %)
836 0xA20702003c,Same as AT+SETCNT=60
837
838
839 (% _msthash="903326" _msttexthash="639067" _mstvisible="4" %)
840
841 )))
842
843 (% _mstvisible="1" style="text-align: left;" %)
844 == (% _msthash="1562483" _msttexthash="1445717" _mstvisible="3" %)4.3 Enable/Disable uplink Temperature probe ID(%%) ==
845
846 (% _msthash="315359" _msttexthash="2977572" _mstvisible="1" style="text-align: left;" %)
847 Feature: If PID is enabled, device will send the temperature probe ID on:
848
849 (% _mstvisible="1" %)
850 * First Packet after OTAA Join
851 * Every 24 hours since the first packet.
852
853 (% _msthash="315360" _msttexthash="658814" _mstvisible="1" style="text-align: left;" %)
854 PID is default set to disable (0)
855
856 (% _mstvisible="1" style="text-align: left;" %)
857 (% _msthash="315246" _msttexthash="137488" style="color:#4f81bd" %)**AT Command:**
858
859 (% _mstvisible="1" %)
860 [[image:image-20220523150928-4.png||_mstalt="431821" _mstvisible="3"]]
861
862
863 (% _mstvisible="1" style="text-align: left;" %)
864 (% _msthash="315247" _msttexthash="298038" style="color:#4f81bd" %)**Downlink Command:**
865
866 (% _mstvisible="1" %)
867 * 0xA800  **~-~->** AT+PID=0
868 * 0xA801     **~-~->** AT+PID=1
869
870 (% _mstvisible="1" style="text-align: left;" %)
871 == (% _msthash="266344" _msttexthash="242879" _mstvisible="3" %)4.4 Set Password(%%) ==
872
873 (% _msthash="315363" _msttexthash="1170728" _mstvisible="1" style="text-align: left;" %)
874 Feature: Set device password, max 9 digits
875
876 (% _mstvisible="1" style="text-align: left;" %)
877 (% _msthash="315248" _msttexthash="295009" style="color:#4f81bd" %)**AT Command: AT+PWORD**
878
879 (% _mstvisible="1" %)
880 [[image:image-20220523151052-5.png||_mstalt="428623" _mstvisible="3"]]
881
882 (% _mstvisible="1" %)
883 (((
884 (% _mstvisible="2" style="text-align: left;" %)
885
886
887 (% _mstvisible="2" style="text-align: left;" %)
888 (% _msthash="506057" _msttexthash="298038" style="color:#4f81bd" %)**Downlink Command:**
889 )))
890
891 (% _mstvisible="1" %)
892 (((
893 (% _msthash="506262" _msttexthash="974311" _mstvisible="2" style="text-align: left;" %)
894 No downlink command for this feature.
895
896 (% _msthash="506262" _msttexthash="974311" _mstvisible="2" style="text-align: left;" %)
897
898 )))
899
900 (% _mstvisible="1" style="text-align: left;" %)
901 == (% _msthash="306956" _msttexthash="281918" _mstvisible="3" %)4.5 Quit AT Command(%%) ==
902
903 (% _msthash="315365" _msttexthash="4616456" _mstvisible="1" style="text-align: left;" %)
904 Feature: Quit AT Command mode, so user needs to input password again before use AT Commands.
905
906 (% _mstvisible="1" style="text-align: left;" %)
907 (% _msthash="315249" _msttexthash="289120" style="color:#4f81bd" %)**AT Command: AT+DISAT**
908
909 (% _mstvisible="1" %)
910 [[image:image-20220523151132-6.png||_mstalt="428649" _mstvisible="3"]]
911
912
913 (% _mstvisible="1" style="text-align: left;" %)
914 (% _msthash="315250" _msttexthash="298038" style="color:#4f81bd" %)**Downlink Command:**
915
916 (% _msthash="315368" _msttexthash="974311" _mstvisible="1" style="text-align: left;" %)
917 No downlink command for this feature.
918
919
920 (% _mstvisible="1" style="text-align: left;" %)
921 == (% _msthash="362752" _msttexthash="334919" _mstvisible="3" %)4.6 Set to sleep mode(%%) ==
922
923 (% _msthash="315369" _msttexthash="779688" _mstvisible="1" style="text-align: left;" %)
924 Feature: Set device to sleep mode
925
926 * AT+Sleep=0  : Normal working mode, device will sleep and use lower power when there is no LoRa message
927 * AT+Sleep=1 : Device is in deep sleep mode, no LoRa activation happen, used for storage or shipping.
928
929 (% _mstvisible="1" style="text-align: left;" %)
930 (% _msthash="315251" _msttexthash="289783" style="color:#4f81bd" %)**AT Command: AT+SLEEP**
931
932 (% _mstvisible="1" %)
933 [[image:image-20220523151218-7.png||_mstalt="430703" _mstvisible="3"]]
934
935 (% _mstvisible="1" %)
936 (% _msthash="315252" _msttexthash="298038" style="color:#4f81bd" %)**Downlink Command:**
937
938 (% _mstvisible="1" %)
939 * There is no downlink command to set to Sleep mode.
940
941 (% _mstvisible="1" %)
942 == (% _msthash="336557" _msttexthash="309712" _mstvisible="3" %)4.7 Set system time(%%) ==
943
944 (% _msthash="315372" _msttexthash="2565524" _mstvisible="1" %)
945 Feature: Set system time, unix format. [[See here for format detail.>>||anchor="H2.6.2UnixTimeStamp"]]
946
947 (% _mstvisible="1" %)
948 (% _msthash="315253" _msttexthash="137488" style="color:#4f81bd" %)**AT Command:**
949
950 (% _mstvisible="1" %)
951 [[image:image-20220523151253-8.png||_mstalt="430677" _mstvisible="3"]]
952
953
954 (% _mstvisible="1" %)
955 (% _msthash="315254" _msttexthash="298038" style="color:#4f81bd" %)**Downlink Command:**
956
957 (% _msthash="315375" _msttexthash="2898571" _mstvisible="1" %)
958 0x306007806000 ~/~/ Set timestamp to 0x(6007806000),Same as AT+TIMESTAMP=1611104352
959
960
961 (% _mstvisible="1" %)
962 == (% _msthash="376779" _msttexthash="348712" _mstvisible="3" %)4.8 Set Time Sync Mode(%%) ==
963
964 (% _mstvisible="1" %)
965 (((
966 (% _msthash="506263" _msttexthash="11748321" _mstvisible="2" %)
967 Feature: Enable/Disable Sync system time via LoRaWAN MAC Command (DeviceTimeReq), LoRaWAN server must support v1.0.3 protocol to reply this command.
968 )))
969
970 (% _mstvisible="1" %)
971 (((
972 (% _msthash="506264" _msttexthash="6530264" _mstvisible="2" %)
973 SYNCMOD is set to 1 by default. If user want to set a different time from LoRaWAN server, user need to set this to 0.
974 )))
975
976 (% _mstvisible="1" %)
977 (((
978 (% _mstvisible="2" %)
979 (% _msthash="506058" _msttexthash="137488" style="color:#4f81bd" %)**AT Command:**
980 )))
981
982 (% _mstvisible="1" %)
983 [[image:image-20220523151336-9.png||_mstalt="431717" _mstvisible="3"]]
984
985
986 (% _mstvisible="1" %)
987 (% _msthash="315255" _msttexthash="298038" style="color:#4f81bd" %)**Downlink Command:**
988
989 (% _msthash="315377" _msttexthash="479648" _mstvisible="1" %)
990 0x28 01 ~/~/ Same As AT+SYNCMOD=1
991
992 (% _msthash="315378" _msttexthash="479076" _mstvisible="1" %)
993 0x28 00 ~/~/ Same As AT+SYNCMOD=0
994
995
996 (% _mstvisible="1" %)
997 == (% _msthash="536432" _msttexthash="502528" _mstvisible="3" %)4.9 Set Time Sync Interval(%%) ==
998
999 (% _msthash="315379" _msttexthash="3065777" _mstvisible="1" %)
1000 Feature: Define System time sync interval. SYNCTDC default value: 10 days.
1001
1002 (% _mstvisible="1" %)
1003 (% _msthash="315256" _msttexthash="137488" style="color:#4f81bd" %)**AT Command:**
1004
1005 (% _mstvisible="1" %)
1006 [[image:image-20220523151411-10.png||_mstalt="449696" _mstvisible="3"]]
1007
1008
1009 (% _mstvisible="1" %)
1010 (% _msthash="315257" _msttexthash="298038" style="color:#4f81bd" %)**Downlink Command:**
1011
1012 (% _msthash="315382" _msttexthash="590044" _mstvisible="1" %)
1013 0x29 0A ~/~/ Same as AT+SYNCTDC=0x0A
1014
1015
1016 (% _mstvisible="1" %)
1017 == (% _msthash="927901" _msttexthash="882570" _mstvisible="3" %)4.10 Print data entries base on page.(%%) ==
1018
1019 (% _msthash="315383" _msttexthash="3233334" _mstvisible="1" %)
1020 Feature: Print the sector data from start page to stop page (max is 416 pages).
1021
1022 (% _mstvisible="1" %)
1023 (% _msthash="315258" _msttexthash="264953" style="color:#4f81bd" %)**AT Command: AT+PDTA**
1024
1025 (% _mstvisible="1" %)
1026 [[image:image-20220523151450-11.png||_mstalt="451035" _mstvisible="3"]]
1027
1028
1029 (% _mstvisible="1" %)
1030 (% _msthash="315259" _msttexthash="298038" style="color:#4f81bd" %)**Downlink Command:**
1031
1032 (% _msthash="315386" _msttexthash="799539" _mstvisible="1" %)
1033 No downlink commands for feature
1034
1035
1036 (% _mstvisible="1" %)
1037 == (% _msthash="788762" _msttexthash="747149" _mstvisible="3" %)4.11 Print last few data entries.(%%) ==
1038
1039 (% _msthash="315387" _msttexthash="1101009" _mstvisible="1" %)
1040 Feature: Print the last few data entries
1041
1042 (% _mstvisible="1" %)
1043 (% _msthash="315260" _msttexthash="288522" style="color:#4f81bd" %)**AT Command: AT+PLDTA**
1044
1045 (% _mstvisible="1" %)
1046 [[image:image-20220523151524-12.png||_mstalt="452101" _mstvisible="3"]]
1047
1048
1049 (% _mstvisible="1" %)
1050 (% _msthash="315261" _msttexthash="298038" style="color:#4f81bd" %)**Downlink Command:**
1051
1052 (% _msthash="315390" _msttexthash="799539" _mstvisible="1" %)
1053 No downlink commands for feature
1054
1055
1056 (% _mstvisible="1" %)
1057 == (% _msthash="437814" _msttexthash="408057" _mstvisible="3" %)4.12 Clear Flash Record(%%) ==
1058
1059 (% _msthash="315391" _msttexthash="1609075" _mstvisible="1" %)
1060 Feature: Clear flash storage for data log feature.
1061
1062 (% _mstvisible="1" %)
1063 (% _msthash="315262" _msttexthash="311415" style="color:#4f81bd" %)**AT Command: AT+CLRDTA**
1064
1065 (% _mstvisible="1" %)
1066 [[image:image-20220523151556-13.png||_mstalt="454129" _mstvisible="3"]]
1067
1068
1069 (% _mstvisible="1" %)
1070 (% _msthash="315263" _msttexthash="388193" style="color:#4f81bd" %)**Downlink Command: 0xA3**
1071
1072 (% _mstvisible="1" %)
1073 * Example: 0xA301 ~/~/Same as AT+CLRDTA
1074
1075 (% _mstvisible="1" %)
1076 == (% _msthash="740532" _msttexthash="701363" _mstvisible="3" %)4.13 Auto Send None-ACK messages(%%) ==
1077
1078 (% _msthash="315394" _msttexthash="51837149" _mstvisible="1" %)
1079 Feature: LHT65N will wait for ACK for each uplink, If LHT65N doesn't get ACK from the IoT server, it will consider the message doesn't arrive server and store it. LHT65N keeps sending messages in normal periodically. Once LHT65N gets ACK from a server, it will consider the network is ok and start to send the not-arrive message.
1080
1081
1082 (% _mstvisible="1" %)
1083 (% _msthash="315264" _msttexthash="334256" style="color:#4f81bd" %)**AT Command: AT+PNACKMD**
1084
1085 (% _msthash="315396" _msttexthash="734682" _mstvisible="1" %)
1086 The default factory setting is 0
1087
1088 (% _mstvisible="1" border="1" style="background-color:#ffffcc; color:green; width:450px" %)
1089 (% _mstvisible="3" %)|=(% _mstvisible="4" style="width: 171px;" %)(% _msthash="1231737" _msttexthash="251862" _mstvisible="6" %)**Command Example**|=(% _mstvisible="4" style="width: 219px;" %)(% _msthash="1231738" _msttexthash="116025" _mstvisible="6" %)**Function**|=(% _mstvisible="4" style="width: 119px;" %)(% _msthash="1231739" _msttexthash="116831" _mstvisible="6" %)**Response**
1090 (% _mstvisible="3" %)|(% _msthash="1231321" _msttexthash="130455" _mstvisible="4" style="width:171px" %)AT+PNACKMD=1|(% _msthash="1231322" _msttexthash="377026" _mstvisible="4" style="width:219px" %)Poll None-ACK message|(% _msthash="1231323" _msttexthash="14989" _mstvisible="4" style="width:119px" %)OK
1091
1092 (% _mstvisible="1" %)
1093 (% _msthash="315265" _msttexthash="383981" style="color:#4f81bd" %)**Downlink Command: 0x34**
1094
1095 (% _mstvisible="1" %)
1096 * Example: 0x3401 ~/~/Same as AT+PNACKMD=1
1097
1098 (% _mstvisible="1" %)
1099 = (% _msthash="568737" _msttexthash="502827" _mstvisible="3" %)5. Battery & How to replace(%%) =
1100
1101 (% _mstvisible="1" %)
1102 == (% _msthash="265486" _msttexthash="242073" _mstvisible="3" %)5.1 Battery Type(%%) ==
1103
1104 (% _msthash="315398" _msttexthash="33754799" _mstvisible="1" %)
1105 LHT65N is equipped with a 2400mAH Li-MnO2 (CR17505) battery . The battery is an un-rechargeable battery with low discharge rate targeting for up to 8~~10 years use. This type of battery is commonly used in IoT devices for long-term running, such as water meters.
1106
1107 (% _mstvisible="1" %)
1108 (((
1109 (% _mstvisible="2" %)
1110 The discharge curve is not linear so can’t simply use percentage to show the battery level. Below is the battery performance.
1111 [[image:image-20220515075034-1.png||_mstalt="428961" _mstvisible="4" height="208" width="644"]]
1112 )))
1113
1114 (% _mstvisible="1" %)
1115 (((
1116 (% _mstvisible="2" %)
1117 The minimum Working Voltage for the LHT65N is ~~ 2.5v. When battery is lower than 2.6v, it is time to change the battery.
1118
1119 )))
1120
1121 (% _mstvisible="1" %)
1122 == (% _msthash="353795" _msttexthash="326703" _mstvisible="3" %)5.2 Replace Battery(%%) ==
1123
1124 (% _msthash="315399" _msttexthash="11289278" _mstvisible="1" %)
1125 LHT65N has two screws on the back, Unscrew them, and changing the battery inside is ok. The battery is a general CR17450 battery. Any brand should be ok.
1126
1127 (% _mstvisible="1" %)
1128 [[image:image-20220515075440-2.png||_mstalt="429546" _mstvisible="3" height="338" width="272"]][[image:image-20220515075625-3.png||_mstalt="431574" _mstvisible="3" height="193" width="257"]]
1129
1130
1131 (% _mstvisible="1" %)
1132 == (% _msthash="494650" _msttexthash="462241" _mstvisible="3" %)5.3 Battery Life Analyze(%%) ==
1133
1134 (% _mstvisible="1" %)
1135 (((
1136 (% _msthash="506266" _msttexthash="35479028" _mstvisible="2" %)
1137 (((
1138 (% _msthash="736723" _msttexthash="35479028" %)
1139 Dragino battery-powered products are all run in Low Power mode. User can check the guideline from this link to calculate the estimated battery life:
1140 [[https:~~/~~/www.dragino.com/downloads/downloads/LoRa_End_Node/Battery_Analyze/DRAGINO_Battery_Life_Guide.pdf>>https://www.dragino.com/downloads/downloads/LoRa_End_Node/Battery_Analyze/DRAGINO_Battery_Life_Guide.pdf]]
1141 )))
1142
1143 (((
1144
1145 )))
1146
1147 (((
1148 (% _msthash="736724" _msttexthash="12045098" %)
1149 A full detail test report for LHT65N on different frequency can be found at : [[https:~~/~~/www.dropbox.com/sh/r2i3zlhsyrpavla/AAB1sZw3mdT0K7XjpHCITt13a?dl=0>>https://www.dropbox.com/sh/r2i3zlhsyrpavla/AAB1sZw3mdT0K7XjpHCITt13a?dl=0]]
1150 )))
1151
1152
1153 (% _msthash="506266" _msttexthash="35479028" _mstvisible="2" %)
1154 = (% _msthash="183170" _msttexthash="37921" _mstvisible="3" %)6. FAQ(%%) =
1155
1156 (% _msthash="506266" _msttexthash="35479028" _mstvisible="2" %)
1157 == (% _msthash="491075" _msttexthash="437463" %)6.1 How to use AT Command?(%%) ==
1158
1159 (((
1160 (% _msthash="736725" _msttexthash="9345674" %)
1161 LHT65N 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.
1162 )))
1163
1164 [[image:image-20220530085651-1.png||_mstalt="429949"]]
1165
1166
1167 (% _msthash="506061" _msttexthash="170755" %)**Connection:**
1168
1169 (% _msthash="506062" _msttexthash="1187732" %)
1170 **✓ (% style="background-color:yellow" %)USB to TTL GND <~-~->GND(%%)**
1171
1172 (% _msthash="506063" _msttexthash="1158313" %)**✓  **(% style="background-color:yellow" %)**USB to TTL RXD <~-~-> D+**
1173
1174 (% _msthash="506064" _msttexthash="1175629" %)**✓  **(% style="background-color:yellow" %)**USB to TTL TXD <~-~-> A11**
1175
1176 (% _msthash="506065" _msttexthash="1164696" %)**✓  **(% style="background-color:yellow" %)**USB to TTL 3.3V <~-~-> D-**
1177
1178
1179 (((
1180 (% _msthash="736726" _msttexthash="67213055" %)
1181 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. The AT commands are disable by default and need to enter password (default:(% style="color:green" %)**123456**) (%%)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.
1182 )))
1183
1184 (((
1185 (% _msthash="736727" _msttexthash="1907009" %)
1186 Input password and ATZ to activate LHT65N,As shown below:
1187 )))
1188
1189 [[image:image-20220530095701-4.png||_mstalt="430014"]]
1190
1191
1192 (% _msthash="506066" _msttexthash="544869" %)
1193 AT Command List is as below:
1194
1195 (% _msthash="506067" _msttexthash="361920" %)
1196 AT+<CMD>? :  Help on <CMD>
1197
1198 (% _msthash="506068" _msttexthash="243061" %)
1199 AT+<CMD> :  Run <CMD>
1200
1201 (% _msthash="506069" _msttexthash="704197" %)
1202 AT+<CMD>=<value> :  Set the value
1203
1204 (% _msthash="506070" _msttexthash="455676" %)
1205 AT+<CMD>=? :  Get the value
1206
1207 (% _msthash="506071" _msttexthash="670553" %)
1208 AT+DEBUG:  Set more info output
1209
1210 (% _msthash="506072" _msttexthash="485888" %)
1211 ATZ:  Trig a reset of the MCU
1212
1213 (% _msthash="506073" _msttexthash="2068872" %)
1214 AT+FDR:  Reset Parameters to Factory Default, Keys Reserve
1215
1216 (% _msthash="506074" _msttexthash="689169" %)
1217 AT+DEUI:  Get or Set the Device EUI
1218
1219 (% _msthash="506075" _msttexthash="960414" %)
1220 AT+DADDR:  Get or Set the Device Address
1221
1222 (% _msthash="506076" _msttexthash="1079897" %)
1223 AT+APPKEY:  Get or Set the Application Key
1224
1225 (% _msthash="506077" _msttexthash="1326143" %)
1226 AT+NWKSKEY:  Get or Set the Network Session Key
1227
1228 (% _msthash="506078" _msttexthash="1573000" %)
1229 AT+APPSKEY:  Get or Set the Application Session Key
1230
1231 (% _msthash="506079" _msttexthash="1041729" %)
1232 AT+APPEUI:  Get or Set the Application EUI
1233
1234 (% _msthash="506080" _msttexthash="2104206" %)
1235 AT+ADR:  Get or Set the Adaptive Data Rate setting. (0: off, 1: on)
1236
1237 (% _msthash="506081" _msttexthash="3369288" %)
1238 AT+TXP:  Get or Set the Transmit Power (0-5, MAX:0, MIN:5, according to LoRaWAN Spec)
1239
1240 (% _msthash="506082" _msttexthash="1894529" %)
1241 AT+DR:  Get or Set the Data Rate. (0-7 corresponding to DR_X)
1242
1243 (% _msthash="506083" _msttexthash="3864172" %)
1244 AT+DCS:  Get or Set the ETSI Duty Cycle setting - 0=disable, 1=enable - Only for testing
1245
1246 (% _msthash="506084" _msttexthash="1712204" %)
1247 AT+PNM:  Get or Set the public network mode. (0: off, 1: on)
1248
1249 (% _msthash="506085" _msttexthash="1281202" %)
1250 AT+RX2FQ:  Get or Set the Rx2 window frequency
1251
1252 (% _msthash="506086" _msttexthash="2796781" %)
1253 AT+RX2DR:  Get or Set the Rx2 window data rate (0-7 corresponding to DR_X)
1254
1255 (% _msthash="506087" _msttexthash="3285165" %)
1256 AT+RX1DL:  Get or Set the delay between the end of the Tx and the Rx Window 1 in ms
1257
1258 (% _msthash="506088" _msttexthash="3286179" %)
1259 AT+RX2DL:  Get or Set the delay between the end of the Tx and the Rx Window 2 in ms
1260
1261 (% _msthash="506089" _msttexthash="4703803" %)
1262 AT+JN1DL:  Get or Set the Join Accept Delay between the end of the Tx and the Join Rx Window 1 in ms
1263
1264 (% _msthash="506090" _msttexthash="4704999" %)
1265 AT+JN2DL:  Get or Set the Join Accept Delay between the end of the Tx and the Join Rx Window 2 in ms
1266
1267 (% _msthash="506091" _msttexthash="1528683" %)
1268 AT+NJM:  Get or Set the Network Join Mode. (0: ABP, 1: OTAA)
1269
1270 (% _msthash="506092" _msttexthash="757185" %)
1271 AT+NWKID:  Get or Set the Network ID
1272
1273 (% _msthash="506093" _msttexthash="1156597" %)
1274 AT+FCU:  Get or Set the Frame Counter Uplink
1275
1276 (% _msthash="506094" _msttexthash="1273987" %)
1277 AT+FCD:  Get or Set the Frame Counter Downlink
1278
1279 (% _msthash="506095" _msttexthash="859222" %)
1280 AT+CLASS:  Get or Set the Device Class
1281
1282 (% _msthash="506096" _msttexthash="384852" %)
1283 AT+JOIN:  Join network
1284
1285 (% _msthash="506097" _msttexthash="548626" %)
1286 AT+NJS:  Get the join status
1287
1288 (% _msthash="506098" _msttexthash="2546206" %)
1289 AT+SENDB:  Send hexadecimal data along with the application port
1290
1291 (% _msthash="506099" _msttexthash="1932307" %)
1292 AT+SEND:  Send text data along with the application port
1293
1294 (% _msthash="506100" _msttexthash="3560557" %)
1295 AT+RECVB:  Print last received data in binary format (with hexadecimal values)
1296
1297 (% _msthash="506101" _msttexthash="1429701" %)
1298 AT+RECV:  Print last received data in raw format
1299
1300 (% _msthash="506102" _msttexthash="1735981" %)
1301 AT+VER:  Get current image version and Frequency Band
1302
1303 (% _msthash="506103" _msttexthash="1189474" %)
1304 AT+CFM:  Get or Set the confirmation mode (0-1)
1305
1306 (% _msthash="506104" _msttexthash="1718210" %)
1307 AT+CFS:  Get confirmation status of the last AT+SEND (0-1)
1308
1309 (% _msthash="506105" _msttexthash="1339403" %)
1310 AT+SNR:  Get the SNR of the last received packet
1311
1312 (% _msthash="506106" _msttexthash="1452009" %)
1313 AT+RSSI:  Get the RSSI of the last received packet
1314
1315 (% _msthash="506107" _msttexthash="2768142" %)
1316 AT+TDC:  Get or set the application data transmission interval in ms
1317
1318 (% _msthash="506108" _msttexthash="1083914" %)
1319 AT+PORT:  Get or set the application port
1320
1321 (% _msthash="506109" _msttexthash="622440" %)
1322 AT+DISAT:  Disable AT commands
1323
1324 (% _msthash="506110" _msttexthash="868361" %)
1325 AT+PWORD:  Set password, max 9 digits
1326
1327 (% _msthash="506111" _msttexthash="2210299" %)
1328 AT+CHS:  Get or Set Frequency (Unit: Hz) for Single Channel Mode
1329
1330 (% _msthash="506112" _msttexthash="2113462" %)
1331 AT+CHE:  Get or Set eight channels mode,Only for US915,AU915,CN470
1332
1333 (% _msthash="506113" _msttexthash="2087423" %)
1334 AT+PDTA:  Print the sector data from start page to stop page
1335
1336 (% _msthash="506114" _msttexthash="1063127" %)
1337 AT+PLDTA:  Print the last few sets of data
1338
1339 (% _msthash="506115" _msttexthash="1999426" %)
1340 AT+CLRDTA:  Clear the storage, record position back to 1st
1341
1342 (% _msthash="506116" _msttexthash="442130" %)
1343 AT+SLEEP:  Set sleep mode
1344
1345 (% _msthash="506117" _msttexthash="1080222" %)
1346 AT+EXT:  Get or Set external sensor model
1347
1348 (% _msthash="506118" _msttexthash="1309490" %)
1349 AT+BAT:  Get the current battery voltage in mV
1350
1351 (% _msthash="506119" _msttexthash="813891" %)
1352 AT+CFG:  Print all configurations
1353
1354 (% _msthash="506120" _msttexthash="551707" %)
1355 AT+WMOD:  Get or Set Work Mode
1356
1357 (% _msthash="506121" _msttexthash="2631499" %)
1358 AT+ARTEMP:  Get or set the internal Temperature sensor alarm range
1359
1360 (% _msthash="506122" _msttexthash="3907150" %)
1361 AT+CITEMP:  Get or set the internal Temperature sensor collection interval in min
1362
1363 (% _msthash="506123" _msttexthash="854620" %)
1364 AT+SETCNT:  Set the count at present
1365
1366 (% _msthash="506124" _msttexthash="2554877" %)
1367 AT+RJTDC:  Get or set the ReJoin data transmission interval in min
1368
1369 (% _msthash="506125" _msttexthash="771849" %)
1370 AT+RPL:  Get or set response level
1371
1372 (% _msthash="506126" _msttexthash="1484314" %)
1373 AT+TIMESTAMP:  Get or Set UNIX timestamp in second
1374
1375 (% _msthash="506127" _msttexthash="741728" %)
1376 AT+LEAPSEC:  Get or Set Leap Second
1377
1378 (% _msthash="506128" _msttexthash="1694017" %)
1379 AT+SYNCMOD:  Get or Set time synchronization method
1380
1381 (% _msthash="506129" _msttexthash="2235948" %)
1382 AT+SYNCTDC:  Get or set time synchronization interval in day
1383
1384 (% _msthash="506130" _msttexthash="425542" %)
1385 AT+PID:  Get or set the PID
1386
1387
1388 == (% _msthash="1616654" _msttexthash="1555359" %)6.2 Where to use AT commands and Downlink commands(%%) ==
1389
1390 (% _msthash="506131" _msttexthash="14585714" %)
1391 AT commands:
1392
1393 [[image:image-20220620153708-1.png||height="603" width="723"]]
1394
1395 (% _msthash="506132" _msttexthash="337922" %)
1396 Downlink commands:
1397
1398
1399 (% _msthash="506133" _msttexthash="33046" %)
1400 **TTN:**
1401
1402 [[image:image-20220615092124-2.png||_mstalt="429221" height="649" width="688"]]
1403
1404
1405 (% _msthash="506134" _msttexthash="11113791" %)
1406 **Helium:**
1407
1408 [[image:image-20220615092551-3.png||_mstalt="430794" height="423" width="835"]]
1409
1410
1411 (% _msthash="506135" _msttexthash="4159844" %)
1412 **Chirpstack:The downlink window will not be displayed until the network is accessed**
1413
1414 [[image:image-20220615094850-6.png||_mstalt="433082"]]
1415
1416 [[image:image-20220615094904-7.png||_mstalt="433485" height="281" width="911"]]
1417
1418
1419 (% _msthash="506136" _msttexthash="39286" %)
1420 **Aws:**
1421
1422 [[image:image-20220615092939-4.png||_mstalt="434460" height="448" width="894"]]
1423
1424
1425 == (% _msthash="1220570" _msttexthash="33199257" %)6.3 How to change the uplink interval?(%%) ==
1426
1427 [[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/||_msthash="506137" _msttexthash="5712018"]]
1428
1429
1430 (% _msthash="536757" _msttexthash="1874951" %)
1431 == 6.4 How to use TTL-USB to connect a PC to input AT commands? ==
1432
1433 [[image:image-20220615153355-1.png]]
1434
1435 [[image:image-20220620154900-5.jpeg||height="427" width="570"]]
1436
1437 (% style="background-color:yellow" %)**1 < - -> GND  < - ->  Black**
1438
1439 (% style="background-color:yellow" %)**5 < - ->  RXD  < - ->  White**
1440
1441 (% style="background-color:yellow" %)**9 < - ->  TXD  < - ->  Green**
1442
1443
1444 To switch from download mode to command mode, press reset key
1445
1446
1447 (((
1448 (% _msthash="736728" _msttexthash="67213055" %)
1449 (((
1450 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. The AT commands are disable by default and need to enter password (default:(% style="color:red" %)**123456**)(%%) 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.
1451 )))
1452 )))
1453
1454 (((
1455 (% _msthash="736729" _msttexthash="1907009" %)
1456 Input password and ATZ to activate LHT65N,As shown below:
1457
1458 [[image:image-20220615154519-3.png||height="672" width="807"]]
1459
1460
1461 )))
1462
1463 == 6.5 How to use TTL-USB to connect PC to upgrade firmware? ==
1464
1465
1466 [[image:image-20220615153355-1.png]]
1467
1468 (% style="background-color:yellow" %)**1 < - -> GND  < - ->  Black**
1469
1470 (% style="background-color:yellow" %)**4  < - ->  3.3V  < - ->  Blue**
1471
1472 (% style="background-color:yellow" %)**5 < - ->  RXD  < - ->  White**
1473
1474 (% style="background-color:yellow" %)**9 < - ->  TXD  < - ->  Green**
1475
1476 [[image:image-20220620160241-6.jpeg||height="428" width="571"]]
1477
1478 Press reset after connecting the 4boot cable to enter the download mode.
1479
1480 [[image:image-20220620160516-7.png||height="435" width="435"]]
1481
1482
1483 (% _mstmutation="1" %)**Step1**(%%): Install TremoProgrammer  first.
1484
1485 [[image:image-20220615170542-5.png]]
1486
1487
1488 (% _msthash="506146" _msttexthash="52173160" %)
1489 (% _istranslated="1" %)**Step2**(%%):Download the LHT65N image files.
1490
1491
1492 (% _msthash="506147" _msttexthash="188083584" %)
1493 (% _istranslated="1" %)**Step3:**(%%)Select the serial port and baud rate of the device and the firmware to be upgraded.
1494
1495 [[image:image-20220615171334-6.png]]
1496
1497
1498 (% _istranslated="1" _mstmutation="1" %)**Step4:**(%%)Click Start
1499
1500 [[image:image-20220620160723-8.png]]
1501 )))
1502
1503 (% _mstvisible="1" %)
1504 = (% _msthash="183170" _msttexthash="13740740" _mstvisible="3" %)7. (%%)Order Info =
1505
1506 (% _mstvisible="1" %)
1507 (((
1508 (% _msthash="506267" _msttexthash="432432" _mstvisible="2" %)
1509 Part Number: (% _mstvisible="4" style="color:#4f81bd" %)** LHT65N-XX-YY**
1510 )))
1511
1512 (% _mstvisible="1" %)
1513 (((
1514 (% _msthash="506268" _msttexthash="686946" _mstvisible="2" %)
1515 (% _mstvisible="4" style="color:#4f81bd" %)**XX **(%%): The default frequency band
1516 )))
1517
1518 (% _mstvisible="1" %)
1519 * (% _mstvisible="3" %)
1520 (((
1521 (% _msthash="903327" _msttexthash="393341" _mstvisible="4" %)
1522 (% _mstvisible="6" style="color:#4f81bd" %)** **(% style="color:red" %)**AS923**(%%): LoRaWAN AS923 band
1523 )))
1524 * (% _mstvisible="3" %)
1525 (((
1526 (% _msthash="903328" _msttexthash="394576" _mstvisible="4" %)
1527 (% _mstvisible="6" style="color:#4f81bd" %)** **(% style="color:red" %)**AU915**(%%): LoRaWAN AU915 band
1528 )))
1529 * (% _mstvisible="3" %)
1530 (((
1531 (% _msthash="903329" _msttexthash="393913" _mstvisible="4" %)
1532 (% _mstvisible="6" style="color:#4f81bd" %)** **(% style="color:red" %)**EU433**(%%): LoRaWAN EU433 band
1533 )))
1534 * (% _mstvisible="3" %)
1535 (((
1536 (% _msthash="903330" _msttexthash="399087" _mstvisible="4" %)
1537 (% _mstvisible="6" style="color:#4f81bd" %)** **(% style="color:red" %)**EU868**(%%): LoRaWAN EU868 band
1538 )))
1539 * (% _mstvisible="3" %)
1540 (((
1541 (% _msthash="903331" _msttexthash="395109" _mstvisible="4" %)
1542 (% _mstvisible="6" style="color:#4f81bd" %)** **(% style="color:red" %)**KR920**(%%): LoRaWAN KR920 band
1543 )))
1544 * (% _mstvisible="3" %)
1545 (((
1546 (% _msthash="903332" _msttexthash="400842" _mstvisible="4" %)
1547 (% _mstvisible="6" style="color:#4f81bd" %)** **(% style="color:red" %)**US915**(%%): LoRaWAN US915 band
1548 )))
1549 * (% _mstvisible="3" %)
1550 (((
1551 (% _msthash="903333" _msttexthash="396487" _mstvisible="4" %)
1552 (% _mstvisible="6" style="color:#4f81bd" %)** **(% style="color:red" %)**IN865**(%%): LoRaWAN IN865 band
1553 )))
1554 * (% _mstvisible="3" %)
1555 (((
1556 (% _msthash="903334" _msttexthash="390923" _mstvisible="4" %)
1557 (% _mstvisible="6" style="color:#4f81bd" %)** **(% style="color:red" %)**CN470**(%%): LoRaWAN CN470 band
1558 )))
1559
1560 (% _mstvisible="1" %)
1561 (((
1562 (% _msthash="506269" _msttexthash="443495" _mstvisible="2" %)
1563 (% _mstvisible="4" style="color:#4f81bd" %)**YY**(%%): Sensor Accessories
1564 )))
1565
1566 (% _mstvisible="1" %)
1567 * (% _mstvisible="3" %)
1568 (((
1569 (% _msthash="903335" _msttexthash="720135" _mstvisible="4" %)
1570 (% style="color:red" %)**E3**(%%): External Temperature Probe
1571
1572
1573 )))
1574
1575 (% _mstvisible="1" %)
1576 = (% _msthash="233363" _msttexthash="13823550" _mstvisible="3" %)8. (%%)Packing Info =
1577
1578 (% _mstvisible="1" %)
1579 (((
1580 (% _msthash="506270" _msttexthash="295386" _mstvisible="2" %)
1581
1582
1583 (% _msthash="506270" _msttexthash="295386" _mstvisible="2" %)
1584 (% _mstvisible="3" %)**Package Includes**(%%):
1585 )))
1586
1587 (% _mstvisible="1" %)
1588 * (% _mstvisible="3" %)
1589 (((
1590 (% _msthash="903336" _msttexthash="1033149" _mstvisible="4" %)
1591 LHT65N Temperature & Humidity Sensor x 1
1592 )))
1593 * (% _mstvisible="3" %)
1594 (((
1595 (% _msthash="903338" _msttexthash="544167" _mstvisible="4" %)
1596 Optional external sensor
1597 )))
1598
1599 (% _mstvisible="1" %)
1600 (((
1601 (% _msthash="506271" _msttexthash="403858" _mstvisible="2" %)
1602 (% _mstvisible="3" %)**Dimension and weight**(%%):
1603 )))
1604
1605 (% _mstvisible="1" %)
1606 * (% _mstvisible="3" %)
1607 (((
1608 (% _msthash="903339" _msttexthash="391807" _mstvisible="4" %)
1609 Device Size:  10 x 10 x 3.5 cm
1610 )))
1611 * (% _mstvisible="3" %)
1612 (((
1613 (% _msthash="903340" _msttexthash="285298" _mstvisible="4" %)
1614 Device Weight: 120.5g
1615 )))
1616
1617 (% _mstvisible="3" %)
1618 (((
1619
1620 )))
1621
1622 = (% _msthash="184782" _msttexthash="16007771" %)9. Reference material(%%) =
1623
1624 * [[Datasheet, photos, decoder, firmware>>https://www.dropbox.com/home/Products_Public_Document/LoRaWAN%20End%20Node/LHT65N%20Temperature%20%26%20Humidity%20Sensor||_msthash="504975" _msttexthash="51420512"]]
1625
1626 = (% _msthash="216320" _msttexthash="10002096" %)10. (%%)FCC Warning =
1627
1628 (% _mstvisible="1" %)
1629 (((
1630 (% _msthash="506272" _msttexthash="6034353" _mstvisible="2" %)
1631 This device complies with part 15 of the FCC Rules.Operation is subject to the following two conditions:
1632 )))
1633
1634 (% _mstvisible="1" %)
1635 (((
1636 (% _msthash="506273" _msttexthash="44097638" _mstvisible="2" %)
1637 (1) This device may not cause harmful interference;
1638 )))
1639
1640 (% _mstvisible="1" %)
1641 (((
1642 (% _msthash="506274" _msttexthash="7559773" _mstvisible="2" %)
1643 (2) this device must accept any interference received, including interference that may cause undesired operation.
1644 )))
1645 )))
1646 )))