<
From version < 23.1 >
edited by Saxer Lin
on 2023/05/12 17:39
To version < 15.1 >
edited by Edwin Chen
on 2023/05/11 23:23
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Saxer
1 +XWiki.Edwin
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 SN50v3-LB =
790 += 3. Configure S31x-LB =
790 790  
791 791  == 3.1 Configure Methods ==
792 792  
793 793  
794 -SN50v3-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 SN50v3-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:
... ... @@ -846,6 +846,7 @@
846 846  
847 847  === 3.3.2 Get Device Status ===
848 848  
850 +
849 849  Send a LoRaWAN downlink to ask device send Alarm settings.
850 850  
851 851  (% style="color:blue" %)**Downlink Payload:  **(%%)0x26 01
... ... @@ -853,6 +853,77 @@
853 853  Sensor will upload Device Status via FPORT=5. See payload section for detail.
854 854  
855 855  
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 +
856 856  === 3.3.7 Set Interrupt Mode ===
857 857  
858 858  
... ... @@ -912,13 +912,8 @@
912 912  
913 913  = 6. FAQ =
914 914  
915 -== 6.1 Where can i find source code of SN50v3-LB? ==
916 916  
917 -* **[[Hardware Source Files>>https://github.com/dragino/Lora/tree/master/LSN50/v3.0]].**
918 -* **[[Software Source Code & Compile instruction>>https://github.com/dragino/SN50v3]].**
919 919  
920 -
921 -
922 922  = 7. Order Info =
923 923  
924 924  
image-20230512163509-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Saxer
Size
... ... @@ -1,1 +1,0 @@
1 -1.5 MB
Content
image-20230512164658-2.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Saxer
Size
... ... @@ -1,1 +1,0 @@
1 -2.0 MB
Content
image-20230512170701-3.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Saxer
Size
... ... @@ -1,1 +1,0 @@
1 -2.5 MB
Content
image-20230512172447-4.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Saxer
Size
... ... @@ -1,1 +1,0 @@
1 -2.0 MB
Content
image-20230512173758-5.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Saxer
Size
... ... @@ -1,1 +1,0 @@
1 -2.1 MB
Content
image-20230512173903-6.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Saxer
Size
... ... @@ -1,1 +1,0 @@
1 -2.3 MB
Content
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0