Version 42.1 by Edwin Chen on 2022/05/23 00:04

Show last authors
1 {{box cssClass="floatinginfobox" title="**Contents**"}}
2 {{toc/}}
3 {{/box}}
4
5 = Overview =
6
7 [[image:LHT65N_10.png||alt="LHT65_Image" height="265" width="265"]]
8
9
10 The Dragino LHT65N Temperature & Humidity sensor is a Long Range LoRaWAN Sensor. It includes a(% class="mark" %) **built-in Temperature & Humidity sensor**(%%) and has an external sensor connector to connect to an external (% class="mark" %)**Temperature Sensor**(%%)**.**
11
12 The LHT65N 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.
13
14 LHT65N has a built-in 2400mAh non-chargeable battery which can be used for up to 10 years*.
15
16 LHT65N is full compatible with LoRaWAN v1.0.3 Class A protocol, it can work with a standard LoRaWAN gateway.
17
18 LHT65N supports (% class="mark" %)Datalog Feature(%%). It will record the data when there is no network coverage and users can retrieve the sensor value later to ensure no miss for every sensor reading.
19
20 *The actual battery life depends on how often to send data, please see the battery analyzer chapter.
21
22
23 == Features: ==
24
25 * Wall mountable
26 * LoRaWAN v1.0.3 Class A protocol
27 * Frequency Bands: CN470/EU433/KR920/US915/EU868/AS923/AU915
28 * AT Commands to change parameters
29 * Remote configure parameters via LoRaWAN Downlink
30 * Firmware upgradeable via program port
31 * Built-in 2400mAh battery for up to 10 years of use.
32 * Built-in Temperature & Humidity sensor
33 * Optional External Sensors
34 * Tri-color LED to indicate working status
35 * Datalog feature
36
37 == Specification: ==
38
39 **Built-in Temperature Sensor:**
40
41 * Resolution: 0.01 °C
42 * Accuracy Tolerance : Typ ±0.3 °C
43 * Long Term Drift: < 0.02 °C/yr
44 * Operating Range: -40 ~~ 85 °C
45
46 **Built-in Humidity Sensor:**
47
48 * Resolution: 0.04 %RH
49 * Accuracy Tolerance : Typ ±3 %RH
50 * Long Term Drift: < 0.02 °C/yr
51 * Operating Range: 0 ~~ 96 %RH
52
53 **External Temperature Sensor:**
54
55 * Resolution: 0.0625 °C
56 * ±0.5°C accuracy from -10°C to +85°C
57 * ±2°C accuracy from -55°C to +125°C
58 * Operating Range: -55 °C ~~ 125 °C
59
60 = Connect LHT65N to IoT Server =
61
62 == How does LHT65N work? ==
63
64 LHT65N is configured as LoRaWAN OTAA Class A mode by default. Each LHT65N is shipped with a worldwide unique set of OTAA keys. To use LHT65N in a LoRaWAN network, first, we need to put the OTAA keys in LoRaWAN Network Server and then activate LHT65N.
65
66 If LHT65N is under the coverage of this LoRaWAN network. LHT65N can join the LoRaWAN network automatically. After successfully joining, LHT65N will start to measure environment temperature and humidity, and start to transmit sensor data to the LoRaWAN server. The default period for each uplink is 20 minutes.
67
68
69 == How to Activate LHT65N? ==
70
71 The LHT65N has two working modes:
72
73 * **Deep Sleep Mode**: LHT65N doesn’t have any LoRaWAN activation. This mode is used for storage and shipping to save battery life.
74 * **Working Mode**: In this mode, LHT65N works as LoRaWAN Sensor mode to Join LoRaWAN network and send out the sensor data to the server. Between each sampling/tx/rx periodically, LHT65 will be in STOP mode (IDLE mode), in STOP mode, LHT65N has the same power consumption as Deep Sleep mode. 
75
76 The LHT65N is set in deep sleep mode by default; The ACT button on the front is to switch to different modes:
77
78 [[image:image-20220515123819-1.png||height="379" width="317"]]
79
80 |**Behavior on ACT**|**Function**|**Action**
81 |**Pressing ACT between 1s < time < 3s**|Test uplink status|If LHT65N is already Joined to the LoRaWAN network, LHT65N will send an uplink packet, if LHT65N has an external sensor connected, blue led will blink once. If LHT65N has no external sensor, red led will blink once.
82 |**Pressing ACT for more than 3s**|Active Device|green led will fast blink 5 times, LHT65N will enter working mode and start to JOIN LoRaWAN network. green led will solid turn on for 5 seconds after join in network.
83 |**Fast press ACT 5 times**|Deactivate Device|red led will solid on for 5 seconds. This means LHT65N is in Deep Sleep Mode.
84
85 == Example to join LoRaWAN network ==
86
87 (% class="wikigeneratedid" %)
88 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.
89
90 (% class="wikigeneratedid" %)
91 [[image:image-20220522232442-1.png||height="387" width="648"]]
92
93 Assume the LPS8N is already set to connect to [[TTN V3 network>>url:https://eu1.cloud.thethings.network]], So it provides network coverage for LHT65N. Next we need to add the LHT65N device in TTN V3:
94
95
96 === **Step 1**: Create Device n TTN ===
97
98 Create a device in TTN V3 with the OTAA keys from LHT65N.
99
100 Each LHT65N is shipped with a sticker with its device EUI, APP Key and APP EUI as below:
101
102 [[image:image-20220522232812-2.png||height="219" width="279"]]
103
104 User can enter these keys in the LoRaWAN Server portal. Below is TTN V3 screenshot:
105
106 Add APP EUI in the application.
107
108 [[image:image-20220522232916-3.png]]
109
110
111 [[image:image-20220522232932-4.png]]
112
113
114 [[image:image-20220522232954-5.png]]
115
116 Note: LHT65N use same payload as LHT65.
117
118 [[image:image-20220522233026-6.png]]
119
120
121 Input APP EUI,  APP KEY and DEV EUI:
122
123 [[image:image-20220522233118-7.png]]
124
125
126 === Step 2: Activate LHT65N by pressing the ACT button for more than 5 seconds. ===
127
128 Use ACT button to activate LHT65N 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.
129
130 [[image:image-20220522233300-8.png]]
131
132
133 == Uplink Payload: ==
134
135 The uplink payload includes totally 11 bytes. Uplink packets use FPORT=2 and(% class="mark" %) every 20 minutes(%%) send one uplink by default.
136
137 After each uplink, the (% class="mark" %)BLUE LED(%%) will blink once.
138
139
140 (% style="width:572px" %)
141 |(% style="width:106px" %)**Size(bytes)**|(% style="width:71px" %)**2**|(% style="width:128px" %)**2**|(% style="width:103px" %)**2**|(% style="width:72px" %)**1**|(% style="width:89px" %)**4**
142 |(% style="width:106px" %)**Value**|(% style="width:71px" %)[[BAT>>path:#Battery]]|(% style="width:128px" %)(((
143 [[Built-In>>path:#SHT20_Temperature]]
144
145 [[Temperature>>path:#SHT20_Temperature]]
146 )))|(% style="width:103px" %)(((
147 [[Built-in>>path:#SHT20_Humidity]]
148
149 [[Humidity>>path:#SHT20_Humidity]]
150 )))|(% style="width:72px" %)[[Ext>>path:#Extension_Sensor]] #|(% style="width:89px" %)[[Ext value>>path:#Extension_sensor_value]]
151
152 * The First 6 bytes: has fix meanings for every LHT65N.
153 * The 7th byte (EXT #): defines the external sensor model.
154 * The 8^^th^^ ~~ 11^^th^^ byte: the value for external sensor value. The definition is based on external sensor type. (If EXT=0, there won’t be these four bytes.)
155
156 === Decoder in TTN V3 ===
157
158 When the uplink payload arrives TTNv3, it shows HEX format and not friendly to read. We can add LHT65N decoder in TTNv3 for friendly reading.
159
160 Below is the position to put the decoder and LHT65N decoder can be download from here:
161
162 [[https:~~/~~/www.dropbox.com/sh/r2i3zlhsyrpavla/AAB1sZw3mdT0K7XjpHCITt13a?dl=0 >>https://www.dropbox.com/sh/r2i3zlhsyrpavla/AAB1sZw3mdT0K7XjpHCITt13a?dl=0]]
163
164 [[image:image-20220522234118-10.png]]
165
166
167 === BAT-Battery Info ===
168
169 These two bytes of BAT include the battery state and the actually voltage
170
171 (% style="width:646px" %)
172 |Bit(bit)|(% style="width:272px" %)[15:14]|(% style="width:214px" %)[13:0]
173 |Value|(% style="width:272px" %)(((
174 BAT Status
175
176 00(b): Ultra Low ( BAT <= 2.50v)
177
178 01(b): Low  (2.50v <=BAT <= 2.55v)
179
180 10(b): OK   (2.55v <= BAT <=2.65v)
181
182 11(b): Good   (BAT >= 2.65v)
183 )))|(% style="width:214px" %)Actually BAT voltage
184
185 [[image:image-20220522235639-1.png]]
186
187 Check the battery voltage for LHT65N.
188
189 * BAT status=(0Xcba4>>14)&0xFF=11(B),very good
190 * Battery Voltage =0xCBF6&0x3FFF=0x0BA4=2980mV
191
192 === Built-in Temperature ===
193
194 [[image:image-20220522235639-2.png]]
195
196 * Temperature:  0x0ABB/100=27.47℃
197
198
199 [[image:image-20220522235639-3.png]]
200
201 * Temperature:  (0xF5C6-65536)/100=-26.18℃
202
203
204 === Built-in Humidity ===
205
206 [[image:image-20220522235639-4.png]]
207
208 * Humidity:    0x025C/10=60.4%
209
210
211 === Ext # ===
212
213 Bytes for External Sensor:
214
215 (% style="width:624px" %)
216 |(% style="width:139px" %)**EXT # Value**|(% style="width:484px" %)**External Sensor Type**
217 |(% style="width:139px" %)0x01|(% style="width:484px" %)Sensor E3, Temperature Sensor
218 |(% style="width:139px" %)0x09|(% style="width:484px" %)Sensor E3, Temperature Sensor, Datalog Mod
219
220
221 === Ext value ===
222
223 ==== Ext~=1, E3 Temperature Sensor ====
224
225 [[image:image-20220522235639-5.png]]
226
227
228 * DS18B20 temp=0x0ADD/100=27.81℃
229
230 The last 2 bytes of data are meaningless
231
232
233
234 [[image:image-20220522235639-6.png]]
235
236 * External temperature= (0xF54F-65536)/100=-27.37℃
237
238 The last 2 bytes of data are meaningless
239
240
241 If the external sensor is 0x01, and there is no external temperature connected. The temperature will be set to 7FFF which is 327.67℃
242
243
244 ==== Ext~=9, E3 sensor with Unix Time stamp ====
245
246 Timestamp mode is designed for LHT65N with E3 probe, it will send the uplink payload with Unix timestamp. With the limitation of 11 bytes (max distance of AU915/US915/AS923 band), the time stamp mode will be lack of BAT voltage field, instead, it shows the battery status. The payload is as below:
247
248
249 (% style="width:697px" %)
250 |(% style="width:96px" %)**Size(bytes)**|(% style="width:164px" %)**2**|(% style="width:104px" %)**2**|(% style="width:106px" %)**2**|(% style="width:108px" %)**1**|(% style="width:116px" %)**4**
251 |(% style="width:96px" %)**Value**|(% style="width:164px" %)[[External temperature>>path:#DS18b20_value]]|(% style="width:104px" %)(((
252 [[Built-In>>path:#SHT20_Temperature]]
253
254 [[Temperature>>path:#SHT20_Temperature]]
255 )))|(% style="width:106px" %)(((
256 [[BAT Status &>>path:#BAT_Humidity]]
257
258 [[Built-in>>path:#BAT_Humidity]]
259
260 [[Humidity>>path:#BAT_Humidity]]
261 )))|(% style="width:108px" %)[[Status & Ext>>path:#Status_EXT]]|(% style="width:116px" %)(((
262 [[Unix>>path:#Unix_Time_Stamp]]
263
264 [[Time Stamp>>path:#Unix_Time_Stamp]]
265 )))
266
267 * **Battery status & **[[**Built-in Humidity**>>path:#SHT20_Humidity]]
268
269 (% style="width:587px" %)
270 |Bit(bit)|(% style="width:280px" %)[15:14]|(% style="width:136px" %)[11:0]
271 |Value|(% style="width:280px" %)(((
272 BAT Status
273
274 00(b): Ultra Low ( BAT <= 2.50v)
275
276 01(b): Low  (2.50v <=BAT <= 2.55v)
277
278 10(b): OK   (2.55v <= BAT <=2.65v)
279
280 11(b): Good   (BAT >= 2.65v)
281 )))|(% style="width:136px" %)(((
282 [[Built-in Humidity>>path:#SHT20_Humidity]]
283
284
285 )))
286
287
288 * **Status & Ext Byte**
289
290 (% style="width:732px" %)
291 |(% style="width:128px" %)**Bits**|(% style="width:102px" %)**7**|(% style="width:145px" %)**6**|(% style="width:117px" %)**5**|(% style="width:147px" %)**4**|(% style="width:90px" %)**[3:0]**
292 |(% style="width:128px" %)**Status & Ext**|(% style="width:102px" %)Not Defined|(% style="width:145px" %)Poll Message Flag|(% style="width:117px" %)Sync time OK|(% style="width:147px" %)Unix Time Request|(% style="width:90px" %)(((
293 Ext:
294
295 0b(1001)
296 )))
297
298 * Poll Message Flag: 1: This message is a poll message reply, 0: means this is a normal uplink.
299 * Sync time OK: 1: Set time ok,0: N/A. After time SYNC request is sent, LHT65N will set this bit to 0 until got the time stamp from the application server.
300 * Unix Time Request:1: Request server downlink Unix time, 0 : N/A. In this mode, LHT65N will set this bit to 1 every 10 days to request a time SYNC. (AT+SYNCMOD to set this)
301
302
303
304 == LED Indicator ==
305
306 The LHT65N has a triple color LED which for easy shows different stage.
307
308 While pressing ACT button, the LED will work as per LED status with ACT button.
309
310 In a normal working state:
311
312 * For each uplink, the BLUE LED or RED LED will blink once.
313 * BLUE LED when an external sensor is connected
314 * RED LED when an external sensor is not connected
315 * For each success downlink, the PURPLE LED will blink once
316
317 ----
318
319 == Installation ==
320
321 [[image:image-20220516231650-1.png||height="632" width="620"]]
322
323
324
325
326 = Sensors & Accessories =
327
328 == E3 Temperature Probe ==
329
330 [[image:image-20220515080154-4.png||height="182" width="161"]] [[image:image-20220515080330-5.png||height="201" width="195"]]
331
332
333 With Temperature sensor with 2 meters cable long
334
335 * Resolution: 0.0625 °C
336 * ±0.5°C accuracy from -10°C to +85°C
337 * ±2°C accuracy from -55°C to +125°C
338 * Operating Range: -40 ~~ 125 °C
339 * -55°C to 125°C
340 * Working voltage 2.35v ~~ 5v
341
342
343 = Battery & How to replace =
344
345 == Battery Type ==
346
347 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.
348
349 The discharge curve is not linear so can’t simply use percentage to show the battery level. Below is the battery performance.
350 [[image:image-20220515075034-1.png||height="208" width="644"]]
351
352
353 The minimum Working Voltage for the LHT65N is ~~ 2.5v. When battery is lower than 2.6v, it is time to change the battery.
354
355
356 == Replace Battery ==
357
358 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.
359
360 [[image:image-20220515075440-2.png||height="338" width="272"]][[image:image-20220515075625-3.png||height="193" width="257"]]
361
362
363 == Battery Life Analyze ==
364
365 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:
366 https:~/~/www.dragino.com/downloads/downloads/LoRa_End_Node/Battery_Analyze/DRAGINO_Battery_Life_Guide.pdf
367
368
369 = Order Info =
370
371 Part Number: (% class="mark" %)**LHT65N-XX**
372
373 **XX**: The default frequency band
374
375 * **AS923**: LoRaWAN AS923 band
376 * **AU915**: LoRaWAN AU915 band
377 * **EU433**: LoRaWAN EU433 band
378 * **EU868**: LoRaWAN EU868 band
379 * **KR920**: LoRaWAN KR920 band
380 * **US915**: LoRaWAN US915 band
381 * **IN865**: LoRaWAN IN865 band
382 * **CN470**: LoRaWAN CN470 band
383
384 **YY**: Sensor Accessories
385
386 * **E3**: External Temperature Probe
387
388 = Packing Info =
389
390 **Package Includes**:
391
392 * LHT65N Temperature & Humidity Sensor x 1
393 * Program cable x 1
394 * Optional external sensor
395
396 **Dimension and weight**:
397
398 * Device Size:  13.5 x 7 x 3 cm
399 * Device Weight: 105g
400 * Package Size / pcs : 14.5 x 8 x 5 cm
401 * Weight / pcs : 170g
402
403 = FCC Warning =
404
405 This device complies with part 15 of the FCC Rules.Operation is subject to the following two conditions:
406
407 (1) This device may not cause harmful interference, and
408
409 (2) this device must accept any interference received, including interference that may cause undesired operation
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0