<
From version < 5.1 >
edited by Edwin Chen
on 2023/04/09 00:22
To version < 3.1 >
edited by Edwin Chen
on 2023/04/09 00:13
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -52,6 +52,7 @@
52 52  * External PIR Sensor
53 53  * Tri-color LED to indicate working status(% style="display:none" %)
54 54  
55 +
55 55  == 1.3 Specification ==
56 56  
57 57  
... ... @@ -77,6 +77,7 @@
77 77  * (% class="mark" %)Range: 0-65535 lx
78 78  * (% class="mark" %)Operating Range: -40 °C ~~ 85 °C
79 79  
81 +
80 80  = 2. Connect LHT65N-PIR to IoT Server =
81 81  
82 82  == 2.1 How does LHT65N-PIR work? ==
... ... @@ -88,18 +88,20 @@
88 88  
89 89  == 2.2 How to Activate LHT65N-PIR? ==
90 90  
91 -The LHT65N-PIR has two working modes:
93 +The LHT65N-E5 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.
95 +*
96 +(% 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.
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.
98 +*
99 +(% 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. 
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:
101 +The LHT65N-E5 is set in deep sleep mode by default; The ACT button on the front is to switch to different modes:
98 98  
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"]]
104 +[[image:image-20220515123819-1.png||_mstalt="430742" 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"]]
106 +[[image:image-20220525110604-2.png||_mstalt="427531"]]
103 103  
104 104  
105 105  == 2.3 Example to join LoRaWAN network ==
... ... @@ -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:
120 +(((
121 +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:
122 +)))
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.
128 +(((
129 +Create a device in TTN V3 with the OTAA keys from LHT65N-E5.
130 +)))
123 123  
124 -Each LHT65N-PIR is shipped with a sticker with its device EUI, APP Key and APP EUI as below:
132 +(((
133 +Each LHT65N-E5 is shipped with a sticker with its device EUI, APP Key and APP EUI as below:
134 +)))
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.**
153 +(% style="color:red" %)**Note: LHT65N-E5 use same payload decoder as LHT65.**
144 144  
145 145  
156 +[[image:image-20220522233026-6.png||_mstalt="429403"]]
157 +
158 +
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. ===
165 +=== 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.
167 +
168 +(((
169 +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.
170 +)))
171 +
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  
177 +
178 +(((
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.
180 +)))
161 161  
182 +(((
162 162  After each uplink, the (% style="color:blue" %)**BLUE LED**(%%) will blink once.
184 +)))
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
218 +* The First 6 bytes: has fix meanings for every LHT65N-E5.
219 +* The 7th byte (EXT #): defines the external sensor model. It can be 0x05 or 0x09 for LHT65N-E5
220 +* The 8^^th^^ ~~ 9^^th^^ byte: Illuminance. Range: 0-65535 lx.
221 +* The 10th ~~ 11th byte: Reserve, always 0xFFFF
200 200  
201 201  === 2.4.1 Decoder in TTN V3 ===
202 202  
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0