<
From version < 63.1 >
edited by Saxer Lin
on 2023/08/17 17:38
To version < 44.2 >
edited by Xiaoling
on 2023/05/18 08:57
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Saxer
1 +XWiki.Xiaoling
Content
... ... @@ -41,8 +41,6 @@
41 41  * Downlink to change configure
42 42  * 8500mAh Battery for long term use
43 43  
44 -
45 -
46 46  == 1.3 Specification ==
47 47  
48 48  
... ... @@ -80,8 +80,6 @@
80 80  * Sleep Mode: 5uA @ 3.3v
81 81  * LoRa Transmit Mode: 125mA @ 20dBm, 82mA @ 14dBm
82 82  
83 -
84 -
85 85  == 1.4 Sleep mode and working mode ==
86 86  
87 87  
... ... @@ -109,8 +109,6 @@
109 109  )))
110 110  |(% style="width:167px" %)Fast press ACT 5 times.|(% style="width:117px" %)Deactivate Device|(% style="width:225px" %)(% style="color:red" %)**Red led**(%%) will solid on for 5 seconds. Means device is in Deep Sleep Mode.
111 111  
112 -
113 -
114 114  == 1.6 BLE connection ==
115 115  
116 116  
... ... @@ -129,7 +129,7 @@
129 129  == 1.7 Pin Definitions ==
130 130  
131 131  
132 -[[image:image-20230610163213-1.png||height="404" width="699"]]
126 +[[image:image-20230513102034-2.png]]
133 133  
134 134  
135 135  == 1.8 Mechanical ==
... ... @@ -142,7 +142,7 @@
142 142  [[image:Main.User Manual for LoRaWAN End Nodes.D20-LBD22-LBD23-LB_LoRaWAN_Temperature_Sensor_User_Manual.WebHome@1675143909447-639.png]]
143 143  
144 144  
145 -== 1.9 Hole Option ==
139 +== Hole Option ==
146 146  
147 147  
148 148  SN50v3-LB has different hole size options for different size sensor cable. The options provided are M12, M16 and M20. The definition is as below:
... ... @@ -157,7 +157,7 @@
157 157  == 2.1 How it works ==
158 158  
159 159  
160 -The SN50v3-LB is configured as (% style="color:#037691" %)**LoRaWAN OTAA Class A**(%%) mode by default. It has OTAA keys to join LoRaWAN network. To connect a local LoRaWAN network, you need to input the OTAA keys in the LoRaWAN IoT server and press the button to activate the SN50v3-LB. It will automatically join the network via OTAA and start to send the sensor value. The default uplink interval is 20 minutes.
154 +The SN50v3-LB is configured as (% style="color:#037691" %)**LoRaWAN OTAA Class A**(%%) mode by default. It has OTAA keys to join LoRaWAN network. To connect a local LoRaWAN network, you need to input the OTAA keys in the LoRaWAN IoT server and press the button to activate the S31x-LB. It will automatically join the network via OTAA and start to send the sensor value. The default uplink interval is 20 minutes.
161 161  
162 162  
163 163  == 2.2 ​Quick guide to connect to LoRaWAN server (OTAA) ==
... ... @@ -165,7 +165,7 @@
165 165  
166 166  Following is an example for how to join the [[TTN v3 LoRaWAN Network>>url:https://console.cloud.thethings.network/]]. Below is the network structure; we use the [[LPS8v2>>url:https://www.dragino.com/products/lora-lorawan-gateway/item/228-lps8v2.html]] as a LoRaWAN gateway in this example.
167 167  
168 -The LPS8v2 is already set to connected to [[TTN network >>url:https://console.cloud.thethings.network/]], so what we need to now is configure the TTN server.
162 +The LPS8V2 is already set to connected to [[TTN network >>url:https://console.cloud.thethings.network/]], so what we need to now is configure the TTN server.
169 169  
170 170  
171 171  (% style="color:blue" %)**Step 1:**(%%) Create a device in TTN with the OTAA keys from SN50v3-LB.
... ... @@ -214,7 +214,7 @@
214 214  === 2.3.1 Device Status, FPORT~=5 ===
215 215  
216 216  
217 -Users can use the downlink command(**0x26 01**) to ask SN50v3-LB to send device configure detail, include device configure status. SN50v3-LB will uplink a payload via FPort=5 to server.
211 +Users can use the downlink command(**0x26 01**) to ask SN50v3 to send device configure detail, include device configure status. SN50v3 will uplink a payload via FPort=5 to server.
218 218  
219 219  The Payload format is as below.
220 220  
... ... @@ -222,44 +222,44 @@
222 222  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
223 223  |(% colspan="6" style="background-color:#d9e2f3; color:#0070c0" %)**Device Status (FPORT=5)**
224 224  |(% style="width:103px" %)**Size (bytes)**|(% style="width:72px" %)**1**|**2**|(% style="width:91px" %)**1**|(% style="width:86px" %)**1**|(% style="width:44px" %)**2**
225 -|(% style="width:103px" %)Value|(% style="width:72px" %)Sensor Model|Firmware Version|(% style="width:91px" %)Frequency Band|(% style="width:86px" %)Sub-band|(% style="width:44px" %)BAT
219 +|(% style="width:103px" %)**Value**|(% style="width:72px" %)Sensor Model|Firmware Version|(% style="width:91px" %)Frequency Band|(% style="width:86px" %)Sub-band|(% style="width:44px" %)BAT
226 226  
227 227  Example parse in TTNv3
228 228  
229 229  
230 -(% style="color:#037691" %)**Sensor Model**(%%): For SN50v3-LB, this value is 0x1C
224 +(% style="color:#037691" %)**Sensor Model**(%%): For SN50v3, this value is 0x1C
231 231  
232 232  (% style="color:#037691" %)**Firmware Version**(%%): 0x0100, Means: v1.0.0 version
233 233  
234 234  (% style="color:#037691" %)**Frequency Band**:
235 235  
236 -0x01: EU868
230 +*0x01: EU868
237 237  
238 -0x02: US915
232 +*0x02: US915
239 239  
240 -0x03: IN865
234 +*0x03: IN865
241 241  
242 -0x04: AU915
236 +*0x04: AU915
243 243  
244 -0x05: KZ865
238 +*0x05: KZ865
245 245  
246 -0x06: RU864
240 +*0x06: RU864
247 247  
248 -0x07: AS923
242 +*0x07: AS923
249 249  
250 -0x08: AS923-1
244 +*0x08: AS923-1
251 251  
252 -0x09: AS923-2
246 +*0x09: AS923-2
253 253  
254 -0x0a: AS923-3
248 +*0x0a: AS923-3
255 255  
256 -0x0b: CN470
250 +*0x0b: CN470
257 257  
258 -0x0c: EU433
252 +*0x0c: EU433
259 259  
260 -0x0d: KR920
254 +*0x0d: KR920
261 261  
262 -0x0e: MA869
256 +*0x0e: MA869
263 263  
264 264  
265 265  (% style="color:#037691" %)**Sub-Band**:
... ... @@ -292,7 +292,7 @@
292 292  
293 293  (% style="color:red" %) **Important Notice:**
294 294  
295 -~1. Some working modes has payload more than 12 bytes, The US915/AU915/AS923 frequency bands' definition has maximum 11 bytes in (% style="color:blue" %)**DR0**(%%). Server sides will see NULL payload while SN50v3-LB transmit in DR0 with 12 bytes payload.
289 +~1. Some working modes has payload more than 12 bytes, The US915/AU915/AS923 frequency bands' definition has maximum 11 bytes in (% style="color:blue" %)**DR0**(%%). Server sides will see NULL payload while SN50v3 transmit in DR0 with 12 bytes payload.
296 296  
297 297  2. All modes share the same Payload Explanation from HERE.
298 298  
... ... @@ -306,7 +306,7 @@
306 306  
307 307  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
308 308  |(% style="background-color:#d9e2f3; color:#0070c0; width:50px" %)**Size(bytes)**|(% style="background-color:#d9e2f3; color:#0070c0; width:20px" %)**2**|(% style="background-color:#d9e2f3; color:#0070c0; width:100px" %)**2**|(% style="background-color:#d9e2f3; color:#0070c0; width:50px" %)**2**|(% style="background-color:#d9e2f3; color:#0070c0; width:90px" %)**1**|(% style="background-color:#d9e2f3; color:#0070c0; width:130px" %)**2**|(% style="background-color:#d9e2f3; color:#0070c0; width:80px" %)**2**
309 -|Value|Bat|(% style="width:191px" %)(((
303 +|**Value**|Bat|(% style="width:191px" %)(((
310 310  Temperature(DS18B20)(PC13)
311 311  )))|(% style="width:78px" %)(((
312 312  ADC(PA4)
... ... @@ -321,6 +321,7 @@
321 321  [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LSN50%20%26%20LSN50-V2%20-%20LoRaWAN%20Sensor%20Node%20User%20Manual/WebHome/image-20220627150949-6.png?rev=1.1||alt="image-20220627150949-6.png"]]
322 322  
323 323  
318 +
324 324  ==== 2.3.2.2  MOD~=2 (Distance Mode) ====
325 325  
326 326  
... ... @@ -328,7 +328,7 @@
328 328  
329 329  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
330 330  |(% style="background-color:#d9e2f3; color:#0070c0; width:50px" %)**Size(bytes)**|(% style="background-color:#d9e2f3; color:#0070c0; width:30px" %)**2**|(% style="background-color:#d9e2f3; color:#0070c0; width:110px" %)**2**|(% style="background-color:#d9e2f3; color:#0070c0; width:40px" %)**2**|(% style="background-color:#d9e2f3; color:#0070c0; width:110px" %)**1**|(% style="background-color:#d9e2f3; color:#0070c0; width:140px" %)**2**|(% style="background-color:#d9e2f3; color:#0070c0; width:40px" %)**2**
331 -|Value|BAT|(% style="width:196px" %)(((
326 +|**Value**|BAT|(% style="width:196px" %)(((
332 332  Temperature(DS18B20)(PC13)
333 333  )))|(% style="width:87px" %)(((
334 334  ADC(PA4)
... ... @@ -335,8 +335,9 @@
335 335  )))|(% style="width:189px" %)(((
336 336  Digital in(PB15) & Digital Interrupt(PA8)
337 337  )))|(% style="width:208px" %)(((
338 -Distance measure by: 1) LIDAR-Lite V3HP
339 -Or 2) Ultrasonic Sensor
333 +Distance measure by:1) LIDAR-Lite V3HP
334 +Or
335 +2) Ultrasonic Sensor
340 340  )))|(% style="width:117px" %)Reserved
341 341  
342 342  [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LSN50%20%26%20LSN50-V2%20-%20LoRaWAN%20Sensor%20Node%20User%20Manual/WebHome/1656324539647-568.png?rev=1.1||alt="1656324539647-568.png"]]
... ... @@ -358,7 +358,7 @@
358 358  
359 359  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
360 360  |(% style="background-color:#d9e2f3; color:#0070c0; width:50px" %)**Size(bytes)**|(% style="background-color:#d9e2f3; color:#0070c0; width:20px" %)**2**|(% style="background-color:#d9e2f3; color:#0070c0; width:100px" %)**2**|(% style="background-color:#d9e2f3; color:#0070c0; width:100px" %)**1**|(% style="background-color:#d9e2f3; color:#0070c0; width:50px" %)**2**|(% style="background-color:#d9e2f3; color:#0070c0; width:120px" %)**2**|(% style="background-color:#d9e2f3; color:#0070c0; width:80px" %)**2**
361 -|Value|BAT|(% style="width:183px" %)(((
357 +|**Value**|BAT|(% style="width:183px" %)(((
362 362  Temperature(DS18B20)(PC13)
363 363  )))|(% style="width:173px" %)(((
364 364  Digital in(PB15) & Digital Interrupt(PA8)
... ... @@ -366,7 +366,8 @@
366 366  ADC(PA4)
367 367  )))|(% style="width:323px" %)(((
368 368  Distance measure by:1)TF-Mini plus LiDAR
369 -Or 2) TF-Luna LiDAR
365 +Or 
366 +2) TF-Luna LiDAR
370 370  )))|(% style="width:188px" %)Distance signal  strength
371 371  
372 372  [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LSN50%20%26%20LSN50-V2%20-%20LoRaWAN%20Sensor%20Node%20User%20Manual/WebHome/1656376779088-686.png?rev=1.1||alt="1656376779088-686.png"]]
... ... @@ -383,7 +383,7 @@
383 383  
384 384  (% style="color:red" %)**Need to remove R3 and R4 resistors to get low power,otherwise there will be 400uA standby current.**
385 385  
386 -[[image:image-20230610170047-1.png||height="452" width="799"]]
383 +[[image:image-20230513105207-4.png||height="469" width="802"]]
387 387  
388 388  
389 389  ==== 2.3.2.3  MOD~=3 (3 ADC + I2C) ====
... ... @@ -395,7 +395,7 @@
395 395  |=(% style="width: 50px;background-color:#D9E2F3;color:#0070C0" %)(((
396 396  **Size(bytes)**
397 397  )))|=(% style="width: 50px;background-color:#D9E2F3;color:#0070C0" %)**2**|=(% style="width: 50px;background-color:#D9E2F3;color:#0070C0" %)**2**|=(% style="width: 50px;background-color:#D9E2F3;color:#0070C0" %)**2**|=(% style="width: 90px;background-color:#D9E2F3;color:#0070C0" %)**1**|=(% style="width: 110px;background-color:#D9E2F3;color:#0070C0" %)2|=(% style="width: 100px;background-color:#D9E2F3;color:#0070C0" %)2|=(% style="width: 20px;background-color:#D9E2F3;color:#0070C0" %)1
398 -|Value|(% style="width:68px" %)(((
395 +|**Value**|(% style="width:68px" %)(((
399 399  ADC1(PA4)
400 400  )))|(% style="width:75px" %)(((
401 401  ADC2(PA5)
... ... @@ -419,7 +419,7 @@
419 419  
420 420  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
421 421  |(% style="background-color:#d9e2f3; color:#0070c0; width:50px" %)**Size(bytes)**|(% style="background-color:#d9e2f3; color:#0070c0; width:20px" %)**2**|(% style="background-color:#d9e2f3; color:#0070c0; width:100px" %)**2**|(% style="background-color:#d9e2f3; color:#0070c0; width:50px" %)**2**|(% style="background-color:#d9e2f3; color:#0070c0; width:100px" %)**1**|(% style="background-color:#d9e2f3; color:#0070c0; width:100px" %)**2**|(% style="background-color:#d9e2f3; color:#0070c0; width:100px" %)**2**
422 -|Value|BAT|(% style="width:186px" %)(((
419 +|**Value**|BAT|(% style="width:186px" %)(((
423 423  Temperature1(DS18B20)(PC13)
424 424  )))|(% style="width:82px" %)(((
425 425  ADC(PA4)
... ... @@ -430,10 +430,10 @@
430 430  
431 431  [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LSN50%20%26%20LSN50-V2%20-%20LoRaWAN%20Sensor%20Node%20User%20Manual/WebHome/1656377606181-607.png?rev=1.1||alt="1656377606181-607.png"]]
432 432  
433 -
434 434  [[image:image-20230513134006-1.png||height="559" width="736"]]
435 435  
436 436  
433 +
437 437  ==== 2.3.2.5  MOD~=5(Weight Measurement by HX711) ====
438 438  
439 439  
... ... @@ -462,7 +462,7 @@
462 462  |=(% style="width: 50px;background-color:#D9E2F3;color:#0070C0" %)(((
463 463  **Size(bytes)**
464 464  )))|=(% style="width: 20px;background-color:#D9E2F3;color:#0070C0" %)**2**|=(% style="width: 150px;background-color:#D9E2F3;color:#0070C0" %)**2**|=(% style="width: 50px;background-color:#D9E2F3;color:#0070C0" %)**2**|=(% style="width: 200px;background-color:#D9E2F3;color:#0070C0" %)**1**|=(% style="width: 50px;background-color:#D9E2F3;color:#0070C0" %)**4**
465 -|Value|BAT|(% style="width:193px" %)(((
462 +|**Value**|BAT|(% style="width:193px" %)(((
466 466  Temperature(DS18B20)(PC13)
467 467  )))|(% style="width:85px" %)(((
468 468  ADC(PA4)
... ... @@ -473,6 +473,7 @@
473 473  [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LSN50%20%26%20LSN50-V2%20-%20LoRaWAN%20Sensor%20Node%20User%20Manual/WebHome/image-20220820120036-2.png?width=1003&height=469&rev=1.1||alt="image-20220820120036-2.png" height="469" width="1003"]]
474 474  
475 475  
473 +
476 476  ==== 2.3.2.6  MOD~=6 (Counting Mode) ====
477 477  
478 478  
... ... @@ -487,7 +487,7 @@
487 487  
488 488  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
489 489  |=(% style="width: 60px;background-color:#D9E2F3;color:#0070C0" %)**Size(bytes)**|=(% style="width: 40px;background-color:#D9E2F3;color:#0070C0" %)**2**|=(% style="width: 180px;background-color:#D9E2F3;color:#0070C0" %)**2**|=(% style="width: 60px;background-color:#D9E2F3;color:#0070C0" %)**2**|=(% style="width: 100px;background-color:#D9E2F3;color:#0070C0" %)**1**|=(% style="width: 80px;background-color:#D9E2F3;color:#0070C0" %)**4**
490 -|Value|BAT|(% style="width:256px" %)(((
488 +|**Value**|BAT|(% style="width:256px" %)(((
491 491  Temperature(DS18B20)(PC13)
492 492  )))|(% style="width:108px" %)(((
493 493  ADC(PA4)
... ... @@ -500,6 +500,7 @@
500 500  [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LSN50%20%26%20LSN50-V2%20-%20LoRaWAN%20Sensor%20Node%20User%20Manual/WebHome/1656378441509-171.png?rev=1.1||alt="1656378441509-171.png"]]
501 501  
502 502  
501 +
503 503  ==== 2.3.2.7  MOD~=7 (Three interrupt contact modes) ====
504 504  
505 505  
... ... @@ -507,7 +507,7 @@
507 507  |=(% style="width: 50px;background-color:#D9E2F3;color:#0070C0" %)(((
508 508  **Size(bytes)**
509 509  )))|=(% style="width: 20px;background-color:#D9E2F3;color:#0070C0" %)**2**|=(% style="width: 90px;background-color:#D9E2F3;color:#0070C0" %)**2**|=(% style="width: 50px;background-color:#D9E2F3;color:#0070C0" %)**2**|=(% style="width: 90px;background-color:#D9E2F3;color:#0070C0" %)**1**|=(% style="width: 90px;background-color:#D9E2F3;color:#0070C0" %)**1**|=(% style="width: 90px;background-color:#D9E2F3;color:#0070C0" %)1|=(% style="width: 40px;background-color:#D9E2F3;color:#0070C0" %)2
510 -|Value|BAT|(% style="width:188px" %)(((
509 +|**Value**|BAT|(% style="width:188px" %)(((
511 511  Temperature(DS18B20)
512 512  (PC13)
513 513  )))|(% style="width:83px" %)(((
... ... @@ -526,7 +526,7 @@
526 526  |=(% style="width: 50px;background-color:#D9E2F3;color:#0070C0" %)(((
527 527  **Size(bytes)**
528 528  )))|=(% style="width: 30px;background-color:#D9E2F3;color:#0070C0" %)**2**|=(% style="width: 110px;background-color:#D9E2F3;color:#0070C0" %)**2**|=(% style="width: 70px;background-color:#D9E2F3;color:#0070C0" %)**2**|=(% style="width: 120px;background-color:#D9E2F3;color:#0070C0" %)**1**|=(% style="width: 70px;background-color:#D9E2F3;color:#0070C0" %)**2**|=(% style="width: 70px;background-color:#D9E2F3;color:#0070C0" %)2
529 -|Value|BAT|(% style="width:207px" %)(((
528 +|**Value**|BAT|(% style="width:207px" %)(((
530 530  Temperature(DS18B20)
531 531  (PC13)
532 532  )))|(% style="width:94px" %)(((
... ... @@ -549,7 +549,7 @@
549 549  |=(% style="width: 50px;background-color:#D9E2F3;color:#0070C0" %)(((
550 550  **Size(bytes)**
551 551  )))|=(% style="width: 20px;background-color:#D9E2F3;color:#0070C0" %)**2**|=(% style="width: 90px;background-color:#D9E2F3;color:#0070C0" %)**2**|=(% style="width: 90px;background-color:#D9E2F3;color:#0070C0" %)**2**|=(% style="width: 60px;background-color:#D9E2F3;color:#0070C0" %)**1**|=(% style="width: 90px;background-color:#D9E2F3;color:#0070C0" %)**2**|=(% style="width: 60px;background-color:#D9E2F3;color:#0070C0" %)4|=(% style="width: 60px;background-color:#D9E2F3;color:#0070C0" %)4
552 -|Value|BAT|(((
551 +|**Value**|BAT|(((
553 553  Temperature
554 554  (DS18B20)(PC13)
555 555  )))|(((
... ... @@ -648,9 +648,9 @@
648 648  ==== 2.3.3.4  Analogue Digital Converter (ADC) ====
649 649  
650 650  
651 -The measuring range of the ADC is only about 0.1V to 1.1V The voltage resolution is about 0.24mv.
650 +The measuring range of the ADC is only about 0V to 1.1V The voltage resolution is about 0.24mv.
652 652  
653 -When the measured output voltage of the sensor is not within the range of 0.1V and 1.1V, the output voltage terminal of the sensor shall be divided The example in the following figure is to reduce the output voltage of the sensor by three times If it is necessary to reduce more times, calculate according to the formula in the figure and connect the corresponding resistance in series.
652 +When the measured output voltage of the sensor is not within the range of 0V and 1.1V, the output voltage terminal of the sensor shall be divided The example in the following figure is to reduce the output voltage of the sensor by three times If it is necessary to reduce more times, calculate according to the formula in the figure and connect the corresponding resistance in series.
654 654  
655 655  [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/WebHome/image-20220628150112-1.png?width=285&height=241&rev=1.1||alt="image-20220628150112-1.png" height="241" width="285"]]
656 656  
... ... @@ -658,10 +658,6 @@
658 658  (% style="color:red" %)**Note: If the ADC type sensor needs to be powered by SN50_v3, it is recommended to use +5V to control its switch.Only sensors with low power consumption can be powered with VDD.**
659 659  
660 660  
661 -The position of PA5 on the hardware after **LSN50 v3.3** is changed to the position shown in the figure below, and the collected voltage becomes one-sixth of the original.
662 -
663 -[[image:image-20230811113449-1.png||height="370" width="608"]]
664 -
665 665  ==== 2.3.3.5 Digital Interrupt ====
666 666  
667 667  
... ... @@ -713,7 +713,7 @@
713 713  [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LSN50%20%26%20LSN50-V2%20-%20LoRaWAN%20Sensor%20Node%20User%20Manual/WebHome/1656379339508-835.png?rev=1.1||alt="1656379339508-835.png"]]
714 714  
715 715  
716 -In **MOD=1**, user can use byte 6 to see the status for door open or close. TTN V3 decoder is as below:
711 +In MOD=1, user can use byte 6 to see the status for door open or close. TTN V3 decoder is as below:
717 717  
718 718  door= (bytes[6] & 0x80)? "CLOSE":"OPEN";
719 719  
... ... @@ -730,9 +730,8 @@
730 730  
731 731  Below is the connection to SHT20/ SHT31. The connection is as below:
732 732  
733 -[[image:image-20230610170152-2.png||height="501" width="846"]]
728 +[[image:image-20230513103633-3.png||height="448" width="716"]]
734 734  
735 -
736 736  The device will be able to get the I2C sensor data now and upload to IoT Server.
737 737  
738 738  [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LSN50%20%26%20LSN50-V2%20-%20LoRaWAN%20Sensor%20Node%20User%20Manual/WebHome/1656379664142-345.png?rev=1.1||alt="1656379664142-345.png"]]
... ... @@ -780,7 +780,7 @@
780 780  ==== 2.3.3.9  Battery Output - BAT pin ====
781 781  
782 782  
783 -The BAT pin of SN50v3-LB is connected to the Battery directly. If users want to use BAT pin to power an external sensor. User need to make sure the external sensor is of low power consumption. Because the BAT pin is always open. If the external sensor is of high power consumption. the battery of SN50v3-LB will run out very soon.
777 +The BAT pin of SN50v3 is connected to the Battery directly. If users want to use BAT pin to power an external sensor. User need to make sure the external sensor is of low power consumption. Because the BAT pin is always open. If the external sensor is of high power consumption. the battery of SN50v3-LB will run out very soon.
784 784  
785 785  
786 786  ==== 2.3.3.10  +5V Output ====
... ... @@ -794,7 +794,7 @@
794 794  
795 795  Means set 5V valid time to have 1000ms. So the real 5V output will actually have 1000ms + sampling time for other sensors.
796 796  
797 -By default the **AT+5VT=500**. If the external sensor which require 5v and require more time to get stable state, user can use this command to increase the power ON duration for this sensor.
791 +By default the AT+5VT=500. If the external sensor which require 5v and require more time to get stable state, user can use this command to increase the power ON duration for this sensor.
798 798  
799 799  
800 800  ==== 2.3.3.11  BH1750 Illumination Sensor ====
... ... @@ -827,8 +827,6 @@
827 827  * 7: MOD8
828 828  * 8: MOD9
829 829  
830 -
831 -
832 832  == 2.4 Payload Decoder file ==
833 833  
834 834  
... ... @@ -858,8 +858,6 @@
858 858  * AT Command via UART Connection : See [[UART Connection>>http://wiki.dragino.com/xwiki/bin/view/Main/UART%20Access%20for%20LoRa%20ST%20v4%20base%20model/#H2.3UARTConnectionforSN50v3basemotherboard]].
859 859  * LoRaWAN Downlink.  Instruction for different platforms: See [[IoT LoRaWAN Server>>http://wiki.dragino.com/xwiki/bin/view/Main/]] section.
860 860  
861 -
862 -
863 863  == 3.2 General Commands ==
864 864  
865 865  
... ... @@ -887,7 +887,7 @@
887 887  (% style="color:blue" %)**AT Command: AT+TDC**
888 888  
889 889  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
890 -|=(% style="width: 156px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 137px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="background-color:#D9E2F3;color:#0070C0" %)**Response**
880 +|=(% style="width: 156px;background-color:#D9E2F3" %)**Command Example**|=(% style="width: 137px;background-color:#D9E2F3" %)**Function**|=(% style="background-color:#D9E2F3" %)**Response**
891 891  |(% style="width:156px" %)AT+TDC=?|(% style="width:137px" %)Show current transmit Interval|(((
892 892  30000
893 893  OK
... ... @@ -907,16 +907,14 @@
907 907  * Example 1: Downlink Payload: 0100001E  ~/~/  Set Transmit Interval (TDC) = 30 seconds
908 908  * Example 2: Downlink Payload: 0100003C  ~/~/  Set Transmit Interval (TDC) = 60 seconds
909 909  
910 -
911 -
912 912  === 3.3.2 Get Device Status ===
913 913  
914 914  
915 915  Send a LoRaWAN downlink to ask the device to send its status.
916 916  
917 -(% style="color:blue" %)**Downlink Payload: 0x26 01**
905 +(% style="color:blue" %)**Downlink Payload:  **(%%)0x26 01
918 918  
919 -Sensor will upload Device Status via **FPORT=5**. See payload section for detail.
907 +Sensor will upload Device Status via FPORT=5. See payload section for detail.
920 920  
921 921  
922 922  === 3.3.3 Set Interrupt Mode ===
... ... @@ -927,7 +927,7 @@
927 927  (% style="color:blue" %)**AT Command: AT+INTMOD1,AT+INTMOD2,AT+INTMOD3**
928 928  
929 929  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
930 -|=(% style="width: 155px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 197px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 158px;background-color:#D9E2F3;color:#0070C0" %)**Response**
918 +|=(% style="width: 154px;background-color:#D9E2F3" %)**Command Example**|=(% style="width: 196px;background-color:#D9E2F3" %)**Function**|=(% style="width: 157px;background-color:#D9E2F3" %)**Response**
931 931  |(% style="width:154px" %)AT+INTMOD1=?|(% style="width:196px" %)Show current interrupt mode|(% style="width:157px" %)(((
932 932  0
933 933  OK
... ... @@ -957,8 +957,6 @@
957 957  * Example 3: Downlink Payload: 06000102  **~-~-->**  AT+INTMOD2=2
958 958  * Example 4: Downlink Payload: 06000201  **~-~-->**  AT+INTMOD3=1
959 959  
960 -
961 -
962 962  === 3.3.4 Set Power Output Duration ===
963 963  
964 964  
... ... @@ -973,7 +973,7 @@
973 973  (% style="color:blue" %)**AT Command: AT+5VT**
974 974  
975 975  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
976 -|=(% style="width: 155px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 197px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 158px;background-color:#D9E2F3;color:#0070C0" %)**Response**
962 +|=(% style="width: 154px;background-color:#D9E2F3" %)**Command Example**|=(% style="width: 196px;background-color:#D9E2F3" %)**Function**|=(% style="width: 157px;background-color:#D9E2F3" %)**Response**
977 977  |(% style="width:154px" %)AT+5VT=?|(% style="width:196px" %)Show 5V open time.|(% style="width:157px" %)(((
978 978  500(default)
979 979  OK
... ... @@ -991,8 +991,6 @@
991 991  * Example 1: Downlink Payload: 070000  **~-~-->**  AT+5VT=0
992 992  * Example 2: Downlink Payload: 0701F4  **~-~-->**  AT+5VT=500
993 993  
994 -
995 -
996 996  === 3.3.5 Set Weighing parameters ===
997 997  
998 998  
... ... @@ -1001,7 +1001,7 @@
1001 1001  (% style="color:blue" %)**AT Command: AT+WEIGRE,AT+WEIGAP**
1002 1002  
1003 1003  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
1004 -|=(% style="width: 155px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 197px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 158px;background-color:#D9E2F3;color:#0070C0" %)**Response**
988 +|=(% style="width: 154px;background-color:#D9E2F3" %)**Command Example**|=(% style="width: 196px;background-color:#D9E2F3" %)**Function**|=(% style="width: 157px;background-color:#D9E2F3" %)**Response**
1005 1005  |(% style="width:154px" %)AT+WEIGRE|(% style="width:196px" %)Weight is initialized to 0.|(% style="width:157px" %)OK
1006 1006  |(% style="width:154px" %)AT+WEIGAP=?|(% style="width:196px" %)400.0|(% style="width:157px" %)OK(default)
1007 1007  |(% style="width:154px" %)AT+WEIGAP=400.3|(% style="width:196px" %)Set the factor to 400.3.|(% style="width:157px" %)OK
... ... @@ -1018,8 +1018,6 @@
1018 1018  * Example 2: Downlink Payload: 08020FA3  **~-~-->**  AT+WEIGAP=400.3
1019 1019  * Example 3: Downlink Payload: 08020FA0  **~-~-->**  AT+WEIGAP=400.0
1020 1020  
1021 -
1022 -
1023 1023  === 3.3.6 Set Digital pulse count value ===
1024 1024  
1025 1025  
... ... @@ -1030,7 +1030,7 @@
1030 1030  (% style="color:blue" %)**AT Command: AT+SETCNT**
1031 1031  
1032 1032  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
1033 -|=(% style="width: 155px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 197px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 158px;background-color:#D9E2F3;color:#0070C0" %)**Response**
1015 +|=(% style="width: 154px;background-color:#D9E2F3" %)**Command Example**|=(% style="width: 196px;background-color:#D9E2F3" %)**Function**|=(% style="width: 157px;background-color:#D9E2F3" %)**Response**
1034 1034  |(% style="width:154px" %)AT+SETCNT=1,100|(% style="width:196px" %)Initialize the count value 1 to 100.|(% style="width:157px" %)OK
1035 1035  |(% style="width:154px" %)AT+SETCNT=2,0|(% style="width:196px" %)Initialize the count value 2 to 0.|(% style="width:157px" %)OK
1036 1036  
... ... @@ -1043,8 +1043,6 @@
1043 1043  * Example 1: Downlink Payload: 090100000000  **~-~-->**  AT+SETCNT=1,0
1044 1044  * Example 2: Downlink Payload: 0902000003E8  **~-~-->**  AT+SETCNT=2,1000
1045 1045  
1046 -
1047 -
1048 1048  === 3.3.7 Set Workmode ===
1049 1049  
1050 1050  
... ... @@ -1053,7 +1053,7 @@
1053 1053  (% style="color:blue" %)**AT Command: AT+MOD**
1054 1054  
1055 1055  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
1056 -|=(% style="width: 155px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 197px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 158px;background-color:#D9E2F3;color:#0070C0" %)**Response**
1036 +|=(% style="width: 154px;background-color:#D9E2F3" %)**Command Example**|=(% style="width: 196px;background-color:#D9E2F3" %)**Function**|=(% style="width: 157px;background-color:#D9E2F3" %)**Response**
1057 1057  |(% style="width:154px" %)AT+MOD=?|(% style="width:196px" %)Get the current working mode.|(% style="width:157px" %)(((
1058 1058  OK
1059 1059  )))
... ... @@ -1069,8 +1069,6 @@
1069 1069  * Example 1: Downlink Payload: 0A01  **~-~-->**  AT+MOD=1
1070 1070  * Example 2: Downlink Payload: 0A04  **~-~-->**  AT+MOD=4
1071 1071  
1072 -
1073 -
1074 1074  = 4. Battery & Power Consumption =
1075 1075  
1076 1076  
... ... @@ -1083,21 +1083,20 @@
1083 1083  
1084 1084  
1085 1085  (% class="wikigeneratedid" %)
1086 -**User can change firmware SN50v3-LB to:**
1064 +User can change firmware SN50v3-LB to:
1087 1087  
1088 1088  * Change Frequency band/ region.
1089 1089  * Update with new features.
1090 1090  * Fix bugs.
1091 1091  
1092 -**Firmware and changelog can be downloaded from :** **[[Firmware download link>>https://www.dropbox.com/sh/4rov7bcp6u28exp/AACt-wAySd4si5AXi8DBmvSca?dl=0]]**
1070 +Firmware and changelog can be downloaded from : **[[Firmware download link>>url:https://www.dropbox.com/sh/kwqv57tp6pejias/AAAopYMATh1GM6fZ-VRCLrpDa?dl=0]]**
1093 1093  
1094 -**Methods to Update Firmware:**
1095 1095  
1096 -* (Recommanded way) OTA firmware update via wireless: **[[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/Firmware%20OTA%20Update%20for%20Sensors/>>url:http://wiki.dragino.com/xwiki/bin/view/Main/Firmware%20OTA%20Update%20for%20Sensors/]]**
1097 -* Update through UART TTL interface: **[[Instruction>>url:http://wiki.dragino.com/xwiki/bin/view/Main/UART%20Access%20for%20LoRa%20ST%20v4%20base%20model/#H1.LoRaSTv4baseHardware]]**.
1073 +Methods to Update Firmware:
1098 1098  
1075 +* (Recommanded way) OTA firmware update via wireless:   [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/Firmware%20OTA%20Update%20for%20Sensors/>>url:http://wiki.dragino.com/xwiki/bin/view/Main/Firmware%20OTA%20Update%20for%20Sensors/]]
1076 +* Update through UART TTL interface.**[[Instruction>>url:http://wiki.dragino.com/xwiki/bin/view/Main/UART%20Access%20for%20LoRa%20ST%20v4%20base%20model/#H1.LoRaSTv4baseHardware]]**.
1099 1099  
1100 -
1101 1101  = 6. FAQ =
1102 1102  
1103 1103  == 6.1 Where can i find source code of SN50v3-LB? ==
... ... @@ -1106,24 +1106,6 @@
1106 1106  * **[[Hardware Source Files>>https://github.com/dragino/Lora/tree/master/LSN50/v3.0]].**
1107 1107  * **[[Software Source Code & Compile instruction>>https://github.com/dragino/SN50v3]].**
1108 1108  
1109 -
1110 -
1111 -== 6.2 How to generate PWM Output in SN50v3-LB? ==
1112 -
1113 -
1114 -See this document: **[[Generate PWM Output on SN50v3>>https://www.dropbox.com/scl/fi/r3trcet2knujg40w0mgyn/Generate-PWM-Output-on-SN50v3.pdf?rlkey=rxsgmrhhrv62iiiwjq9sv10bn&dl=0]]**.
1115 -
1116 -
1117 -== 6.3 How to put several sensors to a SN50v3-LB? ==
1118 -
1119 -
1120 -When we want to put several sensors to A SN50v3-LB, the waterproof at the grand connector will become an issue. User can try to exchange the grand connector to below type.
1121 -
1122 -[[Reference Supplier>>https://www.yscableglands.com/cable-glands/nylon-cable-glands/cable-gland-rubber-seal.html]].
1123 -
1124 -[[image:image-20230810121434-1.png||height="242" width="656"]]
1125 -
1126 -
1127 1127  = 7. Order Info =
1128 1128  
1129 1129  
... ... @@ -1147,8 +1147,6 @@
1147 1147  * (% style="color:red" %)**20**(%%): With M20 waterproof cable hole
1148 1148  * (% style="color:red" %)**NH**(%%): No Hole
1149 1149  
1150 -
1151 -
1152 1152  = 8. ​Packing Info =
1153 1153  
1154 1154  
... ... @@ -1163,8 +1163,6 @@
1163 1163  * Package Size / pcs : cm
1164 1164  * Weight / pcs : g
1165 1165  
1166 -
1167 -
1168 1168  = 9. Support =
1169 1169  
1170 1170  
image-20230610162852-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Saxer
Size
... ... @@ -1,1 +1,0 @@
1 -695.7 KB
Content
image-20230610163213-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Saxer
Size
... ... @@ -1,1 +1,0 @@
1 -695.4 KB
Content
image-20230610170047-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Saxer
Size
... ... @@ -1,1 +1,0 @@
1 -444.9 KB
Content
image-20230610170152-2.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Saxer
Size
... ... @@ -1,1 +1,0 @@
1 -359.5 KB
Content
image-20230810121434-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Edwin
Size
... ... @@ -1,1 +1,0 @@
1 -137.3 KB
Content
image-20230811113449-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Saxer
Size
... ... @@ -1,1 +1,0 @@
1 -973.1 KB
Content
image-20230817170702-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Saxer
Size
... ... @@ -1,1 +1,0 @@
1 -39.6 KB
Content
image-20230817172209-2.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Saxer
Size
... ... @@ -1,1 +1,0 @@
1 -1.3 MB
Content
image-20230817173800-3.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Saxer
Size
... ... @@ -1,1 +1,0 @@
1 -1.1 MB
Content
image-20230817173830-4.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Saxer
Size
... ... @@ -1,1 +1,0 @@
1 -508.5 KB
Content
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0