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
-
... ... @@ -41,6 +41,7 @@ 41 41 * Downlink to change configure 42 42 * 8500mAh Battery for long term use 43 43 44 + 44 44 == 1.3 Specification == 45 45 46 46 ... ... @@ -78,6 +78,7 @@ 78 78 * Sleep Mode: 5uA @ 3.3v 79 79 * LoRa Transmit Mode: 125mA @ 20dBm, 82mA @ 14dBm 80 80 82 + 81 81 == 1.4 Sleep mode and working mode == 82 82 83 83 ... ... @@ -105,6 +105,7 @@ 105 105 ))) 106 106 |(% 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. 107 107 110 + 108 108 == 1.6 BLE connection == 109 109 110 110 ... ... @@ -290,6 +290,7 @@ 290 290 1. All modes share the same Payload Explanation from HERE. 291 291 1. By default, the device will send an uplink message every 20 minutes. 292 292 296 + 293 293 ==== 2.3.2.1 MOD~=1 (Default Mode) ==== 294 294 295 295 ... ... @@ -700,7 +700,6 @@ 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,13 +737,11 @@ 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. ... ... @@ -754,7 +754,6 @@ 754 754 755 755 [[image:image-20230512173903-6.png||height="596" width="715"]] 756 756 757 - 758 758 Connect to the SN50_v3 and run (% style="color:blue" %)**AT+MOD=2**(%%) to switch to ultrasonic mode (ULT). 759 759 760 760 The ultrasonic sensor uses the 8^^th^^ and 9^^th^^ byte for the measurement value. ... ... @@ -764,15 +764,14 @@ 764 764 Distance: Read: 0C2D(Hex) = 3117(D) Value: 3117 mm=311.7 cm 765 765 766 766 766 + 767 767 ==== 2.3.3.9 Battery Output - BAT pin ==== 768 768 769 - 770 770 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. 771 771 772 772 773 773 ==== 2.3.3.10 +5V Output ==== 774 774 775 - 776 776 SN50v3 will enable +5V output before all sampling and disable the +5v after all sampling. 777 777 778 778 The 5V output time can be controlled by AT Command. ... ... @@ -784,20 +784,18 @@ 784 784 By default the AT+5VT=500. If the external sensor which require 5v and require more time to get stable state, user can use this command to increase the power ON duration for this sensor. 785 785 786 786 785 + 787 787 ==== 2.3.3.11 BH1750 Illumination Sensor ==== 788 788 789 - 790 790 MOD=1 support this sensor. The sensor value is in the 8^^th^^ and 9^^th^^ bytes. 791 791 792 792 [[image:image-20230512172447-4.png||height="416" width="712"]] 793 793 794 - 795 795 [[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"]] 796 796 797 797 798 798 ==== 2.3.3.12 Working MOD ==== 799 799 800 - 801 801 The working MOD info is contained in the Digital in & Digital Interrupt byte (7^^th^^ Byte). 802 802 803 803 User can use the 3^^rd^^ ~~ 7^^th^^ bit of this byte to see the working mod: ... ... @@ -814,8 +814,6 @@ 814 814 * 7: MOD8 815 815 * 8: MOD9 816 816 817 - 818 - 819 819 == 2.4 Payload Decoder file == 820 820 821 821 ... ... @@ -826,6 +826,7 @@ 826 826 [[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]] 827 827 828 828 823 + 829 829 == 2.5 Frequency Plans == 830 830 831 831 ... ... @@ -845,8 +845,6 @@ 845 845 * AT Command via UART Connection : See [[UART Connection>>http://wiki.dragino.com/xwiki/bin/view/Main/UART%20Access%20for%20LoRa%20ST%20v4%20base%20model/#H2.3UARTConnectionforSN50v3basemotherboard]]. 846 846 * LoRaWAN Downlink. Instruction for different platforms: See [[IoT LoRaWAN Server>>http://wiki.dragino.com/xwiki/bin/view/Main/]] section. 847 847 848 - 849 - 850 850 == 3.2 General Commands == 851 851 852 852 ... ... @@ -868,7 +868,6 @@ 868 868 869 869 === 3.3.1 Set Transmit Interval Time === 870 870 871 - 872 872 Feature: Change LoRaWAN End Node Transmit Interval. 873 873 874 874 (% style="color:blue" %)**AT Command: AT+TDC** ... ... @@ -894,11 +894,8 @@ 894 894 * Example 1: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds 895 895 * Example 2: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 896 896 897 - 898 - 899 899 === 3.3.2 Get Device Status === 900 900 901 - 902 902 Send a LoRaWAN downlink to ask the device to send its status. 903 903 904 904 (% style="color:blue" %)**Downlink Payload: **(%%)0x26 01 ... ... @@ -908,7 +908,6 @@ 908 908 909 909 === 3.3.3 Set Interrupt Mode === 910 910 911 - 912 912 Feature, Set Interrupt mode for GPIO_EXIT. 913 913 914 914 (% style="color:blue" %)**AT Command: AT+INTMOD1,AT+INTMOD2,AT+INTMOD3** ... ... @@ -945,11 +945,8 @@ 945 945 * Example 3: Downlink Payload: 06000102 **~-~-->** AT+INTMOD2=2 946 946 * Example 4: Downlink Payload: 06000201 **~-~-->** AT+INTMOD3=1 947 947 948 - 949 - 950 950 === 3.3.4 Set Power Output Duration === 951 951 952 - 953 953 Control the output duration 5V . Before each sampling, device will 954 954 955 955 ~1. first enable the power output to external sensor, ... ... @@ -979,11 +979,8 @@ 979 979 * Example 1: Downlink Payload: 070000 **~-~-->** AT+5VT=0 980 980 * Example 2: Downlink Payload: 0701F4 **~-~-->** AT+5VT=500 981 981 982 - 983 - 984 984 === 3.3.5 Set Weighing parameters === 985 985 986 - 987 987 Feature: Working mode 5 is effective, weight initialization and weight factor setting of HX711. 988 988 989 989 (% style="color:blue" %)**AT Command: AT+WEIGRE,AT+WEIGAP** ... ... @@ -1006,11 +1006,8 @@ 1006 1006 * Example 2: Downlink Payload: 08020FA3 **~-~-->** AT+WEIGAP=400.3 1007 1007 * Example 3: Downlink Payload: 08020FA0 **~-~-->** AT+WEIGAP=400.0 1008 1008 1009 - 1010 - 1011 1011 === 3.3.6 Set Digital pulse count value === 1012 1012 1013 - 1014 1014 Feature: Set the pulse count value. 1015 1015 1016 1016 Count 1 is PA8 pin of mode 6 and mode 9. Count 2 is PA4 pin of mode 9. ... ... @@ -1031,11 +1031,8 @@ 1031 1031 * Example 1: Downlink Payload: 090100000000 **~-~-->** AT+SETCNT=1,0 1032 1032 * Example 2: Downlink Payload: 0902000003E8 **~-~-->** AT+SETCNT=2,1000 1033 1033 1034 - 1035 - 1036 1036 === 3.3.7 Set Workmode === 1037 1037 1038 - 1039 1039 Feature: Switch working mode. 1040 1040 1041 1041 (% style="color:blue" %)**AT Command: AT+MOD** ... ... @@ -1057,8 +1057,6 @@ 1057 1057 * Example 1: Downlink Payload: 0A01 **~-~-->** AT+MOD=1 1058 1058 * Example 2: Downlink Payload: 0A04 **~-~-->** AT+MOD=4 1059 1059 1060 - 1061 - 1062 1062 = 4. Battery & Power Consumption = 1063 1063 1064 1064 ... ... @@ -1085,18 +1085,13 @@ 1085 1085 * (Recommanded way) OTA firmware update via wireless: [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/Firmware%20OTA%20Update%20for%20Sensors/>>url:http://wiki.dragino.com/xwiki/bin/view/Main/Firmware%20OTA%20Update%20for%20Sensors/]] 1086 1086 * Update through UART TTL interface.**[[Instruction>>url:http://wiki.dragino.com/xwiki/bin/view/Main/UART%20Access%20for%20LoRa%20ST%20v4%20base%20model/#H1.LoRaSTv4baseHardware]]**. 1087 1087 1088 - 1089 - 1090 1090 = 6. FAQ = 1091 1091 1092 1092 == 6.1 Where can i find source code of SN50v3-LB? == 1093 1093 1094 - 1095 1095 * **[[Hardware Source Files>>https://github.com/dragino/Lora/tree/master/LSN50/v3.0]].** 1096 1096 * **[[Software Source Code & Compile instruction>>https://github.com/dragino/SN50v3]].** 1097 1097 1098 - 1099 - 1100 1100 = 7. Order Info = 1101 1101 1102 1102 ... ... @@ -1120,11 +1120,8 @@ 1120 1120 * (% style="color:red" %)**20**(%%): With M20 waterproof cable hole 1121 1121 * (% style="color:red" %)**NH**(%%): No Hole 1122 1122 1123 - 1124 - 1125 1125 = 8. Packing Info = 1126 1126 1127 - 1128 1128 (% style="color:#037691" %)**Package Includes**: 1129 1129 1130 1130 * SN50v3-LB LoRaWAN Generic Node ... ... @@ -1136,8 +1136,6 @@ 1136 1136 * Package Size / pcs : cm 1137 1137 * Weight / pcs : g 1138 1138 1139 - 1140 - 1141 1141 = 9. Support = 1142 1142 1143 1143