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

From version 154.1
edited by Mengting Qiu
on 2025/05/16 14:46
Change comment: Uploaded new attachment "image-20250516144559-1.png", version {1}
To version 156.2
edited by Mengting Qiu
on 2025/05/16 16:40
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -689,20 +689,30 @@
689 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 690  * AT+COMMAND3=0D0!,0,0,0  Query the data measured by device 0
691 691  
692 -
693 693  This is the data obtained:
694 694  
695 -[[image:image-20250516103652-3.png]]
694 +[[image:image-20250516145402-2.png]]
696 696  
697 697  
698 698  When using the AT+DATACONVx command,
699 699  
700 -The data of RETURN3 will be converted into 2 data, the first data is +101, and the second data is +263.
699 +The data of RETURN3 will be converted into 2 data, the first data is +95, and the second data is +260.
701 701  
702 702  * 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:
703 703  
703 +[[image:image-20250516144559-1.png]]
704 704  
705 +0C90 01 005F 0104
705 705  
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 +
706 706  == 2.4 Uplink Payload ==
707 707  
708 708  === 2.4.1 Device Payload, FPORT~=5 ===
... ... @@ -1675,29 +1675,85 @@
1675 1675  
1676 1676  (% style="color:#4f81bd" %)**AT Command: AT+PLDTA**
1677 1677  
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 +
1678 1678  (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %)
1679 1679  |(% style="background-color:#4f81bd; color:white; width:158px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:352px" %)**Function**
1680 1680  |(% style="width:156px" %)(((
1681 -AT+PLDTA=10
1698 +AT+PLDTA=10,0
1682 1682  Print last 10 entries
1683 1683  )))|(% style="width:311px" %)(((
1684 1684  Stop Tx events when read sensor data
1685 1685  
1686 -0001-0002 2025/5/15 01:04:43 18 0c 72 01 f1 0d 30 2b 31 2e 31 34 2b 32 39 2e 34 0d 0a
1703 +0001-0001 2025/5/16 06:48:04 7 0c 7e 01 00 5f 01 05
1687 1687  
1688 -0003-0004 2025/5/15 01:06:43 18 0c 72 01 f1 0d 30 2b 31 2e 31 33 2b 33 30 2e 30 0d 0a
1705 +0002-0002 2025/5/16 06:50:04 7 0c 72 01 00 5f 01 05
1689 1689  
1690 -0005-0006 2025/5/15 01:08:43 18 0c 7e 01 f1 0d 30 2b 31 2e 33 30 2b 33 30 2e 35 0d 0a
1707 +0003-0003 2025/5/16 06:52:04 7 0c 72 01 00 5f 01 05
1691 1691  
1692 -0007-0008 2025/5/15 01:10:43 18 0c 72 01 f1 0d 30 2b 31 2e 33 30 2b 33 31 2e 30 0d 0a
1709 +0004-0004 2025/5/16 06:54:04 7 0c 7e 01 00 5f 01 05
1693 1693  
1694 -0009-0010 2025/5/15 01:12:43 18 0c 72 01 f1 0d 30 2b 31 2e 33 30 2b 33 31 2e 31 0d 0a
1711 +0005-0005 2025/5/16 06:56:04 7 0c 7e 01 00 5f 01 07
1695 1695  
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 +
1696 1696  Start Tx events
1697 1697  
1698 1698  OK
1699 1699  )))
1700 1700  
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 +
1701 1701  (% style="color:#4f81bd" %)**Downlink Command:**
1702 1702  
1703 1703  No downlink commands for feature
... ... @@ -1749,6 +1749,107 @@
1749 1749  
1750 1750  * Example: 0xA90D09  ~/~/  Same as AT+SDITIMING=13,9
1751 1751  
1818 +
1819 +
1820 +== 3.11 add Pulse_count, VDC_input, IDC_input(Since firmware V1.3.0) ==
1821 +
1822 +
1823 +(% style="color:blue" %)**Setting up external sensors:**
1824 +
1825 +* (% style="color:#037691" %)**AT Command:**
1826 +
1827 +(% style="color:#4472c4" %)**AT+EXT=a,b,c**(%%)
1828 +
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).
1832 +
1833 +**Example:**
1834 +
1835 +(% style="color:#4472c4" %)**AT+EXT=1,1,1**
1836 +
1837 +Device will add SHT31, counting, DS18B20 support.
1838 +
1839 +The payload will be:
1840 +Battery(mV) & Interrupt _Flag + PAYLOAD_VER + ***SHT31 temp** + ***SHT31 Hum** + ***counting** + *DS18B20 + Length depends on the return from the commands
1841 +
1842 +(% style="color:#4472c4" %)**AT+EXT=0,1,0**
1843 +
1844 +Device will add counting support.
1845 +
1846 +The payload will be:
1847 +Battery(mV) & Interrupt _Flag + PAYLOAD_VER + ***counting** + Length depends on the return from the commands
1848 +
1849 +* (% style="color:#037691" %)**Downlink Command: 0x0B aa bb cc**
1850 +
1851 +Format: Command Code (0x0B) followed by 3 bytes.
1852 +
1853 +(% style="color:#037691" %)**aa:**(%%) Set whether to add SHT31 sensor support.  **00**: No, **01**: Add.
1854 +
1855 +(% style="color:#037691" %)**bb:**(%%) Set whether to add Counting Support.  **00**: No, **01**: Add.
1856 +
1857 +(% style="color:#037691" %)**cc:**(%%) Set whether to add DS18B20 support.  **00**: No, **01**: Add.
1858 +
1859 +**Example:**
1860 +
1861 +Downlink payload:  0B 00 00 01  ~/~/AT+EXT=0,0,1  Add DS18B20 support
1862 +
1863 +Downlink payload:  0B 01 00 01  ~/~/AT+EXT=1,0,1  Add SHT31 sensor support and DS18B20 support                        
1864 +
1865 +
1866 +(% style="color:blue" %)**Set the pulse count value:**
1867 +
1868 +* (% style="color:#037691" %)**AT Command:**
1869 +
1870 +(% style="color:#4472c4" %)**AT+SETCNT=aa     **(%%)~/~/ Set the pulse count value.
1871 +
1872 +**Example:**
1873 +
1874 +AT+SETCNT=100  (% style="display:none" %) (%%)~/~/ Set the pulse count to 100.(% style="display:none" %)
1875 +
1876 +* (% style="color:#037691" %)**Downlink Command: 0x0C**
1877 +
1878 +Format: Command Code (0x0C) followed by 4 bytes.
1879 +
1880 +**Example:**
1881 +
1882 +Downlink Payload: 0C 00 00 00 64  ~/~/ AT+SETCNT=100
1883 +
1884 +
1885 +(% style="color:blue" %)**Connect DS18B20 sensor:**
1886 +
1887 +**RED <~-~-~-~-~-~-~-~--> VBAT_OUT(+3.3V)**
1888 +
1889 +**YELLOW <~-~-~-~-> ONE_WIRE**
1890 +
1891 +**BLACK <~-~-~-~-~-~-> GND**
1892 +
1893 +[[image:image-20241223101841-3.jpeg||height="417" width="666"]]
1894 +
1895 +
1896 +(% style="color:blue" %)**Connect SHT31 sensor:**
1897 +
1898 +**RED <~-~-~-~-~-~-~-~--> VBAT_OUT(+3.3V)**
1899 +
1900 +**YELLOW <~-~-~-~-> SCL**
1901 +
1902 +**GREEN <~-~-~-~-~-~-> SDA**
1903 +
1904 +**BLACK <~-~-~-~-~-~-> GND**
1905 +
1906 +[[image:image-20241223100438-2.jpeg||height="440" width="672"]]
1907 +
1908 +
1909 +(% style="color:blue" %)**Connect counting sensor:**
1910 +
1911 +The counting sensor cables are connected to the VBAT_OUT(+3.3v) pin and GPIO_EXTI pin of the RS485_LB motherboard.
1912 +
1913 +[[image:image-20241223102347-4.jpeg||height="437" width="683"]]
1914 +
1915 +
1916 +
1917 +
1918 +
1752 1752  = 4. Battery & Power Consumption =
1753 1753  
1754 1754  
image-20250516145402-2.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.ting
Size
... ... @@ -1,0 +1,1 @@
1 +9.6 KB
Content