<
From version < 43.50 >
edited by Xiaoling
on 2023/05/16 15:50
To version < 43.45 >
edited by Xiaoling
on 2023/05/16 15:37
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -41,6 +41,8 @@
41 41  * Downlink to change configure
42 42  * 8500mAh Battery for long term use
43 43  
44 +
45 +
44 44  == 1.3 Specification ==
45 45  
46 46  
... ... @@ -78,6 +78,8 @@
78 78  * Sleep Mode: 5uA @ 3.3v
79 79  * LoRa Transmit Mode: 125mA @ 20dBm, 82mA @ 14dBm
80 80  
83 +
84 +
81 81  == 1.4 Sleep mode and working mode ==
82 82  
83 83  
... ... @@ -105,6 +105,8 @@
105 105  )))
106 106  |(% 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.
107 107  
112 +
113 +
108 108  == 1.6 BLE connection ==
109 109  
110 110  
... ... @@ -290,6 +290,8 @@
290 290  1. All modes share the same Payload Explanation from HERE.
291 291  1. By default, the device will send an uplink message every 20 minutes.
292 292  
299 +
300 +
293 293  ==== 2.3.2.1  MOD~=1 (Default Mode) ====
294 294  
295 295  
... ... @@ -611,7 +611,6 @@
611 611  
612 612  [[image:image-20230512180718-8.png||height="538" width="647"]]
613 613  
614 -
615 615  (% style="color:blue" %)**Example**:
616 616  
617 617  If payload is: 0105H:  (0105 & 8000 == 0), temp = 0105H /10 = 26.1 degree
... ... @@ -623,7 +623,6 @@
623 623  
624 624  ==== 2.3.3.3 Digital Input ====
625 625  
626 -
627 627  The digital input for pin PB15,
628 628  
629 629  * When PB15 is high, the bit 1 of payload byte 6 is 1.
... ... @@ -633,14 +633,11 @@
633 633  (((
634 634  When the digital interrupt pin is set to AT+INTMODx=0, this pin is used as a digital input pin.
635 635  
636 -(% style="color:red" %)**Note: The maximum voltage input supports 3.6V.**
637 -
638 -
642 +(% style="color:red" %)**Note:**The maximum voltage input supports 3.6V.
639 639  )))
640 640  
641 641  ==== 2.3.3.4  Analogue Digital Converter (ADC) ====
642 642  
643 -
644 644  The measuring range of the ADC is only about 0V to 1.1V The voltage resolution is about 0.24mv.
645 645  
646 646  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.
... ... @@ -647,12 +647,11 @@
647 647  
648 648  [[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"]]
649 649  
650 -(% 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.**
653 +(% 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.
651 651  
652 652  
653 653  ==== 2.3.3.5 Digital Interrupt ====
654 654  
655 -
656 656  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.
657 657  
658 658  (% style="color:blue" %)** Interrupt connection method:**
... ... @@ -659,7 +659,6 @@
659 659  
660 660  [[image:image-20230513105351-5.png||height="147" width="485"]]
661 661  
662 -
663 663  (% style="color:blue" %)**Example to use with door sensor :**
664 664  
665 665  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.
... ... @@ -668,9 +668,8 @@
668 668  
669 669  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.
670 670  
672 +(% style="color:blue" %)** Below is the installation example:**
671 671  
672 -(% style="color:blue" %)**Below is the installation example:**
673 -
674 674  Fix one piece of the magnetic sensor to the door and connect the two pins to SN50_v3 as follows:
675 675  
676 676  * (((
... ... @@ -682,7 +682,7 @@
682 682  
683 683  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.
684 684  
685 -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.
685 +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.
686 686  
687 687  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.
688 688  
... ... @@ -700,7 +700,6 @@
700 700  
701 701  [[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/1656379339508-835.png?rev=1.1||alt="1656379339508-835.png"]]
702 702  
703 -
704 704  In MOD=1, user can use byte 6 to see the status for door open or close. TTN V3 decoder is as below:
705 705  
706 706  door= (bytes[6] & 0x80)? "CLOSE":"OPEN";
... ... @@ -708,7 +708,6 @@
708 708  
709 709  ==== 2.3.3.6 I2C Interface (SHT20 & SHT31) ====
710 710  
711 -
712 712  The SDA and SCK are I2C interface lines. You can use these to connect to an I2C device and get the sensor data.
713 713  
714 714  We have made an example to show how to use the I2C interface to connect to the SHT20/ SHT31 Temperature and Humidity Sensor.
... ... @@ -737,13 +737,11 @@
737 737  
738 738  ==== 2.3.3.7  ​Distance Reading ====
739 739  
740 -
741 741  Refer [[Ultrasonic Sensor section>>||anchor="H2.3.3.8UltrasonicSensor"]].
742 742  
743 743  
744 744  ==== 2.3.3.8 Ultrasonic Sensor ====
745 745  
746 -
747 747  This Fundamental Principles of this sensor can be found at this link: [[https:~~/~~/wiki.dfrobot.com/Weather_-_proof_Ultrasonic_Sensor_with_Separate_Probe_SKU~~_~~__SEN0208>>url:https://wiki.dfrobot.com/Weather_-_proof_Ultrasonic_Sensor_with_Separate_Probe_SKU___SEN0208]]
748 748  
749 749  The SN50_v3 detects the pulse width of the sensor and converts it to mm output. The accuracy will be within 1 centimeter. The usable range (the distance between the ultrasonic probe and the measured object) is between 24cm and 600cm.
... ... @@ -754,7 +754,6 @@
754 754  
755 755  [[image:image-20230512173903-6.png||height="596" width="715"]]
756 756  
757 -
758 758  Connect to the SN50_v3 and run (% style="color:blue" %)**AT+MOD=2**(%%) to switch to ultrasonic mode (ULT).
759 759  
760 760  The ultrasonic sensor uses the 8^^th^^ and 9^^th^^ byte for the measurement value.
... ... @@ -767,13 +767,11 @@
767 767  
768 768  ==== 2.3.3.9  Battery Output - BAT pin ====
769 769  
770 -
771 771  The BAT pin of SN50v3 is connected to the Battery directly. If users want to use BAT pin to power an external sensor. User need to make sure the external sensor is of low power consumption. Because the BAT pin is always open. If the external sensor is of high power consumption. the battery of SN50v3-LB will run out very soon.
772 772  
773 773  
774 774  ==== 2.3.3.10  +5V Output ====
775 775  
776 -
777 777  SN50v3 will enable +5V output before all sampling and disable the +5v after all sampling. 
778 778  
779 779  The 5V output time can be controlled by AT Command.
... ... @@ -788,7 +788,6 @@
788 788  
789 789  ==== 2.3.3.11  BH1750 Illumination Sensor ====
790 790  
791 -
792 792  MOD=1 support this sensor. The sensor value is in the 8^^th^^ and 9^^th^^ bytes.
793 793  
794 794  [[image:image-20230512172447-4.png||height="416" width="712"]]
... ... @@ -814,6 +814,7 @@
814 814  * 7: MOD8
815 815  * 8: MOD9
816 816  
809 +
817 817  == 2.4 Payload Decoder file ==
818 818  
819 819  
... ... @@ -890,6 +890,7 @@
890 890  * Example 1: Downlink Payload: 0100001E  ~/~/  Set Transmit Interval (TDC) = 30 seconds
891 891  * Example 2: Downlink Payload: 0100003C  ~/~/  Set Transmit Interval (TDC) = 60 seconds
892 892  
886 +
893 893  === 3.3.2 Get Device Status ===
894 894  
895 895  Send a LoRaWAN downlink to ask the device to send its status.
... ... @@ -937,6 +937,7 @@
937 937  * Example 3: Downlink Payload: 06000102  **~-~-->**  AT+INTMOD2=2
938 938  * Example 4: Downlink Payload: 06000201  **~-~-->**  AT+INTMOD3=1
939 939  
934 +
940 940  === 3.3.4 Set Power Output Duration ===
941 941  
942 942  Control the output duration 5V . Before each sampling, device will
... ... @@ -968,6 +968,7 @@
968 968  * Example 1: Downlink Payload: 070000  **~-~-->**  AT+5VT=0
969 969  * Example 2: Downlink Payload: 0701F4  **~-~-->**  AT+5VT=500
970 970  
966 +
971 971  === 3.3.5 Set Weighing parameters ===
972 972  
973 973  Feature: Working mode 5 is effective, weight initialization and weight factor setting of HX711.
... ... @@ -992,6 +992,7 @@
992 992  * Example 2: Downlink Payload: 08020FA3  **~-~-->**  AT+WEIGAP=400.3
993 993  * Example 3: Downlink Payload: 08020FA0  **~-~-->**  AT+WEIGAP=400.0
994 994  
991 +
995 995  === 3.3.6 Set Digital pulse count value ===
996 996  
997 997  Feature: Set the pulse count value.
... ... @@ -1014,6 +1014,7 @@
1014 1014  * Example 1: Downlink Payload: 090100000000  **~-~-->**  AT+SETCNT=1,0
1015 1015  * Example 2: Downlink Payload: 0902000003E8  **~-~-->**  AT+SETCNT=2,1000
1016 1016  
1014 +
1017 1017  === 3.3.7 Set Workmode ===
1018 1018  
1019 1019  Feature: Switch working mode.
... ... @@ -1037,6 +1037,7 @@
1037 1037  * Example 1: Downlink Payload: 0A01  **~-~-->**  AT+MOD=1
1038 1038  * Example 2: Downlink Payload: 0A04  **~-~-->**  AT+MOD=4
1039 1039  
1038 +
1040 1040  = 4. Battery & Power Consumption =
1041 1041  
1042 1042  
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0