<
From version < 41.1 >
edited by Xiaoling
on 2023/05/15 13:56
To version < 39.2 >
edited by Saxer Lin
on 2023/05/13 13:42
>
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
... ... @@ -292,13 +292,12 @@
292 292  
293 293  In this mode, uplink payload includes in total 11 bytes. Uplink packets use FPORT=2.
294 294  
295 -(% style="width:1110px" %)
296 -|**Size(bytes)**|**2**|(% style="width:191px" %)**2**|(% style="width:78px" %)**2**|(% style="width:216px" %)**1**|(% style="width:308px" %)**2**|(% style="width:154px" %)**2**
297 -|**Value**|Bat|(% style="width:191px" %)(((
295 +|**Size(bytes)**|**2**|**2**|**2**|(% style="width:216px" %)**1**|(% style="width:342px" %)**2**|(% style="width:171px" %)**2**
296 +|**Value**|Bat|(((
298 298  Temperature(DS18B20)
299 299  
300 300  (PC13)
301 -)))|(% style="width:78px" %)(((
300 +)))|(((
302 302  ADC
303 303  
304 304  (PA4)
... ... @@ -308,11 +308,11 @@
308 308  Digital Interrupt(PA8)
309 309  
310 310  
311 -)))|(% style="width:308px" %)(((
310 +)))|(% style="width:342px" %)(((
312 312  Temperature
313 313  
314 314  (SHT20 or SHT31 or BH1750 Illumination Sensor)
315 -)))|(% style="width:154px" %)(((
314 +)))|(% style="width:171px" %)(((
316 316  Humidity
317 317  
318 318  (SHT20 or SHT31)
... ... @@ -325,26 +325,25 @@
325 325  
326 326  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.
327 327  
328 -(% style="width:1011px" %)
329 -|**Size(bytes)**|**2**|(% style="width:196px" %)**2**|(% style="width:87px" %)**2**|(% style="width:189px" %)**1**|(% style="width:208px" %)**2**|(% style="width:117px" %)**2**
330 -|**Value**|BAT|(% style="width:196px" %)(((
327 +|**Size(bytes)**|**2**|**2**|**2**|**1**|**2**|**2**
328 +|**Value**|BAT|(((
331 331  Temperature(DS18B20)
332 332  
333 333  (PC13)
334 -)))|(% style="width:87px" %)(((
332 +)))|(((
335 335  ADC
336 336  
337 337  (PA4)
338 -)))|(% style="width:189px" %)(((
336 +)))|(((
339 339  Digital in(PB15) &
340 340  
341 341  Digital Interrupt(PA8)
342 -)))|(% style="width:208px" %)(((
340 +)))|(((
343 343  Distance measure by:
344 344  1) LIDAR-Lite V3HP
345 345  Or
346 346  2) Ultrasonic Sensor
347 -)))|(% style="width:117px" %)Reserved
345 +)))|Reserved
348 348  
349 349  [[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"]]
350 350  
... ... @@ -360,25 +360,24 @@
360 360  
361 361  For the connection to TF-Mini or TF-Luna , MOD2 payload is as below:
362 362  
363 -(% style="width:1113px" %)
364 -|**Size(bytes)**|**2**|(% style="width:183px" %)**2**|(% style="width:173px" %)**1**|(% style="width:84px" %)**2**|(% style="width:323px" %)**2**|(% style="width:188px" %)**2**
365 -|**Value**|BAT|(% style="width:183px" %)(((
361 +|**Size(bytes)**|**2**|**2**|**1**|**2**|**2**|**2**
362 +|**Value**|BAT|(((
366 366  Temperature(DS18B20)
367 367  
368 368  (PC13)
369 -)))|(% style="width:173px" %)(((
366 +)))|(((
370 370  Digital in(PB15) &
371 371  
372 372  Digital Interrupt(PA8)
373 -)))|(% style="width:84px" %)(((
370 +)))|(((
374 374  ADC
375 375  
376 376  (PA4)
377 -)))|(% style="width:323px" %)(((
374 +)))|(((
378 378  Distance measure by:1)TF-Mini plus LiDAR
379 379  Or 
380 380  2) TF-Luna LiDAR
381 -)))|(% style="width:188px" %)Distance signal  strength
378 +)))|Distance signal  strength
382 382  
383 383  [[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"]]
384 384  
... ... @@ -477,25 +477,25 @@
477 477  
478 478  Check the response of this command and adjust the value to match the real value for thing.
479 479  
480 -(% style="width:767px" %)
477 +(% style="width:982px" %)
481 481  |=(((
482 482  **Size(bytes)**
483 -)))|=**2**|=(% style="width: 193px;" %)**2**|=(% style="width: 85px;" %)**2**|=(% style="width: 186px;" %)**1**|=(% style="width: 100px;" %)**4**
484 -|**Value**|BAT|(% style="width:193px" %)(((
480 +)))|=**2**|=(% style="width: 282px;" %)**2**|=(% style="width: 119px;" %)**2**|=(% style="width: 279px;" %)**1**|=(% style="width: 106px;" %)**4**
481 +|**Value**|BAT|(% style="width:282px" %)(((
485 485  Temperature(DS18B20)
486 486  
487 487  (PC13)
488 488  
489 489  
490 -)))|(% style="width:85px" %)(((
487 +)))|(% style="width:119px" %)(((
491 491  ADC
492 492  
493 493  (PA4)
494 -)))|(% style="width:186px" %)(((
491 +)))|(% style="width:279px" %)(((
495 495  Digital in(PB15) &
496 496  
497 497  Digital Interrupt(PA8)
498 -)))|(% style="width:100px" %)Weight
495 +)))|(% style="width:106px" %)Weight
499 499  
500 500  [[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"]]
501 501  
... ... @@ -535,30 +535,29 @@
535 535  
536 536  ==== 2.3.2.7  MOD~=7 (Three interrupt contact modes) ====
537 537  
538 -(% style="width:1108px" %)
539 539  |=(((
540 540  **Size(bytes)**
541 -)))|=**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
542 -|**Value**|BAT|(% style="width:188px" %)(((
537 +)))|=**2**|=**2**|=**2**|=**1**|=**1**|=1|=2
538 +|**Value**|BAT|(((
543 543  Temperature(DS18B20)
544 544  
545 545  (PC13)
546 -)))|(% style="width:83px" %)(((
542 +)))|(((
547 547  ADC
548 548  
549 549  (PA5)
550 -)))|(% style="width:184px" %)(((
546 +)))|(((
551 551  Digital Interrupt1(PA8)
552 -)))|(% style="width:186px" %)Digital Interrupt2(PA4)|(% style="width:197px" %)Digital Interrupt3(PB15)|(% style="width:100px" %)Reserved
548 +)))|Digital Interrupt2(PA4)|Digital Interrupt3(PB15)|Reserved
553 553  
554 554  [[image:image-20230513111203-7.png||height="324" width="975"]]
555 555  
556 556  ==== 2.3.2.8  MOD~=8 (3ADC+1DS18B20) ====
557 557  
558 -(% style="width:922px" %)
554 +(% style="width:917px" %)
559 559  |=(((
560 560  **Size(bytes)**
561 -)))|=**2**|=(% style="width: 207px;" %)**2**|=(% style="width: 94px;" %)**2**|=(% style="width: 198px;" %)**1**|=(% style="width: 84px;" %)**2**|=(% style="width: 82px;" %)2
557 +)))|=**2**|=(% style="width: 207px;" %)**2**|=(% style="width: 94px;" %)**2**|=(% style="width: 198px;" %)**1**|=(% style="width: 84px;" %)**2**|=(% style="width: 79px;" %)2
562 562  |**Value**|BAT|(% style="width:207px" %)(((
563 563  Temperature(DS18B20)
564 564  
... ... @@ -573,7 +573,7 @@
573 573  ADC2
574 574  
575 575  (PA5)
576 -)))|(% style="width:82px" %)(((
572 +)))|(% style="width:79px" %)(((
577 577  ADC3
578 578  
579 579  (PA8)
... ... @@ -751,14 +751,14 @@
751 751  
752 752  The SDA and SCK are I2C interface lines. You can use these to connect to an I2C device and get the sensor data.
753 753  
754 -We have made an example to show how to use the I2C interface to connect to the SHT20/ SHT31 Temperature and Humidity Sensor.
750 +We have made an example to show how to use the I2C interface to connect to the SHT20 Temperature and Humidity Sensor.
755 755  
756 -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.
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 757  
758 758  Below is the connection to SHT20/ SHT31. The connection is as below:
759 759  
760 760  
761 -[[image:image-20230513103633-3.png||height="448" width="716"]]
757 +[[image:image-20230513103633-3.png||height="636" width="1017"]]
762 762  
763 763  The device will be able to get the I2C sensor data now and upload to IoT Server.
764 764  
... ... @@ -825,9 +825,9 @@
825 825  
826 826  MOD=1 support this sensor. The sensor value is in the 8^^th^^ and 9^^th^^ bytes.
827 827  
828 -[[image:image-20230512172447-4.png||height="416" width="712"]]
824 +[[image:image-20230512172447-4.png||height="593" width="1015"]]
829 829  
830 -[[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"]]
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 831  
832 832  
833 833  ==== 2.3.3.12  Working MOD ====
... ... @@ -855,11 +855,9 @@
855 855  
856 856  In the page (% style="color:#037691" %)**Applications ~-~-> Payload Formats ~-~-> Custom ~-~-> decoder**(%%) to add the decoder from:
857 857  
858 -[[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]]
854 +[[https:~~/~~/github.com/dragino/dragino-end-node-decoder/tree/main/LSN50v2-S31%26S31B >>https://github.com/dragino/dragino-end-node-decoder/tree/main/LSN50v2-S31%26S31B]]
859 859  
860 -
861 861  
862 -
863 863  
864 864  == 2.5 Frequency Plans ==
865 865  
... ... @@ -901,6 +901,7 @@
901 901  
902 902  === 3.3.1 Set Transmit Interval Time ===
903 903  
898 +
904 904  Feature: Change LoRaWAN End Node Transmit Interval.
905 905  
906 906  (% style="color:blue" %)**AT Command: AT+TDC**
... ... @@ -926,12 +926,9 @@
926 926  * Example 1: Downlink Payload: 0100001E  ~/~/  Set Transmit Interval (TDC) = 30 seconds
927 927  * Example 2: Downlink Payload: 0100003C  ~/~/  Set Transmit Interval (TDC) = 60 seconds
928 928  
929 -(% class="wikigeneratedid" %)
930 -=== ===
931 -
932 932  === 3.3.2 Get Device Status ===
933 933  
934 -Send a LoRaWAN downlink to ask the device to send its status.
926 +Send a LoRaWAN downlink to ask device send Alarm settings.
935 935  
936 936  (% style="color:blue" %)**Downlink Payload:  **(%%)0x26 01
937 937  
... ... @@ -940,6 +940,7 @@
940 940  
941 941  === 3.3.3 Set Interrupt Mode ===
942 942  
935 +
943 943  Feature, Set Interrupt mode for GPIO_EXIT.
944 944  
945 945  (% style="color:blue" %)**AT Command: AT+INTMOD1,AT+INTMOD2,AT+INTMOD3**
... ... @@ -976,9 +976,6 @@
976 976  * Example 3: Downlink Payload: 06000102  **~-~-->**  AT+INTMOD2=2
977 977  * Example 4: Downlink Payload: 06000201  **~-~-->**  AT+INTMOD3=1
978 978  
979 -(% class="wikigeneratedid" %)
980 -=== ===
981 -
982 982  === 3.3.4 Set Power Output Duration ===
983 983  
984 984  Control the output duration 5V . Before each sampling, device will
... ... @@ -1008,12 +1008,9 @@
1008 1008  
1009 1009  The first and second bytes are the time to turn on.
1010 1010  
1011 -* Example 1: Downlink Payload: 070000  **~-~-->**  AT+5VT=0
1012 -* Example 2: Downlink Payload: 0701F4  **~-~-->**  AT+5VT=500
1001 +* Example 1: Downlink Payload: 070000  **~-~-->**  AT+5VT=0
1002 +* Example 2: Downlink Payload: 0701F4  **~-~-->**  AT+5VT=500
1013 1013  
1014 -(% class="wikigeneratedid" %)
1015 -=== ===
1016 -
1017 1017  === 3.3.5 Set Weighing parameters ===
1018 1018  
1019 1019  Feature: Working mode 5 is effective, weight initialization and weight factor setting of HX711.
... ... @@ -1028,6 +1028,7 @@
1028 1028  
1029 1029  (% style="color:blue" %)**Downlink Command: 0x08**
1030 1030  
1018 +
1031 1031  Format: Command Code (0x08) followed by 2 bytes or 4 bytes.
1032 1032  
1033 1033  Use AT+WEIGRE when the first byte is 1, only 1 byte. When it is 2, use AT+WEIGAP, there are 3 bytes.
... ... @@ -1038,9 +1038,6 @@
1038 1038  * Example 2: Downlink Payload: 08020FA3  **~-~-->**  AT+WEIGAP=400.3
1039 1039  * Example 3: Downlink Payload: 08020FA0  **~-~-->**  AT+WEIGAP=400.0
1040 1040  
1041 -(% class="wikigeneratedid" %)
1042 -=== ===
1043 -
1044 1044  === 3.3.6 Set Digital pulse count value ===
1045 1045  
1046 1046  Feature: Set the pulse count value.
... ... @@ -1056,6 +1056,7 @@
1056 1056  
1057 1057  (% style="color:blue" %)**Downlink Command: 0x09**
1058 1058  
1044 +
1059 1059  Format: Command Code (0x09) followed by 5 bytes.
1060 1060  
1061 1061  The first byte is to select which count value to initialize, and the next four bytes are the count value to be initialized.
... ... @@ -1063,9 +1063,6 @@
1063 1063  * Example 1: Downlink Payload: 090100000000  **~-~-->**  AT+SETCNT=1,0
1064 1064  * Example 2: Downlink Payload: 0902000003E8  **~-~-->**  AT+SETCNT=2,1000
1065 1065  
1066 -(% class="wikigeneratedid" %)
1067 -=== ===
1068 -
1069 1069  === 3.3.7 Set Workmode ===
1070 1070  
1071 1071  Feature: Switch working mode.
... ... @@ -1085,14 +1085,12 @@
1085 1085  
1086 1086  (% style="color:blue" %)**Downlink Command: 0x0A**
1087 1087  
1071 +
1088 1088  Format: Command Code (0x0A) followed by 1 bytes.
1089 1089  
1090 1090  * Example 1: Downlink Payload: 0A01  **~-~-->**  AT+MOD=1
1091 1091  * Example 2: Downlink Payload: 0A04  **~-~-->**  AT+MOD=4
1092 1092  
1093 -(% class="wikigeneratedid" %)
1094 -= =
1095 -
1096 1096  = 4. Battery & Power Consumption =
1097 1097  
1098 1098  
image-20230515135611-1.jpeg
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -948.0 KB
Content
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0