Changes for page SN50v3-LB/LS -- LoRaWAN Sensor Node User Manual
Last modified by Bei Jinggeng on 2025/01/10 15:51
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -777,6 +777,7 @@ 777 777 [[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]] 778 778 779 779 780 + 780 780 781 781 == 2.5 Frequency Plans == 782 782 ... ... @@ -786,12 +786,12 @@ 786 786 [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20Frequency%20Band/>>http://wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20Frequency%20Band/]] 787 787 788 788 789 -= 3. Configure S N50v3-LB =790 += 3. Configure S31x-LB = 790 790 791 791 == 3.1 Configure Methods == 792 792 793 793 794 -S N50v3-LB supports below configure method:795 +S31x-LB supports below configure method: 795 795 796 796 * AT Command via Bluetooth Connection (**Recommended**): [[BLE Configure Instruction>>http://wiki.dragino.com/xwiki/bin/view/Main/BLE%20Bluetooth%20Remote%20Configure/]]. 797 797 * AT Command via UART Connection : See [[UART Connection>>http://wiki.dragino.com/xwiki/bin/view/Main/UART%20Access%20for%20LoRa%20ST%20v4%20base%20model/#H2.3UARTConnectionforSN50v3basemotherboard]]. ... ... @@ -810,7 +810,7 @@ 810 810 [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20AT%20Commands%20and%20Downlink%20Command/>>http://wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20AT%20Commands%20and%20Downlink%20Command/]] 811 811 812 812 813 -== 3.3 Commands special design for S N50v3-LB ==814 +== 3.3 Commands special design for S31x-LB == 814 814 815 815 816 816 These commands only valid for S31x-LB, as below: ... ... @@ -844,9 +844,9 @@ 844 844 * Example 1: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds 845 845 * Example 2: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 846 846 847 - 848 848 === 3.3.2 Get Device Status === 849 849 850 + 850 850 Send a LoRaWAN downlink to ask device send Alarm settings. 851 851 852 852 (% style="color:blue" %)**Downlink Payload: **(%%)0x26 01 ... ... @@ -854,6 +854,77 @@ 854 854 Sensor will upload Device Status via FPORT=5. See payload section for detail. 855 855 856 856 858 +=== 3.3.3 Set Temperature Alarm Threshold === 859 + 860 +* (% style="color:blue" %)**AT Command:** 861 + 862 +(% style="color:#037691" %)**AT+SHTEMP=min,max** 863 + 864 +* When min=0, and max≠0, Alarm higher than max 865 +* When min≠0, and max=0, Alarm lower than min 866 +* When min≠0 and max≠0, Alarm higher than max or lower than min 867 + 868 +Example: 869 + 870 + AT+SHTEMP=0,30 ~/~/ Alarm when temperature higher than 30. 871 + 872 +* (% style="color:blue" %)**Downlink Payload:** 873 + 874 +(% style="color:#037691" %)**0x(0C 01 00 1E)** (%%) ~/~/ Set AT+SHTEMP=0,30 875 + 876 +(% style="color:red" %)**(note: 3^^rd^^ byte= 0x00 for low limit(not set), 4^^th^^ byte = 0x1E for high limit: 30)** 877 + 878 + 879 +=== 3.3.4 Set Humidity Alarm Threshold === 880 + 881 +* (% style="color:blue" %)**AT Command:** 882 + 883 +(% style="color:#037691" %)**AT+SHHUM=min,max** 884 + 885 +* When min=0, and max≠0, Alarm higher than max 886 +* When min≠0, and max=0, Alarm lower than min 887 +* When min≠0 and max≠0, Alarm higher than max or lower than min 888 + 889 +Example: 890 + 891 + AT+SHHUM=70,0 ~/~/ Alarm when humidity lower than 70%. 892 + 893 +* (% style="color:blue" %)**Downlink Payload:** 894 + 895 +(% style="color:#037691" %)**0x(0C 02 46 00)**(%%) ~/~/ Set AT+SHTHUM=70,0 896 + 897 +(% style="color:red" %)**(note: 3^^rd^^ byte= 0x46 for low limit (70%), 4^^th^^ byte = 0x00 for high limit (not set))** 898 + 899 + 900 +=== 3.3.5 Set Alarm Interval === 901 + 902 +The shortest time of two Alarm packet. (unit: min) 903 + 904 +* (% style="color:blue" %)**AT Command:** 905 + 906 +(% style="color:#037691" %)**AT+ATDC=30** (%%) ~/~/ The shortest interval of two Alarm packets is 30 minutes, Means is there is an alarm packet uplink, there won't be another one in the next 30 minutes. 907 + 908 +* (% style="color:blue" %)**Downlink Payload:** 909 + 910 +(% style="color:#037691" %)**0x(0D 00 1E)**(%%) **~-~--> ** Set AT+ATDC=0x 00 1E = 30 minutes 911 + 912 + 913 +=== 3.3.6 Get Alarm settings === 914 + 915 + 916 +Send a LoRaWAN downlink to ask device send Alarm settings. 917 + 918 +* (% style="color:#037691" %)**Downlink Payload: **(%%)0x0E 01 919 + 920 +**Example:** 921 + 922 +[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LSN50v2-D20-D22-D23%20LoRaWAN%20Temperature%20Sensor%20User%20Manual/WebHome/1655948182791-225.png?rev=1.1||alt="1655948182791-225.png"]] 923 + 924 + 925 +**Explain:** 926 + 927 +* Alarm & MOD bit is 0x7C, 0x7C >> 2 = 0x31: Means this message is the Alarm settings message. 928 + 857 857 === 3.3.7 Set Interrupt Mode === 858 858 859 859 ... ... @@ -885,7 +885,6 @@ 885 885 * Example 1: Downlink Payload: 06000000 ~/~/ Turn off interrupt mode 886 886 * Example 2: Downlink Payload: 06000003 ~/~/ Set the interrupt mode to rising edge trigger 887 887 888 - 889 889 = 4. Battery & Power Consumption = 890 890 891 891