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 143.1
edited by Mengting Qiu
on 2025/05/14 19:36
on 2025/05/14 19:36
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 17 added, 0 removed)
- 1747289896656-580.png
- 1749523825515-716.png
- 1749523850351-927.png
- 1749523852387-583.png
- image-20250516100849-1.png
- image-20250516103205-2.png
- image-20250516103652-3.png
- image-20250516144559-1.png
- image-20250516145402-2.png
- image-20250519110640-1.jpeg
- image-20250519111322-2.jpeg
- image-20250519111415-3.jpeg
- image-20250519111732-4.jpeg
- image-20250605091006-1.png
- image-20250609134137-1.png
- image-20250609134901-2.png
- image-20250609141343-1.png
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. ting1 +XWiki.Xiaoling - Content
-
... ... @@ -1,7 +1,6 @@ 1 1 2 2 3 -(% style="text-align:center" %) 4 -[[image:image-20240103165259-3.png||height="433" width="591"]] 3 +[[image:image-20240103165259-3.png||data-xwiki-image-style-alignment="center" height="433" width="591"]] 5 5 6 6 7 7 ... ... @@ -139,16 +139,16 @@ 139 139 140 140 (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %) 141 141 |=(% 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** 142 -| (% style="background-color:#f2f2f2; width:167px" %)PressingACT between1s < time <3s|(% style="background-color:#f2f2f2; width:117px" %)Send an uplink|(% style="background-color:#f2f2f2; width:225px" %)(((141 +|[[image:1749523850351-927.png]] 1~~3s|(% style="background-color:#f2f2f2; width:117px" %)Send an uplink|(% style="background-color:#f2f2f2; width:225px" %)((( 143 143 If sensor is already Joined to LoRaWAN network, sensor will send an uplink packet, (% style="color:blue" %)**blue led** (%%)will blink once. 144 144 Meanwhile, BLE module will be active and user can connect via BLE to configure device. 145 145 ))) 146 -| (% style="background-color:#f2f2f2; width:167px" %)PressingACT for more than3s|(% style="background-color:#f2f2f2; width:117px" %)Active Device|(% style="background-color:#f2f2f2; width:225px" %)(((145 +|[[image:1749523852387-583.png]] >3s|(% style="background-color:#f2f2f2; width:117px" %)Active Device|(% style="background-color:#f2f2f2; width:225px" %)((( 147 147 (% 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. 148 148 (% style="background-color:#f2f2f2; color:green" %)**Green led**(%%) will solidly turn on for 5 seconds after joined in network. 149 149 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. 150 150 ))) 151 -| (% style="background-color:#f2f2f2; width:167px"%)Fast press ACT5times.|(% 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.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. 152 152 153 153 == 1.7 Pin Mapping == 154 154 ... ... @@ -498,7 +498,7 @@ 498 498 === 2.3.4 Define periodically SDI-12 commands and uplink. === 499 499 500 500 501 -AT+COMMANDx & AT+DATACUTx 500 +AT+COMMANDx & AT+DATACUTx**&AT+DATACONVx** 502 502 503 503 User can define max 15 SDI-12 Commands (AT+COMMAND1 ~~ AT+COMMANDF). On each uplink period (TDC time, default 20 minutes), SDI-12-LB/LS will send these SDI-12 commands and wait for return from SDI-12 sensors. SDI-12-LB/LS will then combine these returns and uplink via LoRaWAN. 504 504 ... ... @@ -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!//. 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: When set to 2, AT+ALDATAMOD=1 does not intercept data returned by the current COMMAND command.(since v1.3.0)** 515 515 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 + 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; ... ... @@ -654,6 +654,107 @@ 654 654 (% style="color:red" %)**When AT+DATAUP=1 and AT+ADR=0, the maximum number of bytes of each payload is determined by the DR value.** 655 655 656 656 658 + 659 +(% style="color:blue" %)**Automatically converts polled data to hex format for uplinking(Since v1.3.0)** 660 + 661 + 662 +This command can retrieve the returned data, convert the number after the positive or negative sign into a data, and then set the number of bytes to upload the data. 663 + 664 + 665 +* (% style="color:blue" %)**AT Command:** 666 + 667 +The maximum number can be set to 5 groups and the format of the command is as follows: 668 + 669 +(% style="color:#037691" %)**Example 1:AT+DATACONVx=var1, var2** 670 + 671 +(% style="color:#037691" %)**Example 2:AT+DATACONVx=var1, var2+ var3, var4** 672 + 673 +(% style="color:#037691" %)**Example 3:AT+DATACONVx=var1, var2+ var3, var4+ var5, var6** 674 + 675 +(% style="color:#037691" %)**Example 4:AT+DATACONVx=var1, var2+ var3, var4+ var5, var6+ var7, var8** 676 + 677 +(% style="color:#037691" %)**Example 5:AT+DATACONVx=var1, var2+ var3, var4+ var5, var6+ var7, var8+ var9, var10** 678 + 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 + 681 +* (% style="color:blue" %)**Downlink Command:** 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 +**For example:** 713 + 714 +This is my configuration: 715 + 716 +[[image:image-20250609134137-1.png]] 717 + 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 723 + 724 +This is the data obtained: 725 + 726 +[[image:image-20250609134901-2.png]] 727 + 728 + 729 +When using the AT+DATACONVx command, 730 + 731 +The data of RETURN3 will be converted into 2 data, the first data is +95, and the second data is +260. 732 + 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 + 738 +[[image:image-20250609141343-1.png]] 739 + 740 +**For example,the uplink payload as below:** 741 + 742 +0CE4 01 00C6 0103 02DB99 00FD 0001 743 + 744 +(% style="color:#037691" %)**BAT**(%%): 0x0CE4 = 3300mV = 3.300V 745 + 746 +(% style="color:#037691" %)**Payload Version**(%%): 0x01, Means: v1.0 version 747 + 748 +(% style="color:#037691" %)**Data 1: **(%%)0x00C6(H) = 198(D) / 100 = 19.8 749 + 750 +(% style="color:#037691" %)**Data 2: **(%%)0x0103(H) = 259(D) / 10 = 25.9 751 + 752 +(% style="color:#037691" %)**Data 3: **(%%)0x02DB99(H) = 187289(D) / 100 = 1872.89 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 + 657 657 == 2.4 Uplink Payload == 658 658 659 659 === 2.4.1 Device Payload, FPORT~=5 === ... ... @@ -1247,11 +1247,11 @@ 1247 1247 1248 1248 Timestamp start and Timestamp end use Unix TimeStamp format as mentioned above. Devices will reply with all data log during this time period, use the uplink interval. 1249 1249 1250 -For example, downlink command (% _mstmutation="1" %)**31 6 7E24660 67E2628005**(%%)1352 +For example, downlink command (% _mstmutation="1" %)**31 68253B6E 68253E23 05**(%%) 1251 1251 1252 -Is to check 2025/0 3/25 06:00:00to 2025/03/25 08:00:00's data1354 +Is to check 2025/05/15 00:55:10 to 2025/05/15 01:06:43's data 1253 1253 1254 -Uplink Internal =5s, means RS485-LB will send one packet every 5s.1356 +Uplink Internal =5s, means SDI-12-LB will send one packet every 5s. 1255 1255 1256 1256 1257 1257 === 2.9.5 Datalog Uplink payload === ... ... @@ -1312,31 +1312,35 @@ 1312 1312 2025/3/25 08:16:30 1313 1313 )))|(% style="width:82px" %)5|(% style="width:86px" %)0c ae|(% style="width:92px" %)01|(% style="width:131px" %)08 22 1314 1314 1315 -If user sends below downlink command: (% style="background-color:yellow" %)316 7E264BA67E2665E051417 +If user sends below downlink command: (% style="background-color:yellow" %)3168253B6E68253E2305 1316 1316 1317 -Where : Start time: 6 7E264BA= time 2025/3/25 08:09:301419 +Where : Start time: (% _mstmutation="1" %)68253B6E (%%)= time 2025/05/15 00:55:10 1318 1318 1319 - Stop time: 6 7E2665E= time 2025/3/25 08:16:301421 + Stop time: (% _mstmutation="1" %)68253E23 (%%)= time 2025/05/15 01:06:43 1320 1320 1321 1321 1322 1322 **SDI-12-LB will uplink this payload.** 1323 1323 1324 -**67E264BA 05 0CA8 01 0821** 67E264F6050CAE01082267E26532050CAE01082267E2656E050CAE01082267E265AA050CB401082367E265E6050CAE01082267E26622050CB401082367E2665E050CAE010822 1426 +**68253B6E 12 0C7801F10D302B312E31372B32362E390D0A ** 1427 +68253C5D 12 0C7801F10D302B312E31372B32372E340D0A 1428 +68253D33 12 0C7201F10D302B312E31352B32382E390D0A 1429 +68253DAB 12 0C7201F10D302B312E31342B32392E340D0A 1430 +68253E23 12 0C7201F10D302B312E31332B33302E300D0A 1325 1325 1326 1326 1327 -Where the first 10bytes is for the first entry:1433 +Where the first 23 bytes is for the first entry: 1328 1328 1329 -6 7E264BA050CA80108211435 +**68253B6E 12 0C7801F10D302B312E31372B32362E390D0A** 1330 1330 1331 -Unix Time Stamp: 6 7E264BA(H)=1742890170(D) ~-~-> time=2025-03-25 8:09:301437 +Unix Time Stamp: 68253B6E(H)=1747270510(D) ~-~-> time=2025-05-15 8:55:00 1332 1332 1333 -Payload Length: 0x 05(H)=5bytes1439 +Payload Length: 0x12(H)=18 bytes 1334 1334 1335 -Battery voltage: 0x0C A8(H)=3240mV1441 +Battery voltage: 0x0C78(H)=3192 mV 1336 1336 1337 1337 Payload Version: 01 1338 1338 1339 -Value: For the distance sensor used for testing, this value is the mm distance value, 0x0 821(H)=2081mm.1445 +Value: For the distance sensor used for testing, this value is the mm distance value, 0xF10D302B312E31372B32362E390D0A(H) 1340 1340 1341 1341 1342 1342 ... ... @@ -1575,6 +1575,281 @@ 1575 1575 * Example 1: Downlink Payload: AE 01 ~/~/ AT+PAYVER=1 1576 1576 * Example 2: Downlink Payload: AE 05 ~/~/ AT+PAYVER=5 1577 1577 1684 +== 3.7 Print data entries base on page(Since v1.3.0) == 1685 + 1686 + 1687 +Feature: Print the sector data from start page to stop page (max is 416 pages). 1688 + 1689 +(% style="color:#4f81bd" %)**AT Command: AT+PDTA** 1690 + 1691 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %) 1692 +|(% style="background-color:#4f81bd; color:white; width:158px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:352px" %)**Function** 1693 +|(% style="width:156px" %)((( 1694 +AT+PDTA=1,2 1695 +Print page 1 to 2 1696 +)))|(% style="width:311px" %)((( 1697 +Stop Tx and RTP events when read sensor data 1698 + 1699 +8033330 2025/5/14 12:27:32 18 0c 84 01 f1 0d 30 2b 31 2e 30 1700 + 1701 +8033340 38 2b 32 34 2e 36 0d 0a 1702 + 1703 +8033350 2025/5/14 12:29:32 18 0c 72 01 f1 0d 30 2b 31 2e 30 1704 + 1705 +8033360 38 2b 32 34 2e 36 0d 0a 1706 + 1707 +8033370 2025/5/14 12:31:32 18 0c 78 01 f1 0d 30 2b 31 2e 30 1708 + 1709 +8033380 38 2b 32 34 2e 36 0d 0a 1710 + 1711 +8033390 2025/5/14 12:33:32 18 0c 72 01 f1 0d 30 2b 31 2e 30 1712 + 1713 +80333A0 38 2b 32 34 2e 36 0d 0a 1714 + 1715 +80333B0 2025/5/14 12:35:32 18 0c 72 01 f1 0d 30 2b 31 2e 30 1716 + 1717 +80333C0 38 2b 32 34 2e 36 0d 0a 1718 + 1719 + 1720 +OK 1721 +))) 1722 + 1723 +(% style="color:#4f81bd" %)**Downlink Command:** 1724 + 1725 +No downlink commands for feature 1726 + 1727 + 1728 +== 3.8 Print last few data entries(Since v1.3.0) == 1729 + 1730 + 1731 +Feature: Print the last few data entries 1732 + 1733 +(% style="color:#4f81bd" %)**AT Command: AT+PLDTA** 1734 + 1735 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:437px" %) 1736 +|=(% style="width: 158px;background-color:#4F81BD;color:white" %)**Command Example**|=(% style="width: 192px;background-color:#4F81BD;color:white" %)**Function** 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 +|(% 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 + 1740 +* **Prints in hex format:** 1741 + 1742 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %) 1743 +|(% style="background-color:#4f81bd; color:white; width:158px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:352px" %)**Function** 1744 +|(% style="width:156px" %)((( 1745 +AT+PLDTA=10,0 1746 +Print last 10 entries 1747 +)))|(% style="width:311px" %)((( 1748 +Stop Tx events when read sensor data 1749 + 1750 +0001-0001 2025/5/16 06:48:04 7 0c 7e 01 00 5f 01 05 1751 + 1752 +0002-0002 2025/5/16 06:50:04 7 0c 72 01 00 5f 01 05 1753 + 1754 +0003-0003 2025/5/16 06:52:04 7 0c 72 01 00 5f 01 05 1755 + 1756 +0004-0004 2025/5/16 06:54:04 7 0c 7e 01 00 5f 01 05 1757 + 1758 +0005-0005 2025/5/16 06:56:04 7 0c 7e 01 00 5f 01 07 1759 + 1760 +0006-0006 2025/5/16 06:58:04 7 0c 8a 01 00 60 01 07 1761 + 1762 +0007-0007 2025/5/16 07:00:04 7 0c 84 01 00 61 01 07 1763 + 1764 +0008-0008 2025/5/16 07:02:04 7 0c 72 01 00 61 01 07 1765 + 1766 +0009-0009 2025/5/16 07:04:04 7 0c 78 01 00 61 01 07 1767 + 1768 +0010-0010 2025/5/16 07:06:04 7 0c 78 01 00 61 01 07 1769 + 1770 +Start Tx events 1771 + 1772 +OK 1773 +))) 1774 + 1775 +* **Printing in String Format:** 1776 + 1777 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %) 1778 +|(% style="background-color:#4f81bd; color:white; width:158px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:352px" %)**Function** 1779 +|(% style="width:156px" %)((( 1780 +AT+PLDTA=10,1 1781 +Print last 10 entries 1782 + 1783 +((( 1784 +(Printing in String Format) 1785 +))) 1786 +)))|(% style="width:311px" %)((( 1787 +Stop Tx events when read sensor data 1788 + 1789 +0001-0001 2025/5/16 06:48:04 7 ~~_ 1790 + 1791 +0002-0002 2025/5/16 06:50:04 7 r_ 1792 + 1793 +0003-0003 2025/5/16 06:52:04 7 r_ 1794 + 1795 +0004-0004 2025/5/16 06:54:04 7 ~~_ 1796 + 1797 +0005-0005 2025/5/16 06:56:04 7 ~~_ 1798 + 1799 +0006-0006 2025/5/16 06:58:04 7 ` 1800 + 1801 +0007-0007 2025/5/16 07:00:04 7 a 1802 + 1803 +0008-0008 2025/5/16 07:02:04 7 ra 1804 + 1805 +0009-0009 2025/5/16 07:04:04 7 xa 1806 + 1807 +0010-0010 2025/5/16 07:06:04 7 xa 1808 + 1809 +Start Tx events 1810 + 1811 +OK 1812 +))) 1813 + 1814 +(% style="color:#4f81bd" %)**Downlink Command:** 1815 + 1816 +No downlink commands for feature 1817 + 1818 + 1819 +== 3.9 Clear Flash Record(Since v1.3.0) == 1820 + 1821 + 1822 +Feature: Clear flash storage for data log feature. 1823 + 1824 +(% style="color:#4f81bd" %)**AT Command: AT+CLRDTA** 1825 + 1826 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:503px" %) 1827 +|(% style="background-color:#4f81bd; color:white; width:157px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:137px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:209px" %)**Response** 1828 +|(% style="width:155px" %)AT+CLRDTA |(% style="width:134px" %)Clear date record|(% style="width:209px" %)((( 1829 +Clear all stored sensor data… 1830 + 1831 +OK 1832 +))) 1833 + 1834 +(% style="color:#4f81bd" %)**Downlink Command: 0xA3** 1835 + 1836 +* Example: 0xA301 ~/~/ Same as AT+CLRDTA 1837 + 1838 +== 3.10 SDI12 timing(Since v1.3.0) == 1839 + 1840 + 1841 +Feature: Get or set the time of SDI12 timing. 1842 + 1843 +[[image:1747289896656-580.png||height="414" width="566"]] 1844 + 1845 + 1846 +(% style="color:#4f81bd" %)**AT Command: AT+SDITIMING** 1847 + 1848 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:503px" %) 1849 +|(% style="background-color:#4f81bd; color:white; width:157px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:167px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:177px" %)**Response** 1850 +|(% style="width:155px" %)((( 1851 +AT+SDITIMING=13,9 1852 + 1853 + 1854 +)))|(% style="width:167px" %)Get or set the time of SDI12 timing|(% style="width:177px" %)((( 1855 +OK 1856 + 1857 +Default: 13,9 1858 +))) 1859 + 1860 +(% style="color:#4f81bd" %)**Downlink Command: 0xA9** 1861 + 1862 +* Example: 0xA90D09 ~/~/ Same as AT+SDITIMING=13,9 1863 + 1864 +== 3.11 add Pulse_count, VDC_input, IDC_input(Since firmware V1.3.0) == 1865 + 1866 + 1867 +(% style="color:blue" %)**Setting up external sensors:** 1868 + 1869 +* (% style="color:#037691" %)**AT Command:** 1870 + 1871 +(% style="color:#4472c4" %)**AT+EXT=a,b,c**(%%) 1872 + 1873 +(% style="color:#4472c4" %)**a:**(%%) **0:** Disable Counting function ( doesn't effect interrupt ). **1:** Enable Counting function(4 bytes). 1874 +(% style="color:#4472c4" %)**b: **(%%) **0:** Disable voltage acquisition function. **1:** Enable voltage acquisition function(2 bytes) 1875 +(% style="color:#4472c4" %)**c:**(%%) **0:** Disable current acquisition function. **1:** Enable current acquisition function(2 bytes). 1876 + 1877 +**Example:** 1878 + 1879 +(% style="color:#4472c4" %)**AT+EXT=1,1,1** 1880 + 1881 +Device will add counting, voltage and current acquisition function. 1882 + 1883 +The payload will be: 1884 +Battery(mV) & Interrupt _Flag + PAYLOAD_VER + ***counting + ** ***VDC_INPUT** + ***IDC_INPUT** + Length depends on the return from the commands 1885 + 1886 +(% style="color:#4472c4" %)**AT+EXT=1,0,0** 1887 + 1888 +Device will add counting support. 1889 + 1890 +The payload will be: 1891 +Battery(mV) & Interrupt _Flag + PAYLOAD_VER + ***counting** + Length depends on the return from the commands 1892 + 1893 +* (% style="color:#037691" %)**Downlink Command: 0x0B aa bb cc** 1894 + 1895 +Format: Command Code (0x0B) followed by 3 bytes. 1896 + 1897 +(% style="color:#037691" %)**aa:**(%%) Set Disable or Enable Counting Support. **00**: Disable, **01**: Enable. 1898 + 1899 +(% style="color:#037691" %)**bb:**(%%) Set Disable or Enable voltage acquisition. **00**: Disable, **01**: Enable. 1900 + 1901 +(% style="color:#037691" %)**cc:**(%%) Set Disable or Enable current acquisition. **00**: Disable, **01**: Enable. 1902 + 1903 +**Example:** 1904 + 1905 +Downlink payload: 0B 00 00 01 ~/~/AT+EXT=0,0,1 Enable current acquisition 1906 + 1907 +Downlink payload: 0B 01 00 01 ~/~/AT+EXT=1,0,1 Enable Counting Support and Current acquisition 1908 + 1909 + 1910 +(% style="color:blue" %)**Set the pulse count value:** 1911 + 1912 +* (% style="color:#037691" %)**AT Command:** 1913 + 1914 +(% style="color:#4472c4" %)**AT+SETCNT=aa **(%%)~/~/ Set the pulse count value. 1915 + 1916 +**Example:** 1917 + 1918 +AT+SETCNT=100 (% style="display:none" %) (%%)~/~/ Set the pulse count to 100.(% style="display:none" %) 1919 + 1920 +* (% style="color:#037691" %)**Downlink Command: 0x0C** 1921 + 1922 +Format: Command Code (0x0C) followed by 4 bytes. 1923 + 1924 +**Example:** 1925 + 1926 +Downlink Payload: 0C 00 00 00 64 ~/~/ AT+SETCNT=100 1927 + 1928 + 1929 +(% style="color:blue" %)**Connect counting sensor:** 1930 + 1931 +The counting sensor cables are connected to the **3V3 pin** and **GPIO_EXTI** pin of the **SIB v1.3** motherboard. 1932 + 1933 +[[image:image-20250519110640-1.jpeg||height="318" width="708"]] 1934 + 1935 + 1936 +(% id="cke_bm_1699404S" style="color:blue; display:none" %)** **(% style="color:blue" %)**Connect Voltage output sensor:** 1937 + 1938 +Example: 1939 + 1940 +**RED <~-~-~-~-> VDC_INPUT** 1941 + 1942 +**BLACK <~-~-~-~-~-~-> GND** 1943 + 1944 +[[image:image-20250519111415-3.jpeg||height="338" width="710"]] 1945 + 1946 + 1947 +(% style="color:blue" %)**Connect Current output sensor:** 1948 + 1949 +Example: 1950 + 1951 +**RED <~-~-~-~-~-~-~-~--> IDC_INPUT** 1952 + 1953 +**BLACK <~-~-~-~-~-~-> GND** 1954 + 1955 +[[image:image-20250519111732-4.jpeg||height="373" width="708"]] 1956 + 1957 + 1958 + 1578 1578 = 4. Battery & Power Consumption = 1579 1579 1580 1580
- 1747289896656-580.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.ting - Size
-
... ... @@ -1,0 +1,1 @@ 1 +37.0 KB - Content
- 1749523825515-716.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +1.4 KB - Content
- 1749523850351-927.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +1.9 KB - Content
- 1749523852387-583.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +1.9 KB - Content
- image-20250516100849-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.ting - Size
-
... ... @@ -1,0 +1,1 @@ 1 +37.2 KB - Content
- 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
- image-20250609134901-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.ting - Size
-
... ... @@ -1,0 +1,1 @@ 1 +16.6 KB - Content
- image-20250609141343-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.ting - Size
-
... ... @@ -1,0 +1,1 @@ 1 +76.1 KB - Content