<
From version < 39.2 >
edited by Saxer Lin
on 2023/05/13 13:42
To version < 43.1 >
edited by Saxer Lin
on 2023/05/16 11:28
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,1 @@
1 -SN50v3-LB User Manual
1 +SN50v3-LB LoRaWAN Sensor Node User Manual
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:342px" %)(((
312 +)))|(% style="width:308px" %)(((
311 311  Temperature
312 312  
313 313  (SHT20 or SHT31 or BH1750 Illumination Sensor)
314 -)))|(% style="width:171px" %)(((
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  
... ... @@ -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:106px" %)Weight
499 +)))|(% 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:917px" %)
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;" %)2
562 +)))|=**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)
... ... @@ -650,7 +650,7 @@
650 650  
651 651  ==== 2.3.3.2  Temperature (DS18B20) ====
652 652  
653 -If there is a DS18B20 connected to PB3 pin. The temperature will be uploaded in the payload.
658 +If there is a DS18B20 connected to PC13 pin. The temperature will be uploaded in the payload.
654 654  
655 655  More DS18B20 can check the [[3 DS18B20 mode>>url:http://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LSN50%20%26%20LSN50-V2%20-%20LoRaWAN%20Sensor%20Node%20User%20Manual/#2.3.4MOD3D4283xDS18B2029]]
656 656  
... ... @@ -679,6 +679,8 @@
679 679  When the digital interrupt pin is set to AT+INTMODx=0, this pin is used as a digital input pin.
680 680  
681 681  **Note:**The maximum voltage input supports 3.6V.
687 +
688 +
682 682  )))
683 683  
684 684  ==== 2.3.3.4  Analogue Digital Converter (ADC) ====
... ... @@ -691,6 +691,7 @@
691 691  
692 692  **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.
693 693  
701 +
694 694  ==== 2.3.3.5 Digital Interrupt ====
695 695  
696 696  Digital Interrupt refers to pin PA8, and there are different trigger methods. When there is a trigger, the SN50v3 will send a packet to the server.
... ... @@ -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.
758 +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.
760 +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"]]
765 +[[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"]]
832 +[[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"]]
834 +[[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 ====
... ... @@ -844,6 +844,9 @@
844 844  * 7: MOD8
845 845  * 8: MOD9
846 846  
855 +(% class="wikigeneratedid" %)
856 +== ==
857 +
847 847  == 2.4 Payload Decoder file ==
848 848  
849 849  
... ... @@ -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%26S31B >>https://github.com/dragino/dragino-end-node-decoder/tree/main/LSN50v2-S31%26S31B]]
865 +[[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,12 @@
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  
934 +(% class="wikigeneratedid" %)
935 +=== ===
936 +
924 924  === 3.3.2 Get Device Status ===
925 925  
926 -Send a LoRaWAN downlink to ask device send Alarm settings.
939 +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,9 @@
969 969  * Example 3: Downlink Payload: 06000102  **~-~-->**  AT+INTMOD2=2
970 970  * Example 4: Downlink Payload: 06000201  **~-~-->**  AT+INTMOD3=1
971 971  
984 +(% class="wikigeneratedid" %)
985 +=== ===
986 +
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,12 @@
998 998  
999 999  The first and second bytes are the time to turn on.
1000 1000  
1001 -* Example 1: Downlink Payload: 070000  **~-~-->**  AT+5VT=0
1002 -* Example 2: Downlink Payload: 0701F4  **~-~-->**  AT+5VT=500
1016 +* Example 1: Downlink Payload: 070000  **~-~-->**  AT+5VT=0
1017 +* Example 2: Downlink Payload: 0701F4  **~-~-->**  AT+5VT=500
1003 1003  
1019 +(% class="wikigeneratedid" %)
1020 +=== ===
1021 +
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,9 @@
1026 1026  * Example 2: Downlink Payload: 08020FA3  **~-~-->**  AT+WEIGAP=400.3
1027 1027  * Example 3: Downlink Payload: 08020FA0  **~-~-->**  AT+WEIGAP=400.0
1028 1028  
1046 +(% class="wikigeneratedid" %)
1047 +=== ===
1048 +
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,9 @@
1049 1049  * Example 1: Downlink Payload: 090100000000  **~-~-->**  AT+SETCNT=1,0
1050 1050  * Example 2: Downlink Payload: 0902000003E8  **~-~-->**  AT+SETCNT=2,1000
1051 1051  
1071 +(% class="wikigeneratedid" %)
1072 +=== ===
1073 +
1052 1052  === 3.3.7 Set Workmode ===
1053 1053  
1054 1054  Feature: Switch working mode.
... ... @@ -1068,12 +1068,14 @@
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  
1098 +(% class="wikigeneratedid" %)
1099 += =
1100 +
1077 1077  = 4. Battery & Power Consumption =
1078 1078  
1079 1079  
... ... @@ -1147,4 +1147,4 @@
1147 1147  
1148 1148  
1149 1149  * Support is provided Monday to Friday, from 09:00 to 18:00 GMT+8. Due to different timezones we cannot offer live support. However, your questions will be answered as soon as possible in the before-mentioned schedule.
1150 -* Provide as much information as possible regarding your enquiry (product models, accurately describe your problem and steps to replicate it etc) and send a mail to [[support@dragino.com>>url:http://../../../../../../D:%5C%E5%B8%82%E5%9C%BA%E8%B5%84%E6%96%99%5C%E8%AF%B4%E6%98%8E%E4%B9%A6%5CLoRa%5CLT%E7%B3%BB%E5%88%97%5Csupport@dragino.com]]
1174 +* Provide as much information as possible regarding your enquiry (product models, accurately describe your problem and steps to replicate it etc) and send a mail to [[support@dragino.cc>>url:http://../../../../../../D:%5C%E5%B8%82%E5%9C%BA%E8%B5%84%E6%96%99%5C%E8%AF%B4%E6%98%8E%E4%B9%A6%5CLoRa%5CLT%E7%B3%BB%E5%88%97%5Csupport@dragino.cc]]
image-20230515135611-1.jpeg
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +948.0 KB
Content
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0