<
From version < 34.1 >
edited by Edwin Chen
on 2022/05/22 23:41
To version < 45.1 >
edited by Edwin Chen
on 2022/05/23 00:08
>
Change comment: Uploaded new attachment "image-20220523000825-9.png", version {1}

Summary

Details

Page properties
Content
... ... @@ -123,7 +123,7 @@
123 123  [[image:image-20220522233118-7.png]]
124 124  
125 125  
126 -=== Step2 Activate LHT65N by pressing the ACT button for more than 5 seconds. ===
126 +=== Step 2: Activate LHT65N by pressing the ACT button for more than 5 seconds. ===
127 127  
128 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 129  
... ... @@ -130,6 +130,177 @@
130 130  [[image:image-20220522233300-8.png]]
131 131  
132 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 +
133 133  == LED Indicator ==
134 134  
135 135  The LHT65N has a triple color LED which for easy shows different stage.
image-20220522235639-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Edwin
Size
... ... @@ -1,0 +1,1 @@
1 +43.4 KB
Content
image-20220522235639-2.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Edwin
Size
... ... @@ -1,0 +1,1 @@
1 +43.4 KB
Content
image-20220522235639-3.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Edwin
Size
... ... @@ -1,0 +1,1 @@
1 +3.7 KB
Content
image-20220522235639-4.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Edwin
Size
... ... @@ -1,0 +1,1 @@
1 +43.4 KB
Content
image-20220522235639-5.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Edwin
Size
... ... @@ -1,0 +1,1 @@
1 +11.3 KB
Content
image-20220522235639-6.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Edwin
Size
... ... @@ -1,0 +1,1 @@
1 +3.7 KB
Content
image-20220523000825-7.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Edwin
Size
... ... @@ -1,0 +1,1 @@
1 +126.2 KB
Content
image-20220523000825-8.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Edwin
Size
... ... @@ -1,0 +1,1 @@
1 +27.1 KB
Content
image-20220523000825-9.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Edwin
Size
... ... @@ -1,0 +1,1 @@
1 +60.7 KB
Content
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0