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 (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 6 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Xiaoling1 +XWiki.Saxer - Content
-
... ... @@ -42,7 +42,6 @@ 42 42 * 8500mAh Battery for long term use 43 43 44 44 45 - 46 46 == 1.3 Specification == 47 47 48 48 ... ... @@ -81,7 +81,6 @@ 81 81 * LoRa Transmit Mode: 125mA @ 20dBm, 82mA @ 14dBm 82 82 83 83 84 - 85 85 == 1.4 Sleep mode and working mode == 86 86 87 87 ... ... @@ -109,6 +109,7 @@ 109 109 ))) 110 110 |(% 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. 111 111 110 + 112 112 == 1.6 BLE connection == 113 113 114 114 ... ... @@ -127,7 +127,7 @@ 127 127 == 1.7 Pin Definitions == 128 128 129 129 130 -[[image:image-20230 513102034-2.png]]129 +[[image:image-20230610163213-1.png||height="404" width="699"]] 131 131 132 132 133 133 == 1.8 Mechanical == ... ... @@ -231,33 +231,33 @@ 231 231 232 232 (% style="color:#037691" %)**Frequency Band**: 233 233 234 - *0x01: EU868233 +0x01: EU868 235 235 236 - *0x02: US915235 +0x02: US915 237 237 238 - *0x03: IN865237 +0x03: IN865 239 239 240 - *0x04: AU915239 +0x04: AU915 241 241 242 - *0x05: KZ865241 +0x05: KZ865 243 243 244 - *0x06: RU864243 +0x06: RU864 245 245 246 - *0x07: AS923245 +0x07: AS923 247 247 248 - *0x08: AS923-1247 +0x08: AS923-1 249 249 250 - *0x09: AS923-2249 +0x09: AS923-2 251 251 252 - *0x0a: AS923-3251 +0x0a: AS923-3 253 253 254 - *0x0b: CN470253 +0x0b: CN470 255 255 256 - *0x0c: EU433255 +0x0c: EU433 257 257 258 - *0x0d: KR920257 +0x0d: KR920 259 259 260 - *0x0e: MA869259 +0x0e: MA869 261 261 262 262 263 263 (% style="color:#037691" %)**Sub-Band**: ... ... @@ -333,9 +333,8 @@ 333 333 )))|(% style="width:189px" %)((( 334 334 Digital in(PB15) & Digital Interrupt(PA8) 335 335 )))|(% style="width:208px" %)((( 336 -Distance measure by:1) LIDAR-Lite V3HP 337 -Or 338 -2) Ultrasonic Sensor 335 +Distance measure by: 1) LIDAR-Lite V3HP 336 +Or 2) Ultrasonic Sensor 339 339 )))|(% style="width:117px" %)Reserved 340 340 341 341 [[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"]] ... ... @@ -357,7 +357,7 @@ 357 357 358 358 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %) 359 359 |(% style="background-color:#d9e2f3; color:#0070c0; width:50px" %)**Size(bytes)**|(% style="background-color:#d9e2f3; color:#0070c0; width:20px" %)**2**|(% style="background-color:#d9e2f3; color:#0070c0; width:100px" %)**2**|(% style="background-color:#d9e2f3; color:#0070c0; width:100px" %)**1**|(% style="background-color:#d9e2f3; color:#0070c0; width:50px" %)**2**|(% style="background-color:#d9e2f3; color:#0070c0; width:120px" %)**2**|(% style="background-color:#d9e2f3; color:#0070c0; width:80px" %)**2** 360 -| **Value**|BAT|(% style="width:183px" %)(((358 +|Value|BAT|(% style="width:183px" %)((( 361 361 Temperature(DS18B20)(PC13) 362 362 )))|(% style="width:173px" %)((( 363 363 Digital in(PB15) & Digital Interrupt(PA8) ... ... @@ -365,8 +365,7 @@ 365 365 ADC(PA4) 366 366 )))|(% style="width:323px" %)((( 367 367 Distance measure by:1)TF-Mini plus LiDAR 368 -Or 369 -2) TF-Luna LiDAR 366 +Or 2) TF-Luna LiDAR 370 370 )))|(% style="width:188px" %)Distance signal strength 371 371 372 372 [[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"]] ... ... @@ -383,7 +383,7 @@ 383 383 384 384 (% style="color:red" %)**Need to remove R3 and R4 resistors to get low power,otherwise there will be 400uA standby current.** 385 385 386 -[[image:image-20230 513105207-4.png||height="469" width="802"]]383 +[[image:image-20230610170047-1.png||height="452" width="799"]] 387 387 388 388 389 389 ==== 2.3.2.3 MOD~=3 (3 ADC + I2C) ==== ... ... @@ -649,9 +649,9 @@ 649 649 ==== 2.3.3.4 Analogue Digital Converter (ADC) ==== 650 650 651 651 652 -The measuring range of the ADC is only about 0V to 1.1V The voltage resolution is about 0.24mv. 649 +The measuring range of the ADC is only about 0.1V to 1.1V The voltage resolution is about 0.24mv. 653 653 654 -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 +When the measured output voltage of the sensor is not within the range of 0.1V 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. 655 655 656 656 [[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"]] 657 657 ... ... @@ -659,6 +659,10 @@ 659 659 (% 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.** 660 660 661 661 659 +The position of PA5 on the hardware after **LSN50 v3.3** is changed to the position shown in the figure below, and the collected voltage becomes one-sixth of the original. 660 + 661 +[[image:image-20230811113449-1.png||height="370" width="608"]] 662 + 662 662 ==== 2.3.3.5 Digital Interrupt ==== 663 663 664 664 ... ... @@ -727,7 +727,7 @@ 727 727 728 728 Below is the connection to SHT20/ SHT31. The connection is as below: 729 729 730 -[[image:image-20230 513103633-3.png||height="448" width="716"]]731 +[[image:image-20230610170152-2.png||height="501" width="846"]] 731 731 732 732 733 733 The device will be able to get the I2C sensor data now and upload to IoT Server. ... ... @@ -824,6 +824,7 @@ 824 824 * 7: MOD8 825 825 * 8: MOD9 826 826 828 + 827 827 == 2.4 Payload Decoder file == 828 828 829 829 ... ... @@ -853,6 +853,7 @@ 853 853 * 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]]. 854 854 * LoRaWAN Downlink. Instruction for different platforms: See [[IoT LoRaWAN Server>>http://wiki.dragino.com/xwiki/bin/view/Main/]] section. 855 855 858 + 856 856 == 3.2 General Commands == 857 857 858 858 ... ... @@ -880,7 +880,7 @@ 880 880 (% style="color:blue" %)**AT Command: AT+TDC** 881 881 882 882 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 883 -|=(% style="width: 156px;background-color:#D9E2F3" %)**Command Example**|=(% style="width: 137px;background-color:#D9E2F3" %)**Function**|=(% style="background-color:#D9E2F3" %)**Response** 886 +|=(% style="width: 156px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 137px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="background-color:#D9E2F3;color:#0070C0" %)**Response** 884 884 |(% style="width:156px" %)AT+TDC=?|(% style="width:137px" %)Show current transmit Interval|((( 885 885 30000 886 886 OK ... ... @@ -900,6 +900,7 @@ 900 900 * Example 1: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds 901 901 * Example 2: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 902 902 906 + 903 903 === 3.3.2 Get Device Status === 904 904 905 905 ... ... @@ -918,7 +918,7 @@ 918 918 (% style="color:blue" %)**AT Command: AT+INTMOD1,AT+INTMOD2,AT+INTMOD3** 919 919 920 920 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 921 -|=(% style="width: 155px;background-color:#D9E2F3" %)**Command Example**|=(% style="width: 197px;background-color:#D9E2F3" %)**Function**|=(% style="width: 158px;background-color:#D9E2F3" %)**Response** 925 +|=(% style="width: 155px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 197px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 158px;background-color:#D9E2F3;color:#0070C0" %)**Response** 922 922 |(% style="width:154px" %)AT+INTMOD1=?|(% style="width:196px" %)Show current interrupt mode|(% style="width:157px" %)((( 923 923 0 924 924 OK ... ... @@ -948,6 +948,7 @@ 948 948 * Example 3: Downlink Payload: 06000102 **~-~-->** AT+INTMOD2=2 949 949 * Example 4: Downlink Payload: 06000201 **~-~-->** AT+INTMOD3=1 950 950 955 + 951 951 === 3.3.4 Set Power Output Duration === 952 952 953 953 ... ... @@ -962,7 +962,7 @@ 962 962 (% style="color:blue" %)**AT Command: AT+5VT** 963 963 964 964 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 965 -|=(% style="width: 155px;background-color:#D9E2F3" %)**Command Example**|=(% style="width: 197px;background-color:#D9E2F3" %)**Function**|=(% style="width: 158px;background-color:#D9E2F3" %)**Response** 970 +|=(% style="width: 155px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 197px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 158px;background-color:#D9E2F3;color:#0070C0" %)**Response** 966 966 |(% style="width:154px" %)AT+5VT=?|(% style="width:196px" %)Show 5V open time.|(% style="width:157px" %)((( 967 967 500(default) 968 968 OK ... ... @@ -980,6 +980,7 @@ 980 980 * Example 1: Downlink Payload: 070000 **~-~-->** AT+5VT=0 981 981 * Example 2: Downlink Payload: 0701F4 **~-~-->** AT+5VT=500 982 982 988 + 983 983 === 3.3.5 Set Weighing parameters === 984 984 985 985 ... ... @@ -988,7 +988,7 @@ 988 988 (% style="color:blue" %)**AT Command: AT+WEIGRE,AT+WEIGAP** 989 989 990 990 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 991 -|=(% style="width: 155px;background-color:#D9E2F3" %)**Command Example**|=(% style="width: 197px;background-color:#D9E2F3" %)**Function**|=(% style="width: 158px;background-color:#D9E2F3" %)**Response** 997 +|=(% style="width: 155px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 197px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 158px;background-color:#D9E2F3;color:#0070C0" %)**Response** 992 992 |(% style="width:154px" %)AT+WEIGRE|(% style="width:196px" %)Weight is initialized to 0.|(% style="width:157px" %)OK 993 993 |(% style="width:154px" %)AT+WEIGAP=?|(% style="width:196px" %)400.0|(% style="width:157px" %)OK(default) 994 994 |(% style="width:154px" %)AT+WEIGAP=400.3|(% style="width:196px" %)Set the factor to 400.3.|(% style="width:157px" %)OK ... ... @@ -1005,6 +1005,7 @@ 1005 1005 * Example 2: Downlink Payload: 08020FA3 **~-~-->** AT+WEIGAP=400.3 1006 1006 * Example 3: Downlink Payload: 08020FA0 **~-~-->** AT+WEIGAP=400.0 1007 1007 1014 + 1008 1008 === 3.3.6 Set Digital pulse count value === 1009 1009 1010 1010 ... ... @@ -1015,7 +1015,7 @@ 1015 1015 (% style="color:blue" %)**AT Command: AT+SETCNT** 1016 1016 1017 1017 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 1018 -|=(% style="width: 155px;background-color:#D9E2F3" %)**Command Example**|=(% style="width: 197px;background-color:#D9E2F3" %)**Function**|=(% style="width: 158px;background-color:#D9E2F3" %)**Response** 1025 +|=(% style="width: 155px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 197px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 158px;background-color:#D9E2F3;color:#0070C0" %)**Response** 1019 1019 |(% style="width:154px" %)AT+SETCNT=1,100|(% style="width:196px" %)Initialize the count value 1 to 100.|(% style="width:157px" %)OK 1020 1020 |(% style="width:154px" %)AT+SETCNT=2,0|(% style="width:196px" %)Initialize the count value 2 to 0.|(% style="width:157px" %)OK 1021 1021 ... ... @@ -1028,6 +1028,7 @@ 1028 1028 * Example 1: Downlink Payload: 090100000000 **~-~-->** AT+SETCNT=1,0 1029 1029 * Example 2: Downlink Payload: 0902000003E8 **~-~-->** AT+SETCNT=2,1000 1030 1030 1038 + 1031 1031 === 3.3.7 Set Workmode === 1032 1032 1033 1033 ... ... @@ -1036,7 +1036,7 @@ 1036 1036 (% style="color:blue" %)**AT Command: AT+MOD** 1037 1037 1038 1038 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 1039 -|=(% style="width: 155px;background-color:#D9E2F3" %)**Command Example**|=(% style="width: 197px;background-color:#D9E2F3" %)**Function**|=(% style="width: 158px;background-color:#D9E2F3" %)**Response** 1047 +|=(% style="width: 155px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 197px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 158px;background-color:#D9E2F3;color:#0070C0" %)**Response** 1040 1040 |(% style="width:154px" %)AT+MOD=?|(% style="width:196px" %)Get the current working mode.|(% style="width:157px" %)((( 1041 1041 OK 1042 1042 ))) ... ... @@ -1052,6 +1052,7 @@ 1052 1052 * Example 1: Downlink Payload: 0A01 **~-~-->** AT+MOD=1 1053 1053 * Example 2: Downlink Payload: 0A04 **~-~-->** AT+MOD=4 1054 1054 1063 + 1055 1055 = 4. Battery & Power Consumption = 1056 1056 1057 1057 ... ... @@ -1070,13 +1070,14 @@ 1070 1070 * Update with new features. 1071 1071 * Fix bugs. 1072 1072 1073 -**Firmware and changelog can be downloaded from :** **[[Firmware download link>> url:https://www.dropbox.com/sh/kwqv57tp6pejias/AAAopYMATh1GM6fZ-VRCLrpDa?dl=0]]**1082 +**Firmware and changelog can be downloaded from :** **[[Firmware download link>>https://www.dropbox.com/sh/4rov7bcp6u28exp/AACt-wAySd4si5AXi8DBmvSca?dl=0]]** 1074 1074 1075 1075 **Methods to Update Firmware:** 1076 1076 1077 -* (Recommanded way) OTA firmware update via wireless: 1078 -* 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]]**.1086 +* (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/]]** 1087 +* 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]]**. 1079 1079 1089 + 1080 1080 = 6. FAQ = 1081 1081 1082 1082 == 6.1 Where can i find source code of SN50v3-LB? == ... ... @@ -1085,6 +1085,23 @@ 1085 1085 * **[[Hardware Source Files>>https://github.com/dragino/Lora/tree/master/LSN50/v3.0]].** 1086 1086 * **[[Software Source Code & Compile instruction>>https://github.com/dragino/SN50v3]].** 1087 1087 1098 + 1099 +== 6.2 How to generate PWM Output in SN50v3-LB? == 1100 + 1101 + 1102 +See this document: **[[Generate PWM Output on SN50v3>>https://www.dropbox.com/scl/fi/r3trcet2knujg40w0mgyn/Generate-PWM-Output-on-SN50v3.pdf?rlkey=rxsgmrhhrv62iiiwjq9sv10bn&dl=0]]**. 1103 + 1104 + 1105 +== 6.3 How to put several sensors to a SN50v3-LB? == 1106 + 1107 + 1108 +When we want to put several sensors to A SN50v3-LB, the waterproof at the grand connector will become an issue. User can try to exchange the grand connector to below type. 1109 + 1110 +[[Reference Supplier>>https://www.yscableglands.com/cable-glands/nylon-cable-glands/cable-gland-rubber-seal.html]]. 1111 + 1112 +[[image:image-20230810121434-1.png||height="242" width="656"]] 1113 + 1114 + 1088 1088 = 7. Order Info = 1089 1089 1090 1090 ... ... @@ -1108,6 +1108,7 @@ 1108 1108 * (% style="color:red" %)**20**(%%): With M20 waterproof cable hole 1109 1109 * (% style="color:red" %)**NH**(%%): No Hole 1110 1110 1138 + 1111 1111 = 8. Packing Info = 1112 1112 1113 1113
- image-20230610162852-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Saxer - Size
-
... ... @@ -1,0 +1,1 @@ 1 +695.7 KB - Content
- image-20230610163213-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Saxer - Size
-
... ... @@ -1,0 +1,1 @@ 1 +695.4 KB - Content
- image-20230610170047-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Saxer - Size
-
... ... @@ -1,0 +1,1 @@ 1 +444.9 KB - Content
- image-20230610170152-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Saxer - Size
-
... ... @@ -1,0 +1,1 @@ 1 +359.5 KB - Content
- image-20230810121434-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Edwin - Size
-
... ... @@ -1,0 +1,1 @@ 1 +137.3 KB - Content
- image-20230811113449-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Saxer - Size
-
... ... @@ -1,0 +1,1 @@ 1 +973.1 KB - Content