<
From version < 43.8 >
edited by Xiaoling
on 2023/05/16 13:49
To version < 43.1 >
edited by Saxer Lin
on 2023/05/16 11:28
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Xiaoling
1 +XWiki.Saxer
Content
... ... @@ -16,15 +16,18 @@
16 16  
17 17  == 1.1 What is SN50v3-LB LoRaWAN Generic Node ==
18 18  
19 -
20 20  (% style="color:blue" %)**SN50V3-LB **(%%)LoRaWAN Sensor Node is a Long Range LoRa Sensor Node. It is designed for outdoor use and powered by (% style="color:blue" %)** 8500mA Li/SOCl2 battery**(%%) for long term use.SN50V3-LB is designed to facilitate developers to quickly deploy industrial level LoRa and IoT solutions. It help users to turn the idea into a practical application and make the Internet of Things a reality. It is easy to program, create and connect your things everywhere.
21 21  
21 +
22 22  (% style="color:blue" %)**SN50V3-LB wireless part**(%%) is based on SX1262 allows the user to send data and reach extremely long ranges at low data-rates.It provides ultra-long range spread spectrum communication and high interference immunity whilst minimising current consumption.It targets professional wireless sensor network applications such as irrigation systems, smart metering, smart cities, smartphone detection, building automation, and so on.
23 23  
24 +
24 24  (% style="color:blue" %)**SN50V3-LB **(%%)has a powerful 48Mhz ARM microcontroller with 256KB flash and 64KB RAM. It has multiplex I/O pins to connect to different sensors.
25 25  
27 +
26 26  (% style="color:blue" %)**SN50V3-LB**(%%) has a built-in BLE module, user can configure the sensor remotely via Mobile Phone. It also support OTA upgrade via private LoRa protocol for easy maintaining.
27 27  
30 +
28 28  SN50V3-LB is the 3^^rd^^ generation of LSN50 series generic sensor node from Dragino. It is an (% style="color:blue" %)**open source project**(%%) and has a mature LoRaWAN stack and application software. User can use the pre-load software for their IoT projects or easily customize the software for different requirements.
29 29  
30 30  
... ... @@ -42,7 +42,6 @@
42 42  
43 43  == 1.3 Specification ==
44 44  
45 -
46 46  (% style="color:#037691" %)**Common DC Characteristics:**
47 47  
48 48  * Supply Voltage: built in 8500mAh Li-SOCI2 battery , 2.5v ~~ 3.6v
... ... @@ -79,7 +79,6 @@
79 79  
80 80  == 1.4 Sleep mode and working mode ==
81 81  
82 -
83 83  (% style="color:blue" %)**Deep Sleep Mode: **(%%)Sensor doesn't have any LoRaWAN activate. This mode is used for storage and shipping to save battery life.
84 84  
85 85  (% style="color:blue" %)**Working Mode:** (%%)In this mode, Sensor will work as LoRaWAN Sensor to Join LoRaWAN network and send out sensor data to server. Between each sampling/tx/rx periodically, sensor will be in IDLE mode), in IDLE mode, sensor has the same power consumption as Deep Sleep mode.
... ... @@ -137,7 +137,6 @@
137 137  
138 138  == Hole Option ==
139 139  
140 -
141 141  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:
142 142  
143 143  [[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-20220627104757-1.png?rev=1.1||alt="image-20220627104757-1.png"]]
... ... @@ -291,25 +291,31 @@
291 291  
292 292  ==== 2.3.2.1  MOD~=1 (Default Mode) ====
293 293  
294 -
295 295  In this mode, uplink payload includes in total 11 bytes. Uplink packets use FPORT=2.
296 296  
297 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
298 -|(% style="background-color:#D9E2F3;color:#0070C0" %)**Size(bytes)**|(% style="background-color:#D9E2F3;color:#0070C0" %)**2**|(% style="width:191px;background-color:#D9E2F3;color:#0070C0" %)**2**|(% style="width:78px;background-color:#D9E2F3;color:#0070C0" %)**2**|(% style="width:216px;background-color:#D9E2F3;color:#0070C0" %)**1**|(% style="width:308px;background-color:#D9E2F3;color:#0070C0" %)**2**|(% style="width:154px;background-color:#D9E2F3;color:#0070C0" %)**2**
296 +(% style="width:1110px" %)
297 +|**Size(bytes)**|**2**|(% style="width:191px" %)**2**|(% style="width:78px" %)**2**|(% style="width:216px" %)**1**|(% style="width:308px" %)**2**|(% style="width:154px" %)**2**
299 299  |**Value**|Bat|(% style="width:191px" %)(((
300 300  Temperature(DS18B20)
300 +
301 301  (PC13)
302 302  )))|(% style="width:78px" %)(((
303 303  ADC
304 +
304 304  (PA4)
305 305  )))|(% style="width:216px" %)(((
306 306  Digital in(PB15) &
307 -Digital Interrupt(PA8)
308 +
309 +Digital Interrupt(PA8)
310 +
311 +
308 308  )))|(% style="width:308px" %)(((
309 309  Temperature
314 +
310 310  (SHT20 or SHT31 or BH1750 Illumination Sensor)
311 311  )))|(% style="width:154px" %)(((
312 312  Humidity
318 +
313 313  (SHT20 or SHT31)
314 314  )))
315 315  
... ... @@ -324,12 +324,15 @@
324 324  |**Size(bytes)**|**2**|(% style="width:196px" %)**2**|(% style="width:87px" %)**2**|(% style="width:189px" %)**1**|(% style="width:208px" %)**2**|(% style="width:117px" %)**2**
325 325  |**Value**|BAT|(% style="width:196px" %)(((
326 326  Temperature(DS18B20)
333 +
327 327  (PC13)
328 328  )))|(% style="width:87px" %)(((
329 329  ADC
337 +
330 330  (PA4)
331 331  )))|(% style="width:189px" %)(((
332 332  Digital in(PB15) &
341 +
333 333  Digital Interrupt(PA8)
334 334  )))|(% style="width:208px" %)(((
335 335  Distance measure by:
... ... @@ -356,12 +356,15 @@
356 356  |**Size(bytes)**|**2**|(% style="width:183px" %)**2**|(% style="width:173px" %)**1**|(% style="width:84px" %)**2**|(% style="width:323px" %)**2**|(% style="width:188px" %)**2**
357 357  |**Value**|BAT|(% style="width:183px" %)(((
358 358  Temperature(DS18B20)
368 +
359 359  (PC13)
360 360  )))|(% style="width:173px" %)(((
361 361  Digital in(PB15) &
372 +
362 362  Digital Interrupt(PA8)
363 363  )))|(% style="width:84px" %)(((
364 364  ADC
376 +
365 365  (PA4)
366 366  )))|(% style="width:323px" %)(((
367 367  Distance measure by:1)TF-Mini plus LiDAR
... ... @@ -394,20 +394,25 @@
394 394  )))|=(% style="width: 68px;" %)**2**|=(% style="width: 75px;" %)**2**|=**2**|=**1**|=(% style="width: 304px;" %)2|=(% style="width: 163px;" %)2|=(% style="width: 53px;" %)1
395 395  |**Value**|(% style="width:68px" %)(((
396 396  ADC1
409 +
397 397  (PA4)
398 398  )))|(% style="width:75px" %)(((
399 399  ADC2
413 +
400 400  (PA5)
401 401  )))|(((
402 402  ADC3
417 +
403 403  (PA8)
404 404  )))|(((
405 405  Digital Interrupt(PB15)
406 406  )))|(% style="width:304px" %)(((
407 407  Temperature
423 +
408 408  (SHT20 or SHT31 or BH1750 Illumination Sensor)
409 409  )))|(% style="width:163px" %)(((
410 410  Humidity
427 +
411 411  (SHT20 or SHT31)
412 412  )))|(% style="width:53px" %)Bat
413 413  
... ... @@ -426,9 +426,11 @@
426 426  (PC13)
427 427  )))|(% style="width:82px" %)(((
428 428  ADC
446 +
429 429  (PA4)
430 430  )))|(% style="width:210px" %)(((
431 431  Digital in(PB15) &
450 +
432 432  Digital Interrupt(PA8) 
433 433  )))|(% style="width:191px" %)Temperature2(DS18B20)
434 434  (PB9)|(% style="width:183px" %)Temperature3(DS18B20)
... ... @@ -465,12 +465,17 @@
465 465  )))|=**2**|=(% style="width: 193px;" %)**2**|=(% style="width: 85px;" %)**2**|=(% style="width: 186px;" %)**1**|=(% style="width: 100px;" %)**4**
466 466  |**Value**|BAT|(% style="width:193px" %)(((
467 467  Temperature(DS18B20)
487 +
468 468  (PC13)
489 +
490 +
469 469  )))|(% style="width:85px" %)(((
470 470  ADC
493 +
471 471  (PA4)
472 472  )))|(% style="width:186px" %)(((
473 473  Digital in(PB15) &
497 +
474 474  Digital Interrupt(PA8)
475 475  )))|(% style="width:100px" %)Weight
476 476  
... ... @@ -495,12 +495,15 @@
495 495  (PC13)
496 496  )))|(% style="width:108px" %)(((
497 497  ADC
522 +
498 498  (PA4)
499 499  )))|(% style="width:126px" %)(((
500 500  Digital in
526 +
501 501  (PB15)
502 502  )))|(% style="width:145px" %)(((
503 503  Count
530 +
504 504  (PA8)
505 505  )))
506 506  
... ... @@ -515,9 +515,11 @@
515 515  )))|=**2**|=(% style="width: 188px;" %)**2**|=(% style="width: 83px;" %)**2**|=(% style="width: 184px;" %)**1**|=(% style="width: 186px;" %)**1**|=(% style="width: 197px;" %)1|=(% style="width: 100px;" %)2
516 516  |**Value**|BAT|(% style="width:188px" %)(((
517 517  Temperature(DS18B20)
545 +
518 518  (PC13)
519 519  )))|(% style="width:83px" %)(((
520 520  ADC
549 +
521 521  (PA5)
522 522  )))|(% style="width:184px" %)(((
523 523  Digital Interrupt1(PA8)
... ... @@ -533,17 +533,21 @@
533 533  )))|=**2**|=(% style="width: 207px;" %)**2**|=(% style="width: 94px;" %)**2**|=(% style="width: 198px;" %)**1**|=(% style="width: 84px;" %)**2**|=(% style="width: 82px;" %)2
534 534  |**Value**|BAT|(% style="width:207px" %)(((
535 535  Temperature(DS18B20)
565 +
536 536  (PC13)
537 537  )))|(% style="width:94px" %)(((
538 538  ADC1
569 +
539 539  (PA4)
540 540  )))|(% style="width:198px" %)(((
541 541  Digital Interrupt(PB15)
542 542  )))|(% style="width:84px" %)(((
543 543  ADC2
575 +
544 544  (PA5)
545 545  )))|(% style="width:82px" %)(((
546 546  ADC3
579 +
547 547  (PA8)
548 548  )))
549 549  
... ... @@ -558,21 +558,27 @@
558 558  )))|=**2**|=**2**|=**2**|=**1**|=(% style="width: 193px;" %)**2**|=(% style="width: 78px;" %)4|=(% style="width: 78px;" %)4
559 559  |**Value**|BAT|(((
560 560  Temperature1(DS18B20)
594 +
561 561  (PC13)
562 562  )))|(((
563 563  Temperature2(DS18B20)
598 +
564 564  (PB9)
565 565  )))|(((
566 566  Digital Interrupt
602 +
567 567  (PB15)
568 568  )))|(% style="width:193px" %)(((
569 569  Temperature3(DS18B20)
606 +
570 570  (PB8)
571 571  )))|(% style="width:78px" %)(((
572 572  Count1
610 +
573 573  (PA8)
574 574  )))|(% style="width:78px" %)(((
575 575  Count2
614 +
576 576  (PA4)
577 577  )))
578 578  
... ... @@ -644,7 +644,9 @@
644 644  (((
645 645  When the digital interrupt pin is set to AT+INTMODx=0, this pin is used as a digital input pin.
646 646  
647 -(% style="color:red" %)**Note:**The maximum voltage input supports 3.6V.
686 +**Note:**The maximum voltage input supports 3.6V.
687 +
688 +
648 648  )))
649 649  
650 650  ==== 2.3.3.4  Analogue Digital Converter (ADC) ====
... ... @@ -655,7 +655,7 @@
655 655  
656 656  [[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"]]
657 657  
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.
699 +**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 661  ==== 2.3.3.5 Digital Interrupt ====
... ... @@ -662,11 +662,11 @@
662 662  
663 663  Digital Interrupt refers to pin PA8, and there are different trigger methods. When there is a trigger, the SN50v3 will send a packet to the server.
664 664  
665 -(% style="color:blue" %)**~ Interrupt connection method:**
706 +**~ Interrupt connection method:**
666 666  
667 667  [[image:image-20230513105351-5.png||height="147" width="485"]]
668 668  
669 -(% style="color:blue" %)**Example to use with door sensor :**
710 +**Example to use with door sensor :**
670 670  
671 671  The door sensor is shown at right. It is a two wire magnetic contact switch used for detecting the open/close status of doors or windows.
672 672  
... ... @@ -674,7 +674,7 @@
674 674  
675 675  When the two pieces are close to each other, the 2 wire output will be short or open (depending on the type), while if the two pieces are away from each other, the 2 wire output will be the opposite status. So we can use SN50_v3 interrupt interface to detect the status for the door or window.
676 676  
677 -(% style="color:blue" %)**~ Below is the installation example:**
718 +**~ Below is the installation example:**
678 678  
679 679  Fix one piece of the magnetic sensor to the door and connect the two pins to SN50_v3 as follows:
680 680  
... ... @@ -699,7 +699,7 @@
699 699  
700 700  The command is:
701 701  
702 -(% style="color:blue" %)**AT+INTMOD1=1   ** (%%) ~/~/(more info about INMOD please refer** **[[**AT Command Manual**>>url:http://www.dragino.com/downloads/index.php?dir=LSN50-LoRaST/&file=DRAGINO_LSN50_AT_Commands_v1.5.1.pdf]]**. **)
743 +**AT+INTMOD1=1       **~/~/(more info about INMOD please refer** **[[**AT Command Manual**>>url:http://www.dragino.com/downloads/index.php?dir=LSN50-LoRaST/&file=DRAGINO_LSN50_AT_Commands_v1.5.1.pdf]]**. **)
703 703  
704 704  Below shows some screen captures in TTN V3:
705 705  
... ... @@ -811,6 +811,7 @@
811 811  * 7: MOD8
812 812  * 8: MOD9
813 813  
855 +(% class="wikigeneratedid" %)
814 814  == ==
815 815  
816 816  == 2.4 Payload Decoder file ==
... ... @@ -889,6 +889,7 @@
889 889  * Example 1: Downlink Payload: 0100001E  ~/~/  Set Transmit Interval (TDC) = 30 seconds
890 890  * Example 2: Downlink Payload: 0100003C  ~/~/  Set Transmit Interval (TDC) = 60 seconds
891 891  
934 +(% class="wikigeneratedid" %)
892 892  === ===
893 893  
894 894  === 3.3.2 Get Device Status ===
... ... @@ -938,6 +938,7 @@
938 938  * Example 3: Downlink Payload: 06000102  **~-~-->**  AT+INTMOD2=2
939 939  * Example 4: Downlink Payload: 06000201  **~-~-->**  AT+INTMOD3=1
940 940  
984 +(% class="wikigeneratedid" %)
941 941  === ===
942 942  
943 943  === 3.3.4 Set Power Output Duration ===
... ... @@ -972,6 +972,7 @@
972 972  * Example 1: Downlink Payload: 070000  **~-~-->**  AT+5VT=0
973 973  * Example 2: Downlink Payload: 0701F4  **~-~-->**  AT+5VT=500
974 974  
1019 +(% class="wikigeneratedid" %)
975 975  === ===
976 976  
977 977  === 3.3.5 Set Weighing parameters ===
... ... @@ -998,6 +998,7 @@
998 998  * Example 2: Downlink Payload: 08020FA3  **~-~-->**  AT+WEIGAP=400.3
999 999  * Example 3: Downlink Payload: 08020FA0  **~-~-->**  AT+WEIGAP=400.0
1000 1000  
1046 +(% class="wikigeneratedid" %)
1001 1001  === ===
1002 1002  
1003 1003  === 3.3.6 Set Digital pulse count value ===
... ... @@ -1022,6 +1022,7 @@
1022 1022  * Example 1: Downlink Payload: 090100000000  **~-~-->**  AT+SETCNT=1,0
1023 1023  * Example 2: Downlink Payload: 0902000003E8  **~-~-->**  AT+SETCNT=2,1000
1024 1024  
1071 +(% class="wikigeneratedid" %)
1025 1025  === ===
1026 1026  
1027 1027  === 3.3.7 Set Workmode ===
... ... @@ -1048,6 +1048,7 @@
1048 1048  * Example 1: Downlink Payload: 0A01  **~-~-->**  AT+MOD=1
1049 1049  * Example 2: Downlink Payload: 0A04  **~-~-->**  AT+MOD=4
1050 1050  
1098 +(% class="wikigeneratedid" %)
1051 1051  = =
1052 1052  
1053 1053  = 4. Battery & Power Consumption =
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0