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

From version 36.1
edited by Ellie Zhang
on 2023/04/25 14:05
Change comment: Uploaded new attachment "FPORT=5.png", version {1}
To version 37.6
edited by Xiaoling
on 2023/04/27 09:24
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Ellie
1 +XWiki.Xiaoling
Content
... ... @@ -100,9 +100,19 @@
100 100  
101 101  [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N-E5%20LoRaWAN%20Temperature_Humidity%20%26%20Illuminance%20Sensor%20User%20Manual/WebHome/image-20220515123819-1.png?width=317&height=379&rev=1.1||alt="image-20220515123819-1.png" height="379" width="317"]]
102 102  
103 -[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N-E5%20LoRaWAN%20Temperature_Humidity%20%26%20Illuminance%20Sensor%20User%20Manual/WebHome/image-20220525110604-2.png?rev=1.1||alt="image-20220525110604-2.png"]]
104 104  
105 105  
105 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
106 +|=(% style="width: 167px;background-color:#D9E2F3;color:#0070C0" %)**Behavior on ACT**|=(% style="width: 117px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 225px;background-color:#D9E2F3;color:#0070C0" %)**Action**
107 +|(% style="background-color:#f2f2f2; width:167px" %)Pressing ACT between 1s < time < 3s|(% style="background-color:#f2f2f2; width:117px" %)Test uplink status|(% style="background-color:#f2f2f2; width:225px" %)(((
108 +If LHT65N is already Joined to rhe LoRaWAN network, LHT65N will send an uplink packet, if LHT65N has external sensor connected,(% style="color:blue" %)**Blue led** (%%)will blink once. If LHT65N has not external sensor, (% style="color:red" %)**Red led**(%%) will blink once.
109 +)))
110 +|(% style="background-color:#f2f2f2; width:167px" %)Pressing ACT for more than 3s|(% style="background-color:#f2f2f2; width:117px" %)Active Device|(% style="background-color:#f2f2f2; width:225px" %)(((
111 +(% style="background-color:#f2f2f2; color:green" %)**Green led**(%%) will fast blink 5 times, LHT65N will enter working mode and start to JOIN LoRaWAN network.
112 +(% style="background-color:#f2f2f2; color:green" %)**Green led**(%%) will solidly turn on for 5 seconds after join in network.
113 +)))
114 +|(% style="background-color:#f2f2f2; width:167px" %)Fast press ACT 5 times.|(% style="background-color:#f2f2f2; width:117px" %)Deactivate Device|(% style="background-color:#f2f2f2; width:225px" %)(% style="color:red" %)**Red led**(%%) will solid on for 5 seconds. Means LHT65N is in Deep Sleep Mode.
115 +
106 106  == 2.3 Example to join LoRaWAN network ==
107 107  
108 108  
... ... @@ -124,8 +124,9 @@
124 124  
125 125  Each LHT65N-PIR is shipped with a sticker with its device EUI, APP Key and APP EUI as below:
126 126  
127 -[[image:image-20220617150003-1.jpeg||_mstalt="5426434"]]
137 +[[image:image-20230426083533-1.png]]
128 128  
139 +
129 129  User can enter these keys in the LoRaWAN Server portal. Below is TTN V3 screenshot:
130 130  
131 131  Add APP EUI in the application.
... ... @@ -140,31 +140,37 @@
140 140  [[image:image-20220522232954-5.png||_mstalt="431847"]]
141 141  
142 142  
143 -
144 144  (% style="color:red" %)**Note: LHT65N-PIR use same payload decoder as LHT65.**
145 145  
146 146  
147 -Input APP EUI,  APP KEY and DEV EUI:
157 +[[image:image-20220522233026-6.png||_mstalt="429403"]]
148 148  
149 149  
160 +**Input APP EUI,  APP KEY and DEV EUI:**
161 +
150 150  [[image:image-20220522233118-7.png||_mstalt="430430"]]
151 151  
152 152  
153 153  === 2.3.2 Step 2: Activate LHT65N-PIR by pressing the ACT button for more than 5 seconds. ===
154 154  
167 +
155 155  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.
169 +
170 +
156 156  [[image:image-20220522233300-8.png||_mstalt="428389" height="219" width="722"]]
157 157  
158 158  
159 159  == 2.4 Uplink Payload~-~-Device Status, (Fport~=5) ==
160 160  
176 +
161 161  Users can use the downlink command(**0x26 01**) to ask LHT65N-PIR to send device configure detail, include device configure status. LHT65N-PIR will uplink a payload via FPort=5 to server.
162 162  
163 163  The Payload format is as below.
164 164  
165 -|(% colspan="6" %)**Device Status (FPORT=5)**
166 -|**Size (bytes)**|**1**|**2**|**1**|**1**|**2**
167 -|**Value**|Sensor Model|Firmware Version|Frequency Band|Sub-band|BAT
181 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
182 +|(% colspan="6" style="background-color:#d9e2f3; color:#0070c0" %)**Device Status (FPORT=5)**
183 +|(% style="background-color:#f2f2f2; width:103px" %)**Size (bytes)**|(% style="background-color:#f2f2f2; width:72px" %)**1**|(% style="background-color:#f2f2f2" %)**2**|(% style="background-color:#f2f2f2; width:91px" %)**1**|(% style="background-color:#f2f2f2; width:86px" %)**1**|(% style="background-color:#f2f2f2; width:44px" %)**2**
184 +|(% style="background-color:#f2f2f2; width:103px" %)**Value**|(% style="background-color:#f2f2f2; width:72px" %)Sensor Model|(% style="background-color:#f2f2f2" %)Firmware Version|(% style="background-color:#f2f2f2; width:91px" %)Frequency Band|(% style="background-color:#f2f2f2; width:86px" %)Sub-band|(% style="background-color:#f2f2f2; width:44px" %)BAT
168 168  
169 169  Example parse in TTNv3
170 170  
... ... @@ -223,40 +223,41 @@
223 223  
224 224  == 2.5 Uplink Payload, Sensor Data  ( Fport~=2) ==
225 225  
243 +
226 226  The uplink payload includes totally 11 bytes. Uplink packets use FPORT=2 and (% style="color:#4f81bd" %)**every 20 minutes**(%%) send one uplink by default.
227 227  
228 228  After each uplink, the (% style="color:blue" %)**BLUE LED**(%%) will blink once.
229 229  
230 -(% border="1" cellspacing="4" style="background-color:#ffffcc; color:green; width:390px" %)
231 -|=(% style="width: 60px;" %)(((
248 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:390px" %)
249 +|=(% style="width: 60px;background-color:#D9E2F3" %)(((
232 232  **Size(bytes)**
233 -)))|=(% style="width: 30px;" %)(((
251 +)))|=(% style="width: 30px;background-color:#D9E2F3" %)(((
234 234  **2**
235 -)))|=(% style="width: 100px;" %)(((
253 +)))|=(% style="width: 100px;background-color:#D9E2F3" %)(((
236 236  **2**
237 -)))|=(% style="width: 100px;" %)(((
255 +)))|=(% style="width: 100px;background-color:#D9E2F3" %)(((
238 238  **2**
239 -)))|=(% style="width: 50px;" %)(((
257 +)))|=(% style="width: 50px;background-color:#D9E2F3" %)(((
240 240  **1**
241 -)))|=(% style="width: 50px;" %)(((
259 +)))|=(% style="width: 50px;background-color:#D9E2F3" %)(((
242 242  **4**
243 243  )))
244 244  |(% style="width:97px" %)(((
245 245  **Value**
246 246  )))|(% style="width:39px" %)(((
247 -[[BAT>>||anchor="H2.4.2BAT-BatteryInfo"]]
265 +[[BAT>>||anchor="H2.5.2BAT-BatteryInfo"]]
248 248  )))|(% style="width:100px" %)(((
249 249  (((
250 -[[Built-In Temperature>>||anchor="H2.4.3Built-inTemperature"]]
268 +[[Built-In Temperature>>||anchor="H2.5.3Built-inTemperature"]]
251 251  )))
252 252  )))|(% style="width:77px" %)(((
253 253  (((
254 -[[Built-in Humidity>>||anchor="H2.4.4Built-inHumidity"]]
272 +[[Built-in Humidity>>||anchor="H2.5.4Built-inHumidity"]]
255 255  )))
256 256  )))|(% style="width:47px" %)(((
257 -[[Ext>>||anchor="H2.4.5Ext23"]] #
275 +Ext #
258 258  )))|(% style="width:51px" %)(((
259 -[[Ext value>>||anchor="H2.4.6Extvalue"]]
277 +[[Ext value>>||anchor="H2.5.5Extvalue"]]
260 260  )))
261 261  
262 262  * The First 6 bytes: has fix meanings for every LHT65N-PIR.
... ... @@ -280,9 +280,22 @@
280 280  
281 281  These two bytes of BAT include the battery state and the actually voltage
282 282  
283 -[[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220523152839-18.png||_mstalt="457613"]]
301 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:477px" %)
302 +|=(% style="width: 69px; background-color:#D9E2F3;color:#0070C0" %)(((
303 +**Bit(bit)**
304 +)))|=(% style="width: 253px;background-color:#D9E2F3;color:#0070C0" %)[15:14]|=(% style="width: 155px;background-color:#D9E2F3;color:#0070C0" %)[13:0]
305 +|(% style="width:66px" %)(((
306 +**Value**
307 +)))|(% style="width:250px" %)(((
308 +BAT Status
309 +00(b): Ultra Low ( BAT <= 2.50v)
310 +01(b): Low (2.50v <=BAT <= 2.55v)
311 +10(b): OK (2.55v <= BAT <=2.65v)
312 +11(b): Good (BAT >= 2.65v)
313 +)))|(% style="width:152px" %)Actually BAT voltage
284 284  
285 285  
316 +
286 286  [[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220522235639-1.png||_mstalt="431392" height="139" width="727"]]
287 287  
288 288  
... ... @@ -320,12 +320,12 @@
320 320  
321 321  Bit0 of byte 8th shows if this uplink is generate by PIR activity.
322 322  
323 -(% border="1" cellspacing="4" style="background-color:#ffffcc; color:green; width:490px" %)
324 -|=(% style="width: 147px;" %)(((
354 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:490px" %)
355 +|=(% style="width: 147px;background-color:#D9E2F3;color:#0070C0" %)(((
325 325  **The 8^^th^^ byte**
326 -)))|=(% style="width: 108px;" %)(((
357 +)))|=(% style="width: 108px;background-color:#D9E2F3;color:#0070C0" %)(((
327 327  **Bit 1~~7**
328 -)))|=(% style="width: 228px;" %)(((
359 +)))|=(% style="width: 228px;background-color:#D9E2F3;color:#0070C0" %)(((
329 329  **Bit 0**
330 330  )))
331 331  |(% style="width:147px" %)(((
image-20230426083533-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +190.0 KB
Content