<
From version < 43.3 >
edited by Xiaoling
on 2023/05/16 13:40
To version < 39.1 >
edited by Saxer Lin
on 2023/05/13 13:40
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,1 @@
1 -SN50v3-LB LoRaWAN Sensor Node User Manual
1 +SN50v3-LB User Manual
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Xiaoling
1 +XWiki.Saxer
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  
... ... @@ -290,13 +290,12 @@
290 290  
291 291  In this mode, uplink payload includes in total 11 bytes. Uplink packets use FPORT=2.
292 292  
293 -(% style="width:1110px" %)
294 -|**Size(bytes)**|**2**|(% style="width:191px" %)**2**|(% style="width:78px" %)**2**|(% style="width:216px" %)**1**|(% style="width:308px" %)**2**|(% style="width:154px" %)**2**
295 -|**Value**|Bat|(% style="width:191px" %)(((
295 +|**Size(bytes)**|**2**|**2**|**2**|(% style="width:216px" %)**1**|(% style="width:342px" %)**2**|(% style="width:171px" %)**2**
296 +|**Value**|Bat|(((
296 296  Temperature(DS18B20)
297 297  
298 298  (PC13)
299 -)))|(% style="width:78px" %)(((
300 +)))|(((
300 300  ADC
301 301  
302 302  (PA4)
... ... @@ -306,11 +306,11 @@
306 306  Digital Interrupt(PA8)
307 307  
308 308  
309 -)))|(% style="width:308px" %)(((
310 +)))|(% style="width:342px" %)(((
310 310  Temperature
311 311  
312 312  (SHT20 or SHT31 or BH1750 Illumination Sensor)
313 -)))|(% style="width:154px" %)(((
314 +)))|(% style="width:171px" %)(((
314 314  Humidity
315 315  
316 316  (SHT20 or SHT31)
... ... @@ -323,26 +323,25 @@
323 323  
324 324  This mode is target to measure the distance. The payload of this mode is totally 11 bytes. The 8^^th^^ and 9^^th^^ bytes is for the distance.
325 325  
326 -(% style="width:1011px" %)
327 -|**Size(bytes)**|**2**|(% style="width:196px" %)**2**|(% style="width:87px" %)**2**|(% style="width:189px" %)**1**|(% style="width:208px" %)**2**|(% style="width:117px" %)**2**
328 -|**Value**|BAT|(% style="width:196px" %)(((
327 +|**Size(bytes)**|**2**|**2**|**2**|**1**|**2**|**2**
328 +|**Value**|BAT|(((
329 329  Temperature(DS18B20)
330 330  
331 331  (PC13)
332 -)))|(% style="width:87px" %)(((
332 +)))|(((
333 333  ADC
334 334  
335 335  (PA4)
336 -)))|(% style="width:189px" %)(((
336 +)))|(((
337 337  Digital in(PB15) &
338 338  
339 339  Digital Interrupt(PA8)
340 -)))|(% style="width:208px" %)(((
340 +)))|(((
341 341  Distance measure by:
342 342  1) LIDAR-Lite V3HP
343 343  Or
344 344  2) Ultrasonic Sensor
345 -)))|(% style="width:117px" %)Reserved
345 +)))|Reserved
346 346  
347 347  [[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"]]
348 348  
... ... @@ -358,25 +358,24 @@
358 358  
359 359  For the connection to TF-Mini or TF-Luna , MOD2 payload is as below:
360 360  
361 -(% style="width:1113px" %)
362 -|**Size(bytes)**|**2**|(% style="width:183px" %)**2**|(% style="width:173px" %)**1**|(% style="width:84px" %)**2**|(% style="width:323px" %)**2**|(% style="width:188px" %)**2**
363 -|**Value**|BAT|(% style="width:183px" %)(((
361 +|**Size(bytes)**|**2**|**2**|**1**|**2**|**2**|**2**
362 +|**Value**|BAT|(((
364 364  Temperature(DS18B20)
365 365  
366 366  (PC13)
367 -)))|(% style="width:173px" %)(((
366 +)))|(((
368 368  Digital in(PB15) &
369 369  
370 370  Digital Interrupt(PA8)
371 -)))|(% style="width:84px" %)(((
370 +)))|(((
372 372  ADC
373 373  
374 374  (PA4)
375 -)))|(% style="width:323px" %)(((
374 +)))|(((
376 376  Distance measure by:1)TF-Mini plus LiDAR
377 377  Or 
378 378  2) TF-Luna LiDAR
379 -)))|(% style="width:188px" %)Distance signal  strength
378 +)))|Distance signal  strength
380 380  
381 381  [[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"]]
382 382  
... ... @@ -452,7 +452,7 @@
452 452  
453 453  [[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"]]
454 454  
455 -[[image:image-20230513134006-1.png||height="559" width="736"]]
454 +[[image:image-20230513134006-1.png||height="743" width="978"]]
456 456  
457 457  
458 458  ==== 2.3.2.5  MOD~=5(Weight Measurement by HX711) ====
... ... @@ -475,25 +475,25 @@
475 475  
476 476  Check the response of this command and adjust the value to match the real value for thing.
477 477  
478 -(% style="width:767px" %)
477 +(% style="width:982px" %)
479 479  |=(((
480 480  **Size(bytes)**
481 -)))|=**2**|=(% style="width: 193px;" %)**2**|=(% style="width: 85px;" %)**2**|=(% style="width: 186px;" %)**1**|=(% style="width: 100px;" %)**4**
482 -|**Value**|BAT|(% style="width:193px" %)(((
480 +)))|=**2**|=(% style="width: 282px;" %)**2**|=(% style="width: 119px;" %)**2**|=(% style="width: 279px;" %)**1**|=(% style="width: 106px;" %)**4**
481 +|**Value**|BAT|(% style="width:282px" %)(((
483 483  Temperature(DS18B20)
484 484  
485 485  (PC13)
486 486  
487 487  
488 -)))|(% style="width:85px" %)(((
487 +)))|(% style="width:119px" %)(((
489 489  ADC
490 490  
491 491  (PA4)
492 -)))|(% style="width:186px" %)(((
491 +)))|(% style="width:279px" %)(((
493 493  Digital in(PB15) &
494 494  
495 495  Digital Interrupt(PA8)
496 -)))|(% style="width:100px" %)Weight
495 +)))|(% style="width:106px" %)Weight
497 497  
498 498  [[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"]]
499 499  
... ... @@ -533,30 +533,29 @@
533 533  
534 534  ==== 2.3.2.7  MOD~=7 (Three interrupt contact modes) ====
535 535  
536 -(% style="width:1108px" %)
537 537  |=(((
538 538  **Size(bytes)**
539 -)))|=**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
540 -|**Value**|BAT|(% style="width:188px" %)(((
537 +)))|=**2**|=**2**|=**2**|=**1**|=**1**|=1|=2
538 +|**Value**|BAT|(((
541 541  Temperature(DS18B20)
542 542  
543 543  (PC13)
544 -)))|(% style="width:83px" %)(((
542 +)))|(((
545 545  ADC
546 546  
547 547  (PA5)
548 -)))|(% style="width:184px" %)(((
546 +)))|(((
549 549  Digital Interrupt1(PA8)
550 -)))|(% style="width:186px" %)Digital Interrupt2(PA4)|(% style="width:197px" %)Digital Interrupt3(PB15)|(% style="width:100px" %)Reserved
548 +)))|Digital Interrupt2(PA4)|Digital Interrupt3(PB15)|Reserved
551 551  
552 552  [[image:image-20230513111203-7.png||height="324" width="975"]]
553 553  
554 554  ==== 2.3.2.8  MOD~=8 (3ADC+1DS18B20) ====
555 555  
556 -(% style="width:922px" %)
554 +(% style="width:917px" %)
557 557  |=(((
558 558  **Size(bytes)**
559 -)))|=**2**|=(% style="width: 207px;" %)**2**|=(% style="width: 94px;" %)**2**|=(% style="width: 198px;" %)**1**|=(% style="width: 84px;" %)**2**|=(% style="width: 82px;" %)2
557 +)))|=**2**|=(% style="width: 207px;" %)**2**|=(% style="width: 94px;" %)**2**|=(% style="width: 198px;" %)**1**|=(% style="width: 84px;" %)**2**|=(% style="width: 79px;" %)2
560 560  |**Value**|BAT|(% style="width:207px" %)(((
561 561  Temperature(DS18B20)
562 562  
... ... @@ -571,7 +571,7 @@
571 571  ADC2
572 572  
573 573  (PA5)
574 -)))|(% style="width:82px" %)(((
572 +)))|(% style="width:79px" %)(((
575 575  ADC3
576 576  
577 577  (PA8)
... ... @@ -652,7 +652,7 @@
652 652  
653 653  ==== 2.3.3.2  Temperature (DS18B20) ====
654 654  
655 -If there is a DS18B20 connected to PC13 pin. The temperature will be uploaded in the payload.
653 +If there is a DS18B20 connected to PB3 pin. The temperature will be uploaded in the payload.
656 656  
657 657  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]]
658 658  
... ... @@ -681,8 +681,6 @@
681 681  When the digital interrupt pin is set to AT+INTMODx=0, this pin is used as a digital input pin.
682 682  
683 683  **Note:**The maximum voltage input supports 3.6V.
684 -
685 -
686 686  )))
687 687  
688 688  ==== 2.3.3.4  Analogue Digital Converter (ADC) ====
... ... @@ -695,7 +695,6 @@
695 695  
696 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.
697 697  
698 -
699 699  ==== 2.3.3.5 Digital Interrupt ====
700 700  
701 701  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.
... ... @@ -752,14 +752,14 @@
752 752  
753 753  The SDA and SCK are I2C interface lines. You can use these to connect to an I2C device and get the sensor data.
754 754  
755 -We have made an example to show how to use the I2C interface to connect to the SHT20/ SHT31 Temperature and Humidity Sensor.
750 +We have made an example to show how to use the I2C interface to connect to the SHT20 Temperature and Humidity Sensor.
756 756  
757 -Notice: Different I2C sensors have different I2C commands set and initiate process, if user want to use other I2C sensors, User need to re-write the source code to support those sensors. SHT20/ SHT31 code in SN50_v3 will be a good reference.
752 +Notice: Different I2C sensors have different I2C commands set and initiate process, if user want to use other I2C sensors, User need to re-write the source code to support those sensors. SHT20 code in SN50_v3 will be a good reference.
758 758  
759 759  Below is the connection to SHT20/ SHT31. The connection is as below:
760 760  
761 761  
762 -[[image:image-20230513103633-3.png||height="448" width="716"]]
757 +[[image:image-20230513103633-3.png||height="636" width="1017"]]
763 763  
764 764  The device will be able to get the I2C sensor data now and upload to IoT Server.
765 765  
... ... @@ -826,9 +826,9 @@
826 826  
827 827  MOD=1 support this sensor. The sensor value is in the 8^^th^^ and 9^^th^^ bytes.
828 828  
829 -[[image:image-20230512172447-4.png||height="416" width="712"]]
824 +[[image:image-20230512172447-4.png||height="593" width="1015"]]
830 830  
831 -[[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-20220628110012-12.png?rev=1.1||alt="image-20220628110012-12.png" height="361" width="953"]]
826 +[[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-20220628110012-12.png?rev=1.1||alt="image-20220628110012-12.png"]]
832 832  
833 833  
834 834  ==== 2.3.3.12  Working MOD ====
... ... @@ -849,8 +849,6 @@
849 849  * 7: MOD8
850 850  * 8: MOD9
851 851  
852 -== ==
853 -
854 854  == 2.4 Payload Decoder file ==
855 855  
856 856  
... ... @@ -858,7 +858,7 @@
858 858  
859 859  In the page (% style="color:#037691" %)**Applications ~-~-> Payload Formats ~-~-> Custom ~-~-> decoder**(%%) to add the decoder from:
860 860  
861 -[[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]]
854 +[[https:~~/~~/github.com/dragino/dragino-end-node-decoder/tree/main/LSN50v2-S31%26S31B >>https://github.com/dragino/dragino-end-node-decoder/tree/main/LSN50v2-S31%26S31B]]
862 862  
863 863  
864 864  
... ... @@ -902,6 +902,7 @@
902 902  
903 903  === 3.3.1 Set Transmit Interval Time ===
904 904  
898 +
905 905  Feature: Change LoRaWAN End Node Transmit Interval.
906 906  
907 907  (% style="color:blue" %)**AT Command: AT+TDC**
... ... @@ -927,11 +927,9 @@
927 927  * Example 1: Downlink Payload: 0100001E  ~/~/  Set Transmit Interval (TDC) = 30 seconds
928 928  * Example 2: Downlink Payload: 0100003C  ~/~/  Set Transmit Interval (TDC) = 60 seconds
929 929  
930 -=== ===
931 -
932 932  === 3.3.2 Get Device Status ===
933 933  
934 -Send a LoRaWAN downlink to ask the device to send its status.
926 +Send a LoRaWAN downlink to ask device send Alarm settings.
935 935  
936 936  (% style="color:blue" %)**Downlink Payload:  **(%%)0x26 01
937 937  
... ... @@ -940,6 +940,7 @@
940 940  
941 941  === 3.3.3 Set Interrupt Mode ===
942 942  
935 +
943 943  Feature, Set Interrupt mode for GPIO_EXIT.
944 944  
945 945  (% style="color:blue" %)**AT Command: AT+INTMOD1,AT+INTMOD2,AT+INTMOD3**
... ... @@ -976,8 +976,6 @@
976 976  * Example 3: Downlink Payload: 06000102  **~-~-->**  AT+INTMOD2=2
977 977  * Example 4: Downlink Payload: 06000201  **~-~-->**  AT+INTMOD3=1
978 978  
979 -=== ===
980 -
981 981  === 3.3.4 Set Power Output Duration ===
982 982  
983 983  Control the output duration 5V . Before each sampling, device will
... ... @@ -1007,11 +1007,9 @@
1007 1007  
1008 1008  The first and second bytes are the time to turn on.
1009 1009  
1010 -* Example 1: Downlink Payload: 070000  **~-~-->**  AT+5VT=0
1011 -* Example 2: Downlink Payload: 0701F4  **~-~-->**  AT+5VT=500
1001 +* Example 1: Downlink Payload: 070000  **~-~-->**  AT+5VT=0
1002 +* Example 2: Downlink Payload: 0701F4  **~-~-->**  AT+5VT=500
1012 1012  
1013 -=== ===
1014 -
1015 1015  === 3.3.5 Set Weighing parameters ===
1016 1016  
1017 1017  Feature: Working mode 5 is effective, weight initialization and weight factor setting of HX711.
... ... @@ -1026,6 +1026,7 @@
1026 1026  
1027 1027  (% style="color:blue" %)**Downlink Command: 0x08**
1028 1028  
1018 +
1029 1029  Format: Command Code (0x08) followed by 2 bytes or 4 bytes.
1030 1030  
1031 1031  Use AT+WEIGRE when the first byte is 1, only 1 byte. When it is 2, use AT+WEIGAP, there are 3 bytes.
... ... @@ -1036,8 +1036,6 @@
1036 1036  * Example 2: Downlink Payload: 08020FA3  **~-~-->**  AT+WEIGAP=400.3
1037 1037  * Example 3: Downlink Payload: 08020FA0  **~-~-->**  AT+WEIGAP=400.0
1038 1038  
1039 -=== ===
1040 -
1041 1041  === 3.3.6 Set Digital pulse count value ===
1042 1042  
1043 1043  Feature: Set the pulse count value.
... ... @@ -1053,6 +1053,7 @@
1053 1053  
1054 1054  (% style="color:blue" %)**Downlink Command: 0x09**
1055 1055  
1044 +
1056 1056  Format: Command Code (0x09) followed by 5 bytes.
1057 1057  
1058 1058  The first byte is to select which count value to initialize, and the next four bytes are the count value to be initialized.
... ... @@ -1060,8 +1060,6 @@
1060 1060  * Example 1: Downlink Payload: 090100000000  **~-~-->**  AT+SETCNT=1,0
1061 1061  * Example 2: Downlink Payload: 0902000003E8  **~-~-->**  AT+SETCNT=2,1000
1062 1062  
1063 -=== ===
1064 -
1065 1065  === 3.3.7 Set Workmode ===
1066 1066  
1067 1067  Feature: Switch working mode.
... ... @@ -1081,13 +1081,12 @@
1081 1081  
1082 1082  (% style="color:blue" %)**Downlink Command: 0x0A**
1083 1083  
1071 +
1084 1084  Format: Command Code (0x0A) followed by 1 bytes.
1085 1085  
1086 1086  * Example 1: Downlink Payload: 0A01  **~-~-->**  AT+MOD=1
1087 1087  * Example 2: Downlink Payload: 0A04  **~-~-->**  AT+MOD=4
1088 1088  
1089 -= =
1090 -
1091 1091  = 4. Battery & Power Consumption =
1092 1092  
1093 1093  
... ... @@ -1161,4 +1161,4 @@
1161 1161  
1162 1162  
1163 1163  * 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.
1164 -* 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]]
1150 +* 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]]
image-20230515135611-1.jpeg
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -948.0 KB
Content
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0