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 (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- 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 ... ... @@ -616,7 +616,7 @@ 616 616 617 617 ==== 2.3.3.2 Temperature (DS18B20) ==== 618 618 619 -If there is a DS18B20 connected to P C13 pin. The temperature will be uploaded in the payload.658 +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.686 +**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.697 +**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:**703 +**~ 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 :**707 +**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:**715 +**~ 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]]**. **)740 +**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**817 +**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 ... ... @@ -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) 995 + 959 959 OK 960 960 ))) 961 961 |(% style="width:154px" %)AT+5VT=1000|(% style="width:196px" %)((( ... ... @@ -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 1076 + 1039 1039 Attention:Take effect after ATZ 1040 1040 ))) 1041 1041 ... ... @@ -1121,5 +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 - 1125 -* 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]] 1162 +* 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]]