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
-
... ... @@ -42,6 +42,7 @@ 42 42 * 8500mAh Battery for long term use 43 43 44 44 45 + 45 45 == 1.3 Specification == 46 46 47 47 ... ... @@ -80,6 +80,7 @@ 80 80 * LoRa Transmit Mode: 125mA @ 20dBm, 82mA @ 14dBm 81 81 82 82 84 + 83 83 == 1.4 Sleep mode and working mode == 84 84 85 85 ... ... @@ -108,6 +108,7 @@ 108 108 |(% style="width:167px" %)Fast press ACT 5 times.|(% style="width:117px" %)Deactivate Device|(% style="width:225px" %)(% style="color:red" %)**Red led**(%%) will solid on for 5 seconds. Means device is in Deep Sleep Mode. 109 109 110 110 113 + 111 111 == 1.6 BLE connection == 112 112 113 113 ... ... @@ -294,6 +294,7 @@ 294 294 1. By default, the device will send an uplink message every 20 minutes. 295 295 296 296 300 + 297 297 ==== 2.3.2.1 MOD~=1 (Default Mode) ==== 298 298 299 299 ... ... @@ -615,7 +615,6 @@ 615 615 616 616 [[image:image-20230512180718-8.png||height="538" width="647"]] 617 617 618 - 619 619 (% style="color:blue" %)**Example**: 620 620 621 621 If payload is: 0105H: (0105 & 8000 == 0), temp = 0105H /10 = 26.1 degree ... ... @@ -627,7 +627,6 @@ 627 627 628 628 ==== 2.3.3.3 Digital Input ==== 629 629 630 - 631 631 The digital input for pin PB15, 632 632 633 633 * When PB15 is high, the bit 1 of payload byte 6 is 1. ... ... @@ -637,14 +637,11 @@ 637 637 ((( 638 638 When the digital interrupt pin is set to AT+INTMODx=0, this pin is used as a digital input pin. 639 639 640 -(% style="color:red" %)**Note: The maximum voltage input supports 3.6V.** 641 - 642 - 642 +(% style="color:red" %)**Note:**The maximum voltage input supports 3.6V. 643 643 ))) 644 644 645 645 ==== 2.3.3.4 Analogue Digital Converter (ADC) ==== 646 646 647 - 648 648 The measuring range of the ADC is only about 0V to 1.1V The voltage resolution is about 0.24mv. 649 649 650 650 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. ... ... @@ -651,12 +651,11 @@ 651 651 652 652 [[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"]] 653 653 654 -(% style="color:red" %)**Note: **653 +(% 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. 655 655 656 656 657 657 ==== 2.3.3.5 Digital Interrupt ==== 658 658 659 - 660 660 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. 661 661 662 662 (% style="color:blue" %)** Interrupt connection method:** ... ... @@ -663,7 +663,6 @@ 663 663 664 664 [[image:image-20230513105351-5.png||height="147" width="485"]] 665 665 666 - 667 667 (% style="color:blue" %)**Example to use with door sensor :** 668 668 669 669 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,9 +672,8 @@ 672 672 673 673 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. 674 674 672 +(% style="color:blue" %)** Below is the installation example:** 675 675 676 -(% style="color:blue" %)**Below is the installation example:** 677 - 678 678 Fix one piece of the magnetic sensor to the door and connect the two pins to SN50_v3 as follows: 679 679 680 680 * ((( ... ... @@ -686,7 +686,7 @@ 686 686 687 687 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. 688 688 689 -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.685 +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. 690 690 691 691 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. 692 692 ... ... @@ -810,6 +810,7 @@ 810 810 * 7: MOD8 811 811 * 8: MOD9 812 812 809 + 813 813 == 2.4 Payload Decoder file == 814 814 815 815 ... ... @@ -886,6 +886,7 @@ 886 886 * Example 1: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds 887 887 * Example 2: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 888 888 886 + 889 889 === 3.3.2 Get Device Status === 890 890 891 891 Send a LoRaWAN downlink to ask the device to send its status. ... ... @@ -933,6 +933,7 @@ 933 933 * Example 3: Downlink Payload: 06000102 **~-~-->** AT+INTMOD2=2 934 934 * Example 4: Downlink Payload: 06000201 **~-~-->** AT+INTMOD3=1 935 935 934 + 936 936 === 3.3.4 Set Power Output Duration === 937 937 938 938 Control the output duration 5V . Before each sampling, device will ... ... @@ -964,6 +964,7 @@ 964 964 * Example 1: Downlink Payload: 070000 **~-~-->** AT+5VT=0 965 965 * Example 2: Downlink Payload: 0701F4 **~-~-->** AT+5VT=500 966 966 966 + 967 967 === 3.3.5 Set Weighing parameters === 968 968 969 969 Feature: Working mode 5 is effective, weight initialization and weight factor setting of HX711. ... ... @@ -988,6 +988,7 @@ 988 988 * Example 2: Downlink Payload: 08020FA3 **~-~-->** AT+WEIGAP=400.3 989 989 * Example 3: Downlink Payload: 08020FA0 **~-~-->** AT+WEIGAP=400.0 990 990 991 + 991 991 === 3.3.6 Set Digital pulse count value === 992 992 993 993 Feature: Set the pulse count value. ... ... @@ -1010,6 +1010,7 @@ 1010 1010 * Example 1: Downlink Payload: 090100000000 **~-~-->** AT+SETCNT=1,0 1011 1011 * Example 2: Downlink Payload: 0902000003E8 **~-~-->** AT+SETCNT=2,1000 1012 1012 1014 + 1013 1013 === 3.3.7 Set Workmode === 1014 1014 1015 1015 Feature: Switch working mode. ... ... @@ -1033,6 +1033,7 @@ 1033 1033 * Example 1: Downlink Payload: 0A01 **~-~-->** AT+MOD=1 1034 1034 * Example 2: Downlink Payload: 0A04 **~-~-->** AT+MOD=4 1035 1035 1038 + 1036 1036 = 4. Battery & Power Consumption = 1037 1037 1038 1038