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 (3 modified, 0 added, 0 removed)
-
Attachments (0 modified, 1 added, 0 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,1 @@ 1 -SN50v3-LB User Manual 1 +SN50v3-LB LoRaWAN Sensor Node User Manual - Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Saxer1 +XWiki.Xiaoling - Content
-
... ... @@ -1,4 +1,5 @@ 1 -[[image:image-20230511201248-1.png||height="403" width="489"]] 1 +(% style="text-align:center" %) 2 +[[image:image-20230515135611-1.jpeg||height="589" width="589"]] 2 2 3 3 4 4 ... ... @@ -292,12 +292,13 @@ 292 292 293 293 In this mode, uplink payload includes in total 11 bytes. Uplink packets use FPORT=2. 294 294 295 -|**Size(bytes)**|**2**|**2**|**2**|(% style="width:216px" %)**1**|(% style="width:342px" %)**2**|(% style="width:171px" %)**2** 296 -|**Value**|Bat|((( 296 +(% style="width:1110px" %) 297 +|**Size(bytes)**|**2**|(% style="width:191px" %)**2**|(% style="width:78px" %)**2**|(% style="width:216px" %)**1**|(% style="width:308px" %)**2**|(% style="width:154px" %)**2** 298 +|**Value**|Bat|(% style="width:191px" %)((( 297 297 Temperature(DS18B20) 298 298 299 299 (PC13) 300 -)))|((( 302 +)))|(% style="width:78px" %)((( 301 301 ADC 302 302 303 303 (PA4) ... ... @@ -307,11 +307,11 @@ 307 307 Digital Interrupt(PA8) 308 308 309 309 310 -)))|(% style="width:3 42px" %)(((312 +)))|(% style="width:308px" %)((( 311 311 Temperature 312 312 313 313 (SHT20 or SHT31 or BH1750 Illumination Sensor) 314 -)))|(% style="width:1 71px" %)(((316 +)))|(% style="width:154px" %)((( 315 315 Humidity 316 316 317 317 (SHT20 or SHT31) ... ... @@ -324,25 +324,26 @@ 324 324 325 325 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. 326 326 327 -|**Size(bytes)**|**2**|**2**|**2**|**1**|**2**|**2** 328 -|**Value**|BAT|((( 329 +(% style="width:1011px" %) 330 +|**Size(bytes)**|**2**|(% style="width:196px" %)**2**|(% style="width:87px" %)**2**|(% style="width:189px" %)**1**|(% style="width:208px" %)**2**|(% style="width:117px" %)**2** 331 +|**Value**|BAT|(% style="width:196px" %)((( 329 329 Temperature(DS18B20) 330 330 331 331 (PC13) 332 -)))|((( 335 +)))|(% style="width:87px" %)((( 333 333 ADC 334 334 335 335 (PA4) 336 -)))|((( 339 +)))|(% style="width:189px" %)((( 337 337 Digital in(PB15) & 338 338 339 339 Digital Interrupt(PA8) 340 -)))|((( 343 +)))|(% style="width:208px" %)((( 341 341 Distance measure by: 342 342 1) LIDAR-Lite V3HP 343 343 Or 344 344 2) Ultrasonic Sensor 345 -)))|Reserved 348 +)))|(% style="width:117px" %)Reserved 346 346 347 347 [[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"]] 348 348 ... ... @@ -358,24 +358,25 @@ 358 358 359 359 For the connection to TF-Mini or TF-Luna , MOD2 payload is as below: 360 360 361 -|**Size(bytes)**|**2**|**2**|**1**|**2**|**2**|**2** 362 -|**Value**|BAT|((( 364 +(% style="width:1113px" %) 365 +|**Size(bytes)**|**2**|(% style="width:183px" %)**2**|(% style="width:173px" %)**1**|(% style="width:84px" %)**2**|(% style="width:323px" %)**2**|(% style="width:188px" %)**2** 366 +|**Value**|BAT|(% style="width:183px" %)((( 363 363 Temperature(DS18B20) 364 364 365 365 (PC13) 366 -)))|((( 370 +)))|(% style="width:173px" %)((( 367 367 Digital in(PB15) & 368 368 369 369 Digital Interrupt(PA8) 370 -)))|((( 374 +)))|(% style="width:84px" %)((( 371 371 ADC 372 372 373 373 (PA4) 374 -)))|((( 378 +)))|(% style="width:323px" %)((( 375 375 Distance measure by:1)TF-Mini plus LiDAR 376 376 Or 377 377 2) TF-Luna LiDAR 378 -)))|Distance signal strength 382 +)))|(% style="width:188px" %)Distance signal strength 379 379 380 380 [[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"]] 381 381 ... ... @@ -451,7 +451,7 @@ 451 451 452 452 [[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"]] 453 453 454 -[[image:image-20230513134006-1.png||height=" 743" width="978"]]458 +[[image:image-20230513134006-1.png||height="559" width="736"]] 455 455 456 456 457 457 ==== 2.3.2.5 MOD~=5(Weight Measurement by HX711) ==== ... ... @@ -474,25 +474,25 @@ 474 474 475 475 Check the response of this command and adjust the value to match the real value for thing. 476 476 477 -(% style="width: 982px" %)481 +(% style="width:767px" %) 478 478 |=((( 479 479 **Size(bytes)** 480 -)))|=**2**|=(% style="width: 282px;" %)**2**|=(% style="width:119px;" %)**2**|=(% style="width:279px;" %)**1**|=(% style="width: 106px;" %)**4**481 -|**Value**|BAT|(% style="width: 282px" %)(((484 +)))|=**2**|=(% style="width: 193px;" %)**2**|=(% style="width: 85px;" %)**2**|=(% style="width: 186px;" %)**1**|=(% style="width: 100px;" %)**4** 485 +|**Value**|BAT|(% style="width:193px" %)((( 482 482 Temperature(DS18B20) 483 483 484 484 (PC13) 485 485 486 486 487 -)))|(% style="width: 119px" %)(((491 +)))|(% style="width:85px" %)((( 488 488 ADC 489 489 490 490 (PA4) 491 -)))|(% style="width: 279px" %)(((495 +)))|(% style="width:186px" %)((( 492 492 Digital in(PB15) & 493 493 494 494 Digital Interrupt(PA8) 495 -)))|(% style="width:10 6px" %)Weight499 +)))|(% style="width:100px" %)Weight 496 496 497 497 [[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"]] 498 498 ... ... @@ -532,29 +532,30 @@ 532 532 533 533 ==== 2.3.2.7 MOD~=7 (Three interrupt contact modes) ==== 534 534 539 +(% style="width:1108px" %) 535 535 |=((( 536 536 **Size(bytes)** 537 -)))|=**2**|=**2**|=**2**|=**1**|=**1**|=1|=2 538 -|**Value**|BAT|((( 542 +)))|=**2**|=(% style="width: 188px;" %)**2**|=(% style="width: 83px;" %)**2**|=(% style="width: 184px;" %)**1**|=(% style="width: 186px;" %)**1**|=(% style="width: 197px;" %)1|=(% style="width: 100px;" %)2 543 +|**Value**|BAT|(% style="width:188px" %)((( 539 539 Temperature(DS18B20) 540 540 541 541 (PC13) 542 -)))|((( 547 +)))|(% style="width:83px" %)((( 543 543 ADC 544 544 545 545 (PA5) 546 -)))|((( 551 +)))|(% style="width:184px" %)((( 547 547 Digital Interrupt1(PA8) 548 -)))|Digital Interrupt2(PA4)|Digital Interrupt3(PB15)|Reserved 553 +)))|(% style="width:186px" %)Digital Interrupt2(PA4)|(% style="width:197px" %)Digital Interrupt3(PB15)|(% style="width:100px" %)Reserved 549 549 550 550 [[image:image-20230513111203-7.png||height="324" width="975"]] 551 551 552 552 ==== 2.3.2.8 MOD~=8 (3ADC+1DS18B20) ==== 553 553 554 -(% style="width:9 17px" %)559 +(% style="width:922px" %) 555 555 |=((( 556 556 **Size(bytes)** 557 -)))|=**2**|=(% style="width: 207px;" %)**2**|=(% style="width: 94px;" %)**2**|=(% style="width: 198px;" %)**1**|=(% style="width: 84px;" %)**2**|=(% style="width: 79px;" %)2562 +)))|=**2**|=(% style="width: 207px;" %)**2**|=(% style="width: 94px;" %)**2**|=(% style="width: 198px;" %)**1**|=(% style="width: 84px;" %)**2**|=(% style="width: 82px;" %)2 558 558 |**Value**|BAT|(% style="width:207px" %)((( 559 559 Temperature(DS18B20) 560 560 ... ... @@ -569,7 +569,7 @@ 569 569 ADC2 570 570 571 571 (PA5) 572 -)))|(% style="width: 79px" %)(((577 +)))|(% style="width:82px" %)((( 573 573 ADC3 574 574 575 575 (PA8) ... ... @@ -747,14 +747,14 @@ 747 747 748 748 The SDA and SCK are I2C interface lines. You can use these to connect to an I2C device and get the sensor data. 749 749 750 -We have made an example to show how to use the I2C interface to connect to the SHT20 Temperature and Humidity Sensor. 755 +We have made an example to show how to use the I2C interface to connect to the SHT20/ SHT31 Temperature and Humidity Sensor. 751 751 752 -Notice: Different I2C sensors have different I2C commands set and initiate process, if user want to use other I2C sensors, User need to re-write the source code to support those sensors. SHT20 code in SN50_v3 will be a good reference. 757 +Notice: Different I2C sensors have different I2C commands set and initiate process, if user want to use other I2C sensors, User need to re-write the source code to support those sensors. SHT20/ SHT31 code in SN50_v3 will be a good reference. 753 753 754 754 Below is the connection to SHT20/ SHT31. The connection is as below: 755 755 756 756 757 -[[image:image-20230513103633-3.png||height=" 636" width="1017"]]762 +[[image:image-20230513103633-3.png||height="448" width="716"]] 758 758 759 759 The device will be able to get the I2C sensor data now and upload to IoT Server. 760 760 ... ... @@ -821,9 +821,9 @@ 821 821 822 822 MOD=1 support this sensor. The sensor value is in the 8^^th^^ and 9^^th^^ bytes. 823 823 824 -[[image:image-20230512172447-4.png||height=" 593" width="1015"]]829 +[[image:image-20230512172447-4.png||height="416" width="712"]] 825 825 826 -[[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"]] 831 +[[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"]] 827 827 828 828 829 829 ==== 2.3.3.12 Working MOD ==== ... ... @@ -851,7 +851,7 @@ 851 851 852 852 In the page (% style="color:#037691" %)**Applications ~-~-> Payload Formats ~-~-> Custom ~-~-> decoder**(%%) to add the decoder from: 853 853 854 -[[https:~~/~~/github.com/dragino/dragino-end-node-decoder/tree/main/ LSN50v2-S31%26S31BLSN50v2-S31%26S31B]]859 +[[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]] 855 855 856 856 857 857 ... ... @@ -895,7 +895,6 @@ 895 895 896 896 === 3.3.1 Set Transmit Interval Time === 897 897 898 - 899 899 Feature: Change LoRaWAN End Node Transmit Interval. 900 900 901 901 (% style="color:blue" %)**AT Command: AT+TDC** ... ... @@ -921,9 +921,11 @@ 921 921 * Example 1: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds 922 922 * Example 2: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 923 923 928 +=== === 929 + 924 924 === 3.3.2 Get Device Status === 925 925 926 -Send a LoRaWAN downlink to ask device send Alarmsettings.932 +Send a LoRaWAN downlink to ask the device to send its status. 927 927 928 928 (% style="color:blue" %)**Downlink Payload: **(%%)0x26 01 929 929 ... ... @@ -932,7 +932,6 @@ 932 932 933 933 === 3.3.3 Set Interrupt Mode === 934 934 935 - 936 936 Feature, Set Interrupt mode for GPIO_EXIT. 937 937 938 938 (% style="color:blue" %)**AT Command: AT+INTMOD1,AT+INTMOD2,AT+INTMOD3** ... ... @@ -969,6 +969,8 @@ 969 969 * Example 3: Downlink Payload: 06000102 **~-~-->** AT+INTMOD2=2 970 970 * Example 4: Downlink Payload: 06000201 **~-~-->** AT+INTMOD3=1 971 971 977 +=== === 978 + 972 972 === 3.3.4 Set Power Output Duration === 973 973 974 974 Control the output duration 5V . Before each sampling, device will ... ... @@ -998,9 +998,11 @@ 998 998 999 999 The first and second bytes are the time to turn on. 1000 1000 1001 -* Example 1: Downlink Payload: 070000 1002 -* Example 2: Downlink Payload: 0701F4 1008 +* Example 1: Downlink Payload: 070000 **~-~-->** AT+5VT=0 1009 +* Example 2: Downlink Payload: 0701F4 **~-~-->** AT+5VT=500 1003 1003 1011 +=== === 1012 + 1004 1004 === 3.3.5 Set Weighing parameters === 1005 1005 1006 1006 Feature: Working mode 5 is effective, weight initialization and weight factor setting of HX711. ... ... @@ -1015,7 +1015,6 @@ 1015 1015 1016 1016 (% style="color:blue" %)**Downlink Command: 0x08** 1017 1017 1018 - 1019 1019 Format: Command Code (0x08) followed by 2 bytes or 4 bytes. 1020 1020 1021 1021 Use AT+WEIGRE when the first byte is 1, only 1 byte. When it is 2, use AT+WEIGAP, there are 3 bytes. ... ... @@ -1026,6 +1026,8 @@ 1026 1026 * Example 2: Downlink Payload: 08020FA3 **~-~-->** AT+WEIGAP=400.3 1027 1027 * Example 3: Downlink Payload: 08020FA0 **~-~-->** AT+WEIGAP=400.0 1028 1028 1037 +=== === 1038 + 1029 1029 === 3.3.6 Set Digital pulse count value === 1030 1030 1031 1031 Feature: Set the pulse count value. ... ... @@ -1041,7 +1041,6 @@ 1041 1041 1042 1042 (% style="color:blue" %)**Downlink Command: 0x09** 1043 1043 1044 - 1045 1045 Format: Command Code (0x09) followed by 5 bytes. 1046 1046 1047 1047 The first byte is to select which count value to initialize, and the next four bytes are the count value to be initialized. ... ... @@ -1049,6 +1049,8 @@ 1049 1049 * Example 1: Downlink Payload: 090100000000 **~-~-->** AT+SETCNT=1,0 1050 1050 * Example 2: Downlink Payload: 0902000003E8 **~-~-->** AT+SETCNT=2,1000 1051 1051 1061 +=== === 1062 + 1052 1052 === 3.3.7 Set Workmode === 1053 1053 1054 1054 Feature: Switch working mode. ... ... @@ -1068,12 +1068,13 @@ 1068 1068 1069 1069 (% style="color:blue" %)**Downlink Command: 0x0A** 1070 1070 1071 - 1072 1072 Format: Command Code (0x0A) followed by 1 bytes. 1073 1073 1074 1074 * Example 1: Downlink Payload: 0A01 **~-~-->** AT+MOD=1 1075 1075 * Example 2: Downlink Payload: 0A04 **~-~-->** AT+MOD=4 1076 1076 1087 += = 1088 + 1077 1077 = 4. Battery & Power Consumption = 1078 1078 1079 1079
- image-20230515135611-1.jpeg
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +948.0 KB - Content