<
From version < 43.2 >
edited by Xiaoling
on 2023/05/16 13:39
To version < 39.2 >
edited by Saxer Lin
on 2023/05/13 13:42
>
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,7 +16,6 @@
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  
22 22  
... ... @@ -294,13 +294,12 @@
294 294  
295 295  In this mode, uplink payload includes in total 11 bytes. Uplink packets use FPORT=2.
296 296  
297 -(% style="width:1110px" %)
298 -|**Size(bytes)**|**2**|(% style="width:191px" %)**2**|(% style="width:78px" %)**2**|(% style="width:216px" %)**1**|(% style="width:308px" %)**2**|(% style="width:154px" %)**2**
299 -|**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|(((
300 300  Temperature(DS18B20)
301 301  
302 302  (PC13)
303 -)))|(% style="width:78px" %)(((
300 +)))|(((
304 304  ADC
305 305  
306 306  (PA4)
... ... @@ -310,11 +310,11 @@
310 310  Digital Interrupt(PA8)
311 311  
312 312  
313 -)))|(% style="width:308px" %)(((
310 +)))|(% style="width:342px" %)(((
314 314  Temperature
315 315  
316 316  (SHT20 or SHT31 or BH1750 Illumination Sensor)
317 -)))|(% style="width:154px" %)(((
314 +)))|(% style="width:171px" %)(((
318 318  Humidity
319 319  
320 320  (SHT20 or SHT31)
... ... @@ -327,26 +327,25 @@
327 327  
328 328  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.
329 329  
330 -(% style="width:1011px" %)
331 -|**Size(bytes)**|**2**|(% style="width:196px" %)**2**|(% style="width:87px" %)**2**|(% style="width:189px" %)**1**|(% style="width:208px" %)**2**|(% style="width:117px" %)**2**
332 -|**Value**|BAT|(% style="width:196px" %)(((
327 +|**Size(bytes)**|**2**|**2**|**2**|**1**|**2**|**2**
328 +|**Value**|BAT|(((
333 333  Temperature(DS18B20)
334 334  
335 335  (PC13)
336 -)))|(% style="width:87px" %)(((
332 +)))|(((
337 337  ADC
338 338  
339 339  (PA4)
340 -)))|(% style="width:189px" %)(((
336 +)))|(((
341 341  Digital in(PB15) &
342 342  
343 343  Digital Interrupt(PA8)
344 -)))|(% style="width:208px" %)(((
340 +)))|(((
345 345  Distance measure by:
346 346  1) LIDAR-Lite V3HP
347 347  Or
348 348  2) Ultrasonic Sensor
349 -)))|(% style="width:117px" %)Reserved
345 +)))|Reserved
350 350  
351 351  [[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"]]
352 352  
... ... @@ -362,25 +362,24 @@
362 362  
363 363  For the connection to TF-Mini or TF-Luna , MOD2 payload is as below:
364 364  
365 -(% style="width:1113px" %)
366 -|**Size(bytes)**|**2**|(% style="width:183px" %)**2**|(% style="width:173px" %)**1**|(% style="width:84px" %)**2**|(% style="width:323px" %)**2**|(% style="width:188px" %)**2**
367 -|**Value**|BAT|(% style="width:183px" %)(((
361 +|**Size(bytes)**|**2**|**2**|**1**|**2**|**2**|**2**
362 +|**Value**|BAT|(((
368 368  Temperature(DS18B20)
369 369  
370 370  (PC13)
371 -)))|(% style="width:173px" %)(((
366 +)))|(((
372 372  Digital in(PB15) &
373 373  
374 374  Digital Interrupt(PA8)
375 -)))|(% style="width:84px" %)(((
370 +)))|(((
376 376  ADC
377 377  
378 378  (PA4)
379 -)))|(% style="width:323px" %)(((
374 +)))|(((
380 380  Distance measure by:1)TF-Mini plus LiDAR
381 381  Or 
382 382  2) TF-Luna LiDAR
383 -)))|(% style="width:188px" %)Distance signal  strength
378 +)))|Distance signal  strength
384 384  
385 385  [[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"]]
386 386  
... ... @@ -479,25 +479,25 @@
479 479  
480 480  Check the response of this command and adjust the value to match the real value for thing.
481 481  
482 -(% style="width:767px" %)
477 +(% style="width:982px" %)
483 483  |=(((
484 484  **Size(bytes)**
485 -)))|=**2**|=(% style="width: 193px;" %)**2**|=(% style="width: 85px;" %)**2**|=(% style="width: 186px;" %)**1**|=(% style="width: 100px;" %)**4**
486 -|**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" %)(((
487 487  Temperature(DS18B20)
488 488  
489 489  (PC13)
490 490  
491 491  
492 -)))|(% style="width:85px" %)(((
487 +)))|(% style="width:119px" %)(((
493 493  ADC
494 494  
495 495  (PA4)
496 -)))|(% style="width:186px" %)(((
491 +)))|(% style="width:279px" %)(((
497 497  Digital in(PB15) &
498 498  
499 499  Digital Interrupt(PA8)
500 -)))|(% style="width:100px" %)Weight
495 +)))|(% style="width:106px" %)Weight
501 501  
502 502  [[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"]]
503 503  
... ... @@ -537,30 +537,29 @@
537 537  
538 538  ==== 2.3.2.7  MOD~=7 (Three interrupt contact modes) ====
539 539  
540 -(% style="width:1108px" %)
541 541  |=(((
542 542  **Size(bytes)**
543 -)))|=**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
544 -|**Value**|BAT|(% style="width:188px" %)(((
537 +)))|=**2**|=**2**|=**2**|=**1**|=**1**|=1|=2
538 +|**Value**|BAT|(((
545 545  Temperature(DS18B20)
546 546  
547 547  (PC13)
548 -)))|(% style="width:83px" %)(((
542 +)))|(((
549 549  ADC
550 550  
551 551  (PA5)
552 -)))|(% style="width:184px" %)(((
546 +)))|(((
553 553  Digital Interrupt1(PA8)
554 -)))|(% style="width:186px" %)Digital Interrupt2(PA4)|(% style="width:197px" %)Digital Interrupt3(PB15)|(% style="width:100px" %)Reserved
548 +)))|Digital Interrupt2(PA4)|Digital Interrupt3(PB15)|Reserved
555 555  
556 556  [[image:image-20230513111203-7.png||height="324" width="975"]]
557 557  
558 558  ==== 2.3.2.8  MOD~=8 (3ADC+1DS18B20) ====
559 559  
560 -(% style="width:922px" %)
554 +(% style="width:917px" %)
561 561  |=(((
562 562  **Size(bytes)**
563 -)))|=**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
564 564  |**Value**|BAT|(% style="width:207px" %)(((
565 565  Temperature(DS18B20)
566 566  
... ... @@ -575,7 +575,7 @@
575 575  ADC2
576 576  
577 577  (PA5)
578 -)))|(% style="width:82px" %)(((
572 +)))|(% style="width:79px" %)(((
579 579  ADC3
580 580  
581 581  (PA8)
... ... @@ -656,7 +656,7 @@
656 656  
657 657  ==== 2.3.3.2  Temperature (DS18B20) ====
658 658  
659 -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.
660 660  
661 661  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]]
662 662  
... ... @@ -685,8 +685,6 @@
685 685  When the digital interrupt pin is set to AT+INTMODx=0, this pin is used as a digital input pin.
686 686  
687 687  **Note:**The maximum voltage input supports 3.6V.
688 -
689 -
690 690  )))
691 691  
692 692  ==== 2.3.3.4  Analogue Digital Converter (ADC) ====
... ... @@ -699,7 +699,6 @@
699 699  
700 700  **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.
701 701  
702 -
703 703  ==== 2.3.3.5 Digital Interrupt ====
704 704  
705 705  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.
... ... @@ -756,14 +756,14 @@
756 756  
757 757  The SDA and SCK are I2C interface lines. You can use these to connect to an I2C device and get the sensor data.
758 758  
759 -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.
760 760  
761 -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.
762 762  
763 763  Below is the connection to SHT20/ SHT31. The connection is as below:
764 764  
765 765  
766 -[[image:image-20230513103633-3.png||height="448" width="716"]]
757 +[[image:image-20230513103633-3.png||height="636" width="1017"]]
767 767  
768 768  The device will be able to get the I2C sensor data now and upload to IoT Server.
769 769  
... ... @@ -830,9 +830,9 @@
830 830  
831 831  MOD=1 support this sensor. The sensor value is in the 8^^th^^ and 9^^th^^ bytes.
832 832  
833 -[[image:image-20230512172447-4.png||height="416" width="712"]]
824 +[[image:image-20230512172447-4.png||height="593" width="1015"]]
834 834  
835 -[[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"]]
836 836  
837 837  
838 838  ==== 2.3.3.12  Working MOD ====
... ... @@ -853,8 +853,6 @@
853 853  * 7: MOD8
854 854  * 8: MOD9
855 855  
856 -== ==
857 -
858 858  == 2.4 Payload Decoder file ==
859 859  
860 860  
... ... @@ -862,7 +862,7 @@
862 862  
863 863  In the page (% style="color:#037691" %)**Applications ~-~-> Payload Formats ~-~-> Custom ~-~-> decoder**(%%) to add the decoder from:
864 864  
865 -[[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]]
866 866  
867 867  
868 868  
... ... @@ -906,6 +906,7 @@
906 906  
907 907  === 3.3.1 Set Transmit Interval Time ===
908 908  
898 +
909 909  Feature: Change LoRaWAN End Node Transmit Interval.
910 910  
911 911  (% style="color:blue" %)**AT Command: AT+TDC**
... ... @@ -931,11 +931,9 @@
931 931  * Example 1: Downlink Payload: 0100001E  ~/~/  Set Transmit Interval (TDC) = 30 seconds
932 932  * Example 2: Downlink Payload: 0100003C  ~/~/  Set Transmit Interval (TDC) = 60 seconds
933 933  
934 -=== ===
935 -
936 936  === 3.3.2 Get Device Status ===
937 937  
938 -Send a LoRaWAN downlink to ask the device to send its status.
926 +Send a LoRaWAN downlink to ask device send Alarm settings.
939 939  
940 940  (% style="color:blue" %)**Downlink Payload:  **(%%)0x26 01
941 941  
... ... @@ -944,6 +944,7 @@
944 944  
945 945  === 3.3.3 Set Interrupt Mode ===
946 946  
935 +
947 947  Feature, Set Interrupt mode for GPIO_EXIT.
948 948  
949 949  (% style="color:blue" %)**AT Command: AT+INTMOD1,AT+INTMOD2,AT+INTMOD3**
... ... @@ -980,8 +980,6 @@
980 980  * Example 3: Downlink Payload: 06000102  **~-~-->**  AT+INTMOD2=2
981 981  * Example 4: Downlink Payload: 06000201  **~-~-->**  AT+INTMOD3=1
982 982  
983 -=== ===
984 -
985 985  === 3.3.4 Set Power Output Duration ===
986 986  
987 987  Control the output duration 5V . Before each sampling, device will
... ... @@ -1011,11 +1011,9 @@
1011 1011  
1012 1012  The first and second bytes are the time to turn on.
1013 1013  
1014 -* Example 1: Downlink Payload: 070000  **~-~-->**  AT+5VT=0
1015 -* 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
1016 1016  
1017 -=== ===
1018 -
1019 1019  === 3.3.5 Set Weighing parameters ===
1020 1020  
1021 1021  Feature: Working mode 5 is effective, weight initialization and weight factor setting of HX711.
... ... @@ -1030,6 +1030,7 @@
1030 1030  
1031 1031  (% style="color:blue" %)**Downlink Command: 0x08**
1032 1032  
1018 +
1033 1033  Format: Command Code (0x08) followed by 2 bytes or 4 bytes.
1034 1034  
1035 1035  Use AT+WEIGRE when the first byte is 1, only 1 byte. When it is 2, use AT+WEIGAP, there are 3 bytes.
... ... @@ -1040,8 +1040,6 @@
1040 1040  * Example 2: Downlink Payload: 08020FA3  **~-~-->**  AT+WEIGAP=400.3
1041 1041  * Example 3: Downlink Payload: 08020FA0  **~-~-->**  AT+WEIGAP=400.0
1042 1042  
1043 -=== ===
1044 -
1045 1045  === 3.3.6 Set Digital pulse count value ===
1046 1046  
1047 1047  Feature: Set the pulse count value.
... ... @@ -1057,6 +1057,7 @@
1057 1057  
1058 1058  (% style="color:blue" %)**Downlink Command: 0x09**
1059 1059  
1044 +
1060 1060  Format: Command Code (0x09) followed by 5 bytes.
1061 1061  
1062 1062  The first byte is to select which count value to initialize, and the next four bytes are the count value to be initialized.
... ... @@ -1064,8 +1064,6 @@
1064 1064  * Example 1: Downlink Payload: 090100000000  **~-~-->**  AT+SETCNT=1,0
1065 1065  * Example 2: Downlink Payload: 0902000003E8  **~-~-->**  AT+SETCNT=2,1000
1066 1066  
1067 -=== ===
1068 -
1069 1069  === 3.3.7 Set Workmode ===
1070 1070  
1071 1071  Feature: Switch working mode.
... ... @@ -1085,13 +1085,12 @@
1085 1085  
1086 1086  (% style="color:blue" %)**Downlink Command: 0x0A**
1087 1087  
1071 +
1088 1088  Format: Command Code (0x0A) followed by 1 bytes.
1089 1089  
1090 1090  * Example 1: Downlink Payload: 0A01  **~-~-->**  AT+MOD=1
1091 1091  * Example 2: Downlink Payload: 0A04  **~-~-->**  AT+MOD=4
1092 1092  
1093 -= =
1094 -
1095 1095  = 4. Battery & Power Consumption =
1096 1096  
1097 1097  
... ... @@ -1165,4 +1165,4 @@
1165 1165  
1166 1166  
1167 1167  * 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.
1168 -* 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