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 2.1
edited by Edwin Chen
on 2023/04/09 00:08
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -35,23 +35,28 @@
35 35  
36 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.
37 37  
38 +**The actual battery life depends on how often to send data, please see battery analyzer chapter.
38 38  
39 -**~*~***The actual battery life depends on how often to send data, please see battery analyzer chapter.
40 40  
41 41  
42 42  == 1.2 Features ==
43 43  
44 +
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.
50 +* 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" %)
52 +* External Illuminance Sensor
53 +* Tri-color LED to indicate working status
54 +* Datalog feature to save sensor data when no LoRaWAN network
54 54  
56 +(% style="display:none" %)
57 +
58 +
59 +
55 55  == 1.3 Specification ==
56 56  
57 57  
... ... @@ -69,39 +69,52 @@
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:**
77 +(% 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
79 +* Base on BH1750 Illumination Sensor
80 +* Cable Length : 50cm
81 +* Resolution: 1 lx
82 +* Range: 0-65535 lx
83 +* Operating Range: -40 °C ~~ 85 °C
79 79  
80 -= 2. Connect LHT65N-PIR to IoT Server =
85 += 2. Connect LHT65N-E5 to IoT Server =
81 81  
82 -== 2.1 How does LHT65N-PIR work? ==
87 +== 2.1 How does LHT65N-E5 work? ==
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.
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.
90 +(((
91 +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.
92 +)))
87 87  
94 +(((
95 +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.
96 +)))
88 88  
89 -== 2.2 How to Activate LHT65N-PIR? ==
90 90  
91 -The LHT65N-PIR has two working modes:
99 +== 2.2 How to Activate LHT65N-E5? ==
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.
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.
102 +(((
103 +The LHT65N-E5 has two working modes:
104 +)))
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:
106 +* (((
107 +(% 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.
108 +)))
109 +* (((
110 +(% 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. 
111 +)))
98 98  
113 +(((
114 +The LHT65N-E5 is set in deep sleep mode by default; The ACT button on the front is to switch to different modes:
115 +)))
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"]]
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"]]
118 +[[image:image-20220515123819-1.png||_mstalt="430742" height="379" width="317"]]
103 103  
120 +[[image:image-20220525110604-2.png||_mstalt="427531"]]
104 104  
122 +
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:
134 +(((
135 +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:
136 +)))
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.
142 +(((
143 +Create a device in TTN V3 with the OTAA keys from LHT65N-E5.
144 +)))
123 123  
124 -Each LHT65N-PIR is shipped with a sticker with its device EUI, APP Key and APP EUI as below:
146 +(((
147 +Each LHT65N-E5 is shipped with a sticker with its device EUI, APP Key and APP EUI as below:
148 +)))
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.**
167 +(% style="color:red" %)**Note: LHT65N-E5 use same payload decoder as LHT65.**
144 144  
145 145  
170 +[[image:image-20220522233026-6.png||_mstalt="429403"]]
171 +
172 +
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. ===
179 +=== 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.
181 +
182 +(((
183 +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.
184 +)))
185 +
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  
191 +
192 +(((
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.
194 +)))
161 161  
196 +(((
162 162  After each uplink, the (% style="color:blue" %)**BLUE LED**(%%) will blink once.
198 +)))
163 163  
164 164  (% border="1" cellspacing="4" style="background-color:#ffffcc; color:green; width:390px" %)
165 165  |=(% style="width: 60px;" %)(((
... ... @@ -193,10 +193,10 @@
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
232 +* The First 6 bytes: has fix meanings for every LHT65N-E5.
233 +* The 7th byte (EXT #): defines the external sensor model. It can be 0x05 or 0x09 for LHT65N-E5
234 +* The 8^^th^^ ~~ 9^^th^^ byte: Illuminance. Range: 0-65535 lx.
235 +* The 10th ~~ 11th byte: Reserve, always 0xFFFF
200 200  
201 201  === 2.4.1 Decoder in TTN V3 ===
202 202