<
From version < 46.1 >
edited by Bei Jinggeng
on 2023/03/20 10:20
To version < 41.20 >
edited by Xiaoling
on 2023/02/01 17:20
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Bei
1 +XWiki.Xiaoling
Content
... ... @@ -55,7 +55,7 @@
55 55  
56 56  * LoRaWAN 1.0.3 Class A
57 57  * Ultra-low power consumption
58 -* Controllable 3.3v, 5v and 12v output to power external sensor
58 +* Controllable 5v and 12v output to power external sensor
59 59  * SDI-12 Protocol to connect to SDI-12 Sensor
60 60  * Monitor Battery Level
61 61  * Bands: CN470/EU433/KR920/US915/EU868/AS923/AU915/IN865
... ... @@ -65,6 +65,8 @@
65 65  * Downlink to change configure
66 66  * 8500mAh Battery for long term use
67 67  
68 +
69 +
68 68  == 1.3 Specification ==
69 69  
70 70  
... ... @@ -77,8 +77,6 @@
77 77  (% style="color:#037691" %)**Common DC Characteristics:**
78 78  
79 79  * Supply Voltage: 2.5v ~~ 3.6v
80 -* Support current: 5V 300mA
81 - 12V 100mA
82 82  * Operating Temperature: -40 ~~ 85°C
83 83  
84 84  (% style="color:#037691" %)**LoRa Spec:**
... ... @@ -113,6 +113,8 @@
113 113  * Sleep Mode: 5uA @ 3.3v
114 114  * LoRa Transmit Mode: 125mA @ 20dBm, 82mA @ 14dBm
115 115  
116 +
117 +
116 116  == 1.4 Connect to SDI-12 Sensor ==
117 117  
118 118  
... ... @@ -145,8 +145,10 @@
145 145  (% style="color:green" %)**Green led**(%%) will solidly turn on for 5 seconds after joined in network.
146 146  Once sensor is active, BLE module will be active and user can connect via BLE to configure device, no matter if device join or not join LoRaWAN network.
147 147  )))
148 -|(% style="width:167px" %)Fast press ACT 5 times.|(% style="width:109px" %)Deactivate Device|(% style="width:231px" %)(% style="color:red" %)**Red led**(%%) will solid on for 5 seconds. Means SDI-12-LB is in Deep Sleep Mode.
150 +|(% style="width:167px" %)Fast press ACT 5 times.|(% style="width:109px" %)Deactivate Device|(% style="width:231px" %)(% style="color:red" %)**Red led**(%%) will solid on for 5 seconds. Means PS-LB is in Deep Sleep Mode.
149 149  
152 +
153 +
150 150  == 1.7 Pin Mapping ==
151 151  
152 152  
... ... @@ -463,7 +463,7 @@
463 463  
464 464  (% style="color:red" %)**var3**(%%): Whether to send //addrD0!// to get return after var2 timeout. 0: Don't Send //addrD0! //; 1: Send //addrD0!//.
465 465  
466 -(% style="color:red" %)**var4**(%%): validation check for return. If return invalid, SDI-12-LB will resend this command. Max 3 retries.
470 +(% style="color:red" %)**var4**(%%): validation check for return. If return invalid, SDI-12-LB will resend this command. Max 2 retries.
467 467  
468 468  (% style="color:red" %)**0 **(%%) No validation check;
469 469  
... ... @@ -490,7 +490,7 @@
490 490  **c**:  define the position for valid value. 
491 491  )))
492 492  
493 -For example, if return from AT+COMMAND1 is “013METER   TER12 112T12-00024895<CR><LF>” , Below AT+DATACUT1 will get different result to combine payload:
497 +For example, if return from AT+COMMAND1 is “013METER   TER12 112T12-00024895” , Below AT+DATACUT1 will get different result to combine payload:
494 494  
495 495  
496 496  (% border="1" cellspacing="4" style="background-color:#f7faff; width:510px" %)
... ... @@ -512,10 +512,10 @@
512 512  Where:
513 513  
514 514  * (% style="color:#037691" %)**MM **(%%): the AT+COMMAND or AT+DATACUT to be set. Value from 01 ~~ 0F,
515 -* (% style="color:#037691" %)**NN **(%%):  1: set the AT+COMMAND value ; 2: set the AT+DATACUT value.
519 +* (% style="color:#037691" %)**NN **(%%):  1: set the AT+DATACUT value ; 2: set the AT+DATACUT value.
516 516  * (% style="color:#037691" %)**LL **(%%):  The length of AT+COMMAND or AT+DATACUT command
517 517  * (% style="color:#037691" %)**XX XX XX XX **(%%): AT+COMMAND or AT+DATACUT command
518 -* (% style="color:#037691" %)**YY **(%%):  If YY=0, SDI-12-LB will execute the downlink command without uplink; if YY=1, SDI-12-LB will execute an uplink after got this command. 
522 +* (% style="color:#037691" %)**YY **(%%):  If YY=0, RS485-LN will execute the downlink command without uplink; if YY=1, RS485-LN will execute an uplink after got this command. 
519 519  
520 520  (% style="color:blue" %)**Example:**
521 521  
... ... @@ -607,6 +607,15 @@
607 607  
608 608  == 2.4 Uplink Payload ==
609 609  
614 +
615 +Uplink payloads have two types:
616 +
617 +* Distance Value: Use FPORT=2
618 +* Other control commands: Use other FPORT fields.
619 +
620 +The application server should parse the correct value based on FPORT settings.
621 +
622 +
610 610  === 2.4.1 Device Payload, FPORT~=5 ===
611 611  
612 612  
... ... @@ -726,7 +726,6 @@
726 726  
727 727  === 2.4.5 Payload version ===
728 728  
729 -The version number of the payload, mainly used for decoding. The default is 01.
730 730  
731 731  
732 732  === 2.4.6 ​Decode payload in The Things Network ===
... ... @@ -747,86 +747,18 @@
747 747  
748 748  The SDI-12-LB by default uplink the sensor data every 20 minutes. User can change this interval by AT Command or LoRaWAN Downlink Command. See this link:
749 749  
750 -[[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20AT%20Commands%20and%20Downlink%20Command/#H4.1ChangeUplinkInterval>>http://wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20AT%20Commands%20and%20Downlink%20Command/#H4.1ChangeUplinkInterval]]
762 +[[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20AT%20Commands%20and%20Downlink%20Command/#H4.1ChangeUplinkInterval>>http://wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20AT%20Commands%20and%20Downlink%20Command/#H4.1ChangeUplinkInterval]]]]
751 751  
752 752  
753 -== 2.6 Examples To Set SDI commands. ==
765 +== 2.6 Frequency Plans ==
754 754  
755 -=== 2.6.1 Examples 1 ===
756 756  
757 -
758 -COM port and SDI-12 sensor communication converted to SDI-12-LB and SDI-12 sensor communication.
759 -
760 -[[image:image-20230222143809-1.png||height="564" width="729"]]
761 -
762 -
763 -(% style="color:blue" %)**1) The AT+COMMANDx command is applied to the red arrow part, and sends the SDI12 command to the SDI12 sensor:**
764 -
765 -a. Send the first command and get the first reply:
766 -
767 -(% style="color:#037691" %)**AT+COMMANDx=1I!,0,0,1**
768 -
769 -b. Send the second command and get the second reply:
770 -
771 -(% style="color:#037691" %)**AT+COMMANDx=2I!,0,0,1**
772 -
773 -c. Send the third command and get the third reply:
774 -
775 -(% style="color:#037691" %)**AT+COMMANDx=3I!,0,0,1**
776 -
777 -d. Send the fourth command and get the fourth reply:
778 -
779 -(% style="color:#037691" %)**AT+COMMANDx=4I!,0,0,1**
780 -
781 -e. Send the fifth command plus the sixth command, get the sixth reply:
782 -
783 -(% style="color:#037691" %)**AT+COMMANDx=1M!,2,1,1**
784 -
785 -f. Send the seventh command plus the eighth command, get the eighth reply:
786 -
787 -(% style="color:#037691" %)**AT+COMMANDx=2M!,2,1,1**
788 -
789 -g. Send the ninth command plus the tenth command, get the tenth reply:
790 -
791 -(% style="color:#037691" %)**AT+COMMANDx=3M!,1,1,1**
792 -
793 -h. Send the eleventh command plus the twelfth command, get the twelfth reply:
794 -
795 -(% style="color:#037691" %)**AT+COMMANDx=4M!,1,1,1**
796 -
797 -
798 -(% style="color:blue" %)**2) The AT+DATACUTx command is applied to the green arrow part, receiving and cut out data from the SDI12 sensor:**
799 -
800 -a. The first reply, all 34 characters: ”113TRUEBNERSMT100038220303182331<CR><LF>”
801 -
802 -Cut out all characters: (% style="color:#037691" %)**AT+ALLDATAMOD=1 or AT+DATACUTx=34,2,1~~34**;
803 -
804 -b. The sixth reply, all 31 characters:”1+19210+1.04+0.00+22.49+11.75<CR><LF>”
805 -
806 -Cut out all characters: (% style="color:#037691" %)**AT+ALLDATAMOD=1 or AT+DATACUTx=31,2,1~~31**;
807 -
808 -c. The eighth reply, all 31 characters:”2+18990+1.08+0.00+22.24+11.80<CR><LF>”
809 -
810 -Cut out all characters: (% style="color:#037691" %)**AT+ALLDATAMOD=1 or AT+DATACUTx=31,2,1~~31**;
811 -
812 -d. The tenth reply, all 15 characters:”3-2919.8+24.0<CR><LF>”
813 -
814 -Cut out all characters: (% style="color:#037691" %)**AT+ALLDATAMOD=1 or AT+DATACUTx=15,2,1~~15**;
815 -
816 -e. The twelfth reply, all 25 characters:”4+30.8+22.84+4.7+954.38<CR><LF>”
817 -
818 -Partial cut, the cut sensor address and the first two parameters:(% style="color:#037691" %)**AT+DATACUTx=25,2,1~~12, cut out the character field ” 4+30.8+22.84”**.
819 -
820 -
821 -== 2.7 Frequency Plans ==
822 -
823 -
824 824  The SDI-12-LB uses OTAA mode and below frequency plans by default. If user want to use it with different frequency plan, please refer the AT command sets.
825 825  
826 826  [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20Frequency%20Band/>>url:http://wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20Frequency%20Band/]]
827 827  
828 828  
829 -== 2.8 Firmware Change Log ==
773 +== 2.7 Firmware Change Log ==
830 830  
831 831  
832 832  **Firmware download link:**
... ... @@ -861,7 +861,7 @@
861 861  These commands only valid for SDI-12-LB, as below:
862 862  
863 863  
864 -== 3.1 Set Transmit Interval Time ==
808 +== ​​​​​​​3.1 Set Transmit Interval Time ==
865 865  
866 866  
867 867  Feature: Change LoRaWAN End Node Transmit Interval.
... ... @@ -890,6 +890,8 @@
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  
837 +
838 +
893 893  == 3.2 Set Interrupt Mode ==
894 894  
895 895  
... ... @@ -902,14 +902,14 @@
902 902  |(% style="width:156px" %)AT+INTMOD=?|(% style="width:187px" %)Show current interrupt mode|(% style="width:165px" %)(((
903 903  0
904 904  OK
905 -the mode is 0 = Disable Interrupt
851 +the mode is 0 = No interruption
906 906  )))
907 907  |(% style="width:156px" %)AT+INTMOD=2|(% style="width:187px" %)(((
908 908  Set Transmit Interval
909 -0. (Disable Interrupt),
910 -~1. (Trigger by rising and falling edge)
911 -2. (Trigger by falling edge)
912 -3. (Trigger by rising edge)
855 +~1. (Disable Interrupt),
856 +2. (Trigger by rising and falling edge)
857 +3. (Trigger by falling edge)
858 +4. (Trigger by rising edge)
913 913  )))|(% style="width:165px" %)OK
914 914  
915 915  (% style="color:blue" %)**Downlink Command: 0x06**
... ... @@ -921,6 +921,8 @@
921 921  * Example 1: Downlink Payload: 06000000  ~/~/  Turn off interrupt mode
922 922  * Example 2: Downlink Payload: 06000003  ~/~/  Set the interrupt mode to rising edge trigger
923 923  
870 +
871 +
924 924  == 3.3 Set the output time ==
925 925  
926 926  
... ... @@ -990,6 +990,8 @@
990 990  * Example 5: Downlink Payload: 070301F4  **~-~-->**  AT+12VT=500
991 991  * Example 6: Downlink Payload: 07030000  **~-~-->**  AT+12VT=0
992 992  
941 +
942 +
993 993  == 3.4 Set the all data mode ==
994 994  
995 995  
... ... @@ -1012,6 +1012,8 @@
1012 1012  * Example 1: Downlink Payload: AB 00  ~/~/  AT+ALLDATAMOD=0
1013 1013  * Example 2: Downlink Payload: AB 01  ~/~/  AT+ALLDATAMOD=1
1014 1014  
965 +
966 +
1015 1015  == 3.5 Set the splicing payload for uplink ==
1016 1016  
1017 1017  
... ... @@ -1068,6 +1068,8 @@
1068 1068  * Example 1: Downlink Payload: AE 01  ~/~/  AT+PAYVER=1
1069 1069  * Example 2: Downlink Payload: AE 05  ~/~/  AT+PAYVER=5
1070 1070  
1023 +
1024 +
1071 1071  = 4. Battery & how to replace =
1072 1072  
1073 1073  == 4.1 Battery Type ==
... ... @@ -1216,6 +1216,8 @@
1216 1216  * Package Size / pcs : cm
1217 1217  * Weight / pcs : g
1218 1218  
1173 +
1174 +
1219 1219  = 10. ​Support =
1220 1220  
1221 1221  
image-20230222143809-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Bei
Size
... ... @@ -1,1 +1,0 @@
1 -322.1 KB
Content
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0