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
-
... ... @@ -295,22 +295,17 @@ 295 295 In this mode, uplink payload includes in total 11 bytes. Uplink packets use FPORT=2. 296 296 297 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:1 91px;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**298 +|(% style="width:50px;background-color:#D9E2F3;color:#0070C0" %)**Size(bytes)**|(% style="width:20px;background-color:#D9E2F3;color:#0070C0" %)**2**|(% style="width:100px;background-color:#D9E2F3;color:#0070C0" %)**2**|(% style="width:40px;background-color:#D9E2F3;color:#0070C0" %)**2**|(% style="width:90px;background-color:#D9E2F3;color:#0070C0" %)**1**|(% style="width:130px;background-color:#D9E2F3;color:#0070C0" %)**2**|(% style="width:90px;background-color:#D9E2F3;color:#0070C0" %)**2** 299 299 |**Value**|Bat|(% style="width:191px" %)((( 300 -Temperature(DS18B20) 301 -(PC13) 300 +Temperature(DS18B20)(PC13) 302 302 )))|(% style="width:78px" %)((( 303 -ADC 304 -(PA4) 302 +ADC(PA4) 305 305 )))|(% style="width:216px" %)((( 306 -Digital in(PB15) & 307 -Digital Interrupt(PA8) 304 +Digital in(PB15)&Digital Interrupt(PA8) 308 308 )))|(% style="width:308px" %)((( 309 -Temperature 310 -(SHT20 or SHT31 or BH1750 Illumination Sensor) 306 +Temperature(SHT20 or SHT31 or BH1750 Illumination Sensor) 311 311 )))|(% style="width:154px" %)((( 312 -Humidity 313 -(SHT20 or SHT31) 308 +Humidity(SHT20 or SHT31) 314 314 ))) 315 315 316 316 [[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-20220627150949-6.png?rev=1.1||alt="image-20220627150949-6.png"]] ... ... @@ -320,34 +320,26 @@ 320 320 321 321 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. 322 322 323 -(% style="width: 1011px" %)324 -|**Size(bytes)**|**2**|(% style="width:1 96px" %)**2**|(% style="width:87px" %)**2**|(% style="width:189px" %)**1**|(% style="width:208px" %)**2**|(% style="width:117px" %)**2**318 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %) 319 +|(% style="width:40px;background-color:#D9E2F3;color:#0070C0" %)**Size(bytes)**|(% style="width:40px;background-color:#D9E2F3;color:#0070C0" %)**2**|(% style="width:110px;background-color:#D9E2F3;color:#0070C0" %)**2**|(% style="width:40px;background-color:#D9E2F3;color:#0070C0" %)**2**|(% style="width:110px;background-color:#D9E2F3;color:#0070C0" %)**1**|(% style="width:140px;background-color:#D9E2F3;color:#0070C0" %)**2**|(% style="width:40px;background-color:#D9E2F3;color:#0070C0" %)**2** 325 325 |**Value**|BAT|(% style="width:196px" %)((( 326 -Temperature(DS18B20) 327 - 328 -(PC13) 321 +Temperature(DS18B20)(PC13) 329 329 )))|(% style="width:87px" %)((( 330 -ADC 331 - 332 -(PA4) 323 +ADC(PA4) 333 333 )))|(% style="width:189px" %)((( 334 -Digital in(PB15) & 335 - 336 -Digital Interrupt(PA8) 325 +Digital in(PB15) & Digital Interrupt(PA8) 337 337 )))|(% style="width:208px" %)((( 338 -Distance measure by: 339 -1) LIDAR-Lite V3HP 340 -Or 341 -2) Ultrasonic Sensor 327 +Distance measure by:1) LIDAR-Lite V3HP 328 +Or 2) Ultrasonic Sensor 342 342 )))|(% style="width:117px" %)Reserved 343 343 344 344 [[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"]] 345 345 346 -**Connection of LIDAR-Lite V3HP:** 333 +(% style="color:blue" %)**Connection of LIDAR-Lite V3HP:** 347 347 348 348 [[image:image-20230512173758-5.png||height="563" width="712"]] 349 349 350 -**Connection to Ultrasonic Sensor:** 337 +(% style="color:blue" %)**Connection to Ultrasonic Sensor:** 351 351 352 352 Need to remove R1 and R2 resistors to get low power,otherwise there will be 240uA standby current. 353 353 ... ... @@ -355,24 +355,17 @@ 355 355 356 356 For the connection to TF-Mini or TF-Luna , MOD2 payload is as below: 357 357 358 -(% style="width: 1113px" %)359 -|**Size(bytes)**|**2**|(% style="width:1 83px" %)**2**|(% style="width:173px" %)**1**|(% style="width:84px" %)**2**|(% style="width:323px" %)**2**|(% style="width:188px" %)**2**345 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %) 346 +|(% style="width:50px" %)**Size(bytes)**|(% style="width:20px" %)**2**|(% style="width:100px" %)**2**|(% style="width:100px" %)**1**|(% style="width:50px" %)**2**|(% style="width:120px" %)**2**|(% style="width:80px" %)**2** 360 360 |**Value**|BAT|(% style="width:183px" %)((( 361 -Temperature(DS18B20) 362 - 363 -(PC13) 348 +Temperature(DS18B20)(PC13) 364 364 )))|(% style="width:173px" %)((( 365 -Digital in(PB15) & 366 - 367 -Digital Interrupt(PA8) 350 +Digital in(PB15) & Digital Interrupt(PA8) 368 368 )))|(% style="width:84px" %)((( 369 -ADC 370 - 371 -(PA4) 352 +ADC(PA4) 372 372 )))|(% style="width:323px" %)((( 373 373 Distance measure by:1)TF-Mini plus LiDAR 374 -Or 375 -2) TF-Luna LiDAR 355 +Or 2) TF-Luna LiDAR 376 376 )))|(% style="width:188px" %)Distance signal strength 377 377 378 378 [[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"]] ... ... @@ -400,25 +400,20 @@ 400 400 )))|=(% style="width: 68px;" %)**2**|=(% style="width: 75px;" %)**2**|=**2**|=**1**|=(% style="width: 304px;" %)2|=(% style="width: 163px;" %)2|=(% style="width: 53px;" %)1 401 401 |**Value**|(% style="width:68px" %)((( 402 402 ADC1 403 - 404 404 (PA4) 405 405 )))|(% style="width:75px" %)((( 406 406 ADC2 407 - 408 408 (PA5) 409 409 )))|((( 410 410 ADC3 411 - 412 412 (PA8) 413 413 )))|((( 414 414 Digital Interrupt(PB15) 415 415 )))|(% style="width:304px" %)((( 416 416 Temperature 417 - 418 418 (SHT20 or SHT31 or BH1750 Illumination Sensor) 419 419 )))|(% style="width:163px" %)((( 420 420 Humidity 421 - 422 422 (SHT20 or SHT31) 423 423 )))|(% style="width:53px" %)Bat 424 424 ... ... @@ -437,11 +437,9 @@ 437 437 (PC13) 438 438 )))|(% style="width:82px" %)((( 439 439 ADC 440 - 441 441 (PA4) 442 442 )))|(% style="width:210px" %)((( 443 443 Digital in(PB15) & 444 - 445 445 Digital Interrupt(PA8) 446 446 )))|(% style="width:191px" %)Temperature2(DS18B20) 447 447 (PB9)|(% style="width:183px" %)Temperature3(DS18B20) ... ... @@ -478,17 +478,12 @@ 478 478 )))|=**2**|=(% style="width: 193px;" %)**2**|=(% style="width: 85px;" %)**2**|=(% style="width: 186px;" %)**1**|=(% style="width: 100px;" %)**4** 479 479 |**Value**|BAT|(% style="width:193px" %)((( 480 480 Temperature(DS18B20) 481 - 482 482 (PC13) 483 - 484 - 485 485 )))|(% style="width:85px" %)((( 486 486 ADC 487 - 488 488 (PA4) 489 489 )))|(% style="width:186px" %)((( 490 490 Digital in(PB15) & 491 - 492 492 Digital Interrupt(PA8) 493 493 )))|(% style="width:100px" %)Weight 494 494 ... ... @@ -513,15 +513,12 @@ 513 513 (PC13) 514 514 )))|(% style="width:108px" %)((( 515 515 ADC 516 - 517 517 (PA4) 518 518 )))|(% style="width:126px" %)((( 519 519 Digital in 520 - 521 521 (PB15) 522 522 )))|(% style="width:145px" %)((( 523 523 Count 524 - 525 525 (PA8) 526 526 ))) 527 527 ... ... @@ -536,11 +536,9 @@ 536 536 )))|=**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 537 537 |**Value**|BAT|(% style="width:188px" %)((( 538 538 Temperature(DS18B20) 539 - 540 540 (PC13) 541 541 )))|(% style="width:83px" %)((( 542 542 ADC 543 - 544 544 (PA5) 545 545 )))|(% style="width:184px" %)((( 546 546 Digital Interrupt1(PA8) ... ... @@ -556,21 +556,17 @@ 556 556 )))|=**2**|=(% style="width: 207px;" %)**2**|=(% style="width: 94px;" %)**2**|=(% style="width: 198px;" %)**1**|=(% style="width: 84px;" %)**2**|=(% style="width: 82px;" %)2 557 557 |**Value**|BAT|(% style="width:207px" %)((( 558 558 Temperature(DS18B20) 559 - 560 560 (PC13) 561 561 )))|(% style="width:94px" %)((( 562 562 ADC1 563 - 564 564 (PA4) 565 565 )))|(% style="width:198px" %)((( 566 566 Digital Interrupt(PB15) 567 567 )))|(% style="width:84px" %)((( 568 568 ADC2 569 - 570 570 (PA5) 571 571 )))|(% style="width:82px" %)((( 572 572 ADC3 573 - 574 574 (PA8) 575 575 ))) 576 576 ... ... @@ -585,27 +585,21 @@ 585 585 )))|=**2**|=**2**|=**2**|=**1**|=(% style="width: 193px;" %)**2**|=(% style="width: 78px;" %)4|=(% style="width: 78px;" %)4 586 586 |**Value**|BAT|((( 587 587 Temperature1(DS18B20) 588 - 589 589 (PC13) 590 590 )))|((( 591 591 Temperature2(DS18B20) 592 - 593 593 (PB9) 594 594 )))|((( 595 595 Digital Interrupt 596 - 597 597 (PB15) 598 598 )))|(% style="width:193px" %)((( 599 599 Temperature3(DS18B20) 600 - 601 601 (PB8) 602 602 )))|(% style="width:78px" %)((( 603 603 Count1 604 - 605 605 (PA8) 606 606 )))|(% style="width:78px" %)((( 607 607 Count2 608 - 609 609 (PA4) 610 610 ))) 611 611 ... ... @@ -677,9 +677,7 @@ 677 677 ((( 678 678 When the digital interrupt pin is set to AT+INTMODx=0, this pin is used as a digital input pin. 679 679 680 -**Note:**The maximum voltage input supports 3.6V. 681 - 682 - 633 +(% style="color:red" %)**Note:**The maximum voltage input supports 3.6V. 683 683 ))) 684 684 685 685 ==== 2.3.3.4 Analogue Digital Converter (ADC) ==== ... ... @@ -690,7 +690,7 @@ 690 690 691 691 [[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"]] 692 692 693 -**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. 644 +(% 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. 694 694 695 695 696 696 ==== 2.3.3.5 Digital Interrupt ==== ... ... @@ -697,11 +697,11 @@ 697 697 698 698 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. 699 699 700 -**~ Interrupt connection method:** 651 +(% style="color:blue" %)**~ Interrupt connection method:** 701 701 702 702 [[image:image-20230513105351-5.png||height="147" width="485"]] 703 703 704 -**Example to use with door sensor :** 655 +(% style="color:blue" %)**Example to use with door sensor :** 705 705 706 706 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. 707 707 ... ... @@ -709,7 +709,7 @@ 709 709 710 710 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. 711 711 712 -**~ Below is the installation example:** 663 +(% style="color:blue" %)**~ Below is the installation example:** 713 713 714 714 Fix one piece of the magnetic sensor to the door and connect the two pins to SN50_v3 as follows: 715 715 ... ... @@ -734,7 +734,7 @@ 734 734 735 735 The command is: 736 736 737 -**AT+INTMOD1=1 688 +(% 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]]**. **) 738 738 739 739 Below shows some screen captures in TTN V3: 740 740 ... ... @@ -811,7 +811,7 @@ 811 811 812 812 The 5V output time can be controlled by AT Command. 813 813 814 -**AT+5VT=1000** 765 +(% style="color:blue" %)**AT+5VT=1000** 815 815 816 816 Means set 5V valid time to have 1000ms. So the real 5V output will actually have 1000ms + sampling time for other sensors. 817 817 ... ... @@ -846,8 +846,8 @@ 846 846 * 7: MOD8 847 847 * 8: MOD9 848 848 849 -== == 850 850 801 + 851 851 == 2.4 Payload Decoder file == 852 852 853 853 ... ... @@ -924,8 +924,8 @@ 924 924 * Example 1: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds 925 925 * Example 2: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 926 926 927 -=== === 928 928 879 + 929 929 === 3.3.2 Get Device Status === 930 930 931 931 Send a LoRaWAN downlink to ask the device to send its status. ... ... @@ -973,8 +973,8 @@ 973 973 * Example 3: Downlink Payload: 06000102 **~-~-->** AT+INTMOD2=2 974 974 * Example 4: Downlink Payload: 06000201 **~-~-->** AT+INTMOD3=1 975 975 976 -=== === 977 977 928 + 978 978 === 3.3.4 Set Power Output Duration === 979 979 980 980 Control the output duration 5V . Before each sampling, device will ... ... @@ -991,7 +991,6 @@ 991 991 |=(% style="width: 154px;background-color:#D9E2F3" %)**Command Example**|=(% style="width: 196px;background-color:#D9E2F3" %)**Function**|=(% style="width: 157px;background-color:#D9E2F3" %)**Response** 992 992 |(% style="width:154px" %)AT+5VT=?|(% style="width:196px" %)Show 5V open time.|(% style="width:157px" %)((( 993 993 500(default) 994 - 995 995 OK 996 996 ))) 997 997 |(% style="width:154px" %)AT+5VT=1000|(% style="width:196px" %)((( ... ... @@ -1007,8 +1007,8 @@ 1007 1007 * Example 1: Downlink Payload: 070000 **~-~-->** AT+5VT=0 1008 1008 * Example 2: Downlink Payload: 0701F4 **~-~-->** AT+5VT=500 1009 1009 1010 -=== === 1011 1011 961 + 1012 1012 === 3.3.5 Set Weighing parameters === 1013 1013 1014 1014 Feature: Working mode 5 is effective, weight initialization and weight factor setting of HX711. ... ... @@ -1033,8 +1033,8 @@ 1033 1033 * Example 2: Downlink Payload: 08020FA3 **~-~-->** AT+WEIGAP=400.3 1034 1034 * Example 3: Downlink Payload: 08020FA0 **~-~-->** AT+WEIGAP=400.0 1035 1035 1036 -=== === 1037 1037 987 + 1038 1038 === 3.3.6 Set Digital pulse count value === 1039 1039 1040 1040 Feature: Set the pulse count value. ... ... @@ -1057,8 +1057,8 @@ 1057 1057 * Example 1: Downlink Payload: 090100000000 **~-~-->** AT+SETCNT=1,0 1058 1058 * Example 2: Downlink Payload: 0902000003E8 **~-~-->** AT+SETCNT=2,1000 1059 1059 1060 -=== === 1061 1061 1011 + 1062 1062 === 3.3.7 Set Workmode === 1063 1063 1064 1064 Feature: Switch working mode. ... ... @@ -1072,7 +1072,6 @@ 1072 1072 ))) 1073 1073 |(% style="width:154px" %)AT+MOD=4|(% style="width:196px" %)Set the working mode to 3DS18B20s.|(% style="width:157px" %)((( 1074 1074 OK 1075 - 1076 1076 Attention:Take effect after ATZ 1077 1077 ))) 1078 1078 ... ... @@ -1083,8 +1083,8 @@ 1083 1083 * Example 1: Downlink Payload: 0A01 **~-~-->** AT+MOD=1 1084 1084 * Example 2: Downlink Payload: 0A04 **~-~-->** AT+MOD=4 1085 1085 1086 -= = 1087 1087 1036 + 1088 1088 = 4. Battery & Power Consumption = 1089 1089 1090 1090 ... ... @@ -1158,4 +1158,5 @@ 1158 1158 1159 1159 1160 1160 * 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. 1110 + 1161 1161 * 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]]