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 162.3
edited by Mengting Qiu
on 2025/05/19 11:19
on 2025/05/19 11:19
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 7 added, 0 removed)
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 ... ... @@ -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!//. (% style="color:red" %)**2: Thereturneddatawill not be clipped.(since v1.3.0)**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; ... ... @@ -677,21 +677,52 @@ 677 677 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 681 +* (% style="color:blue" %)**Downlink Command:** 680 680 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 + 681 681 **For example:** 682 682 683 683 This is my configuration: 684 684 685 -[[image:image-20250 516103205-2.png]]716 +[[image:image-20250609134137-1.png]] 686 686 687 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 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 691 691 692 692 This is the data obtained: 693 693 694 -[[image:image-20250 516145402-2.png]]726 +[[image:image-20250609134901-2.png]] 695 695 696 696 697 697 When using the AT+DATACONVx command, ... ... @@ -699,20 +699,31 @@ 699 699 The data of RETURN3 will be converted into 2 data, the first data is +95, and the second data is +260. 700 700 701 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: 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 +))) 702 702 703 -[[image:image-20250 516144559-1.png]]738 +[[image:image-20250609141343-1.png]] 704 704 705 - 0C9001005F0104740 +**For example,the uplink payload as below:** 706 706 707 - (%style="color:#037691"%)**BAT**(%%):0x0c90=3216mV=3.216V742 +0CE4 01 00C6 0103 02DB99 00FD 0001 708 708 744 +(% style="color:#037691" %)**BAT**(%%): 0x0CE4 = 3300mV = 3.300V 745 + 709 709 (% style="color:#037691" %)**Payload Version**(%%): 0x01, Means: v1.0 version 710 710 711 -(% style="color:#037691" %)**Data 1: **(%%)0x00 5F(H) = 95(D) / 100 =0.95748 +(% style="color:#037691" %)**Data 1: **(%%)0x00C6(H) = 198(D) / 100 = 19.8 712 712 713 -(% style="color:#037691" %)**Data 2: **(%%)0x010 4(H) = 260(D) / 10 = 26.0750 +(% style="color:#037691" %)**Data 2: **(%%)0x0103(H) = 259(D) / 10 = 25.9 714 714 752 +(% style="color:#037691" %)**Data 3: **(%%)0x02DB99(H) = 187289(D) / 100 = 1872.89 715 715 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 + 716 716 == 2.4 Uplink Payload == 717 717 718 718 === 2.4.1 Device Payload, FPORT~=5 === ... ... @@ -1380,7 +1380,11 @@ 1380 1380 1381 1381 **SDI-12-LB will uplink this payload.** 1382 1382 1383 -**68253B6E 12 0C7801F10D302B312E31372B32362E390D0A **68253C5D120C7801F10D302B312E31372B32372E340D0A68253D33120C7201F10D302B312E31352B32382E390D0A68253DAB120C7201F10D302B312E31342B32392E340D0A68253E23120C7201F10D302B312E31332B33302E300D0A 1426 +**68253B6E 12 0C7801F10D302B312E31372B32362E390D0A ** 1427 +68253C5D 12 0C7801F10D302B312E31372B32372E340D0A 1428 +68253D33 12 0C7201F10D302B312E31352B32382E390D0A 1429 +68253DAB 12 0C7201F10D302B312E31342B32392E340D0A 1430 +68253E23 12 0C7201F10D302B312E31332B33302E300D0A 1384 1384 1385 1385 1386 1386 Where the first 23 bytes is for the first entry: ... ... @@ -1634,7 +1634,6 @@ 1634 1634 * Example 1: Downlink Payload: AE 01 ~/~/ AT+PAYVER=1 1635 1635 * Example 2: Downlink Payload: AE 05 ~/~/ AT+PAYVER=5 1636 1636 1637 - 1638 1638 == 3.7 Print data entries base on page(Since v1.3.0) == 1639 1639 1640 1640 ... ... @@ -1770,7 +1770,7 @@ 1770 1770 No downlink commands for feature 1771 1771 1772 1772 1773 -== =3.9 Clear Flash Record(Since v1.3.0) ===1819 +== 3.9 Clear Flash Record(Since v1.3.0) == 1774 1774 1775 1775 1776 1776 Feature: Clear flash storage for data log feature.
- 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-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