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

From version 73.2
edited by Xiaoling
on 2023/06/27 10:21
Change comment: There is no comment for this version
To version 48.1
edited by Bei Jinggeng
on 2023/03/24 10:15
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
... ... @@ -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  
... ... @@ -113,6 +113,7 @@
113 113  * Sleep Mode: 5uA @ 3.3v
114 114  * LoRa Transmit Mode: 125mA @ 20dBm, 82mA @ 14dBm
115 115  
117 +
116 116  == 1.4 Connect to SDI-12 Sensor ==
117 117  
118 118  
... ... @@ -134,19 +134,20 @@
134 134  [[image:1675212633011-651.png||_mstalt="291538"]]
135 135  
136 136  
137 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
138 -|=(% 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**
139 -|(% 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" %)(((
139 +(% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:510px" %)
140 +|=(% style="width: 167px;" %)**Behavior on ACT**|=(% style="width: 109px;" %)**Function**|=(% style="width: 231px;" %)**Action**
141 +|(% style="width:167px" %)Pressing ACT between 1s < time < 3s|(% style="width:109px" %)Send an uplink|(% style="width:231px" %)(((
140 140  If sensor is already Joined to LoRaWAN network, sensor will send an uplink packet, (% style="color:blue" %)**blue led** (%%)will blink once.
141 141  Meanwhile, BLE module will be active and user can connect via BLE to configure device.
142 142  )))
143 -|(% 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" %)(((
144 -(% 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.
145 -(% style="background-color:#f2f2f2; color:green" %)**Green led**(%%) will solidly turn on for 5 seconds after joined in network.
145 +|(% style="width:167px" %)Pressing ACT for more than 3s|(% style="width:109px" %)Active Device|(% style="width:231px" %)(((
146 +(% 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.
147 +(% 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="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.
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 SDI-12-LB is in Deep Sleep Mode.
149 149  
152 +
150 150  == 1.7 Pin Mapping ==
151 151  
152 152  
... ... @@ -202,7 +202,7 @@
202 202  Each SDI-12-LB is shipped with a sticker with the default device EUI as below:
203 203  
204 204  
205 -[[image:image-20230426084456-1.png||height="241" width="519"]]
208 +[[image:image-20230201152430-20.jpeg||_mstalt="492245"]]
206 206  
207 207  
208 208  You can enter this key in the LoRaWAN Server portal. Below is TTN screen shot:
... ... @@ -396,7 +396,7 @@
396 396  This command can be used to debug all SDI-12 command.
397 397  
398 398  
399 -LoRaWAN Downlink: A8 aa xx xx xx xx bb cc dd
402 +LoRaWAN Downlink: A8 aa xx xx xx xx bb cc
400 400  
401 401  (% style="color:#037691" %)**aa **(%%): total SDI-12 command length
402 402  
... ... @@ -406,11 +406,9 @@
406 406  
407 407  (% style="color:#037691" %)**cc **(%%): 0: don't uplink return to LoRaWAN, 1: Uplink return to LoRaWAN on FPORT=100
408 408  
409 -(% style="color:#037691" %)**dd: **(%%) 0: Do not use aD0! command access, 1: use aD0! command access.
410 410  
413 +(% style="color:blue" %)**Example: **(%%) AT+CFGDEV =0RC0!,1
411 411  
412 -(% style="color:blue" %)**Example1: **(%%) AT+CFGDEV =0RC0!,1
413 -
414 414  (% style="color:#037691" %)**0RC0! **(%%): SDI-12 Command,
415 415  
416 416  (% style="color:#037691" %)**1 **(%%): Delay 1 second.  ( 0: 810 mini-second)
... ... @@ -427,17 +427,6 @@
427 427  [[image:image-20230201092355-17.png||_mstalt="454337" height="426" width="1135"]]
428 428  
429 429  
430 -(% style="color:blue" %)**Example2: **(%%) AT+CFGDEV =0M!,1,1  or  AT+CFGDEV =0C!,1,1
431 -
432 -(% style="color:#037691" %)**0M! **(%%): SDI-12 Command,
433 -
434 -(% style="color:#037691" %)**1 **(%%): Delay 1 second.  ( 0: 810 mini-second)
435 -
436 -(% style="color:#037691" %)**1 **(%%):Use aD0! command access.
437 -
438 -Equal Downlink: 0xA8 03 30  4D 21 01 01 01
439 -
440 -
441 441  === 2.3.3 Convert ASCII to String ===
442 442  
443 443  
... ... @@ -492,9 +492,9 @@
492 492  
493 493  (% style="color:blue" %)**AT+DATACUTx**(%%) : This command defines how to handle the return from AT+COMMANDx, max return length is 100 bytes.
494 494  
495 -(% border="1" style="width:436px" %)
496 -|(% style="background-color:#f2f2f2; width:433px" %)(((
497 -(% style="color:#0070c0" %)**AT+DATACUTx=a,b,c**
485 +(% border="1" style="background-color:#f7faff; width:436px" %)
486 +|(% style="width:433px" %)(((
487 +**AT+DATACUTx=a,b,c**
498 498  
499 499  **a**:  length for the return of AT+COMMAND
500 500  
... ... @@ -506,11 +506,11 @@
506 506  For example, if return from AT+COMMAND1 is “013METER   TER12 112T12-00024895<CR><LF>” , Below AT+DATACUT1 will get different result to combine payload:
507 507  
508 508  
509 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
510 -|=(% style="width: 164px;background-color:#D9E2F3;color:#0070C0" %)**AT+DATACUT1 value**|=(% style="width: 344px;background-color:#D9E2F3;color:#0070C0" %)**Final Result to combine Payload**
511 -|(% style="background-color:#f2f2f2; width:164px" %)34,1,1+2+3|(% style="background-color:#f2f2f2; width:344px" %)0D 00 01 30 31 33
512 -|(% 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
513 -|(% 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
499 +(% border="1" cellspacing="4" style="background-color:#f7faff; width:510px" %)
500 +|=(% style="width: 164px;" %)**AT+DATACUT1 value**|=(% style="width: 344px;" %)**Final Result to combine Payload**
501 +|(% style="width:164px" %)34,1,1+2+3|(% style="width:344px" %)0D 00 01 30 31 33
502 +|(% 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
503 +|(% 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
514 514  
515 515  * (% style="color:blue" %)** Downlink Payload:**
516 516  
... ... @@ -627,10 +627,10 @@
627 627  
628 628  Users can also use the downlink command(0x26 01) to ask SDI-12-LB to resend this uplink.
629 629  
630 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
631 -|(% colspan="6" style="background-color:#d9e2f3; color:#0070c0" %)**Device Status (FPORT=5)**
632 -|(% 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**
633 -|(% 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
620 +(% border="1" cellspacing="4" style="background-color:#f7faff; width:420px" %)
621 +|(% colspan="6" style="width:434px" %)**Device Status (FPORT=5)**
622 +|(% 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**
623 +|(% 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
634 634  
635 635  Example parse in TTNv3
636 636  
... ... @@ -643,33 +643,33 @@
643 643  
644 644  (% style="color:#037691" %)**Frequency Band**:
645 645  
646 -0x01: EU868
636 +*0x01: EU868
647 647  
648 -0x02: US915
638 +*0x02: US915
649 649  
650 -0x03: IN865
640 +*0x03: IN865
651 651  
652 -0x04: AU915
642 +*0x04: AU915
653 653  
654 -0x05: KZ865
644 +*0x05: KZ865
655 655  
656 -0x06: RU864
646 +*0x06: RU864
657 657  
658 -0x07: AS923
648 +*0x07: AS923
659 659  
660 -0x08: AS923-1
650 +*0x08: AS923-1
661 661  
662 -0x09: AS923-2
652 +*0x09: AS923-2
663 663  
664 -0x0a: AS923-3
654 +*0x0a: AS923-3
665 665  
666 -0x0b: CN470
656 +*0x0b: CN470
667 667  
668 -0x0c: EU433
658 +*0x0c: EU433
669 669  
670 -0x0d: KR920
660 +*0x0d: KR920
671 671  
672 -0x0e: MA869
662 +*0x0e: MA869
673 673  
674 674  
675 675  (% style="color:#037691" %)**Sub-Band**:
... ... @@ -699,10 +699,10 @@
699 699  
700 700  * Periodically Uplink: FPORT=2
701 701  
702 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:500px" %)
703 -|=(% style="width: 90px;background-color:#D9E2F3;color:#0070C0" %)(((
692 +(% border="1" cellspacing="4" style="background-color:#f7faff; width:500px" %)
693 +|=(% style="width: 90px;" %)(((
704 704  **Size(bytes)**
705 -)))|=(% 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**
695 +)))|=(% style="width: 80px;" %)**2**|=(% style="width: 90px;" %)**1**|=(% style="width: 240px;" %)**Length depends on the return from the commands**
706 706  |(% style="width:93px" %)**Value**|(% style="width:83px" %)(((
707 707  Battery(mV)
708 708  &
... ... @@ -739,7 +739,6 @@
739 739  
740 740  === 2.4.5 Payload version ===
741 741  
742 -
743 743  The version number of the payload, mainly used for decoding. The default is 01.
744 744  
745 745  
... ... @@ -764,9 +764,9 @@
764 764  [[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]]
765 765  
766 766  
767 -== 2.6 Examples To Set SDI commands ==
756 +== 2.6 Examples To Set SDI commands. ==
768 768  
769 -=== 2.6.1 Examples 1 ~-~- General Example ===
758 +=== 2.6.1 Examples 1 ===
770 770  
771 771  
772 772  COM port and SDI-12 sensor communication converted to SDI-12-LB and SDI-12 sensor communication.
... ... @@ -832,160 +832,6 @@
832 832  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”**.
833 833  
834 834  
835 -=== 2.6.2 Example 2 ~-~- Connect to Hygrovue10 ===
836 -
837 -==== 2.6.2.1 Reference Manual and Command ====
838 -
839 -
840 -* [[Hygrovue10 Product Page>>https://www.campbellsci.com/hygrovue10]]
841 -
842 -* Commands to be used in PC and output.
843 -
844 -~1. check device address
845 -
846 -2. change device address
847 -
848 -3. check device ID
849 -
850 -4. start measure
851 -
852 -5. Get Meausre result
853 -
854 -[[image:image-20230603120209-2.png||height="281" width="267"]]
855 -
856 -
857 -==== 2.6.2.2 Hardware Connection to SDI-12-LB ====
858 -
859 -
860 -[[image:image-20230603120515-3.png]]
861 -
862 -
863 -==== 2.6.2.3 Commands set in SDI-12-LB and uplink payload ====
864 -
865 -
866 -[[image:image-20230603120648-4.png]]
867 -
868 -[[image:image-20230603120726-5.png]]
869 -
870 -
871 -**Data in TTN:**
872 -
873 -[[image:image-20230603120859-6.png||height="118" width="1285"]]
874 -
875 -
876 -=== (% id="cke_bm_1172015S" style="display:none" %) (%%)2.6.3 Example 3 ~-~- Connect to SIL-400 ===
877 -
878 -==== 2.6.3.1 Reference Manual and Command ====
879 -
880 -
881 -* [[SIL-400 Product Page>>https://www.apogeeinstruments.com/sil-411-commercial-grade-sdi-12-digital-output-standard-field-of-view-infrared-radiometer-sensor/]]
882 -
883 -* Commands to be used in PC and output.
884 -
885 -~1. check device address
886 -
887 -2. change device address
888 -
889 -3. check device ID
890 -
891 -4. start measure
892 -
893 -5. Get Meausre result
894 -
895 -[[image:image-20230603121606-7.png||height="242" width="307"]]
896 -
897 -
898 -==== 2.6.3.2 Hardware Connection to SDI-12-LB ====
899 -
900 -
901 -[[image:image-20230603121643-8.png||height="442" width="656"]]
902 -
903 -
904 -==== 2.6.3.3 Commands set in SDI-12-LB and uplink payload ====
905 -
906 -
907 -[[image:image-20230603121721-9.png]]
908 -
909 -[[image:image-20230603121752-10.png]]
910 -
911 -Data in TTN:
912 -
913 -[[image:image-20230603121826-11.png||height="155" width="1104"]]
914 -
915 -
916 -
917 -=== (% id="cke_bm_1172015S" style="display:none" %) (%%)2.6.4 Example 4 ~-~- Connect to TEROS-12 ===
918 -
919 -==== 2.6.4.1 Reference Manual and Command ====
920 -
921 -
922 -* [[TEROS-12 Product Page>>https://www.metergroup.com/en/meter-environment/products/teros-12-soil-moisture-sensor]]
923 -
924 -* Commands to be used in PC and output.
925 -
926 -1.check device address
927 -
928 -2.change device address
929 -
930 -3.check device ID
931 -
932 -4.start measure
933 -
934 -5.Get Meausre result
935 -
936 -[[image:image-20230603122248-16.png||height="196" width="198"]]
937 -
938 -
939 -==== 2.6.4.2 Hardware Connection to SDI-12-LB ====
940 -
941 -
942 -[[image:image-20230603122212-15.png||height="502" width="667"]]
943 -
944 -
945 -==== 2.6.4.3 Commands set in SDI-12-LB and uplink payload ====
946 -
947 -[[image:image-20230603122040-12.png]]
948 -
949 -[[image:image-20230603122109-13.png||height="469" width="762"]]
950 -
951 -
952 -**Data in TTN:**
953 -
954 -[[image:image-20230603122139-14.png||height="148" width="1128"]]
955 -
956 -
957 -=== (% 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 ===
958 -
959 -==== 2.6.5.1 Important Notice! ====
960 -
961 -
962 -* The product page and reference command see above example 2,3,4
963 -
964 -* 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.
965 -
966 -* 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.
967 -
968 -* If these SDI-12 sensors are powered by external power source. It will add 300uA in the total current in SDI-12-LB.
969 -
970 -==== 2.6.5.2 Hardware Connection to SDI-12-LB ====
971 -
972 -
973 -[[image:image-20230603122508-17.png||height="526" width="742"]]
974 -
975 -
976 -==== 2.6.5.3 Commands set in SDI-12-LB and uplink payload ====
977 -
978 -
979 -[[image:image-20230603122549-18.png]]
980 -
981 -[[image:image-20230603122623-19.png||height="483" width="1121"]]
982 -
983 -
984 -**Data in TTN:**
985 -
986 -[[image:image-20230603122719-20.png||height="151" width="1179"]]
987 -
988 -
989 989  == 2.7 Frequency Plans ==
990 990  
991 991  
... ... @@ -1036,14 +1036,14 @@
1036 1036  
1037 1037  (% style="color:blue" %)**AT Command: AT+TDC**
1038 1038  
1039 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
1040 -|=(% 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**
1041 -|(% style="background-color:#f2f2f2; width:157px" %)AT+TDC=?|(% style="background-color:#f2f2f2; width:166px" %)Show current transmit Interval|(% style="background-color:#f2f2f2" %)(((
874 +(% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:510px" %)
875 +|=(% style="width: 156px;" %)**Command Example**|=(% style="width: 137px;" %)**Function**|=**Response**
876 +|(% style="width:156px" %)AT+TDC=?|(% style="width:137px" %)Show current transmit Interval|(((
1042 1042  30000
1043 1043  OK
1044 1044  the interval is 30000ms = 30s
1045 1045  )))
1046 -|(% style="background-color:#f2f2f2; width:157px" %)AT+TDC=60000|(% style="background-color:#f2f2f2; width:166px" %)Set Transmit Interval|(% style="background-color:#f2f2f2" %)(((
881 +|(% style="width:156px" %)AT+TDC=60000|(% style="width:137px" %)Set Transmit Interval|(((
1047 1047  OK
1048 1048  Set transmit interval to 60000ms = 60 seconds
1049 1049  )))
... ... @@ -1058,6 +1058,7 @@
1058 1058  * Example 1: Downlink Payload: 0100001E  ~/~/ Set Transmit Interval (TDC) = 30 seconds
1059 1059  * Example 2: Downlink Payload: 0100003C  ~/~/  Set Transmit Interval (TDC) = 60 seconds
1060 1060  
896 +
1061 1061  == 3.2 Set Interrupt Mode ==
1062 1062  
1063 1063  
... ... @@ -1065,20 +1065,20 @@
1065 1065  
1066 1066  (% style="color:blue" %)**AT Command: AT+INTMOD**
1067 1067  
1068 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
1069 -|=(% 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**
1070 -|(% style="background-color:#f2f2f2; width:154px" %)AT+INTMOD=?|(% style="background-color:#f2f2f2; width:196px" %)Show current interrupt mode|(% style="background-color:#f2f2f2; width:157px" %)(((
904 +(% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:510px" %)
905 +|=(% style="width: 156px;" %)**Command Example**|=(% style="width: 187px;" %)**Function**|=(% style="width: 165px;" %)**Response**
906 +|(% style="width:156px" %)AT+INTMOD=?|(% style="width:187px" %)Show current interrupt mode|(% style="width:165px" %)(((
1071 1071  0
1072 1072  OK
1073 -the mode is 0 =Disable Interrupt
909 +the mode is 0 = Disable Interrupt
1074 1074  )))
1075 -|(% style="background-color:#f2f2f2; width:154px" %)AT+INTMOD=2|(% style="background-color:#f2f2f2; width:196px" %)(((
911 +|(% style="width:156px" %)AT+INTMOD=2|(% style="width:187px" %)(((
1076 1076  Set Transmit Interval
1077 1077  0. (Disable Interrupt),
1078 1078  ~1. (Trigger by rising and falling edge)
1079 1079  2. (Trigger by falling edge)
1080 1080  3. (Trigger by rising edge)
1081 -)))|(% style="background-color:#f2f2f2; width:157px" %)OK
917 +)))|(% style="width:165px" %)OK
1082 1082  
1083 1083  (% style="color:blue" %)**Downlink Command: 0x06**
1084 1084  
... ... @@ -1089,6 +1089,7 @@
1089 1089  * Example 1: Downlink Payload: 06000000  ~/~/  Turn off interrupt mode
1090 1090  * Example 2: Downlink Payload: 06000003  ~/~/  Set the interrupt mode to rising edge trigger
1091 1091  
928 +
1092 1092  == 3.3 Set the output time ==
1093 1093  
1094 1094  
... ... @@ -1096,54 +1096,52 @@
1096 1096  
1097 1097  (% style="color:blue" %)**AT Command: AT+3V3T**
1098 1098  
1099 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:474px" %)
1100 -|=(% 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**
1101 -|(% style="background-color:#f2f2f2; width:154px" %)AT+3V3T=?|(% style="background-color:#f2f2f2; width:201px" %)Show 3V3 open time.|(% style="background-color:#f2f2f2; width:116px" %)(((
936 +(% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:474px" %)
937 +|=(% style="width: 154px;" %)**Command Example**|=(% style="width: 201px;" %)**Function**|=(% style="width: 116px;" %)**Response**
938 +|(% style="width:154px" %)AT+3V3T=?|(% style="width:201px" %)Show 3V3 open time.|(% style="width:116px" %)(((
1102 1102  0
1103 1103  OK
1104 1104  )))
1105 -|(% 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" %)(((
942 +|(% style="width:154px" %)AT+3V3T=0|(% style="width:201px" %)Normally open 3V3 power supply.|(% style="width:116px" %)(((
1106 1106  OK
1107 1107  default setting
1108 1108  )))
1109 -|(% 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" %)(((
946 +|(% style="width:154px" %)AT+3V3T=1000|(% style="width:201px" %)Close after a delay of 1000 milliseconds.|(% style="width:116px" %)(((
1110 1110  OK
1111 1111  )))
1112 -|(% 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" %)(((
949 +|(% style="width:154px" %)AT+3V3T=65535|(% style="width:201px" %)Normally closed 3V3 power supply.|(% style="width:116px" %)(((
1113 1113  OK
1114 1114  )))
1115 1115  
1116 1116  (% style="color:blue" %)**AT Command: AT+5VT**
1117 1117  
1118 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:470px" %)
1119 -|=(% 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**
1120 -|(% style="background-color:#f2f2f2; width:155px" %)AT+5VT=?|(% style="background-color:#f2f2f2; width:196px" %)Show 5V open time.|(% style="background-color:#f2f2f2; width:114px" %)(((
955 +(% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:470px" %)
956 +|=(% style="width: 155px;" %)**Command Example**|=(% style="width: 196px;" %)**Function**|=(% style="width: 114px;" %)**Response**
957 +|(% style="width:155px" %)AT+5VT=?|(% style="width:196px" %)Show 5V open time.|(% style="width:114px" %)(((
1121 1121  0
1122 1122  OK
1123 1123  )))
1124 -|(% 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" %)(((
961 +|(% style="width:155px" %)AT+5VT=0|(% style="width:196px" %)Normally closed 5V power supply.|(% style="width:114px" %)(((
1125 1125  OK
1126 1126  default setting
1127 1127  )))
1128 -|(% 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" %)(((
965 +|(% style="width:155px" %)AT+5VT=1000|(% style="width:196px" %)Close after a delay of 1000 milliseconds.|(% style="width:114px" %)(((
1129 1129  OK
1130 1130  )))
1131 -|(% 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" %)(((
968 +|(% style="width:155px" %)AT+5VT=65535|(% style="width:196px" %)Normally open 5V power supply.|(% style="width:114px" %)(((
1132 1132  OK
1133 1133  )))
1134 1134  
1135 -(% style="color:blue" %)**AT Command: AT+12VT **
972 +(% style="color:blue" %)**AT Command: AT+12VT**
1136 1136  
1137 -(% style="color:blue" %)**(The v1.2 version is enabled for 1 second by default, and the version below v1.2 is disabled by default)**
1138 -
1139 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:443px" %)
1140 -|=(% 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**
1141 -|(% style="background-color:#f2f2f2; width:156px" %)AT+12VT=?|(% style="background-color:#f2f2f2; width:199px" %)Show 12V open time.|(% style="background-color:#f2f2f2; width:83px" %)(((
974 +(% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:443px" %)
975 +|=(% style="width: 156px;" %)**Command Example**|=(% style="width: 199px;" %)**Function**|=(% style="width: 83px;" %)**Response**
976 +|(% style="width:156px" %)AT+12VT=?|(% style="width:199px" %)Show 12V open time.|(% style="width:83px" %)(((
1142 1142  0
1143 1143  OK
1144 1144  )))
1145 -|(% 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
1146 -|(% 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" %)(((
980 +|(% style="width:156px" %)AT+12VT=0|(% style="width:199px" %)Normally closed 12V power supply.|(% style="width:83px" %)OK
981 +|(% style="width:156px" %)AT+12VT=500|(% style="width:199px" %)Close after a delay of 500 milliseconds.|(% style="width:83px" %)(((
1147 1147  OK
1148 1148  )))
1149 1149  
... ... @@ -1160,6 +1160,7 @@
1160 1160  * Example 5: Downlink Payload: 070301F4  **~-~-->**  AT+12VT=500
1161 1161  * Example 6: Downlink Payload: 07030000  **~-~-->**  AT+12VT=0
1162 1162  
998 +
1163 1163  == 3.4 Set the all data mode ==
1164 1164  
1165 1165  
... ... @@ -1167,13 +1167,13 @@
1167 1167  
1168 1168  (% style="color:blue" %)**AT Command: AT+ALLDATAMOD**
1169 1169  
1170 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:437px" %)
1171 -|=(% style="background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="background-color:#D9E2F3;color:#0070C0" %)**Response**
1172 -|(% style="background-color:#f2f2f2" %)AT+ALLDATAMOD=?|(% style="background-color:#f2f2f2" %)Show current all data mode|(% style="background-color:#f2f2f2" %)(((
1006 +(% border="1" cellspacing="4" style="background-color:#f7faff; width:437px" %)
1007 +|=**Command Example**|=**Function**|=**Response**
1008 +|AT+ALLDATAMOD=?|Show current all data mode|(((
1173 1173  0
1174 1174  OK
1175 1175  )))
1176 -|(% style="background-color:#f2f2f2" %)AT+ALLDATAMOD=1|(% style="background-color:#f2f2f2" %)Set all data mode is 1.|(% style="background-color:#f2f2f2" %)OK
1012 +|AT+ALLDATAMOD=1|Set all data mode is 1.|OK
1177 1177  
1178 1178  (% style="color:blue" %)**Downlink Command: 0xAB**
1179 1179  
... ... @@ -1182,6 +1182,7 @@
1182 1182  * Example 1: Downlink Payload: AB 00  ~/~/  AT+ALLDATAMOD=0
1183 1183  * Example 2: Downlink Payload: AB 01  ~/~/  AT+ALLDATAMOD=1
1184 1184  
1021 +
1185 1185  == 3.5 Set the splicing payload for uplink ==
1186 1186  
1187 1187  
... ... @@ -1189,21 +1189,21 @@
1189 1189  
1190 1190  (% style="color:blue" %)**AT Command: AT+DATAUP**
1191 1191  
1192 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
1193 -|=(% 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**
1194 -|(% 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" %)(((
1029 +(% border="1" cellspacing="4" style="background-color:#f7faff; width:510px" %)
1030 +|=(% style="width: 154px;" %)**Command Example**|=(% style="width: 266px;" %)**Function**|=**Response**
1031 +|(% style="width:154px" %)AT+DATAUP =?|(% style="width:266px" %)Show current splicing payload for uplink mode|(((
1195 1195  0
1196 1196  OK
1197 1197  )))
1198 -|(% style="background-color:#f2f2f2; width:154px" %)AT+DATAUP =0|(% style="background-color:#f2f2f2; width:266px" %)(((
1035 +|(% style="width:154px" %)AT+DATAUP =0|(% style="width:266px" %)(((
1199 1199  Set splicing payload for uplink mode is 0.
1200 -)))|(% style="background-color:#f2f2f2" %)(((
1037 +)))|(((
1201 1201  OK
1202 1202  )))
1203 -|(% 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
1204 -|(% style="background-color:#f2f2f2; width:154px" %)AT+DATAUP =1,20000|(% style="background-color:#f2f2f2; width:266px" %)(((
1040 +|(% 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
1041 +|(% style="width:154px" %)AT+DATAUP =1,20000|(% style="width:266px" %)(((
1205 1205  Set splicing payload for uplink mode is 1, and the uplink interval of each splice to 20000 milliseconds.
1206 -)))|(% style="background-color:#f2f2f2" %)OK
1043 +)))|OK
1207 1207  
1208 1208  (% style="color:blue" %)**Downlink Command: 0xAD**
1209 1209  
... ... @@ -1223,13 +1223,13 @@
1223 1223  
1224 1224  (% style="color:blue" %)**AT Command: AT+PAYVER**
1225 1225  
1226 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:437px" %)
1227 -|=(% 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**
1228 -|(% style="background-color:#f2f2f2; width:158px" %)AT+PAYVER=?|(% style="background-color:#f2f2f2; width:192px" %)Show current payload version|(% style="background-color:#f2f2f2" %)(((
1063 +(% border="1" cellspacing="4" style="background-color:#f7faff; width:437px" %)
1064 +|=(% style="width: 158px;" %)**Command Example**|=(% style="width: 192px;" %)**Function**|=**Response**
1065 +|(% style="width:158px" %)AT+PAYVER=?|(% style="width:192px" %)Show current payload version|(((
1229 1229  1
1230 1230  OK
1231 1231  )))
1232 -|(% 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
1069 +|(% style="width:158px" %)AT+PAYVER=5|(% style="width:192px" %)Set payload version is 5.|OK
1233 1233  
1234 1234  (% style="color:blue" %)**Downlink Command: 0xAE**
1235 1235  
... ... @@ -1238,14 +1238,77 @@
1238 1238  * Example 1: Downlink Payload: AE 01  ~/~/  AT+PAYVER=1
1239 1239  * Example 2: Downlink Payload: AE 05  ~/~/  AT+PAYVER=5
1240 1240  
1241 -= 4. Battery & Power Consumption =
1242 1242  
1079 += 4. Battery & how to replace =
1243 1243  
1244 -SDI-12-LB uses ER26500 + SPC1520 battery pack. See below link for detail information about the battery info and how to replace.
1081 +== 4.1 Battery Type ==
1245 1245  
1246 -[[**Battery Info & Power Consumption Analyze**>>url:http://wiki.dragino.com/xwiki/bin/view/Main/How%20to%20calculate%20the%20battery%20life%20of%20Dragino%20sensors%3F/]] .
1247 1247  
1084 +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.
1248 1248  
1086 +
1087 +The discharge curve is not linear so can’t simply use percentage to show the battery level. Below is the battery performance.
1088 +
1089 +[[image:1675234124233-857.png||_mstalt="295035"]]
1090 +
1091 +
1092 +Minimum Working Voltage for the SDI-12-LB:
1093 +
1094 +SDI-12-LB:  2.45v ~~ 3.6v
1095 +
1096 +
1097 +== 4.2 Replace Battery ==
1098 +
1099 +
1100 +Any battery with range 2.45 ~~ 3.6v can be a replacement. We recommend to use Li-SOCl2 Battery.
1101 +
1102 +And make sure the positive and negative pins match.
1103 +
1104 +
1105 +== 4.3 Power Consumption Analyze ==
1106 +
1107 +
1108 +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.
1109 +
1110 +Instruction to use as below:
1111 +
1112 +(% 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]]
1113 +
1114 +(% style="color:blue" %)**Step 2:**(%%) Open it and choose
1115 +
1116 +* Product Model
1117 +* Uplink Interval
1118 +* Working Mode
1119 +
1120 +And the Life expectation in difference case will be shown on the right.
1121 +
1122 +
1123 +[[image:1675234155374-163.png||_mstalt="294411"]]
1124 +
1125 +
1126 +The battery related documents as below:
1127 +
1128 +* [[Battery Dimension>>https://www.dropbox.com/s/ox5g9njwjle7aw3/LSN50-Battery-Dimension.pdf?dl=0]],
1129 +* [[Lithium-Thionyl Chloride Battery datasheet, Tech Spec>>https://www.dropbox.com/sh/d4oyfnp8o94180o/AABQewCNSh5GPeQH86UxRgQQa?dl=0]]
1130 +* [[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]]
1131 +
1132 +[[image:image-20230201145019-19.png||_mstalt="453947"]]
1133 +
1134 +
1135 +=== 4.3.1 ​Battery Note ===
1136 +
1137 +
1138 +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.
1139 +
1140 +
1141 +=== 4.3.2 Replace the battery ===
1142 +
1143 +
1144 +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.
1145 +
1146 +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)
1147 +
1148 +
1249 1249  = 5. Remote Configure device =
1250 1250  
1251 1251  == 5.1 Connect via BLE ==
... ... @@ -1310,6 +1310,7 @@
1310 1310  )))
1311 1311  
1312 1312  
1213 +
1313 1313  = 9. Packing Info =
1314 1314  
1315 1315  
... ... @@ -1324,6 +1324,7 @@
1324 1324  * Package Size / pcs : cm
1325 1325  * Weight / pcs : g
1326 1326  
1228 +
1327 1327  = 10. ​Support =
1328 1328  
1329 1329  
... ... @@ -1330,3 +1330,5 @@
1330 1330  * 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.
1331 1331  
1332 1332  * 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]]
1235 +
1236 +
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