<
From version < 44.2 >
edited by Xiaoling
on 2023/05/18 08:57
To version < 45.1 >
edited by Saxer Lin
on 2023/05/23 17:48
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Xiaoling
1 +XWiki.Saxer
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  
... ... @@ -136,7 +136,7 @@
136 136  [[image:Main.User Manual for LoRaWAN End Nodes.D20-LBD22-LBD23-LB_LoRaWAN_Temperature_Sensor_User_Manual.WebHome@1675143909447-639.png]]
137 137  
138 138  
139 -== Hole Option ==
142 +== 1.9 Hole Option ==
140 140  
141 141  
142 142  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:
... ... @@ -151,7 +151,7 @@
151 151  == 2.1 How it works ==
152 152  
153 153  
154 -The SN50v3-LB is configured as (% style="color:#037691" %)**LoRaWAN OTAA Class A**(%%) mode by default. It has OTAA keys to join LoRaWAN network. To connect a local LoRaWAN network, you need to input the OTAA keys in the LoRaWAN IoT server and press the button to activate the S31x-LB. It will automatically join the network via OTAA and start to send the sensor value. The default uplink interval is 20 minutes.
157 +The SN50v3-LB is configured as (% style="color:#037691" %)**LoRaWAN OTAA Class A**(%%) mode by default. It has OTAA keys to join LoRaWAN network. To connect a local LoRaWAN network, you need to input the OTAA keys in the LoRaWAN IoT server and press the button to activate the SN50v3-LB. It will automatically join the network via OTAA and start to send the sensor value. The default uplink interval is 20 minutes.
155 155  
156 156  
157 157  == 2.2 ​Quick guide to connect to LoRaWAN server (OTAA) ==
... ... @@ -159,7 +159,7 @@
159 159  
160 160  Following is an example for how to join the [[TTN v3 LoRaWAN Network>>url:https://console.cloud.thethings.network/]]. Below is the network structure; we use the [[LPS8v2>>url:https://www.dragino.com/products/lora-lorawan-gateway/item/228-lps8v2.html]] as a LoRaWAN gateway in this example.
161 161  
162 -The LPS8V2 is already set to connected to [[TTN network >>url:https://console.cloud.thethings.network/]], so what we need to now is configure the TTN server.
165 +The LPS8v2 is already set to connected to [[TTN network >>url:https://console.cloud.thethings.network/]], so what we need to now is configure the TTN server.
163 163  
164 164  
165 165  (% style="color:blue" %)**Step 1:**(%%) Create a device in TTN with the OTAA keys from SN50v3-LB.
... ... @@ -208,7 +208,7 @@
208 208  === 2.3.1 Device Status, FPORT~=5 ===
209 209  
210 210  
211 -Users can use the downlink command(**0x26 01**) to ask SN50v3 to send device configure detail, include device configure status. SN50v3 will uplink a payload via FPort=5 to server.
214 +Users can use the downlink command(**0x26 01**) to ask SN50v3-LB to send device configure detail, include device configure status. SN50v3-LB will uplink a payload via FPort=5 to server.
212 212  
213 213  The Payload format is as below.
214 214  
... ... @@ -221,7 +221,7 @@
221 221  Example parse in TTNv3
222 222  
223 223  
224 -(% style="color:#037691" %)**Sensor Model**(%%): For SN50v3, this value is 0x1C
227 +(% style="color:#037691" %)**Sensor Model**(%%): For SN50v3-LB, this value is 0x1C
225 225  
226 226  (% style="color:#037691" %)**Firmware Version**(%%): 0x0100, Means: v1.0.0 version
227 227  
... ... @@ -286,7 +286,7 @@
286 286  
287 287  (% style="color:red" %) **Important Notice:**
288 288  
289 -~1. Some working modes has payload more than 12 bytes, The US915/AU915/AS923 frequency bands' definition has maximum 11 bytes in (% style="color:blue" %)**DR0**(%%). Server sides will see NULL payload while SN50v3 transmit in DR0 with 12 bytes payload.
292 +~1. Some working modes has payload more than 12 bytes, The US915/AU915/AS923 frequency bands' definition has maximum 11 bytes in (% style="color:blue" %)**DR0**(%%). Server sides will see NULL payload while SN50v3-LB transmit in DR0 with 12 bytes payload.
290 290  
291 291  2. All modes share the same Payload Explanation from HERE.
292 292  
... ... @@ -315,7 +315,6 @@
315 315  [[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"]]
316 316  
317 317  
318 -
319 319  ==== 2.3.2.2  MOD~=2 (Distance Mode) ====
320 320  
321 321  
... ... @@ -427,10 +427,10 @@
427 427  
428 428  [[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/1656377606181-607.png?rev=1.1||alt="1656377606181-607.png"]]
429 429  
432 +
430 430  [[image:image-20230513134006-1.png||height="559" width="736"]]
431 431  
432 432  
433 -
434 434  ==== 2.3.2.5  MOD~=5(Weight Measurement by HX711) ====
435 435  
436 436  
... ... @@ -498,7 +498,6 @@
498 498  [[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"]]
499 499  
500 500  
501 -
502 502  ==== 2.3.2.7  MOD~=7 (Three interrupt contact modes) ====
503 503  
504 504  
... ... @@ -708,7 +708,7 @@
708 708  [[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"]]
709 709  
710 710  
711 -In MOD=1, user can use byte 6 to see the status for door open or close. TTN V3 decoder is as below:
712 +In **MOD=1**, user can use byte 6 to see the status for door open or close. TTN V3 decoder is as below:
712 712  
713 713  door= (bytes[6] & 0x80)? "CLOSE":"OPEN";
714 714  
... ... @@ -727,6 +727,7 @@
727 727  
728 728  [[image:image-20230513103633-3.png||height="448" width="716"]]
729 729  
731 +
730 730  The device will be able to get the I2C sensor data now and upload to IoT Server.
731 731  
732 732  [[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/1656379664142-345.png?rev=1.1||alt="1656379664142-345.png"]]
... ... @@ -774,7 +774,7 @@
774 774  ==== 2.3.3.9  Battery Output - BAT pin ====
775 775  
776 776  
777 -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.
779 +The BAT pin of SN50v3-LB 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.
778 778  
779 779  
780 780  ==== 2.3.3.10  +5V Output ====
... ... @@ -788,7 +788,7 @@
788 788  
789 789  Means set 5V valid time to have 1000ms. So the real 5V output will actually have 1000ms + sampling time for other sensors.
790 790  
791 -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.
793 +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.
792 792  
793 793  
794 794  ==== 2.3.3.11  BH1750 Illumination Sensor ====
... ... @@ -821,6 +821,7 @@
821 821  * 7: MOD8
822 822  * 8: MOD9
823 823  
826 +
824 824  == 2.4 Payload Decoder file ==
825 825  
826 826  
... ... @@ -850,6 +850,7 @@
850 850  * 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]].
851 851  * LoRaWAN Downlink.  Instruction for different platforms: See [[IoT LoRaWAN Server>>http://wiki.dragino.com/xwiki/bin/view/Main/]] section.
852 852  
856 +
853 853  == 3.2 General Commands ==
854 854  
855 855  
... ... @@ -897,14 +897,15 @@
897 897  * Example 1: Downlink Payload: 0100001E  ~/~/  Set Transmit Interval (TDC) = 30 seconds
898 898  * Example 2: Downlink Payload: 0100003C  ~/~/  Set Transmit Interval (TDC) = 60 seconds
899 899  
904 +
900 900  === 3.3.2 Get Device Status ===
901 901  
902 902  
903 903  Send a LoRaWAN downlink to ask the device to send its status.
904 904  
905 -(% style="color:blue" %)**Downlink Payload:  **(%%)0x26 01
910 +(% style="color:blue" %)**Downlink Payload: 0x26 01**
906 906  
907 -Sensor will upload Device Status via FPORT=5. See payload section for detail.
912 +Sensor will upload Device Status via **FPORT=5**. See payload section for detail.
908 908  
909 909  
910 910  === 3.3.3 Set Interrupt Mode ===
... ... @@ -945,6 +945,7 @@
945 945  * Example 3: Downlink Payload: 06000102  **~-~-->**  AT+INTMOD2=2
946 946  * Example 4: Downlink Payload: 06000201  **~-~-->**  AT+INTMOD3=1
947 947  
953 +
948 948  === 3.3.4 Set Power Output Duration ===
949 949  
950 950  
... ... @@ -977,6 +977,7 @@
977 977  * Example 1: Downlink Payload: 070000  **~-~-->**  AT+5VT=0
978 978  * Example 2: Downlink Payload: 0701F4  **~-~-->**  AT+5VT=500
979 979  
986 +
980 980  === 3.3.5 Set Weighing parameters ===
981 981  
982 982  
... ... @@ -1002,6 +1002,7 @@
1002 1002  * Example 2: Downlink Payload: 08020FA3  **~-~-->**  AT+WEIGAP=400.3
1003 1003  * Example 3: Downlink Payload: 08020FA0  **~-~-->**  AT+WEIGAP=400.0
1004 1004  
1012 +
1005 1005  === 3.3.6 Set Digital pulse count value ===
1006 1006  
1007 1007  
... ... @@ -1025,6 +1025,7 @@
1025 1025  * Example 1: Downlink Payload: 090100000000  **~-~-->**  AT+SETCNT=1,0
1026 1026  * Example 2: Downlink Payload: 0902000003E8  **~-~-->**  AT+SETCNT=2,1000
1027 1027  
1036 +
1028 1028  === 3.3.7 Set Workmode ===
1029 1029  
1030 1030  
... ... @@ -1049,6 +1049,7 @@
1049 1049  * Example 1: Downlink Payload: 0A01  **~-~-->**  AT+MOD=1
1050 1050  * Example 2: Downlink Payload: 0A04  **~-~-->**  AT+MOD=4
1051 1051  
1061 +
1052 1052  = 4. Battery & Power Consumption =
1053 1053  
1054 1054  
... ... @@ -1061,20 +1061,20 @@
1061 1061  
1062 1062  
1063 1063  (% class="wikigeneratedid" %)
1064 -User can change firmware SN50v3-LB to:
1074 +**User can change firmware SN50v3-LB to:**
1065 1065  
1066 1066  * Change Frequency band/ region.
1067 1067  * Update with new features.
1068 1068  * Fix bugs.
1069 1069  
1070 -Firmware and changelog can be downloaded from : **[[Firmware download link>>url:https://www.dropbox.com/sh/kwqv57tp6pejias/AAAopYMATh1GM6fZ-VRCLrpDa?dl=0]]**
1080 +**Firmware and changelog can be downloaded from :** **[[Firmware download link>>url:https://www.dropbox.com/sh/kwqv57tp6pejias/AAAopYMATh1GM6fZ-VRCLrpDa?dl=0]]**
1071 1071  
1082 +**Methods to Update Firmware:**
1072 1072  
1073 -Methods to Update Firmware:
1074 -
1075 1075  * (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/]]
1076 1076  * 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]]**.
1077 1077  
1087 +
1078 1078  = 6. FAQ =
1079 1079  
1080 1080  == 6.1 Where can i find source code of SN50v3-LB? ==
... ... @@ -1083,6 +1083,7 @@
1083 1083  * **[[Hardware Source Files>>https://github.com/dragino/Lora/tree/master/LSN50/v3.0]].**
1084 1084  * **[[Software Source Code & Compile instruction>>https://github.com/dragino/SN50v3]].**
1085 1085  
1096 +
1086 1086  = 7. Order Info =
1087 1087  
1088 1088  
... ... @@ -1106,6 +1106,7 @@
1106 1106  * (% style="color:red" %)**20**(%%): With M20 waterproof cable hole
1107 1107  * (% style="color:red" %)**NH**(%%): No Hole
1108 1108  
1120 +
1109 1109  = 8. ​Packing Info =
1110 1110  
1111 1111  
... ... @@ -1120,6 +1120,7 @@
1120 1120  * Package Size / pcs : cm
1121 1121  * Weight / pcs : g
1122 1122  
1135 +
1123 1123  = 9. Support =
1124 1124  
1125 1125  
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0