Changes for page SN50v3-LB/LS -- LoRaWAN Sensor Node User Manual
Last modified by Bei Jinggeng on 2025/01/10 15:51
Summary
-
Page properties (3 modified, 0 added, 0 removed)
-
Attachments (0 modified, 1 added, 0 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,1 @@ 1 -SN50v3-LB User Manual 1 +SN50v3-LB LoRaWAN Sensor Node User Manual - Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Saxer1 +XWiki.Xiaoling - Content
-
... ... @@ -1,4 +1,5 @@ 1 -[[image:image-20230511201248-1.png||height="403" width="489"]] 1 +(% style="text-align:center" %) 2 +[[image:image-20230515135611-1.jpeg||height="589" width="589"]] 2 2 3 3 4 4 ... ... @@ -15,18 +15,15 @@ 15 15 16 16 == 1.1 What is SN50v3-LB LoRaWAN Generic Node == 17 17 19 + 18 18 (% 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. 19 19 20 - 21 21 (% 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. 22 22 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 - 27 27 (% 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. 28 28 29 - 30 30 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. 31 31 32 32 ... ... @@ -44,6 +44,7 @@ 44 44 45 45 == 1.3 Specification == 46 46 45 + 47 47 (% style="color:#037691" %)**Common DC Characteristics:** 48 48 49 49 * Supply Voltage: built in 8500mAh Li-SOCI2 battery , 2.5v ~~ 3.6v ... ... @@ -80,6 +80,7 @@ 80 80 81 81 == 1.4 Sleep mode and working mode == 82 82 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,6 +137,7 @@ 137 137 138 138 == Hole Option == 139 139 140 + 140 140 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: 141 141 142 142 [[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"]] ... ... @@ -290,14 +290,16 @@ 290 290 291 291 ==== 2.3.2.1 MOD~=1 (Default Mode) ==== 292 292 294 + 293 293 In this mode, uplink payload includes in total 11 bytes. Uplink packets use FPORT=2. 294 294 295 -|**Size(bytes)**|**2**|**2**|**2**|(% style="width:216px" %)**1**|(% style="width:342px" %)**2**|(% style="width:171px" %)**2** 296 -|**Value**|Bat|((( 297 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %) 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" %)((( 297 297 Temperature(DS18B20) 298 298 299 299 (PC13) 300 -)))|((( 303 +)))|(% style="width:78px" %)((( 301 301 ADC 302 302 303 303 (PA4) ... ... @@ -307,11 +307,11 @@ 307 307 Digital Interrupt(PA8) 308 308 309 309 310 -)))|(% style="width:3 42px" %)(((313 +)))|(% style="width:308px" %)((( 311 311 Temperature 312 312 313 313 (SHT20 or SHT31 or BH1750 Illumination Sensor) 314 -)))|(% style="width:1 71px" %)(((317 +)))|(% style="width:154px" %)((( 315 315 Humidity 316 316 317 317 (SHT20 or SHT31) ... ... @@ -324,25 +324,26 @@ 324 324 325 325 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. 326 326 327 -|**Size(bytes)**|**2**|**2**|**2**|**1**|**2**|**2** 328 -|**Value**|BAT|((( 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" %)((( 329 329 Temperature(DS18B20) 330 330 331 331 (PC13) 332 -)))|((( 336 +)))|(% style="width:87px" %)((( 333 333 ADC 334 334 335 335 (PA4) 336 -)))|((( 340 +)))|(% style="width:189px" %)((( 337 337 Digital in(PB15) & 338 338 339 339 Digital Interrupt(PA8) 340 -)))|((( 344 +)))|(% style="width:208px" %)((( 341 341 Distance measure by: 342 342 1) LIDAR-Lite V3HP 343 343 Or 344 344 2) Ultrasonic Sensor 345 -)))|Reserved 349 +)))|(% style="width:117px" %)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,24 +358,25 @@ 358 358 359 359 For the connection to TF-Mini or TF-Luna , MOD2 payload is as below: 360 360 361 -|**Size(bytes)**|**2**|**2**|**1**|**2**|**2**|**2** 362 -|**Value**|BAT|((( 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" %)((( 363 363 Temperature(DS18B20) 364 364 365 365 (PC13) 366 -)))|((( 371 +)))|(% style="width:173px" %)((( 367 367 Digital in(PB15) & 368 368 369 369 Digital Interrupt(PA8) 370 -)))|((( 375 +)))|(% style="width:84px" %)((( 371 371 ADC 372 372 373 373 (PA4) 374 -)))|((( 379 +)))|(% style="width:323px" %)((( 375 375 Distance measure by:1)TF-Mini plus LiDAR 376 376 Or 377 377 2) TF-Luna LiDAR 378 -)))|Distance signal strength 383 +)))|(% style="width:188px" %)Distance signal strength 379 379 380 380 [[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"]] 381 381 ... ... @@ -474,25 +474,25 @@ 474 474 475 475 Check the response of this command and adjust the value to match the real value for thing. 476 476 477 -(% style="width: 982px" %)482 +(% style="width:767px" %) 478 478 |=((( 479 479 **Size(bytes)** 480 -)))|=**2**|=(% style="width: 282px;" %)**2**|=(% style="width:119px;" %)**2**|=(% style="width:279px;" %)**1**|=(% style="width: 106px;" %)**4**481 -|**Value**|BAT|(% style="width: 282px" %)(((485 +)))|=**2**|=(% style="width: 193px;" %)**2**|=(% style="width: 85px;" %)**2**|=(% style="width: 186px;" %)**1**|=(% style="width: 100px;" %)**4** 486 +|**Value**|BAT|(% style="width:193px" %)((( 482 482 Temperature(DS18B20) 483 483 484 484 (PC13) 485 485 486 486 487 -)))|(% style="width: 119px" %)(((492 +)))|(% style="width:85px" %)((( 488 488 ADC 489 489 490 490 (PA4) 491 -)))|(% style="width: 279px" %)(((496 +)))|(% style="width:186px" %)((( 492 492 Digital in(PB15) & 493 493 494 494 Digital Interrupt(PA8) 495 -)))|(% style="width:10 6px" %)Weight500 +)))|(% style="width:100px" %)Weight 496 496 497 497 [[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"]] 498 498 ... ... @@ -532,29 +532,30 @@ 532 532 533 533 ==== 2.3.2.7 MOD~=7 (Three interrupt contact modes) ==== 534 534 540 +(% style="width:1108px" %) 535 535 |=((( 536 536 **Size(bytes)** 537 -)))|=**2**|=**2**|=**2**|=**1**|=**1**|=1|=2 538 -|**Value**|BAT|((( 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" %)((( 539 539 Temperature(DS18B20) 540 540 541 541 (PC13) 542 -)))|((( 548 +)))|(% style="width:83px" %)((( 543 543 ADC 544 544 545 545 (PA5) 546 -)))|((( 552 +)))|(% style="width:184px" %)((( 547 547 Digital Interrupt1(PA8) 548 -)))|Digital Interrupt2(PA4)|Digital Interrupt3(PB15)|Reserved 554 +)))|(% style="width:186px" %)Digital Interrupt2(PA4)|(% style="width:197px" %)Digital Interrupt3(PB15)|(% style="width:100px" %)Reserved 549 549 550 550 [[image:image-20230513111203-7.png||height="324" width="975"]] 551 551 552 552 ==== 2.3.2.8 MOD~=8 (3ADC+1DS18B20) ==== 553 553 554 -(% style="width:9 17px" %)560 +(% style="width:922px" %) 555 555 |=((( 556 556 **Size(bytes)** 557 -)))|=**2**|=(% style="width: 207px;" %)**2**|=(% style="width: 94px;" %)**2**|=(% style="width: 198px;" %)**1**|=(% style="width: 84px;" %)**2**|=(% style="width: 79px;" %)2563 +)))|=**2**|=(% style="width: 207px;" %)**2**|=(% style="width: 94px;" %)**2**|=(% style="width: 198px;" %)**1**|=(% style="width: 84px;" %)**2**|=(% style="width: 82px;" %)2 558 558 |**Value**|BAT|(% style="width:207px" %)((( 559 559 Temperature(DS18B20) 560 560 ... ... @@ -569,7 +569,7 @@ 569 569 ADC2 570 570 571 571 (PA5) 572 -)))|(% style="width: 79px" %)(((578 +)))|(% style="width:82px" %)((( 573 573 ADC3 574 574 575 575 (PA8) ... ... @@ -650,7 +650,7 @@ 650 650 651 651 ==== 2.3.3.2 Temperature (DS18B20) ==== 652 652 653 -If there is a DS18B20 connected to P B3 pin. The temperature will be uploaded in the payload.659 +If there is a DS18B20 connected to PC13 pin. The temperature will be uploaded in the payload. 654 654 655 655 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]] 656 656 ... ... @@ -679,6 +679,8 @@ 679 679 When the digital interrupt pin is set to AT+INTMODx=0, this pin is used as a digital input pin. 680 680 681 681 **Note:**The maximum voltage input supports 3.6V. 688 + 689 + 682 682 ))) 683 683 684 684 ==== 2.3.3.4 Analogue Digital Converter (ADC) ==== ... ... @@ -691,6 +691,7 @@ 691 691 692 692 **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. 693 693 702 + 694 694 ==== 2.3.3.5 Digital Interrupt ==== 695 695 696 696 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. ... ... @@ -747,14 +747,14 @@ 747 747 748 748 The SDA and SCK are I2C interface lines. You can use these to connect to an I2C device and get the sensor data. 749 749 750 -We have made an example to show how to use the I2C interface to connect to the SHT20 Temperature and Humidity Sensor. 759 +We have made an example to show how to use the I2C interface to connect to the SHT20/ SHT31 Temperature and Humidity Sensor. 751 751 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. 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. 753 753 754 754 Below is the connection to SHT20/ SHT31. The connection is as below: 755 755 756 756 757 -[[image:image-20230513103633-3.png||height=" 636" width="1017"]]766 +[[image:image-20230513103633-3.png||height="448" width="716"]] 758 758 759 759 The device will be able to get the I2C sensor data now and upload to IoT Server. 760 760 ... ... @@ -821,9 +821,9 @@ 821 821 822 822 MOD=1 support this sensor. The sensor value is in the 8^^th^^ and 9^^th^^ bytes. 823 823 824 -[[image:image-20230512172447-4.png||height=" 593" width="1015"]]833 +[[image:image-20230512172447-4.png||height="416" width="712"]] 825 825 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"]] 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"]] 827 827 828 828 829 829 ==== 2.3.3.12 Working MOD ==== ... ... @@ -844,6 +844,8 @@ 844 844 * 7: MOD8 845 845 * 8: MOD9 846 846 856 +== == 857 + 847 847 == 2.4 Payload Decoder file == 848 848 849 849 ... ... @@ -851,7 +851,7 @@ 851 851 852 852 In the page (% style="color:#037691" %)**Applications ~-~-> Payload Formats ~-~-> Custom ~-~-> decoder**(%%) to add the decoder from: 853 853 854 -[[https:~~/~~/github.com/dragino/dragino-end-node-decoder/tree/main/ LSN50v2-S31%26S31BLSN50v2-S31%26S31B]]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]] 855 855 856 856 857 857 ... ... @@ -895,7 +895,6 @@ 895 895 896 896 === 3.3.1 Set Transmit Interval Time === 897 897 898 - 899 899 Feature: Change LoRaWAN End Node Transmit Interval. 900 900 901 901 (% style="color:blue" %)**AT Command: AT+TDC** ... ... @@ -921,9 +921,11 @@ 921 921 * Example 1: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds 922 922 * Example 2: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 923 923 934 +=== === 935 + 924 924 === 3.3.2 Get Device Status === 925 925 926 -Send a LoRaWAN downlink to ask device send Alarmsettings.938 +Send a LoRaWAN downlink to ask the device to send its status. 927 927 928 928 (% style="color:blue" %)**Downlink Payload: **(%%)0x26 01 929 929 ... ... @@ -932,7 +932,6 @@ 932 932 933 933 === 3.3.3 Set Interrupt Mode === 934 934 935 - 936 936 Feature, Set Interrupt mode for GPIO_EXIT. 937 937 938 938 (% style="color:blue" %)**AT Command: AT+INTMOD1,AT+INTMOD2,AT+INTMOD3** ... ... @@ -969,6 +969,8 @@ 969 969 * Example 3: Downlink Payload: 06000102 **~-~-->** AT+INTMOD2=2 970 970 * Example 4: Downlink Payload: 06000201 **~-~-->** AT+INTMOD3=1 971 971 983 +=== === 984 + 972 972 === 3.3.4 Set Power Output Duration === 973 973 974 974 Control the output duration 5V . Before each sampling, device will ... ... @@ -998,9 +998,11 @@ 998 998 999 999 The first and second bytes are the time to turn on. 1000 1000 1001 -* Example 1: Downlink Payload: 070000 1002 -* Example 2: Downlink Payload: 0701F4 1014 +* Example 1: Downlink Payload: 070000 **~-~-->** AT+5VT=0 1015 +* Example 2: Downlink Payload: 0701F4 **~-~-->** AT+5VT=500 1003 1003 1017 +=== === 1018 + 1004 1004 === 3.3.5 Set Weighing parameters === 1005 1005 1006 1006 Feature: Working mode 5 is effective, weight initialization and weight factor setting of HX711. ... ... @@ -1015,7 +1015,6 @@ 1015 1015 1016 1016 (% style="color:blue" %)**Downlink Command: 0x08** 1017 1017 1018 - 1019 1019 Format: Command Code (0x08) followed by 2 bytes or 4 bytes. 1020 1020 1021 1021 Use AT+WEIGRE when the first byte is 1, only 1 byte. When it is 2, use AT+WEIGAP, there are 3 bytes. ... ... @@ -1026,6 +1026,8 @@ 1026 1026 * Example 2: Downlink Payload: 08020FA3 **~-~-->** AT+WEIGAP=400.3 1027 1027 * Example 3: Downlink Payload: 08020FA0 **~-~-->** AT+WEIGAP=400.0 1028 1028 1043 +=== === 1044 + 1029 1029 === 3.3.6 Set Digital pulse count value === 1030 1030 1031 1031 Feature: Set the pulse count value. ... ... @@ -1041,7 +1041,6 @@ 1041 1041 1042 1042 (% style="color:blue" %)**Downlink Command: 0x09** 1043 1043 1044 - 1045 1045 Format: Command Code (0x09) followed by 5 bytes. 1046 1046 1047 1047 The first byte is to select which count value to initialize, and the next four bytes are the count value to be initialized. ... ... @@ -1049,6 +1049,8 @@ 1049 1049 * Example 1: Downlink Payload: 090100000000 **~-~-->** AT+SETCNT=1,0 1050 1050 * Example 2: Downlink Payload: 0902000003E8 **~-~-->** AT+SETCNT=2,1000 1051 1051 1067 +=== === 1068 + 1052 1052 === 3.3.7 Set Workmode === 1053 1053 1054 1054 Feature: Switch working mode. ... ... @@ -1068,12 +1068,13 @@ 1068 1068 1069 1069 (% style="color:blue" %)**Downlink Command: 0x0A** 1070 1070 1071 - 1072 1072 Format: Command Code (0x0A) followed by 1 bytes. 1073 1073 1074 1074 * Example 1: Downlink Payload: 0A01 **~-~-->** AT+MOD=1 1075 1075 * Example 2: Downlink Payload: 0A04 **~-~-->** AT+MOD=4 1076 1076 1093 += = 1094 + 1077 1077 = 4. Battery & Power Consumption = 1078 1078 1079 1079 ... ... @@ -1147,4 +1147,4 @@ 1147 1147 1148 1148 1149 1149 * 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. 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.c om>>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]]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]]
- image-20230515135611-1.jpeg
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +948.0 KB - Content