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 170.2
edited by Mengting Qiu
on 2025/06/09 13:59
on 2025/06/09 13:59
Change comment:
There is no comment for this version
To version 177.1
edited by Kilight Cao
on 2025/06/13 15:50
on 2025/06/13 15:50
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 4 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. ting1 +XWiki.Kilight - 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 ... ... @@ -513,7 +513,7 @@ 513 513 514 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: When set to 2, AT+ALDATAMOD=1 does not intercept data returned by the current COMMAND command.(since v1.3.0)** 515 515 516 -(% 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 thedevice is connected to two sensors with different addresses, the concurrent measurementfunction can beused andthe two sensorscancollectdataat the sametime.)**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.)** 517 517 518 518 (% style="color:red" %)**var4**(%%): validation check for return. If return invalid, SDI-12-LB/LS will resend this command. Max 3 retries. 519 519 ... ... @@ -710,8 +710,6 @@ 710 710 * Example 1: Downlink Payload: AC 01 01 02 02 02 ~/~/ AT+DATACONV1=1,2+2,2 711 711 * Example 2: Downlink Payload: AC 02 01 02 02 02 03 02 ~/~/ AT+DATACONV2=1,2+2,2+3,2 712 712 713 - 714 - 715 715 **For example:** 716 716 717 717 This is my configuration: ... ... @@ -719,8 +719,8 @@ 719 719 [[image:image-20250609134137-1.png]] 720 720 721 721 722 -* AT+COMMAND1=0C!,0,2,0 Aftersendingtheconcurrent commandof device 0,the datawillnotbeut, andthenextcommandwill be sent immediately.723 -* AT+COMMAND2=1C!,1,2,0 Aftersendingaconcurrentcommand to device 1, do not truncate the data and wait for onesecond. (Concurrent commands will be sampled withhecommand with thelongestwaiting time;forxample, ifthewaitingtimein thecurrentdeviceisset to1s,the concurrent commandwilldefault toa maximumwaitingtime of1s.)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) 724 724 * AT+COMMAND3=0D0!,0,0,0 Query the data measured by device 0 725 725 * AT+COMMAND4=1D0!,0,0,0 Query the data measured by device 1 726 726 ... ... @@ -738,19 +738,27 @@ 738 738 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: 739 739 ))) 740 740 741 -[[image:image-20250 516144559-1.png]]738 +[[image:image-20250609141343-1.png]] 742 742 743 - 0C9001005F0104740 +**For example,the uplink payload as below:** 744 744 745 - (%style="color:#037691"%)**BAT**(%%):0x0c90=3216mV=3.216V742 +0CE4 01 00C6 0103 02DB99 00FD 0001 746 746 744 +(% style="color:#037691" %)**BAT**(%%): 0x0CE4 = 3300mV = 3.300V 745 + 747 747 (% style="color:#037691" %)**Payload Version**(%%): 0x01, Means: v1.0 version 748 748 749 -(% 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 750 750 751 -(% 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 752 752 752 +(% style="color:#037691" %)**Data 3: **(%%)0x02DB99(H) = 187289(D) / 100 = 1872.89 753 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 + 754 754 == 2.4 Uplink Payload == 755 755 756 756 === 2.4.1 Device Payload, FPORT~=5 === ... ... @@ -1856,6 +1856,9 @@ 1856 1856 1857 1857 * Example: 0xA90D09 ~/~/ Same as AT+SDITIMING=13,9 1858 1858 1864 + 1865 + 1866 + 1859 1859 == 3.11 add Pulse_count, VDC_input, IDC_input(Since firmware V1.3.0) == 1860 1860 1861 1861 ... ... @@ -1951,6 +1951,45 @@ 1951 1951 1952 1952 1953 1953 1962 +== 3.12 Cut data separation processing(Since firmware V1.3.2) == 1963 + 1964 + 1965 +AT+NEWLINE command, which only takes effect when AT+DATAUP=1 or AT+DATAUP=1, timeout. 1966 + 1967 +When not set, each part of AT+DATAUP is sent according to the maximum number of bytes of DR. 1968 + 1969 +When setting, each part of AT+DATAUP is sent according to the value set by AT+NEWLINE. 1970 + 1971 + 1972 +* ((( 1973 +(% style="color:#037691" %)** AT Command:** 1974 +))) 1975 + 1976 +(% style="color:#4472c4" %)//**AT+NEWLINE=ALL**//(%%)// //The data cut out by each AT+COMMANDx command is sent separately as an uplink. 1977 + 1978 +(% style="color:#4472c4" %)//**AT+NEWLINE=ALL**//(%%)// equal: (% style="color:#4472c4" %)**AT+NEWLINE=1+2+3+4+5+6+7+8+9+10+11+12+13+14+15**// 1979 + 1980 + 1981 +(% style="color:#4472c4" %)//**AT+NEWLINE=a+b+c**//(%%)// //The data returned by all commands is divided into three parts, COMMAND(1~~a) is the first part, COMMAND(a+1~~b) is the second part,COMMAND(b+1~~c) is the third part. 1982 + 1983 + 1984 +(% style="color:#4472c4" %)//**AT+NEWLINE=NULL**//(%%)// //Turn off the functionality of this AT command. 1985 + 1986 + 1987 +* ((( 1988 +(% style="color:#037691" %)** Downlink Payload:** 1989 +))) 1990 + 1991 +//AT+NEWLINE=ALL ~-~--> (% style="color:#4472c4" %)**0xA5 01**// 1992 + 1993 +// AT+NEWLINE= NULL ~-~--> (% style="color:#4472c4" %)**0xA5 00**// 1994 + 1995 +//AT+NEWLINE= a+b+c ~-~--> (% style="color:#4472c4" %)**0xA5 number of bytes a b c**// 1996 + 1997 +//AT+NEWLINE= 1+5+15 ~-~--> (% style="color:#4472c4" %)**0xA5 03 01 05 0F**// 1998 + 1999 + 2000 + 1954 1954 = 4. Battery & Power Consumption = 1955 1955 1956 1956 ... ... @@ -1973,12 +1973,22 @@ 1973 1973 1974 1974 = 6. OTA firmware update = 1975 1975 2023 +User can change firmware TS01-LB/LS to: 1976 1976 1977 -Please see this link for how to do OTA firmware update. 2025 +* Change Frequency band/ region. 2026 +* Update with new features. 2027 +* Fix bugs. 1978 1978 1979 - [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/Firmware%20OTA%20Update%20for%20Sensors/>>url:http://wiki.dragino.com/xwiki/bin/view/Main/Firmware%20OTA%20Update%20for%20Sensors/]]2029 +Firmware and changelog can be downloaded from : [[**Firmware download link**>>https://www.dropbox.com/scl/fo/ztlw35a9xbkomu71u31im/AMbGiR5K1fLcUTLbp44o22Q/LoRaWAN%20End%20Node/SDI-12-LB/Firmware?rlkey=ojjcsw927eaow01dgooldq3nu&subfolder_nav_tracking=1&dl=0]] 1980 1980 2031 +Methods to Update Firmware: 1981 1981 2033 +* (Recommanded way) OTA firmware update via wireless : **[[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/Firmware%20OTA%20Update%20for%20Sensors/>>url:http://wiki.dragino.com/xwiki/bin/view/Main/Firmware%20OTA%20Update%20for%20Sensors/]]** 2034 + 2035 +* Update through UART TTL interface : **[[Instruction>>url:http://wiki.dragino.com/xwiki/bin/view/Main/UART%20Access%20for%20LoRa%20ST%20v4%20base%20model/#H1.LoRaSTv4baseHardware]]**. 2036 + 2037 + 2038 + 1982 1982 = 7. FAQ = 1983 1983 1984 1984 == 7.1 How to use AT Command via UART to access device? ==
- 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-20250609141343-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.ting - Size
-
... ... @@ -1,0 +1,1 @@ 1 +76.1 KB - Content