<
From version < 43.46 >
edited by Xiaoling
on 2023/05/16 15:40
To version < 43.44 >
edited by Xiaoling
on 2023/05/16 15:31
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -41,7 +41,6 @@
41 41  * Downlink to change configure
42 42  * 8500mAh Battery for long term use
43 43  
44 -
45 45  == 1.3 Specification ==
46 46  
47 47  
... ... @@ -79,7 +79,6 @@
79 79  * Sleep Mode: 5uA @ 3.3v
80 80  * LoRa Transmit Mode: 125mA @ 20dBm, 82mA @ 14dBm
81 81  
82 -
83 83  == 1.4 Sleep mode and working mode ==
84 84  
85 85  
... ... @@ -107,7 +107,6 @@
107 107  )))
108 108  |(% 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.
109 109  
110 -
111 111  == 1.6 BLE connection ==
112 112  
113 113  
... ... @@ -293,7 +293,6 @@
293 293  1. All modes share the same Payload Explanation from HERE.
294 294  1. By default, the device will send an uplink message every 20 minutes.
295 295  
296 -
297 297  ==== 2.3.2.1  MOD~=1 (Default Mode) ====
298 298  
299 299  
... ... @@ -316,10 +316,8 @@
316 316  [[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"]]
317 317  
318 318  
319 -
320 320  ==== 2.3.2.2  MOD~=2 (Distance Mode) ====
321 321  
322 -
323 323  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.
324 324  
325 325  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
... ... @@ -337,12 +337,10 @@
337 337  
338 338  [[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"]]
339 339  
340 -
341 341  (% style="color:blue" %)**Connection of LIDAR-Lite V3HP:**
342 342  
343 343  [[image:image-20230512173758-5.png||height="563" width="712"]]
344 344  
345 -
346 346  (% style="color:blue" %)**Connection to Ultrasonic Sensor:**
347 347  
348 348  Need to remove R1 and R2 resistors to get low power,otherwise there will be 240uA standby current.
... ... @@ -349,7 +349,6 @@
349 349  
350 350  [[image:image-20230512173903-6.png||height="596" width="715"]]
351 351  
352 -
353 353  For the connection to TF-Mini or TF-Luna , MOD2 payload is as below:
354 354  
355 355  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
... ... @@ -368,7 +368,6 @@
368 368  
369 369  [[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"]]
370 370  
371 -
372 372  **Connection to [[TF-Mini plus>>url:http://en.benewake.com/product/detail/5c345cd0e5b3a844c472329b.html]] LiDAR(UART version):**
373 373  
374 374  Need to remove R3 and R4 resistors to get low power,otherwise there will be 400uA standby current.
... ... @@ -375,7 +375,6 @@
375 375  
376 376  [[image:image-20230512180609-7.png||height="555" width="802"]]
377 377  
378 -
379 379  **Connection to [[TF-Luna>>url:http://en.benewake.com/product/detail/5e1c1fd04d839408076b6255.html]] LiDAR (UART version):**
380 380  
381 381  Need to remove R3 and R4 resistors to get low power,otherwise there will be 400uA standby current.
... ... @@ -385,7 +385,6 @@
385 385  
386 386  ==== 2.3.2.3  MOD~=3 (3 ADC + I2C) ====
387 387  
388 -
389 389  This mode has total 12 bytes. Include 3 x ADC + 1x I2C
390 390  
391 391  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
... ... @@ -430,10 +430,8 @@
430 430  [[image:image-20230513134006-1.png||height="559" width="736"]]
431 431  
432 432  
433 -
434 434  ==== 2.3.2.5  MOD~=5(Weight Measurement by HX711) ====
435 435  
436 -
437 437  [[image:image-20230512164658-2.png||height="532" width="729"]]
438 438  
439 439  Each HX711 need to be calibrated before used. User need to do below two steps:
... ... @@ -469,10 +469,8 @@
469 469  [[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"]]
470 470  
471 471  
472 -
473 473  ==== 2.3.2.6  MOD~=6 (Counting Mode) ====
474 474  
475 -
476 476  In this mode, the device will work in counting mode. It counts the interrupt on the interrupt pins and sends the count on TDC time.
477 477  
478 478  Connection is as below. The PIR sensor is a count sensor, it will generate interrupt when people come close or go away. User can replace the PIR sensor with other counting sensors.
... ... @@ -479,7 +479,7 @@
479 479  
480 480  [[image:image-20230512181814-9.png||height="543" width="697"]]
481 481  
482 -(% style="color:red" %)**Note:** **LoRaWAN wireless transmission will infect the PIR sensor. Which cause the counting value increase +1 for every uplink. User can change PIR sensor or put sensor away of the SN50_v3 to avoid this happen.**
466 +(% style="color:red" %)**Note:** LoRaWAN wireless transmission will infect the PIR sensor. Which cause the counting value increase +1 for every uplink. User can change PIR sensor or put sensor away of the SN50_v3 to avoid this happen.
483 483  
484 484  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
485 485  |=(% style="width: 50px;background-color:#D9E2F3;color:#0070C0" %)**Size(bytes)**|=(% style="width: 20px;background-color:#D9E2F3;color:#0070C0" %)**2**|=(% style="width: 220px;background-color:#D9E2F3;color:#0070C0" %)**2**|=(% style="width: 50px;background-color:#D9E2F3;color:#0070C0" %)**2**|=(% style="width: 100px;background-color:#D9E2F3;color:#0070C0" %)**1**|=(% style="width: 80px;background-color:#D9E2F3;color:#0070C0" %)**4**
... ... @@ -496,10 +496,8 @@
496 496  [[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/1656378441509-171.png?rev=1.1||alt="1656378441509-171.png"]]
497 497  
498 498  
499 -
500 500  ==== 2.3.2.7  MOD~=7 (Three interrupt contact modes) ====
501 501  
502 -
503 503  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
504 504  |=(% style="width: 50px;background-color:#D9E2F3;color:#0070C0" %)(((
505 505  **Size(bytes)**
... ... @@ -515,10 +515,8 @@
515 515  
516 516  [[image:image-20230513111203-7.png||height="324" width="975"]]
517 517  
518 -
519 519  ==== 2.3.2.8  MOD~=8 (3ADC+1DS18B20) ====
520 520  
521 -
522 522  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
523 523  |=(% style="width: 50px;background-color:#D9E2F3;color:#0070C0" %)(((
524 524  **Size(bytes)**
... ... @@ -541,7 +541,6 @@
541 541  
542 542  ==== 2.3.2.9  MOD~=9 (3DS18B20+ two Interrupt count mode) ====
543 543  
544 -
545 545  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
546 546  |=(% style="width: 50px;background-color:#D9E2F3;color:#0070C0" %)(((
547 547  **Size(bytes)**
... ... @@ -582,9 +582,9 @@
582 582  When AA is 2, set the count of PA4 pin to BB Corresponding downlink:09 02 bb bb bb bb
583 583  
584 584  
564 +
585 585  === 2.3.3  ​Decode payload ===
586 586  
587 -
588 588  While using TTN V3 network, you can add the payload format to decode the payload.
589 589  
590 590  [[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/1656378466788-734.png?rev=1.1||alt="1656378466788-734.png"]]
... ... @@ -596,7 +596,6 @@
596 596  
597 597  ==== 2.3.3.1 Battery Info ====
598 598  
599 -
600 600  Check the battery voltage for SN50v3.
601 601  
602 602  Ex1: 0x0B45 = 2885mV
... ... @@ -606,16 +606,14 @@
606 606  
607 607  ==== 2.3.3.2  Temperature (DS18B20) ====
608 608  
609 -
610 610  If there is a DS18B20 connected to PC13 pin. The temperature will be uploaded in the payload.
611 611  
612 -More DS18B20 can check the [[3 DS18B20 mode>>||anchor="H2.3.2.4MOD3D4283xDS18B2029"]]
589 +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]]
613 613  
614 614  (% style="color:blue" %)**Connection:**
615 615  
616 616  [[image:image-20230512180718-8.png||height="538" width="647"]]
617 617  
618 -
619 619  (% style="color:blue" %)**Example**:
620 620  
621 621  If payload is: 0105H:  (0105 & 8000 == 0), temp = 0105H /10 = 26.1 degree
... ... @@ -627,7 +627,6 @@
627 627  
628 628  ==== 2.3.3.3 Digital Input ====
629 629  
630 -
631 631  The digital input for pin PB15,
632 632  
633 633  * When PB15 is high, the bit 1 of payload byte 6 is 1.
... ... @@ -637,14 +637,11 @@
637 637  (((
638 638  When the digital interrupt pin is set to AT+INTMODx=0, this pin is used as a digital input pin.
639 639  
640 -(% style="color:red" %)**Note: The maximum voltage input supports 3.6V.**
641 -
642 -
615 +(% style="color:red" %)**Note:**The maximum voltage input supports 3.6V.
643 643  )))
644 644  
645 645  ==== 2.3.3.4  Analogue Digital Converter (ADC) ====
646 646  
647 -
648 648  The measuring range of the ADC is only about 0V to 1.1V The voltage resolution is about 0.24mv.
649 649  
650 650  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,12 +651,11 @@
651 651  
652 652  [[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"]]
653 653  
654 -(% 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.**
626 +(% 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.
655 655  
656 656  
657 657  ==== 2.3.3.5 Digital Interrupt ====
658 658  
659 -
660 660  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.
661 661  
662 662  (% style="color:blue" %)** Interrupt connection method:**
... ... @@ -663,7 +663,6 @@
663 663  
664 664  [[image:image-20230513105351-5.png||height="147" width="485"]]
665 665  
666 -
667 667  (% style="color:blue" %)**Example to use with door sensor :**
668 668  
669 669  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.
... ... @@ -672,9 +672,8 @@
672 672  
673 673  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.
674 674  
645 +(% style="color:blue" %)** Below is the installation example:**
675 675  
676 -(% style="color:blue" %)**Below is the installation example:**
677 -
678 678  Fix one piece of the magnetic sensor to the door and connect the two pins to SN50_v3 as follows:
679 679  
680 680  * (((
... ... @@ -686,7 +686,7 @@
686 686  
687 687  Install the other piece to the door. Find a place where the two pieces will be close to each other when the door is closed. For this particular magnetic sensor, when the door is closed, the output will be short, and PA8 will be at the VCC voltage.
688 688  
689 -Door sensors have two types: (% style="color:blue" %)** NC (Normal close)**(%%) and (% style="color:blue" %)**NO (normal open)**(%%). The connection for both type sensors are the same. But the decoding for payload are reverse, user need to modify this in the IoT Server decoder.
658 +Door sensors have two types: ** NC (Normal close)** and **NO (normal open)**. The connection for both type sensors are the same. But the decoding for payload are reverse, user need to modify this in the IoT Server decoder.
690 690  
691 691  When door sensor is shorted, there will extra power consumption in the circuit, the extra current is 3v3/R14 = 3v3/1Mohm = 3uA which can be ignored.
692 692  
... ... @@ -810,6 +810,7 @@
810 810  * 7: MOD8
811 811  * 8: MOD9
812 812  
782 +
813 813  == 2.4 Payload Decoder file ==
814 814  
815 815  
... ... @@ -886,6 +886,7 @@
886 886  * Example 1: Downlink Payload: 0100001E  ~/~/  Set Transmit Interval (TDC) = 30 seconds
887 887  * Example 2: Downlink Payload: 0100003C  ~/~/  Set Transmit Interval (TDC) = 60 seconds
888 888  
859 +
889 889  === 3.3.2 Get Device Status ===
890 890  
891 891  Send a LoRaWAN downlink to ask the device to send its status.
... ... @@ -933,6 +933,7 @@
933 933  * Example 3: Downlink Payload: 06000102  **~-~-->**  AT+INTMOD2=2
934 934  * Example 4: Downlink Payload: 06000201  **~-~-->**  AT+INTMOD3=1
935 935  
907 +
936 936  === 3.3.4 Set Power Output Duration ===
937 937  
938 938  Control the output duration 5V . Before each sampling, device will
... ... @@ -964,6 +964,7 @@
964 964  * Example 1: Downlink Payload: 070000  **~-~-->**  AT+5VT=0
965 965  * Example 2: Downlink Payload: 0701F4  **~-~-->**  AT+5VT=500
966 966  
939 +
967 967  === 3.3.5 Set Weighing parameters ===
968 968  
969 969  Feature: Working mode 5 is effective, weight initialization and weight factor setting of HX711.
... ... @@ -988,6 +988,7 @@
988 988  * Example 2: Downlink Payload: 08020FA3  **~-~-->**  AT+WEIGAP=400.3
989 989  * Example 3: Downlink Payload: 08020FA0  **~-~-->**  AT+WEIGAP=400.0
990 990  
964 +
991 991  === 3.3.6 Set Digital pulse count value ===
992 992  
993 993  Feature: Set the pulse count value.
... ... @@ -1010,6 +1010,7 @@
1010 1010  * Example 1: Downlink Payload: 090100000000  **~-~-->**  AT+SETCNT=1,0
1011 1011  * Example 2: Downlink Payload: 0902000003E8  **~-~-->**  AT+SETCNT=2,1000
1012 1012  
987 +
1013 1013  === 3.3.7 Set Workmode ===
1014 1014  
1015 1015  Feature: Switch working mode.
... ... @@ -1033,6 +1033,7 @@
1033 1033  * Example 1: Downlink Payload: 0A01  **~-~-->**  AT+MOD=1
1034 1034  * Example 2: Downlink Payload: 0A04  **~-~-->**  AT+MOD=4
1035 1035  
1011 +
1036 1036  = 4. Battery & Power Consumption =
1037 1037  
1038 1038  
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0