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 173.1
edited by Xiaoling
on 2025/06/10 10:52
on 2025/06/10 10:52
Change comment:
There is no comment for this version
To version 156.2
edited by Mengting Qiu
on 2025/05/16 16:40
on 2025/05/16 16:40
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 11 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Xiaoling1 +XWiki.ting - Content
-
... ... @@ -1,6 +1,7 @@ 1 1 2 2 3 -[[image:image-20240103165259-3.png||data-xwiki-image-style-alignment="center" height="433" width="591"]] 3 +(% style="text-align:center" %) 4 +[[image:image-20240103165259-3.png||height="433" width="591"]] 4 4 5 5 6 6 ... ... @@ -138,16 +138,16 @@ 138 138 139 139 (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %) 140 140 |=(% style="width: 167px;background-color:#4F81BD;color:white" %)**Behavior on ACT**|=(% style="width: 117px;background-color:#4F81BD;color:white" %)**Function**|=(% style="width: 226px;background-color:#4F81BD;color:white" %)**Action** 141 -| [[image:1749523850351-927.png]]1~~3s|(% style="background-color:#f2f2f2; width:117px" %)Send an uplink|(% style="background-color:#f2f2f2; width:225px" %)(((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" %)((( 142 142 If sensor is already Joined to LoRaWAN network, sensor will send an uplink packet, (% style="color:blue" %)**blue led** (%%)will blink once. 143 143 Meanwhile, BLE module will be active and user can connect via BLE to configure device. 144 144 ))) 145 -| [[image:1749523852387-583.png]]>3s|(% style="background-color:#f2f2f2; width:117px" %)Active Device|(% style="background-color:#f2f2f2; width:225px" %)(((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" %)((( 146 146 (% 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. 147 147 (% style="background-color:#f2f2f2; color:green" %)**Green led**(%%) will solidly turn on for 5 seconds after joined in network. 148 148 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. 149 149 ))) 150 -| [[image:1749523825515-716.png]]x5|(% 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 SDI-12-LB/LS is in Deep Sleep Mode.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 SDI-12-LB/LS is in Deep Sleep Mode. 151 151 152 152 == 1.7 Pin Mapping == 153 153 ... ... @@ -510,10 +510,8 @@ 510 510 511 511 (% style="color:red" %)**var2**(%%): Wait timeout for return. (unit: second) 512 512 513 -(% 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: Whensetto 2, AT+ALDATAMOD=1 doesnot interceptdatareturnedby the current COMMAND command.(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: The returned data will not be clipped.(since v1.3.0)** 514 514 515 -(% 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 a device is connected to two sensors with different addresses, and both sensors are to use concurrent measurements, then both sensors can be measured at the same time without the second one having to wait until after the first one.)** 516 - 517 517 (% style="color:red" %)**var4**(%%): validation check for return. If return invalid, SDI-12-LB/LS will resend this command. Max 3 retries. 518 518 519 519 (% style="color:red" %)**0 **(%%) No validation check; ... ... @@ -678,52 +678,21 @@ 678 678 679 679 (% 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.** 680 680 681 -* (% style="color:blue" %)**Downlink Command:** 682 682 683 -Format: Command code (0xAC) followed by up to 20 bytes. 684 - 685 - 686 -Example 1 1:AT+DATACONVx=var1, var2 687 - 688 -Downlink Command:AC x var1 var2 689 - 690 -Example 1 2:AT+DATACONVx=var1, var2+ var3, var4 691 - 692 -Downlink Command:AC x var1 var2 var3 var4 693 - 694 -Example 1 3:AT+DATACONVx=var1, var2+ var3, var4+ var5, var6 695 - 696 -Downlink Command:AC x var1 var2 var3 var4 var5 var6 697 - 698 -Example 1 4:AT+DATACONVx=var1, var2+ var3, var4+ var5, var6+ var7, var8 699 - 700 -Downlink Command:AC x var1 var2 var3 var4 var5 var6 var7 var8 701 - 702 -Example 1 5:AT+DATACONVx=var1, var2+ var3, var4+ var5, var6+ var7, var8+ var9, var10 703 - 704 -Downlink Command:AC x var1 var2 var3 var4 var5 var6 var7 var8 var9 var10 705 - 706 - 707 -Example: 708 - 709 -* Example 1: Downlink Payload: AC 01 01 02 02 02 ~/~/ AT+DATACONV1=1,2+2,2 710 -* Example 2: Downlink Payload: AC 02 01 02 02 02 03 02 ~/~/ AT+DATACONV2=1,2+2,2+3,2 711 - 712 712 **For example:** 713 713 714 714 This is my configuration: 715 715 716 -[[image:image-202506 09134137-1.png]]685 +[[image:image-20250516103205-2.png]] 717 717 718 718 719 -* AT+COMMAND1=0C!,0,2,0 Use concurrent measurement commands without intercepting the returned data. 720 -* AT+COMMAND2=1C!,1,2,0 Use concurrent measurement commands without intercepting the returned data, with a second parameter to be set at the last concurrent command (the second parameter takes the maximum transition time between the two sensors) 721 -* AT+COMMAND3=0D0!,0,0,0 Query the data measured by device 0 722 -* AT+COMMAND4=1D0!,0,0,0 Query the data measured by device 1 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. 689 +* 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) 690 +* AT+COMMAND3=0D0!,0,0,0 Query the data measured by device 0 723 723 724 724 This is the data obtained: 725 725 726 -[[image:image-202506 09134901-2.png]]694 +[[image:image-20250516145402-2.png]] 727 727 728 728 729 729 When using the AT+DATACONVx command, ... ... @@ -731,31 +731,20 @@ 731 731 The data of RETURN3 will be converted into 2 data, the first data is +95, and the second data is +260. 732 732 733 733 * 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: 734 -* ((( 735 -AT+DATACONV4=1,3+2,2+3,2 The first data uploads 3 bytes, the second data also uploads 2 bytes, and the third data also uploads 2 bytes. The hexadecimal form is shown above and as shown in the following figure: 736 -))) 737 737 738 -[[image:image-202506 09141343-1.png]]703 +[[image:image-20250516144559-1.png]] 739 739 740 - **Forexample,theuplinkpayload as below:**705 +0C90 01 005F 0104 741 741 742 - 0CE40100C6010302DB9900FD0001707 +(% style="color:#037691" %)**BAT**(%%): 0x0c90 = 3216mV = 3.216V 743 743 744 -(% style="color:#037691" %)**BAT**(%%): 0x0CE4 = 3300mV = 3.300V 745 - 746 746 (% style="color:#037691" %)**Payload Version**(%%): 0x01, Means: v1.0 version 747 747 748 -(% style="color:#037691" %)**Data 1: **(%%)0x00 C6(H) =198(D) / 100 =19.8711 +(% style="color:#037691" %)**Data 1: **(%%)0x005F(H) = 95(D) / 100 = 0.95 749 749 750 -(% style="color:#037691" %)**Data 2: **(%%)0x010 3(H) = 259(D) / 10 = 25.9713 +(% style="color:#037691" %)**Data 2: **(%%)0x0104(H) = 260(D) / 10 = 26.0 751 751 752 -(% style="color:#037691" %)**Data 3: **(%%)0x02DB99(H) = 187289(D) / 100 = 1872.89 753 753 754 -(% style="color:#037691" %)**Data 4: **(%%)0x00FD(H) = 253(D) / 10 = 25.3 755 - 756 -(% style="color:#037691" %)**Data 5: **(%%)0x0001(H) = 1(D) = 1 757 - 758 - 759 759 == 2.4 Uplink Payload == 760 760 761 761 === 2.4.1 Device Payload, FPORT~=5 === ... ... @@ -1423,11 +1423,7 @@ 1423 1423 1424 1424 **SDI-12-LB will uplink this payload.** 1425 1425 1426 -**68253B6E 12 0C7801F10D302B312E31372B32362E390D0A ** 1427 -68253C5D 12 0C7801F10D302B312E31372B32372E340D0A 1428 -68253D33 12 0C7201F10D302B312E31352B32382E390D0A 1429 -68253DAB 12 0C7201F10D302B312E31342B32392E340D0A 1430 -68253E23 12 0C7201F10D302B312E31332B33302E300D0A 1383 +**68253B6E 12 0C7801F10D302B312E31372B32362E390D0A **68253C5D120C7801F10D302B312E31372B32372E340D0A68253D33120C7201F10D302B312E31352B32382E390D0A68253DAB120C7201F10D302B312E31342B32392E340D0A68253E23120C7201F10D302B312E31332B33302E300D0A 1431 1431 1432 1432 1433 1433 Where the first 23 bytes is for the first entry: ... ... @@ -1681,7 +1681,7 @@ 1681 1681 * Example 1: Downlink Payload: AE 01 ~/~/ AT+PAYVER=1 1682 1682 * Example 2: Downlink Payload: AE 05 ~/~/ AT+PAYVER=5 1683 1683 1684 -== 3.7 Print data entries base on page(Since v1.3.0) == 1637 +=== 3.7 Print data entries base on page(Since v1.3.0) === 1685 1685 1686 1686 1687 1687 Feature: Print the sector data from start page to stop page (max is 416 pages). ... ... @@ -1725,7 +1725,7 @@ 1725 1725 No downlink commands for feature 1726 1726 1727 1727 1728 -== 3.8 Print last few data entries(Since v1.3.0) == 1681 +=== 3.8 Print last few data entries(Since v1.3.0) === 1729 1729 1730 1730 1731 1731 Feature: Print the last few data entries ... ... @@ -1737,7 +1737,7 @@ 1737 1737 |(% style="background-color:#f2f2f2; width:158px" %)AT+PLDTA=10,0|(% style="background-color:#f2f2f2; width:192px" %)Printing the last ten data in hex format 1738 1738 |(% style="background-color:#f2f2f2; width:158px" %)AT+PLDTA=10,1|(% style="background-color:#f2f2f2; width:192px" %)Print the last ten data in string format 1739 1739 1740 -* **Prints in hex format:**1693 +* Prints in hex format: 1741 1741 1742 1742 (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %) 1743 1743 |(% style="background-color:#4f81bd; color:white; width:158px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:352px" %)**Function** ... ... @@ -1816,7 +1816,7 @@ 1816 1816 No downlink commands for feature 1817 1817 1818 1818 1819 -== 3.9 Clear Flash Record(Since v1.3.0) == 1772 +=== 3.9 Clear Flash Record(Since v1.3.0) === 1820 1820 1821 1821 1822 1822 Feature: Clear flash storage for data log feature. ... ... @@ -1835,6 +1835,8 @@ 1835 1835 1836 1836 * Example: 0xA301 ~/~/ Same as AT+CLRDTA 1837 1837 1791 + 1792 + 1838 1838 == 3.10 SDI12 timing(Since v1.3.0) == 1839 1839 1840 1840 ... ... @@ -1842,7 +1842,6 @@ 1842 1842 1843 1843 [[image:1747289896656-580.png||height="414" width="566"]] 1844 1844 1845 - 1846 1846 (% style="color:#4f81bd" %)**AT Command: AT+SDITIMING** 1847 1847 1848 1848 (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:503px" %) ... ... @@ -1861,6 +1861,8 @@ 1861 1861 1862 1862 * Example: 0xA90D09 ~/~/ Same as AT+SDITIMING=13,9 1863 1863 1818 + 1819 + 1864 1864 == 3.11 add Pulse_count, VDC_input, IDC_input(Since firmware V1.3.0) == 1865 1865 1866 1866 ... ... @@ -1870,20 +1870,20 @@ 1870 1870 1871 1871 (% style="color:#4472c4" %)**AT+EXT=a,b,c**(%%) 1872 1872 1873 -(% style="color:#4472c4" %)**a:**(%%) **0:** DisableCountingfunction ( doesn'teffectinterrupt ). **1:**EnableCountingfunction(4 bytes).1874 -(% style="color:#4472c4" %)**b: **(%%) **0:** Disablevoltageacquisition function.Enablevoltage acquisitionfunction(2bytes)1875 -(% style="color:#4472c4" %)**c:**(%%) **0:** Disablecurrentacquisitionunction. **1:**Enablecurrentacquisitionfunction(2 bytes).1829 +(% style="color:#4472c4" %)**a:**(%%) **0:** ignore I2C interface. ** 1:** Add SHT31 sensor support (4 bytes). 1830 +(% style="color:#4472c4" %)**b: **(%%) **0:** ignore pulse interface ( doesn't effect interrupt ). **1:** Add Counting Support (4 bytes). 1831 +(% style="color:#4472c4" %)**c:**(%%) **0:** ignore one wire interface. **1:** Add DS18B20 support (2 bytes). 1876 1876 1877 1877 **Example:** 1878 1878 1879 1879 (% style="color:#4472c4" %)**AT+EXT=1,1,1** 1880 1880 1881 -Device will add counting, voltageandcurrent acquisition function.1837 +Device will add SHT31, counting, DS18B20 support. 1882 1882 1883 1883 The payload will be: 1884 -Battery(mV) & Interrupt _Flag + PAYLOAD_VER + counting+ ****VDC_INPUT**IDC_INPUT**1840 +Battery(mV) & Interrupt _Flag + PAYLOAD_VER + ***SHT31 temp** + ***SHT31 Hum** + ***counting** + *DS18B20 + Length depends on the return from the commands 1885 1885 1886 -(% style="color:#4472c4" %)**AT+EXT=1,0 ,0**1842 +(% style="color:#4472c4" %)**AT+EXT=0,1,0** 1887 1887 1888 1888 Device will add counting support. 1889 1889 ... ... @@ -1894,17 +1894,17 @@ 1894 1894 1895 1895 Format: Command Code (0x0B) followed by 3 bytes. 1896 1896 1897 -(% style="color:#037691" %)**aa:**(%%) Set Disable orEnableCountingSupport.Disable, **01**:Enable.1853 +(% style="color:#037691" %)**aa:**(%%) Set whether to add SHT31 sensor support. **00**: No, **01**: Add. 1898 1898 1899 -(% style="color:#037691" %)**bb:**(%%) Set Disable orEnablevoltageacquisition. **00**:Disable, **01**:Enable.1855 +(% style="color:#037691" %)**bb:**(%%) Set whether to add Counting Support. **00**: No, **01**: Add. 1900 1900 1901 -(% style="color:#037691" %)**cc:**(%%) Set Disable orEnablecurrentacquisition. **00**:Disable, **01**:Enable.1857 +(% style="color:#037691" %)**cc:**(%%) Set whether to add DS18B20 support. **00**: No, **01**: Add. 1902 1902 1903 1903 **Example:** 1904 1904 1905 -Downlink payload: 0B 00 00 01 ~/~/AT+EXT=0,0,1 Enablecurrentacquisition1861 +Downlink payload: 0B 00 00 01 ~/~/AT+EXT=0,0,1 Add DS18B20 support 1906 1906 1907 -Downlink payload: 0B 01 00 01 ~/~/AT+EXT=1,0,1 EnableCountingSupport andCurrentacquisition1863 +Downlink payload: 0B 01 00 01 ~/~/AT+EXT=1,0,1 Add SHT31 sensor support and DS18B20 support 1908 1908 1909 1909 1910 1910 (% style="color:blue" %)**Set the pulse count value:** ... ... @@ -1926,33 +1926,37 @@ 1926 1926 Downlink Payload: 0C 00 00 00 64 ~/~/ AT+SETCNT=100 1927 1927 1928 1928 1929 -(% style="color:blue" %)**Connect countingsensor:**1885 +(% style="color:blue" %)**Connect DS18B20 sensor:** 1930 1930 1931 - The counting sensor cables are connected to the**3V3 pin** and **GPIO_EXTI**pinof the **SIBv1.3**motherboard.1887 +**RED <~-~-~-~-~-~-~-~--> VBAT_OUT(+3.3V)** 1932 1932 1933 - [[image:image-20250519110640-1.jpeg||height="318"width="708"]]1889 +**YELLOW <~-~-~-~-> ONE_WIRE** 1934 1934 1891 +**BLACK <~-~-~-~-~-~-> GND** 1935 1935 1936 - (%id="cke_bm_1699404S" style="color:blue; display:none" %)** **(% style="color:blue"%)**ConnectVoltage output sensor:**1893 +[[image:image-20241223101841-3.jpeg||height="417" width="666"]] 1937 1937 1938 -Example: 1939 1939 1940 - **RED<~-~-~-~->VDC_INPUT**1896 +(% style="color:blue" %)**Connect SHT31 sensor:** 1941 1941 1898 +**RED <~-~-~-~-~-~-~-~--> VBAT_OUT(+3.3V)** 1899 + 1900 +**YELLOW <~-~-~-~-> SCL** 1901 + 1902 +**GREEN <~-~-~-~-~-~-> SDA** 1903 + 1942 1942 **BLACK <~-~-~-~-~-~-> GND** 1943 1943 1944 -[[image:image-202 50519111415-3.jpeg||height="338" width="710"]]1906 +[[image:image-20241223100438-2.jpeg||height="440" width="672"]] 1945 1945 1946 1946 1947 -(% style="color:blue" %)**Connect Currentoutputsensor:**1909 +(% style="color:blue" %)**Connect counting sensor:** 1948 1948 1949 - Example:1911 +The counting sensor cables are connected to the VBAT_OUT(+3.3v) pin and GPIO_EXTI pin of the RS485_LB motherboard. 1950 1950 1951 - **RED <~-~-~-~-~-~-~-~-->IDC_INPUT**1913 +[[image:image-20241223102347-4.jpeg||height="437" width="683"]] 1952 1952 1953 -**BLACK <~-~-~-~-~-~-> GND** 1954 1954 1955 -[[image:image-20250519111732-4.jpeg||height="373" width="708"]] 1956 1956 1957 1957 1958 1958
- 1749523825515-716.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -1.4 KB - Content
- 1749523850351-927.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -1.9 KB - Content
- 1749523852387-583.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -1.9 KB - Content
- image-20250519110640-1.jpeg
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.ting - Size
-
... ... @@ -1,1 +1,0 @@ 1 -230.2 KB - Content
- image-20250519111322-2.jpeg
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.ting - Size
-
... ... @@ -1,1 +1,0 @@ 1 -228.0 KB - Content
- image-20250519111415-3.jpeg
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.ting - Size
-
... ... @@ -1,1 +1,0 @@ 1 -192.7 KB - Content
- image-20250519111732-4.jpeg
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.ting - Size
-
... ... @@ -1,1 +1,0 @@ 1 -193.7 KB - Content
- image-20250605091006-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.ting - Size
-
... ... @@ -1,1 +1,0 @@ 1 -37.1 KB - Content
- image-20250609134137-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.ting - Size
-
... ... @@ -1,1 +1,0 @@ 1 -48.0 KB - Content
- image-20250609134901-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.ting - Size
-
... ... @@ -1,1 +1,0 @@ 1 -16.6 KB - Content
- image-20250609141343-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.ting - Size
-
... ... @@ -1,1 +1,0 @@ 1 -76.1 KB - Content