<
From version < 41.17 >
edited by Xiaoling
on 2023/02/01 16:47
To version < 43.1 >
edited by Bei Jinggeng
on 2023/02/22 14:42
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Xiaoling
1 +XWiki.Bei
Content
... ... @@ -55,7 +55,7 @@
55 55  
56 56  * LoRaWAN 1.0.3 Class A
57 57  * Ultra-low power consumption
58 -* Controllable 5v and 12v output to power external sensor
58 +* Controllable 3.3v, 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,7 @@
65 65  * Downlink to change configure
66 66  * 8500mAh Battery for long term use
67 67  
68 +
68 68  == 1.3 Specification ==
69 69  
70 70  
... ... @@ -111,6 +111,7 @@
111 111  * Sleep Mode: 5uA @ 3.3v
112 112  * LoRa Transmit Mode: 125mA @ 20dBm, 82mA @ 14dBm
113 113  
115 +
114 114  == 1.4 Connect to SDI-12 Sensor ==
115 115  
116 116  
... ... @@ -132,7 +132,6 @@
132 132  [[image:1675212633011-651.png]]
133 133  
134 134  
135 -
136 136  (% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:510px" %)
137 137  |=(% style="width: 167px;" %)**Behavior on ACT**|=(% style="width: 109px;" %)**Function**|=(% style="width: 231px;" %)**Action**
138 138  |(% style="width:167px" %)Pressing ACT between 1s < time < 3s|(% style="width:109px" %)Send an uplink|(% style="width:231px" %)(((
... ... @@ -144,8 +144,9 @@
144 144  (% style="color:green" %)**Green led**(%%) will solidly turn on for 5 seconds after joined in network.
145 145  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.
146 146  )))
147 -|(% 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.
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.
148 148  
150 +
149 149  == 1.7 Pin Mapping ==
150 150  
151 151  
... ... @@ -462,7 +462,7 @@
462 462  
463 463  (% style="color:red" %)**var3**(%%): Whether to send //addrD0!// to get return after var2 timeout. 0: Don't Send //addrD0! //; 1: Send //addrD0!//.
464 464  
465 -(% style="color:red" %)**var4**(%%): validation check for return. If return invalid, SDI-12-LB will resend this command. Max 2 retries.
467 +(% style="color:red" %)**var4**(%%): validation check for return. If return invalid, SDI-12-LB will resend this command. Max 4 retries.
466 466  
467 467  (% style="color:red" %)**0 **(%%) No validation check;
468 468  
... ... @@ -489,7 +489,7 @@
489 489  **c**:  define the position for valid value. 
490 490  )))
491 491  
492 -For example, if return from AT+COMMAND1 is “013METER   TER12 112T12-00024895” , Below AT+DATACUT1 will get different result to combine payload:
494 +For example, if return from AT+COMMAND1 is “013METER   TER12 112T12-00024895<CR><LF>” , Below AT+DATACUT1 will get different result to combine payload:
493 493  
494 494  
495 495  (% border="1" cellspacing="4" style="background-color:#f7faff; width:510px" %)
... ... @@ -511,10 +511,10 @@
511 511  Where:
512 512  
513 513  * (% style="color:#037691" %)**MM **(%%): the AT+COMMAND or AT+DATACUT to be set. Value from 01 ~~ 0F,
514 -* (% style="color:#037691" %)**NN **(%%):  1: set the AT+DATACUT value ; 2: set the AT+DATACUT value.
516 +* (% style="color:#037691" %)**NN **(%%):  1: set the AT+COMMAND value ; 2: set the AT+DATACUT value.
515 515  * (% style="color:#037691" %)**LL **(%%):  The length of AT+COMMAND or AT+DATACUT command
516 516  * (% style="color:#037691" %)**XX XX XX XX **(%%): AT+COMMAND or AT+DATACUT command
517 -* (% 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 +* (% 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. 
518 518  
519 519  (% style="color:blue" %)**Example:**
520 520  
... ... @@ -606,15 +606,6 @@
606 606  
607 607  == 2.4 Uplink Payload ==
608 608  
609 -
610 -Uplink payloads have two types:
611 -
612 -* Distance Value: Use FPORT=2
613 -* Other control commands: Use other FPORT fields.
614 -
615 -The application server should parse the correct value based on FPORT settings.
616 -
617 -
618 618  === 2.4.1 Device Payload, FPORT~=5 ===
619 619  
620 620  
... ... @@ -694,15 +694,15 @@
694 694  
695 695  * Periodically Uplink: FPORT=2
696 696  
697 -(% border="1" cellspacing="4" style="background-color:#f7faff; width:510px" %)
698 -|(% style="width:93px" %)(((
690 +(% border="1" cellspacing="4" style="background-color:#f7faff; width:500px" %)
691 +|=(% style="width: 90px;" %)(((
699 699  **Size(bytes)**
700 -)))|(% style="width:83px" %)**2**|(% style="width:70px" %)**1**|(% style="width:234px" %)**Length depends on the return from the commands**
693 +)))|=(% style="width: 80px;" %)**2**|=(% style="width: 90px;" %)**1**|=(% style="width: 240px;" %)**Length depends on the return from the commands**
701 701  |(% style="width:93px" %)**Value**|(% style="width:83px" %)(((
702 702  Battery(mV)
703 703  &
704 704  Interrupt_Flag
705 -)))|(% style="width:70px" %)[[PAYLOAD_VER>>||anchor="H3.6Setthepayloadversion"]]|(% style="width:234px" %)(((
698 +)))|(% style="width:91px" %)[[PAYLOAD_VER>>||anchor="H3.6Setthepayloadversion"]]|(% style="width:212px" %)(((
706 706  If the valid payload is too long and exceed the maximum support.
707 707  Payload length in server,server will show payload not provided in the LoRaWAN server.
708 708  )))
... ... @@ -734,6 +734,7 @@
734 734  
735 735  === 2.4.5 Payload version ===
736 736  
730 +The version number of the payload, mainly used for decoding. The default is 01.
737 737  
738 738  
739 739  === 2.4.6 ​Decode payload in The Things Network ===
... ... @@ -757,15 +757,83 @@
757 757  [[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]]]]
758 758  
759 759  
760 -== 2.6 Frequency Plans ==
754 +== 2.6 Examples To Set SDI commands. ==
761 761  
756 +=== 2.6.1 Examples 1 ===
762 762  
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 +1)The AT+COMMANDx command is applied to the red arrow part, and sends the SDI12 command to the SDI12 sensor:
763 +
764 +a.Send the first command and get the first reply:
765 +
766 +AT+COMMANDx=1I!,0,0,1
767 +
768 +b.Send the second command and get the second reply:
769 +
770 +AT+COMMANDx=2I!,0,0,1
771 +
772 +c.Send the third command and get the third reply:
773 +
774 +AT+COMMANDx=3I!,0,0,1
775 +
776 +d.Send the fourth command and get the fourth reply:
777 +
778 +AT+COMMANDx=4I!,0,0,1
779 +
780 +e.Send the fifth command plus the sixth command, get the sixth reply:
781 +
782 +AT+COMMANDx=1M!,2,1,1
783 +
784 +f.Send the seventh command plus the eighth command, get the eighth reply:
785 +
786 +AT+COMMANDx=2M!,2,1,1
787 +
788 +g.Send the ninth command plus the tenth command, get the tenth reply:
789 +
790 +AT+COMMANDx=3M!,1,1,1
791 +
792 +h.Send the eleventh command plus the twelfth command, get the twelfth reply:
793 +
794 +AT+COMMANDx=4M!,1,1,1
795 +
796 +
797 +2) The AT+DATACUTx command is applied to the green arrow part, receiving and cut out data from the SDI12 sensor:
798 +
799 +a.The first reply, all 34 characters: ”113TRUEBNERSMT100038220303182331<CR><LF>”
800 +
801 +Cut out all characters: AT+ALLDATAMOD=1 or AT+DATACUTx=34,2,1~~34;
802 +
803 +b. The sixth reply, all 31 characters:”1+19210+1.04+0.00+22.49+11.75<CR><LF>”
804 +
805 +Cut out all characters: AT+ALLDATAMOD=1 or AT+DATACUTx=31,2,1~~31;
806 +
807 +c. The eighth reply, all 31 characters:”2+18990+1.08+0.00+22.24+11.80<CR><LF>”
808 +
809 +Cut out all characters: AT+ALLDATAMOD=1 or AT+DATACUTx=31,2,1~~31;
810 +
811 +d. The tenth reply, all 15 characters:”3-2919.8+24.0<CR><LF>”
812 +
813 +Cut out all characters: AT+ALLDATAMOD=1 or AT+DATACUTx=15,2,1~~15;
814 +
815 +e. The twelfth reply, all 25 characters:”4+30.8+22.84+4.7+954.38<CR><LF>”
816 +
817 +Partial cut, the cut sensor address and the first two parameters:AT+DATACUTx=25,2,1~~12, cut out the character field ” 4+30.8+22.84”.
818 +
819 +(% class="wikigeneratedid" %)
820 +== ==
821 +
822 +== 2.7 Frequency Plans ==
823 +
824 +
763 763  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.
764 764  
765 765  [[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/]]
766 766  
767 767  
768 -== 2.7 Firmware Change Log ==
830 +== 2.8 Firmware Change Log ==
769 769  
770 770  
771 771  **Firmware download link:**
... ... @@ -772,7 +772,6 @@
772 772  
773 773  [[https:~~/~~/www.dropbox.com/sh/qrbgbikb109lkiv/AACBR-v_ZhZAMengcY7Nsa1ja?dl=0>>https://www.dropbox.com/sh/qrbgbikb109lkiv/AACBR-v_ZhZAMengcY7Nsa1ja?dl=0]]
774 774  
775 -
776 776  
777 777  = 3. Configure SDI-12-LB via AT Command or LoRaWAN Downlink =
778 778  
... ... @@ -801,7 +801,7 @@
801 801  These commands only valid for SDI-12-LB, as below:
802 802  
803 803  
804 -== ​​​​​​​3.1 Set Transmit Interval Time ==
865 +== 3.1 Set Transmit Interval Time ==
805 805  
806 806  
807 807  Feature: Change LoRaWAN End Node Transmit Interval.
... ... @@ -830,6 +830,7 @@
830 830  * Example 1: Downlink Payload: 0100001E  ~/~/ Set Transmit Interval (TDC) = 30 seconds
831 831  * Example 2: Downlink Payload: 0100003C  ~/~/  Set Transmit Interval (TDC) = 60 seconds
832 832  
894 +
833 833  == 3.2 Set Interrupt Mode ==
834 834  
835 835  
... ... @@ -842,14 +842,14 @@
842 842  |(% style="width:156px" %)AT+INTMOD=?|(% style="width:187px" %)Show current interrupt mode|(% style="width:165px" %)(((
843 843  0
844 844  OK
845 -the mode is 0 = No interruption
907 +the mode is 0 = Disable Interrupt
846 846  )))
847 847  |(% style="width:156px" %)AT+INTMOD=2|(% style="width:187px" %)(((
848 848  Set Transmit Interval
849 -~1. (Disable Interrupt),
850 -2. (Trigger by rising and falling edge)
851 -3. (Trigger by falling edge)
852 -4. (Trigger by rising edge)
911 +0. (Disable Interrupt),
912 +~1. (Trigger by rising and falling edge)
913 +2. (Trigger by falling edge)
914 +3. (Trigger by rising edge)
853 853  )))|(% style="width:165px" %)OK
854 854  
855 855  (% style="color:blue" %)**Downlink Command: 0x06**
... ... @@ -861,6 +861,7 @@
861 861  * Example 1: Downlink Payload: 06000000  ~/~/  Turn off interrupt mode
862 862  * Example 2: Downlink Payload: 06000003  ~/~/  Set the interrupt mode to rising edge trigger
863 863  
926 +
864 864  == 3.3 Set the output time ==
865 865  
866 866  
... ... @@ -930,6 +930,7 @@
930 930  * Example 5: Downlink Payload: 070301F4  **~-~-->**  AT+12VT=500
931 931  * Example 6: Downlink Payload: 07030000  **~-~-->**  AT+12VT=0
932 932  
996 +
933 933  == 3.4 Set the all data mode ==
934 934  
935 935  
... ... @@ -952,6 +952,7 @@
952 952  * Example 1: Downlink Payload: AB 00  ~/~/  AT+ALLDATAMOD=0
953 953  * Example 2: Downlink Payload: AB 01  ~/~/  AT+ALLDATAMOD=1
954 954  
1019 +
955 955  == 3.5 Set the splicing payload for uplink ==
956 956  
957 957  
... ... @@ -988,6 +988,7 @@
988 988  
989 989  == 3.6 Set the payload version ==
990 990  
1056 +
991 991  Feature, Set the payload version.
992 992  
993 993  (% style="color:blue" %)**AT Command: AT+PAYVER**
... ... @@ -1007,6 +1007,7 @@
1007 1007  * Example 1: Downlink Payload: AE 01  ~/~/  AT+PAYVER=1
1008 1008  * Example 2: Downlink Payload: AE 05  ~/~/  AT+PAYVER=5
1009 1009  
1076 +
1010 1010  = 4. Battery & how to replace =
1011 1011  
1012 1012  == 4.1 Battery Type ==
... ... @@ -1121,10 +1121,15 @@
1121 1121  = 8. ​Order Info =
1122 1122  
1123 1123  
1191 +(((
1124 1124  (% style="color:blue" %)**Part Number: SDI-12-LB-XXX**
1193 +)))
1125 1125  
1195 +(((
1126 1126  XXX: The default frequency band
1197 +)))
1127 1127  
1199 +(((
1128 1128  (% style="color:red" %)**AS923**(%%): LoRaWAN AS923 band
1129 1129  (% style="color:red" %)**AU915**(%%): LoRaWAN AU915 band
1130 1130  (% style="color:red" %)**EU433**(%%): LoRaWAN EU433 band
... ... @@ -1133,6 +1133,7 @@
1133 1133  (% style="color:red" %)**US915**(%%): LoRaWAN US915 band
1134 1134  (% style="color:red" %)**IN865**(%%): LoRaWAN IN865 band
1135 1135  (% style="color:red" %)**CN470**(%%): LoRaWAN CN470 band
1208 +)))
1136 1136  
1137 1137  
1138 1138  = 9. Packing Info =
... ... @@ -1149,6 +1149,7 @@
1149 1149  * Package Size / pcs : cm
1150 1150  * Weight / pcs : g
1151 1151  
1225 +
1152 1152  = 10. ​Support =
1153 1153  
1154 1154  
image-20230222143809-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Bei
Size
... ... @@ -1,0 +1,1 @@
1 +322.1 KB
Content
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0