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.1
edited by Mengting Qiu
on 2025/05/16 10:09
on 2025/05/16 10:09
Change comment:
Uploaded new attachment "image-20250516100849-1.png", version {1}
To version 157.1
edited by Mengting Qiu
on 2025/05/16 17:07
on 2025/05/16 17:07
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 4 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -678,7 +678,41 @@ 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 680 680 681 +**For example:** 681 681 683 +This is my configuration: 684 + 685 +[[image:image-20250516103205-2.png]] 686 + 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. 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 691 + 692 +This is the data obtained: 693 + 694 +[[image:image-20250516145402-2.png]] 695 + 696 + 697 +When using the AT+DATACONVx command, 698 + 699 +The data of RETURN3 will be converted into 2 data, the first data is +95, and the second data is +260. 700 + 701 +* 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: 702 + 703 +[[image:image-20250516144559-1.png]] 704 + 705 +0C90 01 005F 0104 706 + 707 +(% style="color:#037691" %)**BAT**(%%): 0x0c90 = 3216mV = 3.216V 708 + 709 +(% style="color:#037691" %)**Payload Version**(%%): 0x01, Means: v1.0 version 710 + 711 +(% style="color:#037691" %)**Data 1: **(%%)0x005F(H) = 95(D) / 100 = 0.95 712 + 713 +(% style="color:#037691" %)**Data 2: **(%%)0x0104(H) = 260(D) / 10 = 26.0 714 + 715 + 682 682 == 2.4 Uplink Payload == 683 683 684 684 === 2.4.1 Device Payload, FPORT~=5 === ... ... @@ -1651,29 +1651,85 @@ 1651 1651 1652 1652 (% style="color:#4f81bd" %)**AT Command: AT+PLDTA** 1653 1653 1688 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:437px" %) 1689 +|=(% style="width: 158px;background-color:#4F81BD;color:white" %)**Command Example**|=(% style="width: 192px;background-color:#4F81BD;color:white" %)**Function** 1690 +|(% style="background-color:#f2f2f2; width:158px" %)AT+PLDTA=10,0|(% style="background-color:#f2f2f2; width:192px" %)Printing the last ten data in hex format 1691 +|(% style="background-color:#f2f2f2; width:158px" %)AT+PLDTA=10,1|(% style="background-color:#f2f2f2; width:192px" %)Print the last ten data in string format 1692 + 1693 +* Prints in hex format: 1694 + 1654 1654 (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %) 1655 1655 |(% style="background-color:#4f81bd; color:white; width:158px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:352px" %)**Function** 1656 1656 |(% style="width:156px" %)((( 1657 -AT+PLDTA=10 1698 +AT+PLDTA=10,0 1658 1658 Print last 10 entries 1659 1659 )))|(% style="width:311px" %)((( 1660 1660 Stop Tx events when read sensor data 1661 1661 1662 -0001-000 22025/5/1501:04:43180c 7201f10d 302b312e 31 34 2b 32 39 2e 340d 0a1703 +0001-0001 2025/5/16 06:48:04 7 0c 7e 01 00 5f 01 05 1663 1663 1664 -000 3-00042025/5/1501:06:43180c 72 01f10d 302b312e 31 33 2b 33 302e 30 0d 0a1705 +0002-0002 2025/5/16 06:50:04 7 0c 72 01 00 5f 01 05 1665 1665 1666 -000 5-00062025/5/1501:08:43180c 7e01f10d 302b 31 2e 33 30 2b 33 30 2e 35 0d0a1707 +0003-0003 2025/5/16 06:52:04 7 0c 72 01 00 5f 01 05 1667 1667 1668 -000 7-00082025/5/1501:10:43180c 7201f10d 302b31 2e 33 302b 33 312e 300d 0a1709 +0004-0004 2025/5/16 06:54:04 7 0c 7e 01 00 5f 01 05 1669 1669 1670 -000 9-0010 2025/5/1501:12:43180c 7201f10d 302b31 2e 33 302b 33 312e 310d 0a1711 +0005-0005 2025/5/16 06:56:04 7 0c 7e 01 00 5f 01 07 1671 1671 1713 +0006-0006 2025/5/16 06:58:04 7 0c 8a 01 00 60 01 07 1714 + 1715 +0007-0007 2025/5/16 07:00:04 7 0c 84 01 00 61 01 07 1716 + 1717 +0008-0008 2025/5/16 07:02:04 7 0c 72 01 00 61 01 07 1718 + 1719 +0009-0009 2025/5/16 07:04:04 7 0c 78 01 00 61 01 07 1720 + 1721 +0010-0010 2025/5/16 07:06:04 7 0c 78 01 00 61 01 07 1722 + 1672 1672 Start Tx events 1673 1673 1674 1674 OK 1675 1675 ))) 1676 1676 1728 +* **Printing in String Format:** 1729 + 1730 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %) 1731 +|(% style="background-color:#4f81bd; color:white; width:158px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:352px" %)**Function** 1732 +|(% style="width:156px" %)((( 1733 +AT+PLDTA=10,1 1734 +Print last 10 entries 1735 + 1736 +((( 1737 +(Printing in String Format) 1738 +))) 1739 +)))|(% style="width:311px" %)((( 1740 +Stop Tx events when read sensor data 1741 + 1742 +0001-0001 2025/5/16 06:48:04 7 ~~_ 1743 + 1744 +0002-0002 2025/5/16 06:50:04 7 r_ 1745 + 1746 +0003-0003 2025/5/16 06:52:04 7 r_ 1747 + 1748 +0004-0004 2025/5/16 06:54:04 7 ~~_ 1749 + 1750 +0005-0005 2025/5/16 06:56:04 7 ~~_ 1751 + 1752 +0006-0006 2025/5/16 06:58:04 7 ` 1753 + 1754 +0007-0007 2025/5/16 07:00:04 7 a 1755 + 1756 +0008-0008 2025/5/16 07:02:04 7 ra 1757 + 1758 +0009-0009 2025/5/16 07:04:04 7 xa 1759 + 1760 +0010-0010 2025/5/16 07:06:04 7 xa 1761 + 1762 +Start Tx events 1763 + 1764 +OK 1765 +))) 1766 + 1677 1677 (% style="color:#4f81bd" %)**Downlink Command:** 1678 1678 1679 1679 No downlink commands for feature ... ... @@ -1707,6 +1707,7 @@ 1707 1707 1708 1708 [[image:1747289896656-580.png||height="414" width="566"]] 1709 1709 1800 + 1710 1710 (% style="color:#4f81bd" %)**AT Command: AT+SDITIMING** 1711 1711 1712 1712 (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:503px" %) ... ... @@ -1725,6 +1725,104 @@ 1725 1725 1726 1726 * Example: 0xA90D09 ~/~/ Same as AT+SDITIMING=13,9 1727 1727 1819 + 1820 + 1821 +== 3.11 add Pulse_count, VDC_input, IDC_input(Since firmware V1.3.0) == 1822 + 1823 + 1824 +(% style="color:blue" %)**Setting up external sensors:** 1825 + 1826 +* (% style="color:#037691" %)**AT Command:** 1827 + 1828 +(% style="color:#4472c4" %)**AT+EXT=a,b,c**(%%) 1829 + 1830 +(% style="color:#4472c4" %)**a:**(%%) **0:** Disable Counting function ( doesn't effect interrupt ). **1:** Enable Counting function(4 bytes). 1831 +(% style="color:#4472c4" %)**b: **(%%) **0:** Disable voltage acquisition function. **1:** Enable voltage acquisition function(2 bytes) 1832 +(% style="color:#4472c4" %)**c:**(%%) **0:** Disable current acquisition function. **1:** Enable current acquisition function(2 bytes). 1833 + 1834 +**Example:** 1835 + 1836 +(% style="color:#4472c4" %)**AT+EXT=1,1,1** 1837 + 1838 +Device will add counting, voltage and current acquisition function. 1839 + 1840 +The payload will be: 1841 +Battery(mV) & Interrupt _Flag + PAYLOAD_VER + ***counting + ** ***VDC_INPUT** + ***IDC_INPUT** + Length depends on the return from the commands 1842 + 1843 +(% style="color:#4472c4" %)**AT+EXT=1,0,0** 1844 + 1845 +Device will add counting support. 1846 + 1847 +The payload will be: 1848 +Battery(mV) & Interrupt _Flag + PAYLOAD_VER + ***counting** + Length depends on the return from the commands 1849 + 1850 +* (% style="color:#037691" %)**Downlink Command: 0x0B aa bb cc** 1851 + 1852 +Format: Command Code (0x0B) followed by 3 bytes. 1853 + 1854 +(% style="color:#037691" %)**aa:**(%%) Set Disable or Enable Counting Support. **00**: Disable, **01**: Enable. 1855 + 1856 +(% style="color:#037691" %)**bb:**(%%) Set Disable or Enable voltage acquisition. **00**: Disable, **01**: Enable. 1857 + 1858 +(% style="color:#037691" %)**cc:**(%%) Set Disable or Enable current acquisition. **00**: Disable, **01**: Enable. 1859 + 1860 +**Example:** 1861 + 1862 +Downlink payload: 0B 00 00 01 ~/~/AT+EXT=0,0,1 Enable current acquisition 1863 + 1864 +Downlink payload: 0B 01 00 01 ~/~/AT+EXT=1,0,1 Enable Counting Support and Current acquisition 1865 + 1866 + 1867 +(% style="color:blue" %)**Set the pulse count value:** 1868 + 1869 +* (% style="color:#037691" %)**AT Command:** 1870 + 1871 +(% style="color:#4472c4" %)**AT+SETCNT=aa **(%%)~/~/ Set the pulse count value. 1872 + 1873 +**Example:** 1874 + 1875 +AT+SETCNT=100 (% style="display:none" %) (%%)~/~/ Set the pulse count to 100.(% style="display:none" %) 1876 + 1877 +* (% style="color:#037691" %)**Downlink Command: 0x0C** 1878 + 1879 +Format: Command Code (0x0C) followed by 4 bytes. 1880 + 1881 +**Example:** 1882 + 1883 +Downlink Payload: 0C 00 00 00 64 ~/~/ AT+SETCNT=100 1884 + 1885 + 1886 +(% style="color:blue" %)**Connect counting sensor:** 1887 + 1888 +The counting sensor cables are connected to the **3V3 pin** and **GPIO_EXTI** pin of the **SIB v1.3** motherboard. 1889 + 1890 +[[image:image-20241223102347-4.jpeg||height="437" width="683"]] 1891 + 1892 + 1893 +(% id="cke_bm_1699404S" style="color: blue; display: none" %)** **(% style="color:blue" %)**Connect Voltage output sensor:** 1894 + 1895 +Example: 1896 + 1897 +**RED <~-~-~-~-> VDC_INPUT** 1898 + 1899 +**BLACK <~-~-~-~-~-~-> GND** 1900 + 1901 +[[image:image-20241223101841-3.jpeg||height="417" width="666"]] 1902 + 1903 + 1904 +(% style="color:blue" %)**Connect Current output sensor:** 1905 + 1906 +Example: 1907 + 1908 +**RED <~-~-~-~-~-~-~-~--> IDC_INPUT** 1909 + 1910 +**BLACK <~-~-~-~-~-~-> GND** 1911 + 1912 +[[image:image-20241223100438-2.jpeg||height="440" width="672"]] 1913 + 1914 + 1915 + 1916 + 1728 1728 = 4. Battery & Power Consumption = 1729 1729 1730 1730
- 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