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
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 1 removed)
Details
- Page properties
-
- Content
-
... ... @@ -17,39 +17,30 @@ 17 17 18 18 19 19 20 + 20 20 = 1. Introduction = 21 21 22 22 == 1.1 What is SDI-12 to LoRaWAN Converter == 23 23 24 24 25 -((( 26 26 The Dragino (% style="color:blue" %)**SDI-12-LB**(%%) is a (% style="color:blue" %)**SDI-12 to LoRaWAN Converter **(%%)designed for Smart Agriculture solution. 27 -))) 28 28 29 -((( 30 30 SDI-12 (Serial Digital Interface at 1200 baud) is an asynchronous [[serial communications>>url:https://en.wikipedia.org/wiki/Serial_communication]] protocol for intelligent sensors that monitor environment data. SDI-12 protocol is widely used in Agriculture sensor and Weather Station sensors. 31 -))) 32 32 33 -((( 34 34 SDI-12-LB has SDI-12 interface and support 12v output to power external SDI-12 sensor. It can get the environment data from SDI-12 sensor and sends out the data via LoRaWAN wireless protocol. 35 -))) 36 36 37 -((( 38 38 The LoRa wireless technology used in SDI-12-LB allows device to send data and reach extremely long ranges at low data-rates. It provides ultra-long range spread spectrum communication and high interference immunity whilst minimizing current consumption. 39 -))) 40 40 41 -((( 42 42 SDI-12-LB is powered by (% style="color:blue" %)**8500mAh Li-SOCI2 battery**(%%), it is designed for long term use up to 5 years. 43 -))) 44 44 45 -((( 46 46 Each SDI-12-LB is pre-load with a set of unique keys for LoRaWAN registrations, register these keys to local LoRaWAN server and it will auto connect after power on. 47 -))) 48 48 49 49 50 50 [[image:image-20230201084414-1.png||height="464" width="1108"]] 51 51 52 52 42 + 43 + 53 53 == 1.2 Features == 54 54 55 55 ... ... @@ -134,17 +134,17 @@ 134 134 135 135 136 136 (% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:510px" %) 137 -|=(% style="width: 167px;" %)**Behavior on ACT**|=(% style="width: 1 09px;" %)**Function**|=(% style="width: 231px;" %)**Action**138 -|(% style="width:167px" %)Pressing ACT between 1s < time < 3s|(% style="width:1 09px" %)Send an uplink|(% style="width:231px" %)(((128 +|=(% style="width: 167px;" %)**Behavior on ACT**|=(% style="width: 117px;" %)**Function**|=(% style="width: 225px;" %)**Action** 129 +|(% style="width:167px" %)Pressing ACT between 1s < time < 3s|(% style="width:117px" %)Send an uplink|(% style="width:225px" %)((( 139 139 If sensor is already Joined to LoRaWAN network, sensor will send an uplink packet, (% style="color:blue" %)**blue led** (%%)will blink once. 140 140 Meanwhile, BLE module will be active and user can connect via BLE to configure device. 141 141 ))) 142 -|(% style="width:167px" %)Pressing ACT for more than 3s|(% style="width:1 09px" %)Active Device|(% style="width:231px" %)(((133 +|(% style="width:167px" %)Pressing ACT for more than 3s|(% style="width:117px" %)Active Device|(% style="width:225px" %)((( 143 143 (% style="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. 144 144 (% style="color:green" %)**Green led**(%%) will solidly turn on for 5 seconds after joined in network. 145 145 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. 146 146 ))) 147 -|(% style="width:167px" %)Fast press ACT 5 times.|(% style="width:1 09px" %)Deactivate Device|(% style="width:231px" %)(% style="color:red" %)**Red led**(%%) will solid on for 5 seconds. Means PS-LB is in Deep Sleep Mode.138 +|(% style="width:167px" %)Fast press ACT 5 times.|(% style="width:117px" %)Deactivate Device|(% style="width:225px" %)(% style="color:red" %)**Red led**(%%) will solid on for 5 seconds. Means PS-LB is in Deep Sleep Mode. 148 148 149 149 == 1.7 Pin Mapping == 150 150 ... ... @@ -201,9 +201,12 @@ 201 201 Each SDI-12-LB is shipped with a sticker with the default device EUI as below: 202 202 203 203 204 -[[image:image-20230 201152430-20.jpeg]]195 +[[image:image-20230131134744-2.jpeg]] 205 205 206 206 198 + 199 + 200 + 207 207 You can enter this key in the LoRaWAN Server portal. Below is TTN screen shot: 208 208 209 209 ... ... @@ -234,6 +234,7 @@ 234 234 235 235 Press the button for 5 seconds to activate the SDI-12-LB. 236 236 231 + 237 237 (% style="color:green" %)**Green led**(%%) will fast blink 5 times, device will enter (% style="color:blue" %)**OTA mode** (%%)for 3 seconds. And then start to JOIN LoRaWAN network. (% style="color:green" %)**Green led**(%%) will solidly turn on for 5 seconds after joined in network. 238 238 239 239 ... ... @@ -256,6 +256,7 @@ 256 256 The following is the display information on the serial port and the server. 257 257 258 258 254 + 259 259 [[image:image-20230201091027-6.png]] 260 260 261 261 ... ... @@ -262,7 +262,6 @@ 262 262 [[image:image-20230201091027-7.png||height="261" width="1179"]] 263 263 264 264 265 - 266 266 ==== (% style="color:blue" %)**al! ~-~- Get SDI-12 sensor Identification**(%%) ==== 267 267 268 268 ... ... @@ -271,7 +271,7 @@ 271 271 272 272 (% style="color:#037691" %)**Parameter: **(%%)aa: ASCII value of SDI-12 sensor address in downlink or HEX value in AT Command) 273 273 274 -(% style="color:blue" %)**Example : ** (%%)AT+ADDRI=0 ( Equal to downlink: 0x AA 00 30)269 +(% style="color:blue" %)**Example : **AT+ADDRI=0 ( Equal to downlink: 0x AA 00 30) 275 275 276 276 277 277 The following is the display information on the serial port and the server. ... ... @@ -307,7 +307,7 @@ 307 307 308 308 (% style="color:#037691" %)**cc**(%%): 1-9: Additional Measurement, 0: no additional measurement 309 309 310 -(% style="color:#037691" %)**dd**(%%): delay (in second) to send (% style="color:#037691" %) __**aD0!**__(%%) to get return.305 +(% style="color:#037691" %)**dd**(%%): delay (in second) to send (% style="color:#037691" %)**aD0!**(%%) to get return. 311 311 312 312 313 313 The following is the display information on the serial port and the server. ... ... @@ -344,7 +344,7 @@ 344 344 345 345 (% style="color:#037691" %)**cc**(%%): 1-9: Additional Measurement, 0: no additional measurement 346 346 347 -(% style="color:#037691" %)**dd**(%%): delay (in second) to send (% style="color:#037691" %) __**aD0!**__(%%)____to get return.342 +(% style="color:#037691" %)**dd**(%%): delay (in second) to send (% style="color:#037691" %)**aD0!**(%%) to get return. 348 348 349 349 350 350 The following is the display information on the serial port and the server. ... ... @@ -377,12 +377,13 @@ 377 377 378 378 (% style="color:#037691" %)**cc**(%%): 1-9: Additional Measurement, 0: no additional measurement 379 379 380 -(% style="color:#037691" %)**dd**(%%): delay (in second) to send (% style="color:#037691" %) __**aD0!**__(%%) to get return.375 +(% style="color:#037691" %)**dd**(%%): delay (in second) to send (% style="color:#037691" %)**aD0!**(%%) to get return. 381 381 382 382 383 383 The following is the display information on the serial port and the server. 384 384 385 385 381 + 386 386 [[image:image-20230201092208-14.png]] 387 387 388 388 ... ... @@ -468,7 +468,7 @@ 468 468 469 469 (% style="color:red" %)**1** (%%) Check if return chars are printable char(0x20 ~~ 0x7E); 470 470 471 -(% style="color:red" %)**2**(%%) Check if there is return from SDI-12 sensor 467 +(% style="color:#red" %)**2**(%%) Check if there is return from SDI-12 sensor 472 472 473 473 (% style="color:red" %)**3** (%%) Check if return pass CRC check ( SDI-12 command var1 must include CRC request); 474 474 ... ... @@ -552,7 +552,7 @@ 552 552 (% style="color:blue" %)**AT+ALLDATAMOD**(%%) will simply get all return and don't do CRC check as result for SDI-12 command. AT+DATACUTx command has higher priority, if AT+DATACUTx has been set, AT+ALLDATAMOD will be ignore for this SDI-12 command. 553 553 554 554 555 -(% style="color:#4f81bd" %)**For example: ** (%%)as below photo, AT+ALLDATAMOD=1, but AT+DATACUT1 has been set, AT+DATACUT1 will be still effect the result.551 +(% style="color:#4f81bd" %)**For example: ** as below photo, AT+ALLDATAMOD=1, but AT+DATACUT1 has been set, AT+DATACUT1 will be still effect the result. 556 556 557 557 558 558 [[image:1675215782925-448.png]] ... ... @@ -567,9 +567,9 @@ 567 567 568 568 (% style="color:#4f81bd" %)**AT+DATAUP=0** 569 569 570 -Compose the uplink payload with value returns in sequence and send with **__A SIGNLE UPLINK__**.566 +Compose the uplink payload with value returns in sequence and send with A SIGNLE UPLINK. 571 571 572 -Final Payload is **__Battery Info+PAYVER + VALID Value from RETURN1 + Valid Value from RETURN2 + … + RETURNx__**568 +Final Payload is Battery Info+PAYVER + VALID Value from RETURN1 + Valid Value from RETURN2 + … + RETURNx 573 573 574 574 Where PAYVER is defined by AT+PAYVER, below is an example screen shot. 575 575 ... ... @@ -579,10 +579,12 @@ 579 579 580 580 (% style="color:#4f81bd" %)**AT+DATAUP=1** 581 581 582 -Compose the uplink payload with value returns in sequence and send with **__Multiply UPLINKs__**.578 +Compose the uplink payload with value returns in sequence and send with Multiply UPLINKs. 583 583 584 -Final Payload is __**Battery Info+PAYVER + PAYLOAD COUNT + PAYLOAD# + DATA**__580 +Final Payload is 585 585 582 +__**Battery Info+PAYVER + PAYLOAD COUNT + PAYLOAD# + DATA**__ 583 + 586 586 1. Battery Info (2 bytes): Battery voltage 587 587 1. PAYVER (1 byte): Defined by AT+PAYVER 588 588 1. PAYLOAD COUNT (1 byte): Total how many uplinks of this sampling. ... ... @@ -604,7 +604,7 @@ 604 604 (% 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.** 605 605 606 606 607 -== 2.4 Uplink Payload == 605 +== 2.4 Uplink Payload == 608 608 609 609 610 610 Uplink payloads have two types: ... ... @@ -757,6 +757,8 @@ 757 757 [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20AT%20Commands%20and%20Downlink%20Command/#H4.1ChangeUplinkInterval>>http://wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20AT%20Commands%20and%20Downlink%20Command/#H4.1ChangeUplinkInterval]]]] 758 758 759 759 758 + 759 + 760 760 == 2.6 Frequency Plans == 761 761 762 762 ... ... @@ -770,9 +770,8 @@ 770 770 771 771 **Firmware download link:** 772 772 773 -[[https:~~/~~/www.dropbox.com/sh/ qrbgbikb109lkiv/AACBR-v_ZhZAMengcY7Nsa1ja?dl=0>>https://www.dropbox.com/sh/qrbgbikb109lkiv/AACBR-v_ZhZAMengcY7Nsa1ja?dl=0]]773 +[[https:~~/~~/www.dropbox.com/sh/gf1glloczbzz19h/AABbuYI4WY6VdAmpXo6o1V2Ka?dl=0>>url:https://www.dropbox.com/sh/gf1glloczbzz19h/AABbuYI4WY6VdAmpXo6o1V2Ka?dl=0]] 774 774 775 - 776 776 777 777 = 3. Configure SDI-12-LB via AT Command or LoRaWAN Downlink = 778 778 ... ... @@ -779,12 +779,12 @@ 779 779 780 780 Use can configure SDI-12-LB via AT Command or LoRaWAN Downlink. 781 781 782 -* AT Command Connection: See [[FAQ>> ||anchor="H7.FAQ"]].781 +* AT Command Connection: See [[FAQ>>path:#AT_COMMAND]]. 783 783 * LoRaWAN Downlink instruction for different platforms: See [[IoT LoRaWAN Server>>http://wiki.dragino.com/xwiki/bin/view/Main/]] section. 784 784 785 785 There are two kinds of commands to configure SDI-12-LB, they are: 786 786 787 -* (% style="color:blue" %) **General Commands**.786 +* **(% style="color:blue" %)General Commands**. 788 788 789 789 These commands are to configure: 790 790 ... ... @@ -796,7 +796,7 @@ 796 796 [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20AT%20Commands%20and%20Downlink%20Command/>>http://wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20AT%20Commands%20and%20Downlink%20Command/]] 797 797 798 798 799 -* (% style="color:blue" %) **Commands special design for SDI-12-LB**798 +* **(% style="color:blue" %)Commands special design for SDI-12-LB** 800 800 801 801 These commands only valid for SDI-12-LB, as below: 802 802 ... ... @@ -830,6 +830,9 @@ 830 830 * Example 1: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds 831 831 * Example 2: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 832 832 832 + 833 + 834 + 833 833 == 3.2 Set Interrupt Mode == 834 834 835 835 ... ... @@ -861,6 +861,9 @@ 861 861 * Example 1: Downlink Payload: 06000000 ~/~/ Turn off interrupt mode 862 862 * Example 2: Downlink Payload: 06000003 ~/~/ Set the interrupt mode to rising edge trigger 863 863 866 + 867 + 868 + 864 864 == 3.3 Set the output time == 865 865 866 866 ... ... @@ -930,6 +930,9 @@ 930 930 * Example 5: Downlink Payload: 070301F4 **~-~-->** AT+12VT=500 931 931 * Example 6: Downlink Payload: 07030000 **~-~-->** AT+12VT=0 932 932 938 + 939 + 940 + 933 933 == 3.4 Set the all data mode == 934 934 935 935 ... ... @@ -952,6 +952,9 @@ 952 952 * Example 1: Downlink Payload: AB 00 ~/~/ AT+ALLDATAMOD=0 953 953 * Example 2: Downlink Payload: AB 01 ~/~/ AT+ALLDATAMOD=1 954 954 963 + 964 + 965 + 955 955 == 3.5 Set the splicing payload for uplink == 956 956 957 957 ... ... @@ -1007,6 +1007,9 @@ 1007 1007 * Example 1: Downlink Payload: AE 01 ~/~/ AT+PAYVER=1 1008 1008 * Example 2: Downlink Payload: AE 05 ~/~/ AT+PAYVER=5 1009 1009 1021 + 1022 + 1023 + 1010 1010 = 4. Battery & how to replace = 1011 1011 1012 1012 == 4.1 Battery Type == ... ... @@ -1060,6 +1060,7 @@ 1060 1060 * [[Lithium-Thionyl Chloride Battery datasheet, Tech Spec>>https://www.dropbox.com/sh/d4oyfnp8o94180o/AABQewCNSh5GPeQH86UxRgQQa?dl=0]] 1061 1061 * [[Lithium-ion Battery-Capacitor datasheet>>https://www.dropbox.com/s/791gjes2lcbfi1p/SPC_1520_datasheet.jpg?dl=0]], [[Tech Spec>>https://www.dropbox.com/s/4pkepr9qqqvtzf2/SPC1520%20Technical%20Specification20171123.pdf?dl=0]] 1062 1062 1077 + 1063 1063 [[image:image-20230201145019-19.png]] 1064 1064 1065 1065 ... ... @@ -1121,28 +1121,33 @@ 1121 1121 = 8. Order Info = 1122 1122 1123 1123 1124 -(% style="color:blue" %) **Part Number: SDI-12-LB-XXX**1139 +**(% style="color:blue" %)Part Number: SDI-12-LB-XXX** 1125 1125 1126 1126 XXX: The default frequency band 1127 1127 1128 -(% style="color:red" %) **AS923**(%%): LoRaWAN AS923 band1129 -(% style="color:red" %) **AU915**(%%): LoRaWAN AU915 band1130 -(% style="color:red" %) **EU433**(%%): LoRaWAN EU433 band1131 -(% style="color:red" %) **EU868**(%%): LoRaWAN EU868 band1132 -(% style="color:red" %) **KR920**(%%): LoRaWAN KR920 band1133 -(% style="color:red" %) **US915**(%%): LoRaWAN US915 band1134 -(% style="color:red" %) **IN865**(%%): LoRaWAN IN865 band1135 -(% style="color:red" %) **CN470**(%%): LoRaWAN CN470 band1143 +**(% style="color:red" %)AS923**(%%): LoRaWAN AS923 band 1144 +**(% style="color:red" %)AU915**(%%): LoRaWAN AU915 band 1145 +**(% style="color:red" %)EU433**(%%): LoRaWAN EU433 band 1146 +**(% style="color:red" %)EU868**(%%): LoRaWAN EU868 band 1147 +**(% style="color:red" %)KR920**(%%): LoRaWAN KR920 band 1148 +**(% style="color:red" %)US915**(%%): LoRaWAN US915 band 1149 +**(% style="color:red" %)IN865**(%%): LoRaWAN IN865 band 1150 +**(% style="color:red" %)CN470**(%%): LoRaWAN CN470 band 1136 1136 1137 1137 1153 + 1154 + 1155 + 1156 + 1157 + 1138 1138 = 9. Packing Info = 1139 1139 1140 1140 1141 -(% style="color:#037691" %) **Package Includes**:1161 +**(% style="color:#037691" %)Package Includes**: 1142 1142 1143 1143 * SDI-12-LB SDI-12 to LoRaWAN Converter x 1 1144 1144 1145 -(% style="color:#037691" %) **Dimension and weight**:1165 +**(% style="color:#037691" %)Dimension and weight**: 1146 1146 1147 1147 * Device Size: cm 1148 1148 * Device Weight: g ... ... @@ -1149,6 +1149,9 @@ 1149 1149 * Package Size / pcs : cm 1150 1150 * Weight / pcs : g 1151 1151 1172 + 1173 + 1174 + 1152 1152 = 10. Support = 1153 1153 1154 1154
- image-20230201152430-20.jpeg
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -16.5 KB - Content