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

From version 5.1
edited by Edwin Chen
on 2023/04/09 00:22
Change comment: There is no comment for this version
To version 1.1
edited by Edwin Chen
on 2023/04/08 23:59
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -23,35 +23,41 @@
23 23  
24 24  = 1. Introduction =
25 25  
26 -== 1.1 What is LHT65N-PIR Temperature,Humidity & PIR Sensor ==
26 +== 1.1 What is LHT65N-E5 Temperature,Humidity&Illuminance Sensor ==
27 27  
28 -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.
29 29  
30 -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.
29 +(((
30 +The Dragino (% style="color:blue" %)**LHT65N-E5 Temperature, Humidity & Illuminance 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 Illuminance **(%%)** (% style="color:blue" %)sensor(%%).**
31 31  
32 -LHT65N-PIR has a (% style="color:blue" %)**built-in 2400mAh non-chargeable battery**(%%) which can be used for more than 5 years*.
32 +The LHT65N-E5 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.
33 33  
34 -LHT65N-PIR supports (% style="color:blue" %)**wireless configure & OTA update**(%%) which make user easy to use.
34 +LHT65N-E5 has a (% style="color:blue" %)**built-in 2400mAh non-chargeable battery**(%%) which can be used for more than 10 years*.
35 35  
36 -LHT65N-PIR is fully compatible with (% style="color:blue" %)**LoRaWAN v1.0.3 Class A protocol**(%%), it can work with a standard LoRaWAN gateway.
36 +LHT65N-E5 is fully compatible with (% style="color:blue" %)**LoRaWAN v1.0.3 Class A protocol**(%%), it can work with a standard LoRaWAN gateway.
37 37  
38 +(% style="color:blue" %)*(%%)** **The actual battery life depends on how often to send data, please see battery analyzer chapter.
39 +)))
38 38  
39 -**~*~***The actual battery life depends on how often to send data, please see battery analyzer chapter.
41 +(% style="display:none" %) (%%)
40 40  
41 -
42 42  == 1.2 Features ==
43 43  
45 +
44 44  * LoRaWAN v1.0.3 Class A protocol
45 45  * Frequency Bands: CN470/EU433/KR920/US915/EU868/AS923/AU915
46 46  * AT Commands to change parameters
47 47  * Remote configure parameters via LoRaWAN Downlink
48 -* Support wireless OTA update firmware
49 49  * Firmware upgradeable via program port
50 -* Built-in 2400mAh battery for up to 5 years of use.
51 +* Built-in 2400mAh battery for up to 10 years of use.
51 51  * Built-in Temperature & Humidity sensor
52 -* External PIR Sensor
53 -* Tri-color LED to indicate working status(% style="display:none" %)
53 +* External Illuminance Sensor
54 +* Tri-color LED to indicate working status
55 +* Datalog feature to save sensor data when no LoRaWAN network
54 54  
57 +(% style="display:none" %)
58 +
59 +
60 +
55 55  == 1.3 Specification ==
56 56  
57 57  
... ... @@ -69,39 +69,53 @@
69 69  * Long Term Drift: < 0.02 °C/yr
70 70  * Operating Range: 0 ~~ 96 %RH
71 71  
72 -(% class="mark" style="color:#037691" %)**External PIR Sensor:**
78 +(% style="color:#037691" %)**External IIIuminace Sensor:**
73 73  
74 -* (% class="mark" %)Base on BH1750 Illumination Sensor
75 -* (% class="mark" %)Cable Length : 50cm
76 -* (% class="mark" %)Resolution: 1 lx
77 -* (% class="mark" %)Range: 0-65535 lx
78 -* (% class="mark" %)Operating Range: -40 °C ~~ 85 °C
80 +* Base on BH1750 Illumination Sensor
81 +* Cable Length : 50cm
82 +* Resolution: 1 lx
83 +* Range: 0-65535 lx
84 +* Operating Range: -40 °C ~~ 85 °C
79 79  
80 -= 2. Connect LHT65N-PIR to IoT Server =
81 81  
82 -== 2.1 How does LHT65N-PIR work? ==
87 += 2. Connect LHT65N-E5 to IoT Server =
83 83  
84 -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.
89 +== 2.1 How does LHT65N-E5 work? ==
85 85  
86 -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.
87 87  
92 +(((
93 +LHT65N-E5 is configured as LoRaWAN OTAA Class A sensor by default. Each LHT65N-E5 is shipped with a worldwide unique set of OTAA keys. To use LHT65N-E5 in a LoRaWAN network, first, we need to put the OTAA keys in LoRaWAN Network Server and then activate LHT65N-E5.
94 +)))
88 88  
89 -== 2.2 How to Activate LHT65N-PIR? ==
96 +(((
97 +If LHT65N-E5 is within the coverage of this LoRaWAN network. LHT65N-E5 can join the LoRaWAN network automatically. After successfully joining, LHT65N-E5 will start to measure environment temperature, humidity & illumination, and start to transmit sensor data to the LoRaWAN server. The default period for each uplink is 20 minutes.
98 +)))
90 90  
91 -The LHT65N-PIR has two working modes:
92 92  
93 -* (% 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.
101 +== 2.2 How to Activate LHT65N-E5? ==
94 94  
95 -* (% 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.
96 96  
97 -The LHT65N-PIR is set in deep sleep mode by default; The ACT button on the front is to switch to different modes:
104 +(((
105 +The LHT65N-E5 has two working modes:
106 +)))
98 98  
108 +* (((
109 +(% style="color:blue" %)**Deep Sleep Mode**(%%): LHT65N-E5 doesn't have any LoRaWAN activation. This mode is used for storage and shipping to save battery life.
110 +)))
111 +* (((
112 +(% style="color:blue" %)**Working Mode**(%%):  In this mode, LHT65N-E5 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-E5 will be in STOP mode (IDLE mode), in STOP mode, LHT65N-E5 has the same power consumption as Deep Sleep mode. 
113 +)))
99 99  
100 -[[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"]]
115 +(((
116 +The LHT65N-E5 is set in deep sleep mode by default; The ACT button on the front is to switch to different modes:
117 +)))
101 101  
102 -[[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"]]
103 103  
120 +[[image:image-20220515123819-1.png||_mstalt="430742" height="379" width="317"]]
104 104  
122 +[[image:image-20220525110604-2.png||_mstalt="427531"]]
123 +
124 +
105 105  == 2.3 Example to join LoRaWAN network ==
106 106  
107 107  
... ... @@ -113,15 +113,21 @@
113 113  [[image:image-20221224101636-1.png||height="435" width="715"]]
114 114  
115 115  
116 -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:
136 +(((
137 +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-E5. Next we need to add the LHT65N-E5 device in TTN V3:
138 +)))
117 117  
118 118  
119 119  === 2.3.1 Step 1: Create Device n TTN ===
120 120  
121 121  
122 -Create a device in TTN V3 with the OTAA keys from LHT65N-PIR.
144 +(((
145 +Create a device in TTN V3 with the OTAA keys from LHT65N-E5.
146 +)))
123 123  
124 -Each LHT65N-PIR is shipped with a sticker with its device EUI, APP Key and APP EUI as below:
148 +(((
149 +Each LHT65N-E5 is shipped with a sticker with its device EUI, APP Key and APP EUI as below:
150 +)))
125 125  
126 126  [[image:image-20220617150003-1.jpeg||_mstalt="5426434"]]
127 127  
... ... @@ -140,9 +140,12 @@
140 140  
141 141  
142 142  
143 -(% style="color:red" %)**Note: LHT65N-PIR use same payload decoder as LHT65.**
169 +(% style="color:red" %)**Note: LHT65N-E5 use same payload decoder as LHT65.**
144 144  
145 145  
172 +[[image:image-20220522233026-6.png||_mstalt="429403"]]
173 +
174 +
146 146  Input APP EUI,  APP KEY and DEV EUI:
147 147  
148 148  
... ... @@ -149,17 +149,26 @@
149 149  [[image:image-20220522233118-7.png||_mstalt="430430"]]
150 150  
151 151  
152 -=== 2.3.2 Step 2: Activate LHT65N-PIR by pressing the ACT button for more than 5 seconds. ===
181 +=== 2.3.2 Step 2: Activate LHT65N-E5 by pressing the ACT button for more than 5 seconds. ===
153 153  
154 -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.
183 +
184 +(((
185 +Use ACT button to activate LHT65N-E5 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.
186 +)))
187 +
155 155  [[image:image-20220522233300-8.png||_mstalt="428389" height="219" width="722"]]
156 156  
157 157  
158 158  == 2.4 Uplink Payload   ( Fport~=2) ==
159 159  
193 +
194 +(((
160 160  The uplink payload includes totally 11 bytes. Uplink packets use FPORT=2 and (% style="color:#4f81bd" %)**every 20 minutes**(%%) send one uplink by default.
196 +)))
161 161  
198 +(((
162 162  After each uplink, the (% style="color:blue" %)**BLUE LED**(%%) will blink once.
200 +)))
163 163  
164 164  (% border="1" cellspacing="4" style="background-color:#ffffcc; color:green; width:390px" %)
165 165  |=(% style="width: 60px;" %)(((
... ... @@ -193,11 +193,12 @@
193 193  [[Ext value>>||anchor="H2.4.6Extvalue"]]
194 194  )))
195 195  
196 -* The First 6 bytes: has fix meanings for every LHT65N-PIR.
197 -* The 7th byte (EXT #): defines the external sensor model. It can be (% class="mark" %)0x05 or 0x09(%%) for LHT65N-PIR
198 -* The 7^^th^^ byte: Alarm Bit (if this uplink is from periodically or movement)
199 -* The 8^^th^^ ~~ 11st  byte: Movement Detect Count. Each
234 +* The First 6 bytes: has fix meanings for every LHT65N-E5.
235 +* The 7th byte (EXT #): defines the external sensor model. It can be 0x05 or 0x09 for LHT65N-E5
236 +* The 8^^th^^ ~~ 9^^th^^ byte: Illuminance. Range: 0-65535 lx.
237 +* The 10th ~~ 11th byte: Reserve, always 0xFFFF
200 200  
239 +
201 201  === 2.4.1 Decoder in TTN V3 ===
202 202  
203 203  
... ... @@ -225,6 +225,7 @@
225 225  * BAT status=(0Xcba4>>14)&0xFF=11(B),very good
226 226  * Battery Voltage =0xCBF6&0x3FFF=0x0BA4=2980mV
227 227  
267 +
228 228  === 2.4.3 Built-in Temperature ===
229 229  
230 230  
... ... @@ -236,6 +236,7 @@
236 236  
237 237  * Temperature:  (0xF5C6-65536)/100=-26.18℃
238 238  
279 +
239 239  === 2.4.4 Built-in Humidity ===
240 240  
241 241  
... ... @@ -243,6 +243,7 @@
243 243  
244 244  * Humidity:    0x025C/10=60.4%
245 245  
287 +
246 246  === 2.4.5 Ext value ===
247 247  
248 248  ==== 2.4.5.1 Ext~=0x05, Illuminance Sensor ====
... ... @@ -327,6 +327,7 @@
327 327  * (% style="color:blue" %)**Sync time OK**: (%%) 1: Set time ok,0: N/A. After time SYNC request is sent, LHT65N-E5 will set this bit to 0 until got the time stamp from the application server.
328 328  * (% style="color:blue" %)**Unix Time Request**:(%%)  1: Request server downlink Unix time, 0 : N/A. In this mode, LHT65N-E5 will set this bit to 1 every 10 days to request a time SYNC. (AT+SYNCMOD to set this)
329 329  
372 +
330 330  == 2.5 Show data on Datacake ==
331 331  
332 332  
... ... @@ -615,6 +615,7 @@
615 615  * RED LED when external sensor is not connected
616 616  * For each success downlink, the PURPLE LED will blink once
617 617  
661 +
618 618  == 2.9 installation ==
619 619  
620 620  
... ... @@ -715,6 +715,7 @@
715 715  
716 716  * **Example 2**: Downlink Payload: 0100003C  ~/~/ Set Transmit Interval (TDC) = 60 seconds
717 717  
762 +
718 718  == 4.2 Currently only supports E5 ==
719 719  
720 720  
... ... @@ -741,6 +741,7 @@
741 741  
742 742  * 0xA205: Set external sensor type to E5
743 743  
789 +
744 744  == 4.3 Set to sleep mode ==
745 745  
746 746  
... ... @@ -758,6 +758,7 @@
758 758  
759 759  * There is no downlink command to set to Sleep mode.
760 760  
807 +
761 761  == 4.4 Set system time ==
762 762  
763 763  
... ... @@ -861,6 +861,7 @@
861 861  
862 862  * Example: 0xA301  ~/~/  Same as AT+CLRDTA
863 863  
911 +
864 864  == 4.10 Auto Send None-ACK messages ==
865 865  
866 866  
... ... @@ -879,6 +879,7 @@
879 879  
880 880  * Example: 0x3401  ~/~/  Same as AT+PNACKMD=1
881 881  
930 +
882 882  = 5. Battery & How to replace =
883 883  
884 884  == 5.1 Battery Type ==
... ... @@ -1183,6 +1183,7 @@
1183 1183  * (% style="color:#4f81bd" %)** **(% _mstmutation="1" style="color:red" %)**IN865**(%%): LoRaWAN IN865 band
1184 1184  * (% style="color:#4f81bd" %)** **(% _mstmutation="1" style="color:red" %)**CN470**(%%): LoRaWAN CN470 band
1185 1185  
1235 +
1186 1186  = 8. Packing Info =
1187 1187  
1188 1188  
... ... @@ -1195,11 +1195,13 @@
1195 1195  * Device Size:  10 x 10 x 3.5 mm
1196 1196  * Device Weight: 120.5g
1197 1197  
1248 +
1198 1198  = 9. Reference material =
1199 1199  
1200 1200  
1201 1201  * [[Datasheet, photos, decoder, firmware>>https://www.dropbox.com/sh/una19zsni308dme/AACOKp6J2RF5TMlKWT5zU3RTa?dl=0]]
1202 1202  
1254 +
1203 1203  = 10. FCC Warning =
1204 1204  
1205 1205  
... ... @@ -1208,3 +1208,5 @@
1208 1208  (1) This device may not cause harmful interference;
1209 1209  
1210 1210  (2) this device must accept any interference received, including interference that may cause undesired operation.
1263 +
1264 +