<
From version < 43.17 >
edited by Xiaoling
on 2023/05/16 14:14
To version < 43.6 >
edited by Xiaoling
on 2023/05/16 13:45
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -295,17 +295,29 @@
295 295  In this mode, uplink payload includes in total 11 bytes. Uplink packets use FPORT=2.
296 296  
297 297  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
298 -|(% style="width:50px;background-color:#D9E2F3;color:#0070C0" %)**Size(bytes)**|(% style="width:20px;background-color:#D9E2F3;color:#0070C0" %)**2**|(% style="width:100px;background-color:#D9E2F3;color:#0070C0" %)**2**|(% style="width:35px;background-color:#D9E2F3;color:#0070C0" %)**2**|(% style="width:90px;background-color:#D9E2F3;color:#0070C0" %)**1**|(% style="width:120px;background-color:#D9E2F3;color:#0070C0" %)**2**|(% style="width:90px;background-color:#D9E2F3;color:#0070C0" %)**2**
298 +|(% style="background-color:#D9E2F3;color:#0070C0" %)**Size(bytes)**|(% style="background-color:#D9E2F3;color:#0070C0" %)**2**|(% style="width:191px;background-color:#D9E2F3;color:#0070C0" %)**2**|(% style="width:78px;background-color:#D9E2F3;color:#0070C0" %)**2**|(% style="width:216px;background-color:#D9E2F3;color:#0070C0" %)**1**|(% style="width:308px;background-color:#D9E2F3;color:#0070C0" %)**2**|(% style="width:154px;background-color:#D9E2F3;color:#0070C0" %)**2**
299 299  |**Value**|Bat|(% style="width:191px" %)(((
300 -Temperature(DS18B20)(PC13)
300 +Temperature(DS18B20)
301 +
302 +(PC13)
301 301  )))|(% style="width:78px" %)(((
302 -ADC(PA4)
304 +ADC
305 +
306 +(PA4)
303 303  )))|(% style="width:216px" %)(((
304 -Digital in(PB15)&Digital Interrupt(PA8)
308 +Digital in(PB15) &
309 +
310 +Digital Interrupt(PA8)
311 +
312 +
305 305  )))|(% style="width:308px" %)(((
306 -Temperature(SHT20 or SHT31 or BH1750 Illumination Sensor)
314 +Temperature
315 +
316 +(SHT20 or SHT31 or BH1750 Illumination Sensor)
307 307  )))|(% style="width:154px" %)(((
308 -Humidity(SHT20 or SHT31)
318 +Humidity
319 +
320 +(SHT20 or SHT31)
309 309  )))
310 310  
311 311  [[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"]]
... ... @@ -315,26 +315,34 @@
315 315  
316 316  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.
317 317  
318 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
319 -|(% style="width:40px;background-color:#D9E2F3;color:#0070C0" %)**Size(bytes)**|(% style="width:40px;background-color:#D9E2F3;color:#0070C0" %)**2**|(% style="width:110px;background-color:#D9E2F3;color:#0070C0" %)**2**|(% style="width:40px;background-color:#D9E2F3;color:#0070C0" %)**2**|(% style="width:110px;background-color:#D9E2F3;color:#0070C0" %)**1**|(% style="width:140px;background-color:#D9E2F3;color:#0070C0" %)**2**|(% style="width:40px;background-color:#D9E2F3;color:#0070C0" %)**2**
330 +(% style="width:1011px" %)
331 +|**Size(bytes)**|**2**|(% style="width:196px" %)**2**|(% style="width:87px" %)**2**|(% style="width:189px" %)**1**|(% style="width:208px" %)**2**|(% style="width:117px" %)**2**
320 320  |**Value**|BAT|(% style="width:196px" %)(((
321 -Temperature(DS18B20)(PC13)
333 +Temperature(DS18B20)
334 +
335 +(PC13)
322 322  )))|(% style="width:87px" %)(((
323 -ADC(PA4)
337 +ADC
338 +
339 +(PA4)
324 324  )))|(% style="width:189px" %)(((
325 -Digital in(PB15) & Digital Interrupt(PA8)
341 +Digital in(PB15) &
342 +
343 +Digital Interrupt(PA8)
326 326  )))|(% style="width:208px" %)(((
327 -Distance measure by:1) LIDAR-Lite V3HP
328 -Or 2) Ultrasonic Sensor
345 +Distance measure by:
346 +1) LIDAR-Lite V3HP
347 +Or
348 +2) Ultrasonic Sensor
329 329  )))|(% style="width:117px" %)Reserved
330 330  
331 331  [[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"]]
332 332  
333 -(% style="color:blue" %)**Connection of LIDAR-Lite V3HP:**
353 +**Connection of LIDAR-Lite V3HP:**
334 334  
335 335  [[image:image-20230512173758-5.png||height="563" width="712"]]
336 336  
337 -(% style="color:blue" %)**Connection to Ultrasonic Sensor:**
357 +**Connection to Ultrasonic Sensor:**
338 338  
339 339  Need to remove R1 and R2 resistors to get low power,otherwise there will be 240uA standby current.
340 340  
... ... @@ -346,12 +346,15 @@
346 346  |**Size(bytes)**|**2**|(% style="width:183px" %)**2**|(% style="width:173px" %)**1**|(% style="width:84px" %)**2**|(% style="width:323px" %)**2**|(% style="width:188px" %)**2**
347 347  |**Value**|BAT|(% style="width:183px" %)(((
348 348  Temperature(DS18B20)
369 +
349 349  (PC13)
350 350  )))|(% style="width:173px" %)(((
351 351  Digital in(PB15) &
373 +
352 352  Digital Interrupt(PA8)
353 353  )))|(% style="width:84px" %)(((
354 354  ADC
377 +
355 355  (PA4)
356 356  )))|(% style="width:323px" %)(((
357 357  Distance measure by:1)TF-Mini plus LiDAR
... ... @@ -384,20 +384,25 @@
384 384  )))|=(% style="width: 68px;" %)**2**|=(% style="width: 75px;" %)**2**|=**2**|=**1**|=(% style="width: 304px;" %)2|=(% style="width: 163px;" %)2|=(% style="width: 53px;" %)1
385 385  |**Value**|(% style="width:68px" %)(((
386 386  ADC1
410 +
387 387  (PA4)
388 388  )))|(% style="width:75px" %)(((
389 389  ADC2
414 +
390 390  (PA5)
391 391  )))|(((
392 392  ADC3
418 +
393 393  (PA8)
394 394  )))|(((
395 395  Digital Interrupt(PB15)
396 396  )))|(% style="width:304px" %)(((
397 397  Temperature
424 +
398 398  (SHT20 or SHT31 or BH1750 Illumination Sensor)
399 399  )))|(% style="width:163px" %)(((
400 400  Humidity
428 +
401 401  (SHT20 or SHT31)
402 402  )))|(% style="width:53px" %)Bat
403 403  
... ... @@ -416,9 +416,11 @@
416 416  (PC13)
417 417  )))|(% style="width:82px" %)(((
418 418  ADC
447 +
419 419  (PA4)
420 420  )))|(% style="width:210px" %)(((
421 421  Digital in(PB15) &
451 +
422 422  Digital Interrupt(PA8) 
423 423  )))|(% style="width:191px" %)Temperature2(DS18B20)
424 424  (PB9)|(% style="width:183px" %)Temperature3(DS18B20)
... ... @@ -455,12 +455,17 @@
455 455  )))|=**2**|=(% style="width: 193px;" %)**2**|=(% style="width: 85px;" %)**2**|=(% style="width: 186px;" %)**1**|=(% style="width: 100px;" %)**4**
456 456  |**Value**|BAT|(% style="width:193px" %)(((
457 457  Temperature(DS18B20)
488 +
458 458  (PC13)
490 +
491 +
459 459  )))|(% style="width:85px" %)(((
460 460  ADC
494 +
461 461  (PA4)
462 462  )))|(% style="width:186px" %)(((
463 463  Digital in(PB15) &
498 +
464 464  Digital Interrupt(PA8)
465 465  )))|(% style="width:100px" %)Weight
466 466  
... ... @@ -485,12 +485,15 @@
485 485  (PC13)
486 486  )))|(% style="width:108px" %)(((
487 487  ADC
523 +
488 488  (PA4)
489 489  )))|(% style="width:126px" %)(((
490 490  Digital in
527 +
491 491  (PB15)
492 492  )))|(% style="width:145px" %)(((
493 493  Count
531 +
494 494  (PA8)
495 495  )))
496 496  
... ... @@ -505,9 +505,11 @@
505 505  )))|=**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
506 506  |**Value**|BAT|(% style="width:188px" %)(((
507 507  Temperature(DS18B20)
546 +
508 508  (PC13)
509 509  )))|(% style="width:83px" %)(((
510 510  ADC
550 +
511 511  (PA5)
512 512  )))|(% style="width:184px" %)(((
513 513  Digital Interrupt1(PA8)
... ... @@ -523,17 +523,21 @@
523 523  )))|=**2**|=(% style="width: 207px;" %)**2**|=(% style="width: 94px;" %)**2**|=(% style="width: 198px;" %)**1**|=(% style="width: 84px;" %)**2**|=(% style="width: 82px;" %)2
524 524  |**Value**|BAT|(% style="width:207px" %)(((
525 525  Temperature(DS18B20)
566 +
526 526  (PC13)
527 527  )))|(% style="width:94px" %)(((
528 528  ADC1
570 +
529 529  (PA4)
530 530  )))|(% style="width:198px" %)(((
531 531  Digital Interrupt(PB15)
532 532  )))|(% style="width:84px" %)(((
533 533  ADC2
576 +
534 534  (PA5)
535 535  )))|(% style="width:82px" %)(((
536 536  ADC3
580 +
537 537  (PA8)
538 538  )))
539 539  
... ... @@ -548,21 +548,27 @@
548 548  )))|=**2**|=**2**|=**2**|=**1**|=(% style="width: 193px;" %)**2**|=(% style="width: 78px;" %)4|=(% style="width: 78px;" %)4
549 549  |**Value**|BAT|(((
550 550  Temperature1(DS18B20)
595 +
551 551  (PC13)
552 552  )))|(((
553 553  Temperature2(DS18B20)
599 +
554 554  (PB9)
555 555  )))|(((
556 556  Digital Interrupt
603 +
557 557  (PB15)
558 558  )))|(% style="width:193px" %)(((
559 559  Temperature3(DS18B20)
607 +
560 560  (PB8)
561 561  )))|(% style="width:78px" %)(((
562 562  Count1
611 +
563 563  (PA8)
564 564  )))|(% style="width:78px" %)(((
565 565  Count2
615 +
566 566  (PA4)
567 567  )))
568 568  
... ... @@ -634,7 +634,9 @@
634 634  (((
635 635  When the digital interrupt pin is set to AT+INTMODx=0, this pin is used as a digital input pin.
636 636  
637 -(% style="color:red" %)**Note:**The maximum voltage input supports 3.6V.
687 +**Note:**The maximum voltage input supports 3.6V.
688 +
689 +
638 638  )))
639 639  
640 640  ==== 2.3.3.4  Analogue Digital Converter (ADC) ====
... ... @@ -645,7 +645,7 @@
645 645  
646 646  [[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"]]
647 647  
648 -(% 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.
700 +**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.
649 649  
650 650  
651 651  ==== 2.3.3.5 Digital Interrupt ====
... ... @@ -652,11 +652,11 @@
652 652  
653 653  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.
654 654  
655 -(% style="color:blue" %)**~ Interrupt connection method:**
707 +**~ Interrupt connection method:**
656 656  
657 657  [[image:image-20230513105351-5.png||height="147" width="485"]]
658 658  
659 -(% style="color:blue" %)**Example to use with door sensor :**
711 +**Example to use with door sensor :**
660 660  
661 661  The door sensor is shown at right. It is a two wire magnetic contact switch used for detecting the open/close status of doors or windows.
662 662  
... ... @@ -664,7 +664,7 @@
664 664  
665 665  When the two pieces are close to each other, the 2 wire output will be short or open (depending on the type), while if the two pieces are away from each other, the 2 wire output will be the opposite status. So we can use SN50_v3 interrupt interface to detect the status for the door or window.
666 666  
667 -(% style="color:blue" %)**~ Below is the installation example:**
719 +**~ Below is the installation example:**
668 668  
669 669  Fix one piece of the magnetic sensor to the door and connect the two pins to SN50_v3 as follows:
670 670  
... ... @@ -689,7 +689,7 @@
689 689  
690 690  The command is:
691 691  
692 -(% style="color:blue" %)**AT+INTMOD1=1   ** (%%) ~/~/(more info about INMOD please refer** **[[**AT Command Manual**>>url:http://www.dragino.com/downloads/index.php?dir=LSN50-LoRaST/&file=DRAGINO_LSN50_AT_Commands_v1.5.1.pdf]]**. **)
744 +**AT+INTMOD1=1       **~/~/(more info about INMOD please refer** **[[**AT Command Manual**>>url:http://www.dragino.com/downloads/index.php?dir=LSN50-LoRaST/&file=DRAGINO_LSN50_AT_Commands_v1.5.1.pdf]]**. **)
693 693  
694 694  Below shows some screen captures in TTN V3:
695 695  
... ... @@ -766,7 +766,7 @@
766 766  
767 767  The 5V output time can be controlled by AT Command.
768 768  
769 -(% style="color:blue" %)**AT+5VT=1000**
821 +**AT+5VT=1000**
770 770  
771 771  Means set 5V valid time to have 1000ms. So the real 5V output will actually have 1000ms + sampling time for other sensors.
772 772  
... ... @@ -801,8 +801,8 @@
801 801  * 7: MOD8
802 802  * 8: MOD9
803 803  
856 +== ==
804 804  
805 -
806 806  == 2.4 Payload Decoder file ==
807 807  
808 808  
... ... @@ -879,8 +879,8 @@
879 879  * Example 1: Downlink Payload: 0100001E  ~/~/  Set Transmit Interval (TDC) = 30 seconds
880 880  * Example 2: Downlink Payload: 0100003C  ~/~/  Set Transmit Interval (TDC) = 60 seconds
881 881  
934 +=== ===
882 882  
883 -
884 884  === 3.3.2 Get Device Status ===
885 885  
886 886  Send a LoRaWAN downlink to ask the device to send its status.
... ... @@ -928,8 +928,8 @@
928 928  * Example 3: Downlink Payload: 06000102  **~-~-->**  AT+INTMOD2=2
929 929  * Example 4: Downlink Payload: 06000201  **~-~-->**  AT+INTMOD3=1
930 930  
983 +=== ===
931 931  
932 -
933 933  === 3.3.4 Set Power Output Duration ===
934 934  
935 935  Control the output duration 5V . Before each sampling, device will
... ... @@ -946,6 +946,7 @@
946 946  |=(% style="width: 154px;background-color:#D9E2F3" %)**Command Example**|=(% style="width: 196px;background-color:#D9E2F3" %)**Function**|=(% style="width: 157px;background-color:#D9E2F3" %)**Response**
947 947  |(% style="width:154px" %)AT+5VT=?|(% style="width:196px" %)Show 5V open time.|(% style="width:157px" %)(((
948 948  500(default)
1001 +
949 949  OK
950 950  )))
951 951  |(% style="width:154px" %)AT+5VT=1000|(% style="width:196px" %)(((
... ... @@ -961,8 +961,8 @@
961 961  * Example 1: Downlink Payload: 070000  **~-~-->**  AT+5VT=0
962 962  * Example 2: Downlink Payload: 0701F4  **~-~-->**  AT+5VT=500
963 963  
1017 +=== ===
964 964  
965 -
966 966  === 3.3.5 Set Weighing parameters ===
967 967  
968 968  Feature: Working mode 5 is effective, weight initialization and weight factor setting of HX711.
... ... @@ -987,8 +987,8 @@
987 987  * Example 2: Downlink Payload: 08020FA3  **~-~-->**  AT+WEIGAP=400.3
988 988  * Example 3: Downlink Payload: 08020FA0  **~-~-->**  AT+WEIGAP=400.0
989 989  
1043 +=== ===
990 990  
991 -
992 992  === 3.3.6 Set Digital pulse count value ===
993 993  
994 994  Feature: Set the pulse count value.
... ... @@ -1011,8 +1011,8 @@
1011 1011  * Example 1: Downlink Payload: 090100000000  **~-~-->**  AT+SETCNT=1,0
1012 1012  * Example 2: Downlink Payload: 0902000003E8  **~-~-->**  AT+SETCNT=2,1000
1013 1013  
1067 +=== ===
1014 1014  
1015 -
1016 1016  === 3.3.7 Set Workmode ===
1017 1017  
1018 1018  Feature: Switch working mode.
... ... @@ -1026,6 +1026,7 @@
1026 1026  )))
1027 1027  |(% style="width:154px" %)AT+MOD=4|(% style="width:196px" %)Set the working mode to 3DS18B20s.|(% style="width:157px" %)(((
1028 1028  OK
1082 +
1029 1029  Attention:Take effect after ATZ
1030 1030  )))
1031 1031  
... ... @@ -1036,8 +1036,8 @@
1036 1036  * Example 1: Downlink Payload: 0A01  **~-~-->**  AT+MOD=1
1037 1037  * Example 2: Downlink Payload: 0A04  **~-~-->**  AT+MOD=4
1038 1038  
1093 += =
1039 1039  
1040 -
1041 1041  = 4. Battery & Power Consumption =
1042 1042  
1043 1043  
... ... @@ -1111,5 +1111,4 @@
1111 1111  
1112 1112  
1113 1113  * 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.
1114 -
1115 1115  * 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]]
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0