Changes for page SDI-12-LB/LS -- SDI-12 to LoRaWAN Converter User Manual
Last modified by Mengting Qiu on 2025/07/03 15:42
From version 150.3
edited by Mengting Qiu
on 2025/05/16 10:22
on 2025/05/16 10:22
Change comment:
There is no comment for this version
To version 169.1
edited by Mengting Qiu
on 2025/06/09 13:41
on 2025/06/09 13:41
Change comment:
Uploaded new attachment "image-20250609134137-1.png", version {1}
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 10 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -511,8 +511,10 @@ 511 511 512 512 (% style="color:red" %)**var2**(%%): Wait timeout for return. (unit: second) 513 513 514 -(% style="color:red" %)**var3**(%%): Whether to send //addrD0!// to get return after var2 timeout. 0: Don't Send //addrD0! //; 1: Send //addrD0!//. (% style="color:red" %)**2: Thereturneddatawill not be clipped.(since v1.3.0)**514 +(% style="color:red" %)**var3**(%%): Whether to send //addrD0!// to get return after var2 timeout. 0: Don't Send //addrD0! //; 1: Send //addrD0!//. (% style="color:red" %)**2: When set to 2, AT+ALDATAMOD=1 does not intercept data returned by the current COMMAND command.(since v1.3.0)** 515 515 516 +(% style="color:red" %)**(Function set to 2: When the device is connected to more than two sensors with different sampling addresses, concurrent measurement can be used to reduce data acquisition time and save battery power; for example, when the device is connected to two sensors with different addresses, the concurrent measurement function can be used and the two sensors can collect data at the same time.)** 517 + 516 516 (% style="color:red" %)**var4**(%%): validation check for return. If return invalid, SDI-12-LB/LS will resend this command. Max 3 retries. 517 517 518 518 (% style="color:red" %)**0 **(%%) No validation check; ... ... @@ -677,21 +677,74 @@ 677 677 678 678 (% style="color:red" %)**Notice: Among them, var1, var3, var5, var7, and var9 are the data to be selected for conversion, and var2, var4, var6, var8, and var10 are the number of bytes to be uploaded. The values of var2, var4, var6, var8, and var10 range from 1 to 4.** 679 679 682 +* (% style="color:blue" %)**Downlink Command:** 680 680 684 +Format: Command code (0xAC) followed by up to 20 bytes. 685 + 686 + 687 +Example 1 1:AT+DATACONVx=var1, var2 688 + 689 +Downlink Command:AC x var1 var2 690 + 691 +Example 1 2:AT+DATACONVx=var1, var2+ var3, var4 692 + 693 +Downlink Command:AC x var1 var2 var3 var4 694 + 695 +Example 1 3:AT+DATACONVx=var1, var2+ var3, var4+ var5, var6 696 + 697 +Downlink Command:AC x var1 var2 var3 var4 var5 var6 698 + 699 +Example 1 4:AT+DATACONVx=var1, var2+ var3, var4+ var5, var6+ var7, var8 700 + 701 +Downlink Command:AC x var1 var2 var3 var4 var5 var6 var7 var8 702 + 703 +Example 1 5:AT+DATACONVx=var1, var2+ var3, var4+ var5, var6+ var7, var8+ var9, var10 704 + 705 +Downlink Command:AC x var1 var2 var3 var4 var5 var6 var7 var8 var9 var10 706 + 707 + 708 +Example: 709 + 710 +* Example 1: Downlink Payload: AC 01 01 02 02 02 ~/~/ AT+DATACONV1=1,2+2,2 711 +* Example 2: Downlink Payload: AC 02 01 02 02 02 03 02 ~/~/ AT+DATACONV2=1,2+2,2+3,2 712 + 713 + 714 + 681 681 **For example:** 682 682 683 683 This is my configuration: 684 684 685 -[[image:image-20250 516100849-1.png]]719 +[[image:image-20250605091006-1.png]] 686 686 687 687 688 -AT+COMMAND1=0C!,0,2,0 After sending the concurrent command of device 0, the data will not be cut, and the next command will be sent immediately. 722 +* AT+COMMAND1=0C!,0,2,0 After sending the concurrent command of device 0, the data will not be cut, and the next command will be sent immediately. 723 +* AT+COMMAND2=0M!,1,2,0 After sending the concurrent command of device 0, do not cut the data and wait for one second. (The last concurrent command needs to wait for the measurement time of all sensors) 724 +* AT+COMMAND3=0D0!,0,0,0 Query the data measured by device 0 689 689 690 - AT+COMMAND2=0M!,2,1,0 After sendingthe concurrent command of device0, do notcut the dataand wait for one second. (The lastconcurrent command needs to wait for the measurement timeof all sensors)726 +This is the data obtained: 691 691 728 +[[image:image-20250516145402-2.png]] 692 692 693 693 731 +When using the AT+DATACONVx command, 694 694 733 +The data of RETURN3 will be converted into 2 data, the first data is +95, and the second data is +260. 734 + 735 +* AT+DATACONV3=1,2+2,2 The first data is uploaded as 2 bytes and the second data is uploaded as 2 bytes. The form converted to hexadecimal is as shown above,as below: 736 + 737 +[[image:image-20250516144559-1.png]] 738 + 739 +0C90 01 005F 0104 740 + 741 +(% style="color:#037691" %)**BAT**(%%): 0x0c90 = 3216mV = 3.216V 742 + 743 +(% style="color:#037691" %)**Payload Version**(%%): 0x01, Means: v1.0 version 744 + 745 +(% style="color:#037691" %)**Data 1: **(%%)0x005F(H) = 95(D) / 100 = 0.95 746 + 747 +(% style="color:#037691" %)**Data 2: **(%%)0x0104(H) = 260(D) / 10 = 26.0 748 + 749 + 695 695 == 2.4 Uplink Payload == 696 696 697 697 === 2.4.1 Device Payload, FPORT~=5 === ... ... @@ -1359,7 +1359,11 @@ 1359 1359 1360 1360 **SDI-12-LB will uplink this payload.** 1361 1361 1362 -**68253B6E 12 0C7801F10D302B312E31372B32362E390D0A **68253C5D120C7801F10D302B312E31372B32372E340D0A68253D33120C7201F10D302B312E31352B32382E390D0A68253DAB120C7201F10D302B312E31342B32392E340D0A68253E23120C7201F10D302B312E31332B33302E300D0A 1417 +**68253B6E 12 0C7801F10D302B312E31372B32362E390D0A ** 1418 +68253C5D 12 0C7801F10D302B312E31372B32372E340D0A 1419 +68253D33 12 0C7201F10D302B312E31352B32382E390D0A 1420 +68253DAB 12 0C7201F10D302B312E31342B32392E340D0A 1421 +68253E23 12 0C7201F10D302B312E31332B33302E300D0A 1363 1363 1364 1364 1365 1365 Where the first 23 bytes is for the first entry: ... ... @@ -1613,7 +1613,7 @@ 1613 1613 * Example 1: Downlink Payload: AE 01 ~/~/ AT+PAYVER=1 1614 1614 * Example 2: Downlink Payload: AE 05 ~/~/ AT+PAYVER=5 1615 1615 1616 -== =3.7 Print data entries base on page(Since v1.3.0) ===1675 +== 3.7 Print data entries base on page(Since v1.3.0) == 1617 1617 1618 1618 1619 1619 Feature: Print the sector data from start page to stop page (max is 416 pages). ... ... @@ -1657,7 +1657,7 @@ 1657 1657 No downlink commands for feature 1658 1658 1659 1659 1660 -== =3.8 Print last few data entries(Since v1.3.0) ===1719 +== 3.8 Print last few data entries(Since v1.3.0) == 1661 1661 1662 1662 1663 1663 Feature: Print the last few data entries ... ... @@ -1664,35 +1664,91 @@ 1664 1664 1665 1665 (% style="color:#4f81bd" %)**AT Command: AT+PLDTA** 1666 1666 1726 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:437px" %) 1727 +|=(% style="width: 158px;background-color:#4F81BD;color:white" %)**Command Example**|=(% style="width: 192px;background-color:#4F81BD;color:white" %)**Function** 1728 +|(% style="background-color:#f2f2f2; width:158px" %)AT+PLDTA=10,0|(% style="background-color:#f2f2f2; width:192px" %)Printing the last ten data in hex format 1729 +|(% style="background-color:#f2f2f2; width:158px" %)AT+PLDTA=10,1|(% style="background-color:#f2f2f2; width:192px" %)Print the last ten data in string format 1730 + 1731 +* **Prints in hex format:** 1732 + 1667 1667 (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %) 1668 1668 |(% style="background-color:#4f81bd; color:white; width:158px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:352px" %)**Function** 1669 1669 |(% style="width:156px" %)((( 1670 -AT+PLDTA=10 1736 +AT+PLDTA=10,0 1671 1671 Print last 10 entries 1672 1672 )))|(% style="width:311px" %)((( 1673 1673 Stop Tx events when read sensor data 1674 1674 1675 -0001-000 22025/5/1501:04:43180c 7201f10d 302b312e 31 34 2b 32 39 2e 340d 0a1741 +0001-0001 2025/5/16 06:48:04 7 0c 7e 01 00 5f 01 05 1676 1676 1677 -000 3-00042025/5/1501:06:43180c 72 01f10d 302b312e 31 33 2b 33 302e 30 0d 0a1743 +0002-0002 2025/5/16 06:50:04 7 0c 72 01 00 5f 01 05 1678 1678 1679 -000 5-00062025/5/1501:08:43180c 7e01f10d 302b 31 2e 33 30 2b 33 30 2e 35 0d0a1745 +0003-0003 2025/5/16 06:52:04 7 0c 72 01 00 5f 01 05 1680 1680 1681 -000 7-00082025/5/1501:10:43180c 7201f10d 302b31 2e 33 302b 33 312e 300d 0a1747 +0004-0004 2025/5/16 06:54:04 7 0c 7e 01 00 5f 01 05 1682 1682 1683 -000 9-0010 2025/5/1501:12:43180c 7201f10d 302b31 2e 33 302b 33 312e 310d 0a1749 +0005-0005 2025/5/16 06:56:04 7 0c 7e 01 00 5f 01 07 1684 1684 1751 +0006-0006 2025/5/16 06:58:04 7 0c 8a 01 00 60 01 07 1752 + 1753 +0007-0007 2025/5/16 07:00:04 7 0c 84 01 00 61 01 07 1754 + 1755 +0008-0008 2025/5/16 07:02:04 7 0c 72 01 00 61 01 07 1756 + 1757 +0009-0009 2025/5/16 07:04:04 7 0c 78 01 00 61 01 07 1758 + 1759 +0010-0010 2025/5/16 07:06:04 7 0c 78 01 00 61 01 07 1760 + 1685 1685 Start Tx events 1686 1686 1687 1687 OK 1688 1688 ))) 1689 1689 1766 +* **Printing in String Format:** 1767 + 1768 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %) 1769 +|(% style="background-color:#4f81bd; color:white; width:158px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:352px" %)**Function** 1770 +|(% style="width:156px" %)((( 1771 +AT+PLDTA=10,1 1772 +Print last 10 entries 1773 + 1774 +((( 1775 +(Printing in String Format) 1776 +))) 1777 +)))|(% style="width:311px" %)((( 1778 +Stop Tx events when read sensor data 1779 + 1780 +0001-0001 2025/5/16 06:48:04 7 ~~_ 1781 + 1782 +0002-0002 2025/5/16 06:50:04 7 r_ 1783 + 1784 +0003-0003 2025/5/16 06:52:04 7 r_ 1785 + 1786 +0004-0004 2025/5/16 06:54:04 7 ~~_ 1787 + 1788 +0005-0005 2025/5/16 06:56:04 7 ~~_ 1789 + 1790 +0006-0006 2025/5/16 06:58:04 7 ` 1791 + 1792 +0007-0007 2025/5/16 07:00:04 7 a 1793 + 1794 +0008-0008 2025/5/16 07:02:04 7 ra 1795 + 1796 +0009-0009 2025/5/16 07:04:04 7 xa 1797 + 1798 +0010-0010 2025/5/16 07:06:04 7 xa 1799 + 1800 +Start Tx events 1801 + 1802 +OK 1803 +))) 1804 + 1690 1690 (% style="color:#4f81bd" %)**Downlink Command:** 1691 1691 1692 1692 No downlink commands for feature 1693 1693 1694 1694 1695 -== =3.9 Clear Flash Record(Since v1.3.0) ===1810 +== 3.9 Clear Flash Record(Since v1.3.0) == 1696 1696 1697 1697 1698 1698 Feature: Clear flash storage for data log feature. ... ... @@ -1711,8 +1711,6 @@ 1711 1711 1712 1712 * Example: 0xA301 ~/~/ Same as AT+CLRDTA 1713 1713 1714 - 1715 - 1716 1716 == 3.10 SDI12 timing(Since v1.3.0) == 1717 1717 1718 1718 ... ... @@ -1720,6 +1720,7 @@ 1720 1720 1721 1721 [[image:1747289896656-580.png||height="414" width="566"]] 1722 1722 1836 + 1723 1723 (% style="color:#4f81bd" %)**AT Command: AT+SDITIMING** 1724 1724 1725 1725 (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:503px" %) ... ... @@ -1738,6 +1738,101 @@ 1738 1738 1739 1739 * Example: 0xA90D09 ~/~/ Same as AT+SDITIMING=13,9 1740 1740 1855 +== 3.11 add Pulse_count, VDC_input, IDC_input(Since firmware V1.3.0) == 1856 + 1857 + 1858 +(% style="color:blue" %)**Setting up external sensors:** 1859 + 1860 +* (% style="color:#037691" %)**AT Command:** 1861 + 1862 +(% style="color:#4472c4" %)**AT+EXT=a,b,c**(%%) 1863 + 1864 +(% style="color:#4472c4" %)**a:**(%%) **0:** Disable Counting function ( doesn't effect interrupt ). **1:** Enable Counting function(4 bytes). 1865 +(% style="color:#4472c4" %)**b: **(%%) **0:** Disable voltage acquisition function. **1:** Enable voltage acquisition function(2 bytes) 1866 +(% style="color:#4472c4" %)**c:**(%%) **0:** Disable current acquisition function. **1:** Enable current acquisition function(2 bytes). 1867 + 1868 +**Example:** 1869 + 1870 +(% style="color:#4472c4" %)**AT+EXT=1,1,1** 1871 + 1872 +Device will add counting, voltage and current acquisition function. 1873 + 1874 +The payload will be: 1875 +Battery(mV) & Interrupt _Flag + PAYLOAD_VER + ***counting + ** ***VDC_INPUT** + ***IDC_INPUT** + Length depends on the return from the commands 1876 + 1877 +(% style="color:#4472c4" %)**AT+EXT=1,0,0** 1878 + 1879 +Device will add counting support. 1880 + 1881 +The payload will be: 1882 +Battery(mV) & Interrupt _Flag + PAYLOAD_VER + ***counting** + Length depends on the return from the commands 1883 + 1884 +* (% style="color:#037691" %)**Downlink Command: 0x0B aa bb cc** 1885 + 1886 +Format: Command Code (0x0B) followed by 3 bytes. 1887 + 1888 +(% style="color:#037691" %)**aa:**(%%) Set Disable or Enable Counting Support. **00**: Disable, **01**: Enable. 1889 + 1890 +(% style="color:#037691" %)**bb:**(%%) Set Disable or Enable voltage acquisition. **00**: Disable, **01**: Enable. 1891 + 1892 +(% style="color:#037691" %)**cc:**(%%) Set Disable or Enable current acquisition. **00**: Disable, **01**: Enable. 1893 + 1894 +**Example:** 1895 + 1896 +Downlink payload: 0B 00 00 01 ~/~/AT+EXT=0,0,1 Enable current acquisition 1897 + 1898 +Downlink payload: 0B 01 00 01 ~/~/AT+EXT=1,0,1 Enable Counting Support and Current acquisition 1899 + 1900 + 1901 +(% style="color:blue" %)**Set the pulse count value:** 1902 + 1903 +* (% style="color:#037691" %)**AT Command:** 1904 + 1905 +(% style="color:#4472c4" %)**AT+SETCNT=aa **(%%)~/~/ Set the pulse count value. 1906 + 1907 +**Example:** 1908 + 1909 +AT+SETCNT=100 (% style="display:none" %) (%%)~/~/ Set the pulse count to 100.(% style="display:none" %) 1910 + 1911 +* (% style="color:#037691" %)**Downlink Command: 0x0C** 1912 + 1913 +Format: Command Code (0x0C) followed by 4 bytes. 1914 + 1915 +**Example:** 1916 + 1917 +Downlink Payload: 0C 00 00 00 64 ~/~/ AT+SETCNT=100 1918 + 1919 + 1920 +(% style="color:blue" %)**Connect counting sensor:** 1921 + 1922 +The counting sensor cables are connected to the **3V3 pin** and **GPIO_EXTI** pin of the **SIB v1.3** motherboard. 1923 + 1924 +[[image:image-20250519110640-1.jpeg||height="318" width="708"]] 1925 + 1926 + 1927 +(% id="cke_bm_1699404S" style="color:blue; display:none" %)** **(% style="color:blue" %)**Connect Voltage output sensor:** 1928 + 1929 +Example: 1930 + 1931 +**RED <~-~-~-~-> VDC_INPUT** 1932 + 1933 +**BLACK <~-~-~-~-~-~-> GND** 1934 + 1935 +[[image:image-20250519111415-3.jpeg||height="338" width="710"]] 1936 + 1937 + 1938 +(% style="color:blue" %)**Connect Current output sensor:** 1939 + 1940 +Example: 1941 + 1942 +**RED <~-~-~-~-~-~-~-~--> IDC_INPUT** 1943 + 1944 +**BLACK <~-~-~-~-~-~-> GND** 1945 + 1946 +[[image:image-20250519111732-4.jpeg||height="373" width="708"]] 1947 + 1948 + 1949 + 1741 1741 = 4. Battery & Power Consumption = 1742 1742 1743 1743
- image-20250516103205-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.ting - Size
-
... ... @@ -1,0 +1,1 @@ 1 +37.3 KB - Content
- image-20250516103652-3.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.ting - Size
-
... ... @@ -1,0 +1,1 @@ 1 +14.5 KB - Content
- image-20250516144559-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.ting - Size
-
... ... @@ -1,0 +1,1 @@ 1 +55.1 KB - Content
- image-20250516145402-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.ting - Size
-
... ... @@ -1,0 +1,1 @@ 1 +9.6 KB - Content
- image-20250519110640-1.jpeg
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.ting - Size
-
... ... @@ -1,0 +1,1 @@ 1 +230.2 KB - Content
- image-20250519111322-2.jpeg
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.ting - Size
-
... ... @@ -1,0 +1,1 @@ 1 +228.0 KB - Content
- image-20250519111415-3.jpeg
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.ting - Size
-
... ... @@ -1,0 +1,1 @@ 1 +192.7 KB - Content
- image-20250519111732-4.jpeg
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.ting - Size
-
... ... @@ -1,0 +1,1 @@ 1 +193.7 KB - Content
- image-20250605091006-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.ting - Size
-
... ... @@ -1,0 +1,1 @@ 1 +37.1 KB - Content
- image-20250609134137-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.ting - Size
-
... ... @@ -1,0 +1,1 @@ 1 +48.0 KB - Content