Last modified by Mengting Qiu on 2025/07/03 15:42

From version 73.4
edited by Xiaoling
on 2023/06/27 10:34
Change comment: There is no comment for this version
To version 48.2
edited by Xiaoling
on 2023/03/24 13:51
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -120,6 +120,7 @@
120 120  == 1.4 Connect to SDI-12 Sensor ==
121 121  
122 122  
123 +
123 123  [[image:1675212538524-889.png||_mstalt="298272"]]
124 124  
125 125  
... ... @@ -137,18 +137,18 @@
137 137  [[image:1675212633011-651.png||_mstalt="291538"]]
138 138  
139 139  
140 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
141 -|=(% style="width: 167px;background-color:#D9E2F3;color:#0070C0" %)**Behavior on ACT**|=(% style="width: 117px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 225px;background-color:#D9E2F3;color:#0070C0" %)**Action**
142 -|(% style="background-color:#f2f2f2; width:167px" %)Pressing ACT between 1s < time < 3s|(% style="background-color:#f2f2f2; width:117px" %)Send an uplink|(% style="background-color:#f2f2f2; width:225px" %)(((
141 +(% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:510px" %)
142 +|=(% style="width: 167px;" %)**Behavior on ACT**|=(% style="width: 109px;" %)**Function**|=(% style="width: 231px;" %)**Action**
143 +|(% style="width:167px" %)Pressing ACT between 1s < time < 3s|(% style="width:109px" %)Send an uplink|(% style="width:231px" %)(((
143 143  If sensor is already Joined to LoRaWAN network, sensor will send an uplink packet, (% style="color:blue" %)**blue led** (%%)will blink once.
144 144  Meanwhile, BLE module will be active and user can connect via BLE to configure device.
145 145  )))
146 -|(% style="background-color:#f2f2f2; width:167px" %)Pressing ACT for more than 3s|(% style="background-color:#f2f2f2; width:117px" %)Active Device|(% style="background-color:#f2f2f2; width:225px" %)(((
147 -(% style="background-color:#f2f2f2; color:green" %)**Green led**(%%) will fast blink 5 times, device will enter (% style="color:#037691" %)**OTA mode**(%%) for 3 seconds. And then start to JOIN LoRaWAN network.
148 -(% style="background-color:#f2f2f2; color:green" %)**Green led**(%%) will solidly turn on for 5 seconds after joined in network.
147 +|(% style="width:167px" %)Pressing ACT for more than 3s|(% style="width:109px" %)Active Device|(% style="width:231px" %)(((
148 +(% style="color:green" %)**Green led**(%%) will fast blink 5 times, device will enter (% style="color:#037691" %)**OTA mode**(%%) for 3 seconds. And then start to JOIN LoRaWAN network.
149 +(% style="color:green" %)**Green led**(%%) will solidly turn on for 5 seconds after joined in network.
149 149  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.
150 150  )))
151 -|(% style="background-color:#f2f2f2; width:167px" %)Fast press ACT 5 times.|(% style="background-color:#f2f2f2; width:117px" %)Deactivate Device|(% style="background-color:#f2f2f2; width:225px" %)(% style="color:red" %)**Red led**(%%) will solid on for 5 seconds. Means PS-LB-NA is in Deep Sleep Mode.
152 +|(% 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.
152 152  
153 153  
154 154  
... ... @@ -206,9 +206,10 @@
206 206  
207 207  Each SDI-12-LB is shipped with a sticker with the default device EUI as below:
208 208  
209 -[[image:image-20230426084456-1.png||height="241" width="519"]]
210 210  
211 +[[image:image-20230201152430-20.jpeg||_mstalt="492245"]]
211 211  
213 +
212 212  You can enter this key in the LoRaWAN Server portal. Below is TTN screen shot:
213 213  
214 214  
... ... @@ -400,7 +400,7 @@
400 400  This command can be used to debug all SDI-12 command.
401 401  
402 402  
403 -LoRaWAN Downlink: A8 aa xx xx xx xx bb cc dd
405 +LoRaWAN Downlink: A8 aa xx xx xx xx bb cc
404 404  
405 405  (% style="color:#037691" %)**aa **(%%): total SDI-12 command length
406 406  
... ... @@ -410,11 +410,9 @@
410 410  
411 411  (% style="color:#037691" %)**cc **(%%): 0: don't uplink return to LoRaWAN, 1: Uplink return to LoRaWAN on FPORT=100
412 412  
413 -(% style="color:#037691" %)**dd: **(%%) 0: Do not use aD0! command access, 1: use aD0! command access.
414 414  
416 +(% style="color:blue" %)**Example: **(%%) AT+CFGDEV =0RC0!,1
415 415  
416 -(% style="color:blue" %)**Example1: **(%%) AT+CFGDEV =0RC0!,1
417 -
418 418  (% style="color:#037691" %)**0RC0! **(%%): SDI-12 Command,
419 419  
420 420  (% style="color:#037691" %)**1 **(%%): Delay 1 second.  ( 0: 810 mini-second)
... ... @@ -431,17 +431,6 @@
431 431  [[image:image-20230201092355-17.png||_mstalt="454337" height="426" width="1135"]]
432 432  
433 433  
434 -(% style="color:blue" %)**Example2: **(%%) AT+CFGDEV =0M!,1,1  or  AT+CFGDEV =0C!,1,1
435 -
436 -(% style="color:#037691" %)**0M! **(%%): SDI-12 Command,
437 -
438 -(% style="color:#037691" %)**1 **(%%): Delay 1 second.  ( 0: 810 mini-second)
439 -
440 -(% style="color:#037691" %)**1 **(%%):Use aD0! command access.
441 -
442 -Equal Downlink: 0xA8 03 30  4D 21 01 01 01
443 -
444 -
445 445  === 2.3.3 Convert ASCII to String ===
446 446  
447 447  
... ... @@ -496,9 +496,9 @@
496 496  
497 497  (% style="color:blue" %)**AT+DATACUTx**(%%) : This command defines how to handle the return from AT+COMMANDx, max return length is 100 bytes.
498 498  
499 -(% border="1" style="width:436px" %)
500 -|(% style="background-color:#f2f2f2; width:433px" %)(((
501 -(% style="color:#0070c0" %)**AT+DATACUTx=a,b,c**
488 +(% border="1" style="background-color:#f7faff; width:436px" %)
489 +|(% style="width:433px" %)(((
490 +**AT+DATACUTx=a,b,c**
502 502  
503 503  **a**:  length for the return of AT+COMMAND
504 504  
... ... @@ -510,11 +510,11 @@
510 510  For example, if return from AT+COMMAND1 is “013METER   TER12 112T12-00024895<CR><LF>” , Below AT+DATACUT1 will get different result to combine payload:
511 511  
512 512  
513 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
514 -|=(% style="width: 164px;background-color:#D9E2F3;color:#0070C0" %)**AT+DATACUT1 value**|=(% style="width: 344px;background-color:#D9E2F3;color:#0070C0" %)**Final Result to combine Payload**
515 -|(% style="background-color:#f2f2f2; width:164px" %)34,1,1+2+3|(% style="background-color:#f2f2f2; width:344px" %)0D 00 01 30 31 33
516 -|(% style="background-color:#f2f2f2; width:164px" %)34,2,1~~8+12~~16|(% style="background-color:#f2f2f2; width:344px" %)0D 00 01 30 31 33 4D 45 54 45 52 54 45 52 31 32
517 -|(% style="background-color:#f2f2f2; width:164px" %)34,2,1~~34|(% style="background-color:#f2f2f2; width:344px" %)0D 00 01 30 31 33 4D 45 54 45 52 20 20 20 54 45 52 31 32 20 31 31 32 54 31 32 2D 30 30 30 32 34 38 39 35 0D 0A
502 +(% border="1" cellspacing="4" style="background-color:#f7faff; width:510px" %)
503 +|=(% style="width: 164px;" %)**AT+DATACUT1 value**|=(% style="width: 344px;" %)**Final Result to combine Payload**
504 +|(% style="width:164px" %)34,1,1+2+3|(% style="width:344px" %)0D 00 01 30 31 33
505 +|(% style="width:164px" %)34,2,1~~8+12~~16|(% style="width:344px" %)0D 00 01 30 31 33 4D 45 54 45 52 54 45 52 31 32
506 +|(% style="width:164px" %)34,2,1~~34|(% style="width:344px" %)0D 00 01 30 31 33 4D 45 54 45 52 20 20 20 54 45 52 31 32 20 31 31 32 54 31 32 2D 30 30 30 32 34 38 39 35 0D 0A
518 518  
519 519  * (% style="color:blue" %)** Downlink Payload:**
520 520  
... ... @@ -631,10 +631,10 @@
631 631  
632 632  Users can also use the downlink command(0x26 01) to ask SDI-12-LB to resend this uplink.
633 633  
634 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
635 -|(% colspan="6" style="background-color:#d9e2f3; color:#0070c0" %)**Device Status (FPORT=5)**
636 -|(% style="background-color:#f2f2f2; width:103px" %)**Size (bytes)**|(% style="background-color:#f2f2f2; width:72px" %)**1**|(% style="background-color:#f2f2f2" %)**2**|(% style="background-color:#f2f2f2; width:91px" %)**1**|(% style="background-color:#f2f2f2; width:86px" %)**1**|(% style="background-color:#f2f2f2; width:44px" %)**2**
637 -|(% style="background-color:#f2f2f2; width:103px" %)**Value**|(% style="background-color:#f2f2f2; width:72px" %)Sensor Model|(% style="background-color:#f2f2f2" %)Firmware Version|(% style="background-color:#f2f2f2; width:91px" %)Frequency Band|(% style="background-color:#f2f2f2; width:86px" %)Sub-band|(% style="background-color:#f2f2f2; width:44px" %)BAT
623 +(% border="1" cellspacing="4" style="background-color:#f7faff; width:420px" %)
624 +|(% colspan="6" style="width:434px" %)**Device Status (FPORT=5)**
625 +|(% style="width:114px" %)**Size(bytes)**|(% style="width:39px" %)**1**|(% style="width:80px" %)**2**|(% style="width:89px" %)**1**|(% style="width:59px" %)**1**|(% style="width:37px" %)**2**
626 +|(% style="width:114px" %)**Value**|(% style="width:39px" %)Sensor Model|(% style="width:80px" %)Firmware Version|(% style="width:89px" %)Frequency Band|(% style="width:59px" %)Sub-band|(% style="width:37px" %)BAT
638 638  
639 639  Example parse in TTNv3
640 640  
... ... @@ -647,33 +647,33 @@
647 647  
648 648  (% style="color:#037691" %)**Frequency Band**:
649 649  
650 -0x01: EU868
639 +*0x01: EU868
651 651  
652 -0x02: US915
641 +*0x02: US915
653 653  
654 -0x03: IN865
643 +*0x03: IN865
655 655  
656 -0x04: AU915
645 +*0x04: AU915
657 657  
658 -0x05: KZ865
647 +*0x05: KZ865
659 659  
660 -0x06: RU864
649 +*0x06: RU864
661 661  
662 -0x07: AS923
651 +*0x07: AS923
663 663  
664 -0x08: AS923-1
653 +*0x08: AS923-1
665 665  
666 -0x09: AS923-2
655 +*0x09: AS923-2
667 667  
668 -0x0a: AS923-3
657 +*0x0a: AS923-3
669 669  
670 -0x0b: CN470
659 +*0x0b: CN470
671 671  
672 -0x0c: EU433
661 +*0x0c: EU433
673 673  
674 -0x0d: KR920
663 +*0x0d: KR920
675 675  
676 -0x0e: MA869
665 +*0x0e: MA869
677 677  
678 678  
679 679  (% style="color:#037691" %)**Sub-Band**:
... ... @@ -703,10 +703,10 @@
703 703  
704 704  * Periodically Uplink: FPORT=2
705 705  
706 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:500px" %)
707 -|=(% style="width: 90px;background-color:#D9E2F3;color:#0070C0" %)(((
695 +(% border="1" cellspacing="4" style="background-color:#f7faff; width:500px" %)
696 +|=(% style="width: 90px;" %)(((
708 708  **Size(bytes)**
709 -)))|=(% style="width: 80px;background-color:#D9E2F3;color:#0070C0" %)**2**|=(% style="width: 90px;background-color:#D9E2F3;color:#0070C0" %)**1**|=(% style="width: 240px;background-color:#D9E2F3;color:#0070C0" %)**Length depends on the return from the commands**
698 +)))|=(% style="width: 80px;" %)**2**|=(% style="width: 90px;" %)**1**|=(% style="width: 240px;" %)**Length depends on the return from the commands**
710 710  |(% style="width:93px" %)**Value**|(% style="width:83px" %)(((
711 711  Battery(mV)
712 712  &
... ... @@ -743,7 +743,6 @@
743 743  
744 744  === 2.4.5 Payload version ===
745 745  
746 -
747 747  The version number of the payload, mainly used for decoding. The default is 01.
748 748  
749 749  
... ... @@ -768,9 +768,9 @@
768 768  [[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]]
769 769  
770 770  
771 -== 2.6 Examples To Set SDI commands ==
759 +== 2.6 Examples To Set SDI commands. ==
772 772  
773 -=== 2.6.1 Examples 1 ~-~- General Example ===
761 +=== 2.6.1 Examples 1 ===
774 774  
775 775  
776 776  COM port and SDI-12 sensor communication converted to SDI-12-LB and SDI-12 sensor communication.
... ... @@ -836,163 +836,6 @@
836 836  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”**.
837 837  
838 838  
839 -=== 2.6.2 Example 2 ~-~- Connect to Hygrovue10 ===
840 -
841 -==== 2.6.2.1 Reference Manual and Command ====
842 -
843 -
844 -* [[Hygrovue10 Product Page>>https://www.campbellsci.com/hygrovue10]]
845 -
846 -* Commands to be used in PC and output.
847 -
848 -~1. check device address
849 -
850 -2. change device address
851 -
852 -3. check device ID
853 -
854 -4. start measure
855 -
856 -5. Get Meausre result
857 -
858 -[[image:image-20230603120209-2.png||height="281" width="267"]]
859 -
860 -
861 -==== 2.6.2.2 Hardware Connection to SDI-12-LB ====
862 -
863 -
864 -[[image:image-20230603120515-3.png]]
865 -
866 -
867 -==== 2.6.2.3 Commands set in SDI-12-LB and uplink payload ====
868 -
869 -
870 -[[image:image-20230603120648-4.png]]
871 -
872 -[[image:image-20230603120726-5.png]]
873 -
874 -
875 -**Data in TTN:**
876 -
877 -[[image:image-20230603120859-6.png||height="118" width="1285"]]
878 -
879 -
880 -=== (% id="cke_bm_1172015S" style="display:none" %) (%%)2.6.3 Example 3 ~-~- Connect to SIL-400 ===
881 -
882 -==== 2.6.3.1 Reference Manual and Command ====
883 -
884 -
885 -* [[SIL-400 Product Page>>https://www.apogeeinstruments.com/sil-411-commercial-grade-sdi-12-digital-output-standard-field-of-view-infrared-radiometer-sensor/]]
886 -
887 -* Commands to be used in PC and output.
888 -
889 -~1. check device address
890 -
891 -2. change device address
892 -
893 -3. check device ID
894 -
895 -4. start measure
896 -
897 -5. Get Meausre result
898 -
899 -[[image:image-20230603121606-7.png||height="242" width="307"]]
900 -
901 -
902 -==== 2.6.3.2 Hardware Connection to SDI-12-LB ====
903 -
904 -
905 -[[image:image-20230603121643-8.png||height="442" width="656"]]
906 -
907 -
908 -==== 2.6.3.3 Commands set in SDI-12-LB and uplink payload ====
909 -
910 -
911 -[[image:image-20230603121721-9.png]]
912 -
913 -[[image:image-20230603121752-10.png]]
914 -
915 -Data in TTN:
916 -
917 -[[image:image-20230603121826-11.png||height="155" width="1104"]]
918 -
919 -
920 -
921 -=== (% id="cke_bm_1172015S" style="display:none" %) (%%)2.6.4 Example 4 ~-~- Connect to TEROS-12 ===
922 -
923 -==== 2.6.4.1 Reference Manual and Command ====
924 -
925 -
926 -* [[TEROS-12 Product Page>>https://www.metergroup.com/en/meter-environment/products/teros-12-soil-moisture-sensor]]
927 -
928 -* Commands to be used in PC and output.
929 -
930 -1.check device address
931 -
932 -2.change device address
933 -
934 -3.check device ID
935 -
936 -4.start measure
937 -
938 -5.Get Meausre result
939 -
940 -[[image:image-20230603122248-16.png||height="196" width="198"]]
941 -
942 -
943 -==== 2.6.4.2 Hardware Connection to SDI-12-LB ====
944 -
945 -
946 -[[image:image-20230603122212-15.png||height="502" width="667"]]
947 -
948 -
949 -==== 2.6.4.3 Commands set in SDI-12-LB and uplink payload ====
950 -
951 -
952 -[[image:image-20230603122040-12.png]]
953 -
954 -[[image:image-20230603122109-13.png||height="469" width="762"]]
955 -
956 -
957 -**Data in TTN:**
958 -
959 -[[image:image-20230603122139-14.png||height="148" width="1128"]]
960 -
961 -
962 -=== (% id="cke_bm_1489640S" style="display:none" %) (% id="cke_bm_1172015S" style="display:none" %) (%%)2.6.5 Example 5 ~-~- Connect to SIL-400/TEROS-12 & Hygrovue10 ===
963 -
964 -==== 2.6.5.1 Important Notice! ====
965 -
966 -
967 -* The product page and reference command see above example 2,3,4
968 -
969 -* All of these SDI-12 sensors use the same address (address 0) by default. So we need to change their address to different address, by using **aAb!** command. See above example.
970 -
971 -* The sensor needs to be powered to a steady statue. So the 12VT time need to be set to the maximum stable time for the sensors. in this example, it is 13 seconds.
972 -
973 -* If these SDI-12 sensors are powered by external power source. It will add 300uA in the total current in SDI-12-LB.
974 -
975 -
976 -
977 -==== 2.6.5.2 Hardware Connection to SDI-12-LB ====
978 -
979 -
980 -[[image:image-20230603122508-17.png||height="526" width="742"]]
981 -
982 -
983 -==== 2.6.5.3 Commands set in SDI-12-LB and uplink payload ====
984 -
985 -
986 -[[image:image-20230603122549-18.png]]
987 -
988 -[[image:image-20230603122623-19.png||height="483" width="1121"]]
989 -
990 -
991 -**Data in TTN:**
992 -
993 -[[image:image-20230603122719-20.png||height="151" width="1179"]]
994 -
995 -
996 996  == 2.7 Frequency Plans ==
997 997  
998 998  
... ... @@ -1043,14 +1043,14 @@
1043 1043  
1044 1044  (% style="color:blue" %)**AT Command: AT+TDC**
1045 1045  
1046 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
1047 -|=(% style="width: 160px; background-color: rgb(217, 226, 243); color: rgb(0, 112, 192);" %)**Command Example**|=(% style="width: 160px; background-color: rgb(217, 226, 243); color: rgb(0, 112, 192);" %)**Function**|=(% style="width: 190px;background-color:#D9E2F3;color:#0070C0" %)**Response**
1048 -|(% style="background-color:#f2f2f2; width:157px" %)AT+TDC=?|(% style="background-color:#f2f2f2; width:166px" %)Show current transmit Interval|(% style="background-color:#f2f2f2" %)(((
877 +(% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:510px" %)
878 +|=(% style="width: 156px;" %)**Command Example**|=(% style="width: 137px;" %)**Function**|=**Response**
879 +|(% style="width:156px" %)AT+TDC=?|(% style="width:137px" %)Show current transmit Interval|(((
1049 1049  30000
1050 1050  OK
1051 1051  the interval is 30000ms = 30s
1052 1052  )))
1053 -|(% style="background-color:#f2f2f2; width:157px" %)AT+TDC=60000|(% style="background-color:#f2f2f2; width:166px" %)Set Transmit Interval|(% style="background-color:#f2f2f2" %)(((
884 +|(% style="width:156px" %)AT+TDC=60000|(% style="width:137px" %)Set Transmit Interval|(((
1054 1054  OK
1055 1055  Set transmit interval to 60000ms = 60 seconds
1056 1056  )))
... ... @@ -1074,20 +1074,20 @@
1074 1074  
1075 1075  (% style="color:blue" %)**AT Command: AT+INTMOD**
1076 1076  
1077 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
1078 -|=(% style="width: 154px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 196px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 157px;background-color:#D9E2F3;color:#0070C0" %)**Response**
1079 -|(% style="background-color:#f2f2f2; width:154px" %)AT+INTMOD=?|(% style="background-color:#f2f2f2; width:196px" %)Show current interrupt mode|(% style="background-color:#f2f2f2; width:157px" %)(((
908 +(% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:510px" %)
909 +|=(% style="width: 156px;" %)**Command Example**|=(% style="width: 187px;" %)**Function**|=(% style="width: 165px;" %)**Response**
910 +|(% style="width:156px" %)AT+INTMOD=?|(% style="width:187px" %)Show current interrupt mode|(% style="width:165px" %)(((
1080 1080  0
1081 1081  OK
1082 -the mode is 0 =Disable Interrupt
913 +the mode is 0 = Disable Interrupt
1083 1083  )))
1084 -|(% style="background-color:#f2f2f2; width:154px" %)AT+INTMOD=2|(% style="background-color:#f2f2f2; width:196px" %)(((
915 +|(% style="width:156px" %)AT+INTMOD=2|(% style="width:187px" %)(((
1085 1085  Set Transmit Interval
1086 1086  0. (Disable Interrupt),
1087 1087  ~1. (Trigger by rising and falling edge)
1088 1088  2. (Trigger by falling edge)
1089 1089  3. (Trigger by rising edge)
1090 -)))|(% style="background-color:#f2f2f2; width:157px" %)OK
921 +)))|(% style="width:165px" %)OK
1091 1091  
1092 1092  (% style="color:blue" %)**Downlink Command: 0x06**
1093 1093  
... ... @@ -1107,54 +1107,52 @@
1107 1107  
1108 1108  (% style="color:blue" %)**AT Command: AT+3V3T**
1109 1109  
1110 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:474px" %)
1111 -|=(% style="width: 154px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 201px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 116px;background-color:#D9E2F3;color:#0070C0" %)**Response**
1112 -|(% style="background-color:#f2f2f2; width:154px" %)AT+3V3T=?|(% style="background-color:#f2f2f2; width:201px" %)Show 3V3 open time.|(% style="background-color:#f2f2f2; width:116px" %)(((
941 +(% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:474px" %)
942 +|=(% style="width: 154px;" %)**Command Example**|=(% style="width: 201px;" %)**Function**|=(% style="width: 116px;" %)**Response**
943 +|(% style="width:154px" %)AT+3V3T=?|(% style="width:201px" %)Show 3V3 open time.|(% style="width:116px" %)(((
1113 1113  0
1114 1114  OK
1115 1115  )))
1116 -|(% style="background-color:#f2f2f2; width:154px" %)AT+3V3T=0|(% style="background-color:#f2f2f2; width:201px" %)Normally open 3V3 power supply.|(% style="background-color:#f2f2f2; width:116px" %)(((
947 +|(% style="width:154px" %)AT+3V3T=0|(% style="width:201px" %)Normally open 3V3 power supply.|(% style="width:116px" %)(((
1117 1117  OK
1118 1118  default setting
1119 1119  )))
1120 -|(% style="background-color:#f2f2f2; width:154px" %)AT+3V3T=1000|(% style="background-color:#f2f2f2; width:201px" %)Close after a delay of 1000 milliseconds.|(% style="background-color:#f2f2f2; width:116px" %)(((
951 +|(% style="width:154px" %)AT+3V3T=1000|(% style="width:201px" %)Close after a delay of 1000 milliseconds.|(% style="width:116px" %)(((
1121 1121  OK
1122 1122  )))
1123 -|(% style="background-color:#f2f2f2; width:154px" %)AT+3V3T=65535|(% style="background-color:#f2f2f2; width:201px" %)Normally closed 3V3 power supply.|(% style="background-color:#f2f2f2; width:116px" %)(((
954 +|(% style="width:154px" %)AT+3V3T=65535|(% style="width:201px" %)Normally closed 3V3 power supply.|(% style="width:116px" %)(((
1124 1124  OK
1125 1125  )))
1126 1126  
1127 1127  (% style="color:blue" %)**AT Command: AT+5VT**
1128 1128  
1129 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:470px" %)
1130 -|=(% style="width: 155px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 196px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 114px;background-color:#D9E2F3;color:#0070C0" %)**Response**
1131 -|(% style="background-color:#f2f2f2; width:155px" %)AT+5VT=?|(% style="background-color:#f2f2f2; width:196px" %)Show 5V open time.|(% style="background-color:#f2f2f2; width:114px" %)(((
960 +(% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:470px" %)
961 +|=(% style="width: 155px;" %)**Command Example**|=(% style="width: 196px;" %)**Function**|=(% style="width: 114px;" %)**Response**
962 +|(% style="width:155px" %)AT+5VT=?|(% style="width:196px" %)Show 5V open time.|(% style="width:114px" %)(((
1132 1132  0
1133 1133  OK
1134 1134  )))
1135 -|(% style="background-color:#f2f2f2; width:155px" %)AT+5VT=0|(% style="background-color:#f2f2f2; width:196px" %)Normally closed 5V power supply.|(% style="background-color:#f2f2f2; width:114px" %)(((
966 +|(% style="width:155px" %)AT+5VT=0|(% style="width:196px" %)Normally closed 5V power supply.|(% style="width:114px" %)(((
1136 1136  OK
1137 1137  default setting
1138 1138  )))
1139 -|(% style="background-color:#f2f2f2; width:155px" %)AT+5VT=1000|(% style="background-color:#f2f2f2; width:196px" %)Close after a delay of 1000 milliseconds.|(% style="background-color:#f2f2f2; width:114px" %)(((
970 +|(% style="width:155px" %)AT+5VT=1000|(% style="width:196px" %)Close after a delay of 1000 milliseconds.|(% style="width:114px" %)(((
1140 1140  OK
1141 1141  )))
1142 -|(% style="background-color:#f2f2f2; width:155px" %)AT+5VT=65535|(% style="background-color:#f2f2f2; width:196px" %)Normally open 5V power supply.|(% style="background-color:#f2f2f2; width:114px" %)(((
973 +|(% style="width:155px" %)AT+5VT=65535|(% style="width:196px" %)Normally open 5V power supply.|(% style="width:114px" %)(((
1143 1143  OK
1144 1144  )))
1145 1145  
1146 -(% style="color:blue" %)**AT Command: AT+12VT **
977 +(% style="color:blue" %)**AT Command: AT+12VT**
1147 1147  
1148 -(% style="color:blue" %)**(The v1.2 version is enabled for 1 second by default, and the version below v1.2 is disabled by default)**
1149 -
1150 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:443px" %)
1151 -|=(% style="width: 156px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 199px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 83px;background-color:#D9E2F3;color:#0070C0" %)**Response**
1152 -|(% style="background-color:#f2f2f2; width:156px" %)AT+12VT=?|(% style="background-color:#f2f2f2; width:199px" %)Show 12V open time.|(% style="background-color:#f2f2f2; width:83px" %)(((
979 +(% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:443px" %)
980 +|=(% style="width: 156px;" %)**Command Example**|=(% style="width: 199px;" %)**Function**|=(% style="width: 83px;" %)**Response**
981 +|(% style="width:156px" %)AT+12VT=?|(% style="width:199px" %)Show 12V open time.|(% style="width:83px" %)(((
1153 1153  0
1154 1154  OK
1155 1155  )))
1156 -|(% style="background-color:#f2f2f2; width:156px" %)AT+12VT=0|(% style="background-color:#f2f2f2; width:199px" %)Normally closed 12V power supply.|(% style="background-color:#f2f2f2; width:83px" %)OK
1157 -|(% style="background-color:#f2f2f2; width:156px" %)AT+12VT=500|(% style="background-color:#f2f2f2; width:199px" %)Close after a delay of 500 milliseconds.|(% style="background-color:#f2f2f2; width:83px" %)(((
985 +|(% style="width:156px" %)AT+12VT=0|(% style="width:199px" %)Normally closed 12V power supply.|(% style="width:83px" %)OK
986 +|(% style="width:156px" %)AT+12VT=500|(% style="width:199px" %)Close after a delay of 500 milliseconds.|(% style="width:83px" %)(((
1158 1158  OK
1159 1159  )))
1160 1160  
... ... @@ -1180,13 +1180,13 @@
1180 1180  
1181 1181  (% style="color:blue" %)**AT Command: AT+ALLDATAMOD**
1182 1182  
1183 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:437px" %)
1184 -|=(% style="background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="background-color:#D9E2F3;color:#0070C0" %)**Response**
1185 -|(% style="background-color:#f2f2f2" %)AT+ALLDATAMOD=?|(% style="background-color:#f2f2f2" %)Show current all data mode|(% style="background-color:#f2f2f2" %)(((
1012 +(% border="1" cellspacing="4" style="background-color:#f7faff; width:437px" %)
1013 +|=**Command Example**|=**Function**|=**Response**
1014 +|AT+ALLDATAMOD=?|Show current all data mode|(((
1186 1186  0
1187 1187  OK
1188 1188  )))
1189 -|(% style="background-color:#f2f2f2" %)AT+ALLDATAMOD=1|(% style="background-color:#f2f2f2" %)Set all data mode is 1.|(% style="background-color:#f2f2f2" %)OK
1018 +|AT+ALLDATAMOD=1|Set all data mode is 1.|OK
1190 1190  
1191 1191  (% style="color:blue" %)**Downlink Command: 0xAB**
1192 1192  
... ... @@ -1204,21 +1204,21 @@
1204 1204  
1205 1205  (% style="color:blue" %)**AT Command: AT+DATAUP**
1206 1206  
1207 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
1208 -|=(% style="width: 154px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 266px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="background-color:#D9E2F3;color:#0070C0" %)**Response**
1209 -|(% style="background-color:#f2f2f2; width:154px" %)AT+DATAUP =?|(% style="background-color:#f2f2f2; width:266px" %)Show current splicing payload for uplink mode|(% style="background-color:#f2f2f2" %)(((
1036 +(% border="1" cellspacing="4" style="background-color:#f7faff; width:510px" %)
1037 +|=(% style="width: 154px;" %)**Command Example**|=(% style="width: 266px;" %)**Function**|=**Response**
1038 +|(% style="width:154px" %)AT+DATAUP =?|(% style="width:266px" %)Show current splicing payload for uplink mode|(((
1210 1210  0
1211 1211  OK
1212 1212  )))
1213 -|(% style="background-color:#f2f2f2; width:154px" %)AT+DATAUP =0|(% style="background-color:#f2f2f2; width:266px" %)(((
1042 +|(% style="width:154px" %)AT+DATAUP =0|(% style="width:266px" %)(((
1214 1214  Set splicing payload for uplink mode is 0.
1215 -)))|(% style="background-color:#f2f2f2" %)(((
1044 +)))|(((
1216 1216  OK
1217 1217  )))
1218 -|(% style="background-color:#f2f2f2; width:154px" %)AT+DATAUP =1|(% style="background-color:#f2f2f2; width:266px" %)Set splicing payload for uplink mode is 1 , and the each splice uplink is sent sequentially.|(% style="background-color:#f2f2f2" %)OK
1219 -|(% style="background-color:#f2f2f2; width:154px" %)AT+DATAUP =1,20000|(% style="background-color:#f2f2f2; width:266px" %)(((
1047 +|(% style="width:154px" %)AT+DATAUP =1|(% style="width:266px" %)Set splicing payload for uplink mode is 1 , and the each splice uplink is sent sequentially.|OK
1048 +|(% style="width:154px" %)AT+DATAUP =1,20000|(% style="width:266px" %)(((
1220 1220  Set splicing payload for uplink mode is 1, and the uplink interval of each splice to 20000 milliseconds.
1221 -)))|(% style="background-color:#f2f2f2" %)OK
1050 +)))|OK
1222 1222  
1223 1223  (% style="color:blue" %)**Downlink Command: 0xAD**
1224 1224  
... ... @@ -1238,13 +1238,13 @@
1238 1238  
1239 1239  (% style="color:blue" %)**AT Command: AT+PAYVER**
1240 1240  
1241 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:437px" %)
1242 -|=(% style="width: 158px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 192px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="background-color:#D9E2F3;color:#0070C0" %)**Response**
1243 -|(% style="background-color:#f2f2f2; width:158px" %)AT+PAYVER=?|(% style="background-color:#f2f2f2; width:192px" %)Show current payload version|(% style="background-color:#f2f2f2" %)(((
1070 +(% border="1" cellspacing="4" style="background-color:#f7faff; width:437px" %)
1071 +|=(% style="width: 158px;" %)**Command Example**|=(% style="width: 192px;" %)**Function**|=**Response**
1072 +|(% style="width:158px" %)AT+PAYVER=?|(% style="width:192px" %)Show current payload version|(((
1244 1244  1
1245 1245  OK
1246 1246  )))
1247 -|(% style="background-color:#f2f2f2; width:158px" %)AT+PAYVER=5|(% style="background-color:#f2f2f2; width:192px" %)Set payload version is 5.|(% style="background-color:#f2f2f2" %)OK
1076 +|(% style="width:158px" %)AT+PAYVER=5|(% style="width:192px" %)Set payload version is 5.|OK
1248 1248  
1249 1249  (% style="color:blue" %)**Downlink Command: 0xAE**
1250 1250  
... ... @@ -1255,14 +1255,76 @@
1255 1255  
1256 1256  
1257 1257  
1258 -= 4. Battery & Power Consumption =
1087 += 4. Battery & how to replace =
1259 1259  
1089 +== 4.1 Battery Type ==
1260 1260  
1261 -SDI-12-LB uses ER26500 + SPC1520 battery pack. See below link for detail information about the battery info and how to replace.
1262 1262  
1263 -[[**Battery Info & Power Consumption Analyze**>>url:http://wiki.dragino.com/xwiki/bin/view/Main/How%20to%20calculate%20the%20battery%20life%20of%20Dragino%20sensors%3F/]] .
1092 +SDI-12-LB is equipped with a [[8500mAH ER26500 Li-SOCI2 battery>>https://www.dropbox.com/sh/w9l2oa3ytpculph/AAAPtt-apH4lYfCj-2Y6lHvQa?dl=0]]. The battery is un-rechargeable battery with low discharge rate targeting for 8~~10 years use. This type of battery is commonly used in IoT target for long-term running, such as water meter.
1264 1264  
1265 1265  
1095 +The discharge curve is not linear so can’t simply use percentage to show the battery level. Below is the battery performance.
1096 +
1097 +[[image:1675234124233-857.png||_mstalt="295035"]]
1098 +
1099 +
1100 +Minimum Working Voltage for the SDI-12-LB:
1101 +
1102 +SDI-12-LB:  2.45v ~~ 3.6v
1103 +
1104 +
1105 +== 4.2 Replace Battery ==
1106 +
1107 +
1108 +Any battery with range 2.45 ~~ 3.6v can be a replacement. We recommend to use Li-SOCl2 Battery.
1109 +
1110 +And make sure the positive and negative pins match.
1111 +
1112 +
1113 +== 4.3 Power Consumption Analyze ==
1114 +
1115 +
1116 +Dragino Battery powered product are all runs in Low Power mode. We have an update battery calculator which base on the measurement of the real device. User can use this calculator to check the battery life and calculate the battery life if want to use different transmit interval.
1117 +
1118 +Instruction to use as below:
1119 +
1120 +(% style="color:blue" %)**Step 1:**(%%) Downlink the up-to-date DRAGINO_Battery_Life_Prediction_Table.xlsx from: [[https:~~/~~/www.dropbox.com/sh/zwex6i331j5oeq2/AACIMf9f_v2qsJ39CuMQ5Py_a?dl=0>>https://www.dropbox.com/sh/zwex6i331j5oeq2/AACIMf9f_v2qsJ39CuMQ5Py_a?dl=0]]
1121 +
1122 +(% style="color:blue" %)**Step 2:**(%%) Open it and choose
1123 +
1124 +* Product Model
1125 +* Uplink Interval
1126 +* Working Mode
1127 +
1128 +And the Life expectation in difference case will be shown on the right.
1129 +
1130 +
1131 +[[image:1675234155374-163.png||_mstalt="294411"]]
1132 +
1133 +
1134 +The battery related documents as below:
1135 +
1136 +* [[Battery Dimension>>https://www.dropbox.com/s/ox5g9njwjle7aw3/LSN50-Battery-Dimension.pdf?dl=0]],
1137 +* [[Lithium-Thionyl Chloride Battery datasheet, Tech Spec>>https://www.dropbox.com/sh/d4oyfnp8o94180o/AABQewCNSh5GPeQH86UxRgQQa?dl=0]]
1138 +* [[Lithium-ion Battery-Capacitor datasheet>>https://www.dropbox.com/s/791gjes2lcbfi1p/SPC_1520_datasheet.jpg?dl=0]], [[Tech Spec>>https://www.dropbox.com/s/4pkepr9qqqvtzf2/SPC1520%20Technical%20Specification20171123.pdf?dl=0]]
1139 +
1140 +[[image:image-20230201145019-19.png||_mstalt="453947"]]
1141 +
1142 +
1143 +=== 4.3.1 ​Battery Note ===
1144 +
1145 +
1146 +The Li-SICO battery is designed for small current / long period application. It is not good to use a high current, short period transmit method. The recommended minimum period for use of this battery is 5 minutes. If you use a shorter period time to transmit LoRa, then the battery life may be decreased.
1147 +
1148 +
1149 +=== 4.3.2 Replace the battery ===
1150 +
1151 +
1152 +You can change the battery in the SDI-12-LB.The type of battery is not limited as long as the output is between 3v to 3.6v. On the main board, there is a diode (D1) between the battery and the main circuit. If you need to use a battery with less than 3.3v, please remove the D1 and shortcut the two pads of it so there won't be voltage drop between battery and main board.
1153 +
1154 +The default battery pack of SDI-12-LB includes a ER26500 plus super capacitor. If user can't find this pack locally, they can find ER26500 or equivalence, which will also work in most case. The SPC can enlarge the battery life for high frequency use (update period below 5 minutes)
1155 +
1156 +
1266 1266  = 5. Remote Configure device =
1267 1267  
1268 1268  == 5.1 Connect via BLE ==
... ... @@ -1312,7 +1312,7 @@
1312 1312  )))
1313 1313  
1314 1314  (((
1315 -(% style="color:blue" %)**XXX**(%%): The default frequency band
1206 +XXX: The default frequency band
1316 1316  )))
1317 1317  
1318 1318  (((
... ... @@ -1327,6 +1327,7 @@
1327 1327  )))
1328 1328  
1329 1329  
1221 +
1330 1330  = 9. Packing Info =
1331 1331  
1332 1332  
... ... @@ -1349,3 +1349,5 @@
1349 1349  * Support is provided Monday to Friday, from 09:00 to 18:00 GMT+8. Due to different timezones we cannot offer live support. However, your questions will be answered as soon as possible in the before-mentioned schedule.
1350 1350  
1351 1351  * Provide as much information as possible regarding your enquiry (product models, accurately describe your problem and steps to replicate it etc) and send a mail to [[support@dragino.com>>url:http://../../../../../../D:%5C%E5%B8%82%E5%9C%BA%E8%B5%84%E6%96%99%5C%E8%AF%B4%E6%98%8E%E4%B9%A6%5CLoRa%5CLT%E7%B3%BB%E5%88%97%5Csupport@dragino.com]]
1244 +
1245 +
image-20230426084456-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -190.0 KB
Content
image-20230603120127-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Edwin
Size
... ... @@ -1,1 +1,0 @@
1 -5.7 KB
Content
image-20230603120209-2.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Edwin
Size
... ... @@ -1,1 +1,0 @@
1 -22.8 KB
Content
image-20230603120515-3.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Edwin
Size
... ... @@ -1,1 +1,0 @@
1 -489.3 KB
Content
image-20230603120648-4.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Edwin
Size
... ... @@ -1,1 +1,0 @@
1 -100.8 KB
Content
image-20230603120726-5.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Edwin
Size
... ... @@ -1,1 +1,0 @@
1 -133.2 KB
Content
image-20230603120859-6.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Edwin
Size
... ... @@ -1,1 +1,0 @@
1 -55.9 KB
Content
image-20230603121606-7.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Edwin
Size
... ... @@ -1,1 +1,0 @@
1 -24.4 KB
Content
image-20230603121643-8.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Edwin
Size
... ... @@ -1,1 +1,0 @@
1 -889.7 KB
Content
image-20230603121721-9.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Edwin
Size
... ... @@ -1,1 +1,0 @@
1 -105.4 KB
Content
image-20230603121752-10.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Edwin
Size
... ... @@ -1,1 +1,0 @@
1 -160.0 KB
Content
image-20230603121826-11.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Edwin
Size
... ... @@ -1,1 +1,0 @@
1 -52.8 KB
Content
image-20230603122040-12.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Edwin
Size
... ... @@ -1,1 +1,0 @@
1 -128.1 KB
Content
image-20230603122109-13.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Edwin
Size
... ... @@ -1,1 +1,0 @@
1 -271.1 KB
Content
image-20230603122139-14.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Edwin
Size
... ... @@ -1,1 +1,0 @@
1 -70.4 KB
Content
image-20230603122212-15.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Edwin
Size
... ... @@ -1,1 +1,0 @@
1 -818.3 KB
Content
image-20230603122248-16.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Edwin
Size
... ... @@ -1,1 +1,0 @@
1 -12.7 KB
Content
image-20230603122508-17.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Edwin
Size
... ... @@ -1,1 +1,0 @@
1 -980.2 KB
Content
image-20230603122549-18.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Edwin
Size
... ... @@ -1,1 +1,0 @@
1 -90.9 KB
Content
image-20230603122623-19.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Edwin
Size
... ... @@ -1,1 +1,0 @@
1 -139.5 KB
Content
image-20230603122719-20.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Edwin
Size
... ... @@ -1,1 +1,0 @@
1 -83.8 KB
Content