<
From version < 43.9 >
edited by Xiaoling
on 2023/05/16 13:51
To version < 41.1 >
edited by Xiaoling
on 2023/05/15 13:56
>
Change comment: Uploaded new attachment "image-20230515135611-1.jpeg", version {1}

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,1 @@
1 -SN50v3-LB LoRaWAN Sensor Node User Manual
1 +SN50v3-LB User Manual
Content
... ... @@ -1,5 +1,4 @@
1 -(% style="text-align:center" %)
2 -[[image:image-20230515135611-1.jpeg||height="589" width="589"]]
1 +[[image:image-20230511201248-1.png||height="403" width="489"]]
3 3  
4 4  
5 5  
... ... @@ -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  
20 +
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  
23 +
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  
26 +
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  
29 +
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**
295 +(% style="width:1110px" %)
296 +|**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)
299 +
301 301  (PC13)
302 302  )))|(% style="width:78px" %)(((
303 303  ADC
303 +
304 304  (PA4)
305 305  )))|(% style="width:216px" %)(((
306 306  Digital in(PB15) &
307 -Digital Interrupt(PA8)
307 +
308 +Digital Interrupt(PA8)
309 +
310 +
308 308  )))|(% style="width:308px" %)(((
309 309  Temperature
313 +
310 310  (SHT20 or SHT31 or BH1750 Illumination Sensor)
311 311  )))|(% style="width:154px" %)(((
312 312  Humidity
317 +
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)
332 +
327 327  (PC13)
328 328  )))|(% style="width:87px" %)(((
329 329  ADC
336 +
330 330  (PA4)
331 331  )))|(% style="width:189px" %)(((
332 332  Digital in(PB15) &
340 +
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)
367 +
359 359  (PC13)
360 360  )))|(% style="width:173px" %)(((
361 361  Digital in(PB15) &
371 +
362 362  Digital Interrupt(PA8)
363 363  )))|(% style="width:84px" %)(((
364 364  ADC
375 +
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
408 +
397 397  (PA4)
398 398  )))|(% style="width:75px" %)(((
399 399  ADC2
412 +
400 400  (PA5)
401 401  )))|(((
402 402  ADC3
416 +
403 403  (PA8)
404 404  )))|(((
405 405  Digital Interrupt(PB15)
406 406  )))|(% style="width:304px" %)(((
407 407  Temperature
422 +
408 408  (SHT20 or SHT31 or BH1750 Illumination Sensor)
409 409  )))|(% style="width:163px" %)(((
410 410  Humidity
426 +
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
445 +
429 429  (PA4)
430 430  )))|(% style="width:210px" %)(((
431 431  Digital in(PB15) &
449 +
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)
486 +
468 468  (PC13)
488 +
489 +
469 469  )))|(% style="width:85px" %)(((
470 470  ADC
492 +
471 471  (PA4)
472 472  )))|(% style="width:186px" %)(((
473 473  Digital in(PB15) &
496 +
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
521 +
498 498  (PA4)
499 499  )))|(% style="width:126px" %)(((
500 500  Digital in
525 +
501 501  (PB15)
502 502  )))|(% style="width:145px" %)(((
503 503  Count
529 +
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)
544 +
518 518  (PC13)
519 519  )))|(% style="width:83px" %)(((
520 520  ADC
548 +
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)
564 +
536 536  (PC13)
537 537  )))|(% style="width:94px" %)(((
538 538  ADC1
568 +
539 539  (PA4)
540 540  )))|(% style="width:198px" %)(((
541 541  Digital Interrupt(PB15)
542 542  )))|(% style="width:84px" %)(((
543 543  ADC2
574 +
544 544  (PA5)
545 545  )))|(% style="width:82px" %)(((
546 546  ADC3
578 +
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)
593 +
561 561  (PC13)
562 562  )))|(((
563 563  Temperature2(DS18B20)
597 +
564 564  (PB9)
565 565  )))|(((
566 566  Digital Interrupt
601 +
567 567  (PB15)
568 568  )))|(% style="width:193px" %)(((
569 569  Temperature3(DS18B20)
605 +
570 570  (PB8)
571 571  )))|(% style="width:78px" %)(((
572 572  Count1
609 +
573 573  (PA8)
574 574  )))|(% style="width:78px" %)(((
575 575  Count2
613 +
576 576  (PA4)
577 577  )))
578 578  
... ... @@ -616,7 +616,7 @@
616 616  
617 617  ==== 2.3.3.2  Temperature (DS18B20) ====
618 618  
619 -If there is a DS18B20 connected to PC13 pin. The temperature will be uploaded in the payload.
657 +If there is a DS18B20 connected to PB3 pin. The temperature will be uploaded in the payload.
620 620  
621 621  More DS18B20 can check the [[3 DS18B20 mode>>url:http://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LSN50%20%26%20LSN50-V2%20-%20LoRaWAN%20Sensor%20Node%20User%20Manual/#2.3.4MOD3D4283xDS18B2029]]
622 622  
... ... @@ -644,7 +644,7 @@
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.
685 +**Note:**The maximum voltage input supports 3.6V.
648 648  )))
649 649  
650 650  ==== 2.3.3.4  Analogue Digital Converter (ADC) ====
... ... @@ -655,18 +655,17 @@
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.
696 +**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 -
661 661  ==== 2.3.3.5 Digital Interrupt ====
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:**
702 +**~ 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 :**
706 +**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:**
714 +**~ 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]]**. **)
739 +**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  
... ... @@ -776,7 +776,7 @@
776 776  
777 777  The 5V output time can be controlled by AT Command.
778 778  
779 -(% style="color:blue" %)**AT+5VT=1000**
816 +**AT+5VT=1000**
780 780  
781 781  Means set 5V valid time to have 1000ms. So the real 5V output will actually have 1000ms + sampling time for other sensors.
782 782  
... ... @@ -811,8 +811,6 @@
811 811  * 7: MOD8
812 812  * 8: MOD9
813 813  
814 -
815 -
816 816  == 2.4 Payload Decoder file ==
817 817  
818 818  
... ... @@ -822,7 +822,9 @@
822 822  
823 823  [[https:~~/~~/github.com/dragino/dragino-end-node-decoder/tree/main/SN50_v3-LB>>https://github.com/dragino/dragino-end-node-decoder/tree/main/SN50_v3-LB]]
824 824  
860 +
825 825  
862 +
826 826  
827 827  == 2.5 Frequency Plans ==
828 828  
... ... @@ -889,8 +889,9 @@
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  
929 +(% class="wikigeneratedid" %)
930 +=== ===
892 892  
893 -
894 894  === 3.3.2 Get Device Status ===
895 895  
896 896  Send a LoRaWAN downlink to ask the device to send its status.
... ... @@ -938,8 +938,9 @@
938 938  * Example 3: Downlink Payload: 06000102  **~-~-->**  AT+INTMOD2=2
939 939  * Example 4: Downlink Payload: 06000201  **~-~-->**  AT+INTMOD3=1
940 940  
979 +(% class="wikigeneratedid" %)
980 +=== ===
941 941  
942 -
943 943  === 3.3.4 Set Power Output Duration ===
944 944  
945 945  Control the output duration 5V . Before each sampling, device will
... ... @@ -956,6 +956,7 @@
956 956  |=(% style="width: 154px;background-color:#D9E2F3" %)**Command Example**|=(% style="width: 196px;background-color:#D9E2F3" %)**Function**|=(% style="width: 157px;background-color:#D9E2F3" %)**Response**
957 957  |(% style="width:154px" %)AT+5VT=?|(% style="width:196px" %)Show 5V open time.|(% style="width:157px" %)(((
958 958  500(default)
998 +
959 959  OK
960 960  )))
961 961  |(% style="width:154px" %)AT+5VT=1000|(% style="width:196px" %)(((
... ... @@ -971,8 +971,9 @@
971 971  * Example 1: Downlink Payload: 070000  **~-~-->**  AT+5VT=0
972 972  * Example 2: Downlink Payload: 0701F4  **~-~-->**  AT+5VT=500
973 973  
1014 +(% class="wikigeneratedid" %)
1015 +=== ===
974 974  
975 -
976 976  === 3.3.5 Set Weighing parameters ===
977 977  
978 978  Feature: Working mode 5 is effective, weight initialization and weight factor setting of HX711.
... ... @@ -997,8 +997,9 @@
997 997  * Example 2: Downlink Payload: 08020FA3  **~-~-->**  AT+WEIGAP=400.3
998 998  * Example 3: Downlink Payload: 08020FA0  **~-~-->**  AT+WEIGAP=400.0
999 999  
1041 +(% class="wikigeneratedid" %)
1042 +=== ===
1000 1000  
1001 -
1002 1002  === 3.3.6 Set Digital pulse count value ===
1003 1003  
1004 1004  Feature: Set the pulse count value.
... ... @@ -1021,8 +1021,9 @@
1021 1021  * Example 1: Downlink Payload: 090100000000  **~-~-->**  AT+SETCNT=1,0
1022 1022  * Example 2: Downlink Payload: 0902000003E8  **~-~-->**  AT+SETCNT=2,1000
1023 1023  
1066 +(% class="wikigeneratedid" %)
1067 +=== ===
1024 1024  
1025 -
1026 1026  === 3.3.7 Set Workmode ===
1027 1027  
1028 1028  Feature: Switch working mode.
... ... @@ -1036,6 +1036,7 @@
1036 1036  )))
1037 1037  |(% style="width:154px" %)AT+MOD=4|(% style="width:196px" %)Set the working mode to 3DS18B20s.|(% style="width:157px" %)(((
1038 1038  OK
1082 +
1039 1039  Attention:Take effect after ATZ
1040 1040  )))
1041 1041  
... ... @@ -1046,8 +1046,9 @@
1046 1046  * Example 1: Downlink Payload: 0A01  **~-~-->**  AT+MOD=1
1047 1047  * Example 2: Downlink Payload: 0A04  **~-~-->**  AT+MOD=4
1048 1048  
1093 +(% class="wikigeneratedid" %)
1094 += =
1049 1049  
1050 -
1051 1051  = 4. Battery & Power Consumption =
1052 1052  
1053 1053  
... ... @@ -1121,4 +1121,4 @@
1121 1121  
1122 1122  
1123 1123  * Support is provided Monday to Friday, from 09:00 to 18:00 GMT+8. Due to different timezones we cannot offer live support. However, your questions will be answered as soon as possible in the before-mentioned schedule.
1124 -* Provide as much information as possible regarding your enquiry (product models, accurately describe your problem and steps to replicate it etc) and send a mail to [[support@dragino.cc>>url:http://../../../../../../D:%5C%E5%B8%82%E5%9C%BA%E8%B5%84%E6%96%99%5C%E8%AF%B4%E6%98%8E%E4%B9%A6%5CLoRa%5CLT%E7%B3%BB%E5%88%97%5Csupport@dragino.cc]]
1169 +* Provide as much information as possible regarding your enquiry (product models, accurately describe your problem and steps to replicate it etc) and send a mail to [[support@dragino.com>>url:http://../../../../../../D:%5C%E5%B8%82%E5%9C%BA%E8%B5%84%E6%96%99%5C%E8%AF%B4%E6%98%8E%E4%B9%A6%5CLoRa%5CLT%E7%B3%BB%E5%88%97%5Csupport@dragino.com]]
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0