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.2
edited by Mengting Qiu
on 2025/05/16 10:12
on 2025/05/16 10:12
Change comment:
There is no comment for this version
To version 142.2
edited by Mengting Qiu
on 2025/05/14 19:35
on 2025/05/14 19:35
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 2 removed)
Details
- Page properties
-
- Content
-
... ... @@ -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 **&AT+DATACONVx**501 +AT+COMMANDx & AT+DATACUTx 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,7 +511,7 @@ 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: The returned data will 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!//. 515 515 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 ... ... @@ -654,38 +654,6 @@ 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 657 - 658 -(% style="color:blue" %)**Automatically converts polled data to hex format for uplinking(Since v1.3.0)** 659 - 660 - 661 -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. 662 - 663 - 664 -* (% style="color:blue" %)**AT Command:** 665 - 666 -The maximum number can be set to 5 groups and the format of the command is as follows: 667 - 668 -(% style="color:#037691" %)**Example 1:AT+DATACONVx=var1, var2** 669 - 670 -(% style="color:#037691" %)**Example 2:AT+DATACONVx=var1, var2+ var3, var4** 671 - 672 -(% style="color:#037691" %)**Example 3:AT+DATACONVx=var1, var2+ var3, var4+ var5, var6** 673 - 674 -(% style="color:#037691" %)**Example 4:AT+DATACONVx=var1, var2+ var3, var4+ var5, var6+ var7, var8** 675 - 676 -(% style="color:#037691" %)**Example 5:AT+DATACONVx=var1, var2+ var3, var4+ var5, var6+ var7, var8+ var9, var10** 677 - 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 - 680 - 681 -**For example:** 682 - 683 -This is my configuration: 684 - 685 -[[image:image-20250516100849-1.png]] 686 - 687 - 688 - 689 689 == 2.4 Uplink Payload == 690 690 691 691 === 2.4.1 Device Payload, FPORT~=5 === ... ... @@ -1279,11 +1279,11 @@ 1279 1279 1280 1280 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. 1281 1281 1282 -For example, downlink command (% _mstmutation="1" %)**31 6 8253B6E68253E2305**(%%)1250 +For example, downlink command (% _mstmutation="1" %)**31 67E24660 67E26280 05**(%%) 1283 1283 1284 -Is to check 2025/0 5/15 00:55:10 to 2025/05/15 01:06:43's data1252 +Is to check 2025/03/25 06:00:00 to 2025/03/25 08:00:00's data 1285 1285 1286 -Uplink Internal =5s, means S DI-12-LB will send one packet every 5s.1254 +Uplink Internal =5s, means RS485-LB will send one packet every 5s. 1287 1287 1288 1288 1289 1289 === 2.9.5 Datalog Uplink payload === ... ... @@ -1344,31 +1344,31 @@ 1344 1344 2025/3/25 08:16:30 1345 1345 )))|(% style="width:82px" %)5|(% style="width:86px" %)0c ae|(% style="width:92px" %)01|(% style="width:131px" %)08 22 1346 1346 1347 -If user sends below downlink command: (% style="background-color:yellow" %)316 8253B6E68253E23051315 +If user sends below downlink command: (% style="background-color:yellow" %)3167E264BA67E2665E05 1348 1348 1349 -Where : Start time: (% _mstmutation="1" %)68253B6E(%%)= time 2025/05/15 00:55:101317 +Where : Start time: 67E264BA = time 2025/3/25 08:09:30 1350 1350 1351 - Stop time: (% _mstmutation="1" %)68253E23 (%%)= time 2025/05/15 01:06:431319 + Stop time: 67E2665E= time 2025/3/25 08:16:30 1352 1352 1353 1353 1354 1354 **SDI-12-LB will uplink this payload.** 1355 1355 1356 -**6 8253B6E120C7801F10D302B312E31372B32362E390D0A**68253C5D120C7801F10D302B312E31372B32372E340D0A68253D33120C7201F10D302B312E31352B32382E390D0A68253DAB120C7201F10D302B312E31342B32392E340D0A68253E23120C7201F10D302B312E31332B33302E300D0A1324 +**67E264BA 05 0CA8 01 0821** 67E264F6050CAE01082267E26532050CAE01082267E2656E050CAE01082267E265AA050CB401082367E265E6050CAE01082267E26622050CB401082367E2665E050CAE010822 1357 1357 1358 1358 1359 -Where the first 23bytes is for the first entry:1327 +Where the first 10 bytes is for the first entry: 1360 1360 1361 - **68253B6E127801F10D302B312E31372B32362E390D0A**1329 +67E264BA050CA8010821 1362 1362 1363 -Unix Time Stamp: 6 8253B6E(H)=1747270510(D) ~-~-> time=2025-05-15 8:55:001331 +Unix Time Stamp: 67E264BA(H)=1742890170(D) ~-~-> time=2025-03-25 8:09:30 1364 1364 1365 -Payload Length: 0x 12(H)=18bytes1333 +Payload Length: 0x05(H)=5 bytes 1366 1366 1367 -Battery voltage: 0x0C 78(H)=3192 mV1335 +Battery voltage: 0x0CA8(H)=3240 mV 1368 1368 1369 1369 Payload Version: 01 1370 1370 1371 -Value: For the distance sensor used for testing, this value is the mm distance value, 0x F10D302B312E31372B32362E390D0A(H)1339 +Value: For the distance sensor used for testing, this value is the mm distance value, 0x0821(H)=2081mm. 1372 1372 1373 1373 1374 1374 ... ... @@ -1607,131 +1607,6 @@ 1607 1607 * Example 1: Downlink Payload: AE 01 ~/~/ AT+PAYVER=1 1608 1608 * Example 2: Downlink Payload: AE 05 ~/~/ AT+PAYVER=5 1609 1609 1610 -=== 3.7 Print data entries base on page(Since v1.3.0) === 1611 - 1612 - 1613 -Feature: Print the sector data from start page to stop page (max is 416 pages). 1614 - 1615 -(% style="color:#4f81bd" %)**AT Command: AT+PDTA** 1616 - 1617 -(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %) 1618 -|(% style="background-color:#4f81bd; color:white; width:158px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:352px" %)**Function** 1619 -|(% style="width:156px" %)((( 1620 -AT+PDTA=1,2 1621 -Print page 1 to 2 1622 -)))|(% style="width:311px" %)((( 1623 -Stop Tx and RTP events when read sensor data 1624 - 1625 -8033330 2025/5/14 12:27:32 18 0c 84 01 f1 0d 30 2b 31 2e 30 1626 - 1627 -8033340 38 2b 32 34 2e 36 0d 0a 1628 - 1629 -8033350 2025/5/14 12:29:32 18 0c 72 01 f1 0d 30 2b 31 2e 30 1630 - 1631 -8033360 38 2b 32 34 2e 36 0d 0a 1632 - 1633 -8033370 2025/5/14 12:31:32 18 0c 78 01 f1 0d 30 2b 31 2e 30 1634 - 1635 -8033380 38 2b 32 34 2e 36 0d 0a 1636 - 1637 -8033390 2025/5/14 12:33:32 18 0c 72 01 f1 0d 30 2b 31 2e 30 1638 - 1639 -80333A0 38 2b 32 34 2e 36 0d 0a 1640 - 1641 -80333B0 2025/5/14 12:35:32 18 0c 72 01 f1 0d 30 2b 31 2e 30 1642 - 1643 -80333C0 38 2b 32 34 2e 36 0d 0a 1644 - 1645 - 1646 -OK 1647 -))) 1648 - 1649 -(% style="color:#4f81bd" %)**Downlink Command:** 1650 - 1651 -No downlink commands for feature 1652 - 1653 - 1654 -=== 3.8 Print last few data entries(Since v1.3.0) === 1655 - 1656 - 1657 -Feature: Print the last few data entries 1658 - 1659 -(% style="color:#4f81bd" %)**AT Command: AT+PLDTA** 1660 - 1661 -(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %) 1662 -|(% style="background-color:#4f81bd; color:white; width:158px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:352px" %)**Function** 1663 -|(% style="width:156px" %)((( 1664 -AT+PLDTA=10 1665 -Print last 10 entries 1666 -)))|(% style="width:311px" %)((( 1667 -Stop Tx events when read sensor data 1668 - 1669 -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 1670 - 1671 -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 1672 - 1673 -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 1674 - 1675 -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 1676 - 1677 -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 1678 - 1679 -Start Tx events 1680 - 1681 -OK 1682 -))) 1683 - 1684 -(% style="color:#4f81bd" %)**Downlink Command:** 1685 - 1686 -No downlink commands for feature 1687 - 1688 - 1689 -=== 3.9 Clear Flash Record(Since v1.3.0) === 1690 - 1691 - 1692 -Feature: Clear flash storage for data log feature. 1693 - 1694 -(% style="color:#4f81bd" %)**AT Command: AT+CLRDTA** 1695 - 1696 -(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:503px" %) 1697 -|(% 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** 1698 -|(% style="width:155px" %)AT+CLRDTA |(% style="width:134px" %)Clear date record|(% style="width:209px" %)((( 1699 -Clear all stored sensor data… 1700 - 1701 -OK 1702 -))) 1703 - 1704 -(% style="color:#4f81bd" %)**Downlink Command: 0xA3** 1705 - 1706 -* Example: 0xA301 ~/~/ Same as AT+CLRDTA 1707 - 1708 - 1709 - 1710 -== 3.10 SDI12 timing(Since v1.3.0) == 1711 - 1712 - 1713 -Feature: Get or set the time of SDI12 timing. 1714 - 1715 -[[image:1747289896656-580.png||height="414" width="566"]] 1716 - 1717 -(% style="color:#4f81bd" %)**AT Command: AT+SDITIMING** 1718 - 1719 -(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:503px" %) 1720 -|(% 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** 1721 -|(% style="width:155px" %)((( 1722 -AT+SDITIMING=13,9 1723 - 1724 - 1725 -)))|(% style="width:167px" %)Get or set the time of SDI12 timing|(% style="width:177px" %)((( 1726 -OK 1727 - 1728 -Default: 13,9 1729 -))) 1730 - 1731 -(% style="color:#4f81bd" %)**Downlink Command: 0xA9** 1732 - 1733 -* Example: 0xA90D09 ~/~/ Same as AT+SDITIMING=13,9 1734 - 1735 1735 = 4. Battery & Power Consumption = 1736 1736 1737 1737
- 1747289896656-580.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.ting - Size
-
... ... @@ -1,1 +1,0 @@ 1 -37.0 KB - Content
- image-20250516100849-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.ting - Size
-
... ... @@ -1,1 +1,0 @@ 1 -37.2 KB - Content