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
-
... ... @@ -30,7 +30,6 @@ 30 30 31 31 == 1.2 Features == 32 32 33 - 34 34 * LoRaWAN 1.0.3 Class A 35 35 * Ultra-low power consumption 36 36 * Open-Source hardware/software ... ... @@ -296,7 +296,7 @@ 296 296 In this mode, uplink payload includes in total 11 bytes. Uplink packets use FPORT=2. 297 297 298 298 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %) 299 -|(% style="background-color:# d9e2f3;c0; width:50px" %)**Size(bytes)**|(% style="background-color:#d9e2f3;c0; width:20px" %)**2**|(% style="background-color:#d9e2f3;c0; width:100px" %)**2**|(% style="background-color:#d9e2f3;c0; width:40px" %)**2**|(% style="background-color:#d9e2f3;c0; width:90px" %)**1**|(% style="background-color:#d9e2f3;c0; width:130px" %)**2**|(% style="background-color:#d9e2f3;c0; width:90px" %)**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** 300 300 |**Value**|Bat|(% style="width:191px" %)((( 301 301 Temperature(DS18B20)(PC13) 302 302 )))|(% style="width:78px" %)((( ... ... @@ -312,14 +312,12 @@ 312 312 [[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"]] 313 313 314 314 315 - 316 316 ==== 2.3.2.2 MOD~=2 (Distance Mode) ==== 317 317 318 - 319 319 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. 320 320 321 321 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %) 322 -|(% style="background-color:# d9e2f3;c0; width:40px" %)**Size(bytes)**|(% style="background-color:#d9e2f3;c0; width:40px" %)**2**|(% style="background-color:#d9e2f3;c0; width:110px" %)**2**|(% style="background-color:#d9e2f3;c0; width:40px" %)**2**|(% style="background-color:#d9e2f3;c0; width:110px" %)**1**|(% style="background-color:#d9e2f3;c0; width:140px" %)**2**|(% style="background-color:#d9e2f3;c0; width:40px" %)**2**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** 323 323 |**Value**|BAT|(% style="width:196px" %)((( 324 324 Temperature(DS18B20)(PC13) 325 325 )))|(% style="width:87px" %)((( ... ... @@ -333,12 +333,10 @@ 333 333 334 334 [[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"]] 335 335 336 - 337 337 (% style="color:blue" %)**Connection of LIDAR-Lite V3HP:** 338 338 339 339 [[image:image-20230512173758-5.png||height="563" width="712"]] 340 340 341 - 342 342 (% style="color:blue" %)**Connection to Ultrasonic Sensor:** 343 343 344 344 Need to remove R1 and R2 resistors to get low power,otherwise there will be 240uA standby current. ... ... @@ -345,11 +345,10 @@ 345 345 346 346 [[image:image-20230512173903-6.png||height="596" width="715"]] 347 347 348 - 349 349 For the connection to TF-Mini or TF-Luna , MOD2 payload is as below: 350 350 351 351 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %) 352 -|(% style="background-color:# d9e2f3;c0; width:50px" %)**Size(bytes)**|(% style="background-color:#d9e2f3;c0; width:20px" %)**2**|(% style="background-color:#d9e2f3;c0; width:100px" %)**2**|(% style="background-color:#d9e2f3;c0; width:100px" %)**1**|(% style="background-color:#d9e2f3;c0; width:50px" %)**2**|(% style="background-color:#d9e2f3;c0; width:120px" %)**2**|(% style="background-color:#d9e2f3;c0; width:80px" %)**2**346 +|(% 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:100px;background-color:#D9E2F3;color:#0070C0" %)**1**|(% style="width:50px;background-color:#D9E2F3;color:#0070C0" %)**2**|(% style="width:120px;background-color:#D9E2F3;color:#0070C0" %)**2**|(% style="width:80px;background-color:#D9E2F3;color:#0070C0" %)**2** 353 353 |**Value**|BAT|(% style="width:183px" %)((( 354 354 Temperature(DS18B20)(PC13) 355 355 )))|(% style="width:173px" %)((( ... ... @@ -364,7 +364,6 @@ 364 364 365 365 [[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"]] 366 366 367 - 368 368 **Connection to [[TF-Mini plus>>url:http://en.benewake.com/product/detail/5c345cd0e5b3a844c472329b.html]] LiDAR(UART version):** 369 369 370 370 Need to remove R3 and R4 resistors to get low power,otherwise there will be 400uA standby current. ... ... @@ -371,7 +371,6 @@ 371 371 372 372 [[image:image-20230512180609-7.png||height="555" width="802"]] 373 373 374 - 375 375 **Connection to [[TF-Luna>>url:http://en.benewake.com/product/detail/5e1c1fd04d839408076b6255.html]] LiDAR (UART version):** 376 376 377 377 Need to remove R3 and R4 resistors to get low power,otherwise there will be 400uA standby current. ... ... @@ -381,7 +381,6 @@ 381 381 382 382 ==== 2.3.2.3 MOD~=3 (3 ADC + I2C) ==== 383 383 384 - 385 385 This mode has total 12 bytes. Include 3 x ADC + 1x I2C 386 386 387 387 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %) ... ... @@ -411,7 +411,7 @@ 411 411 This mode has total 11 bytes. As shown below: 412 412 413 413 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %) 414 -|(% style="background-color:# d9e2f3;c0; width:50px" %)**Size(bytes)**|(% style="background-color:#d9e2f3;c0; width:20px" %)**2**|(% style="background-color:#d9e2f3;c0; width:100px" %)**2**|(% style="background-color:#d9e2f3;c0; width:50px" %)**2**|(% style="background-color:#d9e2f3;c0; width:100px" %)**1**|(% style="background-color:#d9e2f3;c0; width:100px" %)**2**|(% style="background-color:#d9e2f3;c0; width:100px" %)**2**405 +|(% 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: 50px;background-color:#D9E2F3;color:#0070C0" %)**2**|(% style="width: 100px;background-color:#D9E2F3;color:#0070C0" %)**1**|(% style="width: 100px;background-color:#D9E2F3;color:#0070C0" %)**2**|(% style="width: 100px;background-color:#D9E2F3;color:#0070C0" %)**2** 415 415 |**Value**|BAT|(% style="width:186px" %)((( 416 416 Temperature1(DS18B20)(PC13) 417 417 )))|(% style="width:82px" %)((( ... ... @@ -426,10 +426,8 @@ 426 426 [[image:image-20230513134006-1.png||height="559" width="736"]] 427 427 428 428 429 - 430 430 ==== 2.3.2.5 MOD~=5(Weight Measurement by HX711) ==== 431 431 432 - 433 433 [[image:image-20230512164658-2.png||height="532" width="729"]] 434 434 435 435 Each HX711 need to be calibrated before used. User need to do below two steps: ... ... @@ -465,10 +465,8 @@ 465 465 [[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"]] 466 466 467 467 468 - 469 469 ==== 2.3.2.6 MOD~=6 (Counting Mode) ==== 470 470 471 - 472 472 In this mode, the device will work in counting mode. It counts the interrupt on the interrupt pins and sends the count on TDC time. 473 473 474 474 Connection is as below. The PIR sensor is a count sensor, it will generate interrupt when people come close or go away. User can replace the PIR sensor with other counting sensors. ... ... @@ -475,7 +475,7 @@ 475 475 476 476 [[image:image-20230512181814-9.png||height="543" width="697"]] 477 477 478 -(% style="color:red" %)**Note:** **LoRaWAN wireless transmission will infect the PIR sensor. Which cause the counting value increase +1 for every uplink. User can change PIR sensor or put sensor away of the SN50_v3 to avoid this happen.**465 +(% style="color:red" %)**Note:** LoRaWAN wireless transmission will infect the PIR sensor. Which cause the counting value increase +1 for every uplink. User can change PIR sensor or put sensor away of the SN50_v3 to avoid this happen. 479 479 480 480 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %) 481 481 |=(% style="width: 50px;background-color:#D9E2F3;color:#0070C0" %)**Size(bytes)**|=(% style="width: 20px;background-color:#D9E2F3;color:#0070C0" %)**2**|=(% style="width: 220px;background-color:#D9E2F3;color:#0070C0" %)**2**|=(% style="width: 50px;background-color:#D9E2F3;color:#0070C0" %)**2**|=(% style="width: 100px;background-color:#D9E2F3;color:#0070C0" %)**1**|=(% style="width: 80px;background-color:#D9E2F3;color:#0070C0" %)**4** ... ... @@ -492,10 +492,8 @@ 492 492 [[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/1656378441509-171.png?rev=1.1||alt="1656378441509-171.png"]] 493 493 494 494 495 - 496 496 ==== 2.3.2.7 MOD~=7 (Three interrupt contact modes) ==== 497 497 498 - 499 499 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %) 500 500 |=(% style="width: 50px;background-color:#D9E2F3;color:#0070C0" %)((( 501 501 **Size(bytes)** ... ... @@ -511,10 +511,8 @@ 511 511 512 512 [[image:image-20230513111203-7.png||height="324" width="975"]] 513 513 514 - 515 515 ==== 2.3.2.8 MOD~=8 (3ADC+1DS18B20) ==== 516 516 517 - 518 518 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %) 519 519 |=(% style="width: 50px;background-color:#D9E2F3;color:#0070C0" %)((( 520 520 **Size(bytes)** ... ... @@ -537,7 +537,6 @@ 537 537 538 538 ==== 2.3.2.9 MOD~=9 (3DS18B20+ two Interrupt count mode) ==== 539 539 540 - 541 541 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %) 542 542 |=(% style="width: 50px;background-color:#D9E2F3;color:#0070C0" %)((( 543 543 **Size(bytes)** ... ... @@ -564,11 +564,11 @@ 564 564 565 565 (% style="color:blue" %)**The newly added AT command is issued correspondingly:** 566 566 567 -(% style="color:#037691" %)** AT+INTMOD1 PA8**(%%) pin: Corresponding downlink: (% style="color:#037691" %)**06 00 00 xx** 549 +(% style="color:#037691" %)**~ AT+INTMOD1 PA8**(%%) pin: Corresponding downlink: (% style="color:#037691" %)**06 00 00 xx** 568 568 569 -(% style="color:#037691" %)** AT+INTMOD2 PA4**(%%) pin: Corresponding downlink: (% style="color:#037691" %)**06 00 01 xx** 551 +(% style="color:#037691" %)**~ AT+INTMOD2 PA4**(%%) pin: Corresponding downlink: (% style="color:#037691" %)**06 00 01 xx** 570 570 571 -(% style="color:#037691" %)** AT+INTMOD3 PB15**(%%) pin: Corresponding downlink: (% style="color:#037691" %)** 06 00 02 xx** 553 +(% style="color:#037691" %)**~ AT+INTMOD3 PB15**(%%) pin: Corresponding downlink: (% style="color:#037691" %)** 06 00 02 xx** 572 572 573 573 574 574 (% style="color:blue" %)**AT+SETCNT=aa,bb** ... ... @@ -578,9 +578,9 @@ 578 578 When AA is 2, set the count of PA4 pin to BB Corresponding downlink:09 02 bb bb bb bb 579 579 580 580 563 + 581 581 === 2.3.3 Decode payload === 582 582 583 - 584 584 While using TTN V3 network, you can add the payload format to decode the payload. 585 585 586 586 [[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/1656378466788-734.png?rev=1.1||alt="1656378466788-734.png"]] ... ... @@ -592,7 +592,6 @@ 592 592 593 593 ==== 2.3.3.1 Battery Info ==== 594 594 595 - 596 596 Check the battery voltage for SN50v3. 597 597 598 598 Ex1: 0x0B45 = 2885mV ... ... @@ -602,16 +602,14 @@ 602 602 603 603 ==== 2.3.3.2 Temperature (DS18B20) ==== 604 604 605 - 606 606 If there is a DS18B20 connected to PC13 pin. The temperature will be uploaded in the payload. 607 607 608 -More DS18B20 can check the [[3 DS18B20 mode>> ||anchor="H2.3.2.4MOD3D4283xDS18B2029"]]588 +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]] 609 609 610 610 (% style="color:blue" %)**Connection:** 611 611 612 612 [[image:image-20230512180718-8.png||height="538" width="647"]] 613 613 614 - 615 615 (% style="color:blue" %)**Example**: 616 616 617 617 If payload is: 0105H: (0105 & 8000 == 0), temp = 0105H /10 = 26.1 degree ... ... @@ -623,7 +623,6 @@ 623 623 624 624 ==== 2.3.3.3 Digital Input ==== 625 625 626 - 627 627 The digital input for pin PB15, 628 628 629 629 * When PB15 is high, the bit 1 of payload byte 6 is 1. ... ... @@ -633,14 +633,11 @@ 633 633 ((( 634 634 When the digital interrupt pin is set to AT+INTMODx=0, this pin is used as a digital input pin. 635 635 636 -(% style="color:red" %)**Note: The maximum voltage input supports 3.6V.** 637 - 638 - 614 +(% style="color:red" %)**Note:**The maximum voltage input supports 3.6V. 639 639 ))) 640 640 641 641 ==== 2.3.3.4 Analogue Digital Converter (ADC) ==== 642 642 643 - 644 644 The measuring range of the ADC is only about 0V to 1.1V The voltage resolution is about 0.24mv. 645 645 646 646 When the measured output voltage of the sensor is not within the range of 0V and 1.1V, the output voltage terminal of the sensor shall be divided The example in the following figure is to reduce the output voltage of the sensor by three times If it is necessary to reduce more times, calculate according to the formula in the figure and connect the corresponding resistance in series. ... ... @@ -647,19 +647,17 @@ 647 647 648 648 [[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"]] 649 649 650 -(% style="color:red" %)**Note: **625 +(% 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. 651 651 652 652 653 653 ==== 2.3.3.5 Digital Interrupt ==== 654 654 655 - 656 656 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. 657 657 658 -(% style="color:blue" %)** Interrupt connection method:** 632 +(% style="color:blue" %)**~ Interrupt connection method:** 659 659 660 660 [[image:image-20230513105351-5.png||height="147" width="485"]] 661 661 662 - 663 663 (% style="color:blue" %)**Example to use with door sensor :** 664 664 665 665 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. ... ... @@ -668,9 +668,8 @@ 668 668 669 669 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. 670 670 644 +(% style="color:blue" %)**~ Below is the installation example:** 671 671 672 -(% style="color:blue" %)**Below is the installation example:** 673 - 674 674 Fix one piece of the magnetic sensor to the door and connect the two pins to SN50_v3 as follows: 675 675 676 676 * ((( ... ... @@ -682,7 +682,7 @@ 682 682 683 683 Install the other piece to the door. Find a place where the two pieces will be close to each other when the door is closed. For this particular magnetic sensor, when the door is closed, the output will be short, and PA8 will be at the VCC voltage. 684 684 685 -Door sensors have two types: (% style="color:blue" %)** NC (Normal close)**(%%)and(% style="color:blue" %)**NO (normal open)**(%%). The connection for both type sensors are the same. But the decoding for payload are reverse, user need to modify this in the IoT Server decoder.657 +Door sensors have two types: ** NC (Normal close)** and **NO (normal open)**. The connection for both type sensors are the same. But the decoding for payload are reverse, user need to modify this in the IoT Server decoder. 686 686 687 687 When door sensor is shorted, there will extra power consumption in the circuit, the extra current is 3v3/R14 = 3v3/1Mohm = 3uA which can be ignored. 688 688 ... ... @@ -694,13 +694,12 @@ 694 694 695 695 The command is: 696 696 697 -(% style="color:blue" %)**AT+INTMOD1=1 669 +(% 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]]**. **) 698 698 699 699 Below shows some screen captures in TTN V3: 700 700 701 701 [[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/1656379339508-835.png?rev=1.1||alt="1656379339508-835.png"]] 702 702 703 - 704 704 In MOD=1, user can use byte 6 to see the status for door open or close. TTN V3 decoder is as below: 705 705 706 706 door= (bytes[6] & 0x80)? "CLOSE":"OPEN"; ... ... @@ -708,7 +708,6 @@ 708 708 709 709 ==== 2.3.3.6 I2C Interface (SHT20 & SHT31) ==== 710 710 711 - 712 712 The SDA and SCK are I2C interface lines. You can use these to connect to an I2C device and get the sensor data. 713 713 714 714 We have made an example to show how to use the I2C interface to connect to the SHT20/ SHT31 Temperature and Humidity Sensor. ... ... @@ -737,26 +737,23 @@ 737 737 738 738 ==== 2.3.3.7 Distance Reading ==== 739 739 740 - 741 741 Refer [[Ultrasonic Sensor section>>||anchor="H2.3.3.8UltrasonicSensor"]]. 742 742 743 743 744 744 ==== 2.3.3.8 Ultrasonic Sensor ==== 745 745 746 - 747 747 This Fundamental Principles of this sensor can be found at this link: [[https:~~/~~/wiki.dfrobot.com/Weather_-_proof_Ultrasonic_Sensor_with_Separate_Probe_SKU~~_~~__SEN0208>>url:https://wiki.dfrobot.com/Weather_-_proof_Ultrasonic_Sensor_with_Separate_Probe_SKU___SEN0208]] 748 748 749 749 The SN50_v3 detects the pulse width of the sensor and converts it to mm output. The accuracy will be within 1 centimeter. The usable range (the distance between the ultrasonic probe and the measured object) is between 24cm and 600cm. 750 750 751 -The working principle of this sensor is similar to the (% style="color:blue" %) **HC-SR04**(%%) ultrasonic sensor.719 +The working principle of this sensor is similar to the **(% style="color:blue" %)HC-SR04**(%%) ultrasonic sensor. 752 752 753 753 The picture below shows the connection: 754 754 755 755 [[image:image-20230512173903-6.png||height="596" width="715"]] 756 756 725 +Connect to the SN50_v3 and run **(% style="color:blue" %)AT+MOD=2**(%%) to switch to ultrasonic mode (ULT). 757 757 758 -Connect to the SN50_v3 and run (% style="color:blue" %)**AT+MOD=2**(%%) to switch to ultrasonic mode (ULT). 759 - 760 760 The ultrasonic sensor uses the 8^^th^^ and 9^^th^^ byte for the measurement value. 761 761 762 762 **Example:** ... ... @@ -767,13 +767,11 @@ 767 767 768 768 ==== 2.3.3.9 Battery Output - BAT pin ==== 769 769 770 - 771 771 The BAT pin of SN50v3 is connected to the Battery directly. If users want to use BAT pin to power an external sensor. User need to make sure the external sensor is of low power consumption. Because the BAT pin is always open. If the external sensor is of high power consumption. the battery of SN50v3-LB will run out very soon. 772 772 773 773 774 774 ==== 2.3.3.10 +5V Output ==== 775 775 776 - 777 777 SN50v3 will enable +5V output before all sampling and disable the +5v after all sampling. 778 778 779 779 The 5V output time can be controlled by AT Command. ... ... @@ -788,7 +788,6 @@ 788 788 789 789 ==== 2.3.3.11 BH1750 Illumination Sensor ==== 790 790 791 - 792 792 MOD=1 support this sensor. The sensor value is in the 8^^th^^ and 9^^th^^ bytes. 793 793 794 794 [[image:image-20230512172447-4.png||height="416" width="712"]] ... ... @@ -814,6 +814,8 @@ 814 814 * 7: MOD8 815 815 * 8: MOD9 816 816 781 + 782 + 817 817 == 2.4 Payload Decoder file == 818 818 819 819 ... ... @@ -890,6 +890,8 @@ 890 890 * Example 1: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds 891 891 * Example 2: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 892 892 859 + 860 + 893 893 === 3.3.2 Get Device Status === 894 894 895 895 Send a LoRaWAN downlink to ask the device to send its status. ... ... @@ -937,6 +937,8 @@ 937 937 * Example 3: Downlink Payload: 06000102 **~-~-->** AT+INTMOD2=2 938 938 * Example 4: Downlink Payload: 06000201 **~-~-->** AT+INTMOD3=1 939 939 908 + 909 + 940 940 === 3.3.4 Set Power Output Duration === 941 941 942 942 Control the output duration 5V . Before each sampling, device will ... ... @@ -968,6 +968,8 @@ 968 968 * Example 1: Downlink Payload: 070000 **~-~-->** AT+5VT=0 969 969 * Example 2: Downlink Payload: 0701F4 **~-~-->** AT+5VT=500 970 970 941 + 942 + 971 971 === 3.3.5 Set Weighing parameters === 972 972 973 973 Feature: Working mode 5 is effective, weight initialization and weight factor setting of HX711. ... ... @@ -992,6 +992,8 @@ 992 992 * Example 2: Downlink Payload: 08020FA3 **~-~-->** AT+WEIGAP=400.3 993 993 * Example 3: Downlink Payload: 08020FA0 **~-~-->** AT+WEIGAP=400.0 994 994 967 + 968 + 995 995 === 3.3.6 Set Digital pulse count value === 996 996 997 997 Feature: Set the pulse count value. ... ... @@ -1014,6 +1014,8 @@ 1014 1014 * Example 1: Downlink Payload: 090100000000 **~-~-->** AT+SETCNT=1,0 1015 1015 * Example 2: Downlink Payload: 0902000003E8 **~-~-->** AT+SETCNT=2,1000 1016 1016 991 + 992 + 1017 1017 === 3.3.7 Set Workmode === 1018 1018 1019 1019 Feature: Switch working mode. ... ... @@ -1037,6 +1037,8 @@ 1037 1037 * Example 1: Downlink Payload: 0A01 **~-~-->** AT+MOD=1 1038 1038 * Example 2: Downlink Payload: 0A04 **~-~-->** AT+MOD=4 1039 1039 1016 + 1017 + 1040 1040 = 4. Battery & Power Consumption = 1041 1041 1042 1042