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)
Details
- Page properties
-
- Content
-
... ... @@ -22,24 +22,34 @@ 22 22 == 1.1 What is SDI-12 to LoRaWAN Converter == 23 23 24 24 25 +((( 25 25 The Dragino (% style="color:blue" %)**SDI-12-LB**(%%) is a (% style="color:blue" %)**SDI-12 to LoRaWAN Converter **(%%)designed for Smart Agriculture solution. 27 +))) 26 26 29 +((( 27 27 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 +))) 28 28 33 +((( 29 29 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 +))) 30 30 37 +((( 31 31 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 +))) 32 32 41 +((( 33 33 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 +))) 34 34 45 +((( 35 35 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 +))) 36 36 37 37 38 38 [[image:image-20230201084414-1.png||height="464" width="1108"]] 39 39 40 40 41 - 42 - 43 43 == 1.2 Features == 44 44 45 45 ... ... @@ -55,6 +55,8 @@ 55 55 * Downlink to change configure 56 56 * 8500mAh Battery for long term use 57 57 68 + 69 + 58 58 == 1.3 Specification == 59 59 60 60 ... ... @@ -101,6 +101,8 @@ 101 101 * Sleep Mode: 5uA @ 3.3v 102 102 * LoRa Transmit Mode: 125mA @ 20dBm, 82mA @ 14dBm 103 103 116 + 117 + 104 104 == 1.4 Connect to SDI-12 Sensor == 105 105 106 106 ... ... @@ -122,20 +122,21 @@ 122 122 [[image:1675212633011-651.png]] 123 123 124 124 125 - 126 126 (% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:510px" %) 127 -|=(% style="width: 167px;" %)**Behavior on ACT**|=(% style="width: 1 17px;" %)**Function**|=(% style="width: 225px;" %)**Action**128 -|(% style="width:167px" %)Pressing ACT between 1s < time < 3s|(% style="width:1 17px" %)Send an uplink|(% style="width:225px" %)(((140 +|=(% style="width: 167px;" %)**Behavior on ACT**|=(% style="width: 109px;" %)**Function**|=(% style="width: 231px;" %)**Action** 141 +|(% style="width:167px" %)Pressing ACT between 1s < time < 3s|(% style="width:109px" %)Send an uplink|(% style="width:231px" %)((( 129 129 If sensor is already Joined to LoRaWAN network, sensor will send an uplink packet, (% style="color:blue" %)**blue led** (%%)will blink once. 130 130 Meanwhile, BLE module will be active and user can connect via BLE to configure device. 131 131 ))) 132 -|(% style="width:167px" %)Pressing ACT for more than 3s|(% style="width:1 17px" %)Active Device|(% style="width:225px" %)(((145 +|(% style="width:167px" %)Pressing ACT for more than 3s|(% style="width:109px" %)Active Device|(% style="width:231px" %)((( 133 133 (% 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. 134 134 (% style="color:green" %)**Green led**(%%) will solidly turn on for 5 seconds after joined in network. 135 135 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. 136 136 ))) 137 -|(% style="width:167px" %)Fast press ACT 5 times.|(% style="width:1 17px" %)Deactivate Device|(% style="width:225px" %)(% style="color:red" %)**Red led**(%%) will solid on for 5 seconds. Means PS-LB is in Deep Sleep Mode.150 +|(% style="width:167px" %)Fast press ACT 5 times.|(% style="width:109px" %)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 138 152 + 153 + 139 139 == 1.7 Pin Mapping == 140 140 141 141 ... ... @@ -483,10 +483,10 @@ 483 483 484 484 485 485 (% border="1" cellspacing="4" style="background-color:#f7faff; width:510px" %) 486 -|(% style="width:1 70px" %)**AT+DATACUT1 value**|(% style="width:338px" %)**Final Result to combine Payload**487 -|(% style="width:1 70px" %)34,1,1+2+3|(% style="width:338px" %)0D 00 01 30 31 33488 -|(% style="width:1 70px" %)34,2,1~~8+12~~16|(% style="width:338px" %)0D 00 01 30 31 33 4D 45 54 45 52 54 45 52 31 32489 -|(% style="width:1 70px" %)34,2,1~~34|(% style="width:338px" %)0D 00 01 30 31 33 4D 45 54 45 52 20 20 20 54 45 52 31 32 20 31 31 32 54 31 32 2D 30 30 30 32 34 38 39 35 0D 0A501 +|=(% style="width: 164px;" %)**AT+DATACUT1 value**|=(% style="width: 344px;" %)**Final Result to combine Payload** 502 +|(% style="width:164px" %)34,1,1+2+3|(% style="width:344px" %)0D 00 01 30 31 33 503 +|(% style="width:164px" %)34,2,1~~8+12~~16|(% style="width:344px" %)0D 00 01 30 31 33 4D 45 54 45 52 54 45 52 31 32 504 +|(% style="width:164px" %)34,2,1~~34|(% style="width:344px" %)0D 00 01 30 31 33 4D 45 54 45 52 20 20 20 54 45 52 31 32 20 31 31 32 54 31 32 2D 30 30 30 32 34 38 39 35 0D 0A 490 490 491 491 * (% style="color:blue" %)** Downlink Payload:** 492 492 ... ... @@ -511,6 +511,7 @@ 511 511 [[image:image-20230201094129-18.png]] 512 512 513 513 529 + 514 514 (% style="color:blue" %)**Clear SDI12 Command** 515 515 516 516 The AT+COMMANDx and AT+DATACUTx settings are stored in special location, user can use below command to clear them. ... ... @@ -554,12 +554,11 @@ 554 554 555 555 (% style="color:blue" %)**Compose Uplink** 556 556 557 - 558 558 (% style="color:#4f81bd" %)**AT+DATAUP=0** 559 559 560 -Compose the uplink payload with value returns in sequence and send with A SIGNLE UPLINK. 575 +Compose the uplink payload with value returns in sequence and send with **__A SIGNLE UPLINK__**. 561 561 562 -Final Payload is Battery Info+PAYVER + VALID Value from RETURN1 + Valid Value from RETURN2 + … + RETURNx 577 +Final Payload is **__Battery Info+PAYVER + VALID Value from RETURN1 + Valid Value from RETURN2 + … + RETURNx__** 563 563 564 564 Where PAYVER is defined by AT+PAYVER, below is an example screen shot. 565 565 ... ... @@ -569,12 +569,10 @@ 569 569 570 570 (% style="color:#4f81bd" %)**AT+DATAUP=1** 571 571 572 -Compose the uplink payload with value returns in sequence and send with Multiply UPLINKs. 587 +Compose the uplink payload with value returns in sequence and send with **__Multiply UPLINKs__**. 573 573 574 -Final Payload is 589 +Final Payload is __**Battery Info+PAYVER + PAYLOAD COUNT + PAYLOAD# + DATA**__ 575 575 576 -__**Battery Info+PAYVER + PAYLOAD COUNT + PAYLOAD# + DATA**__ 577 - 578 578 1. Battery Info (2 bytes): Battery voltage 579 579 1. PAYVER (1 byte): Defined by AT+PAYVER 580 580 1. PAYLOAD COUNT (1 byte): Total how many uplinks of this sampling. ... ... @@ -614,10 +614,10 @@ 614 614 615 615 Users can also use the downlink command(0x26 01) to ask SDI-12-LB to resend this uplink. 616 616 617 -(% border="1" cellspacing="4" style="background-color:#f7faff; width:4 37px" %)630 +(% border="1" cellspacing="4" style="background-color:#f7faff; width:420px" %) 618 618 |(% colspan="6" style="width:434px" %)**Device Status (FPORT=5)** 619 -|(% style="width:1 02px" %)**Size67px" %)**1**|(% style="width:80px" %)**2**|(% style="width:89px" %)**1**|(% style="width:52px" %)**1**|(% style="width:44px" %)**2**620 -|(% style="width:1 02px" %)**Value**|(% style="width:67px" %)Sensor Model|(% style="width:80px" %)Firmware Version|(% style="width:89px" %)Frequency Band|(% style="width:52px" %)Sub-band|(% style="width:44px" %)BAT632 +|(% style="width:114px" %)**Size(bytes)**|(% style="width:39px" %)**1**|(% style="width:80px" %)**2**|(% style="width:89px" %)**1**|(% style="width:59px" %)**1**|(% style="width:37px" %)**2** 633 +|(% style="width:114px" %)**Value**|(% style="width:39px" %)Sensor Model|(% style="width:80px" %)Firmware Version|(% style="width:89px" %)Frequency Band|(% style="width:59px" %)Sub-band|(% style="width:37px" %)BAT 621 621 622 622 Example parse in TTNv3 623 623 ... ... @@ -686,15 +686,15 @@ 686 686 687 687 * Periodically Uplink: FPORT=2 688 688 689 -(% border="1" cellspacing="4" style="background-color:#f7faff; width:5 10px" %)690 -|(% style="width:9 3px" %)(((702 +(% border="1" cellspacing="4" style="background-color:#f7faff; width:500px" %) 703 +|=(% style="width: 90px;" %)((( 691 691 **Size(bytes)** 692 -)))|(% style="width:8 3px" %)**2**|(% style="width:70px" %)**1**|(% style="width:234px" %)**Length depends on the return from the commands**705 +)))|=(% style="width: 80px;" %)**2**|=(% style="width: 90px;" %)**1**|=(% style="width: 240px;" %)**Length depends on the return from the commands** 693 693 |(% style="width:93px" %)**Value**|(% style="width:83px" %)((( 694 694 Battery(mV) 695 695 & 696 696 Interrupt_Flag 697 -)))|(% style="width: 70px" %)[[PAYLOAD_VER>>||anchor="H3.6Setthepayloadversion"]]|(% style="width:234px" %)(((710 +)))|(% style="width:91px" %)[[PAYLOAD_VER>>||anchor="H3.6Setthepayloadversion"]]|(% style="width:212px" %)((( 698 698 If the valid payload is too long and exceed the maximum support. 699 699 Payload length in server,server will show payload not provided in the LoRaWAN server. 700 700 ))) ... ... @@ -749,8 +749,6 @@ 749 749 [[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]]]] 750 750 751 751 752 - 753 - 754 754 == 2.6 Frequency Plans == 755 755 756 756 ... ... @@ -764,7 +764,7 @@ 764 764 765 765 **Firmware download link:** 766 766 767 -[[https:~~/~~/www.dropbox.com/sh/g f1glloczbzz19h/AABbuYI4WY6VdAmpXo6o1V2Ka?dl=0>>url:https://www.dropbox.com/sh/gf1glloczbzz19h/AABbuYI4WY6VdAmpXo6o1V2Ka?dl=0]]778 +[[https:~~/~~/www.dropbox.com/sh/qrbgbikb109lkiv/AACBR-v_ZhZAMengcY7Nsa1ja?dl=0>>https://www.dropbox.com/sh/qrbgbikb109lkiv/AACBR-v_ZhZAMengcY7Nsa1ja?dl=0]] 768 768 769 769 770 770 = 3. Configure SDI-12-LB via AT Command or LoRaWAN Downlink = ... ... @@ -823,6 +823,8 @@ 823 823 * Example 1: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds 824 824 * Example 2: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 825 825 837 + 838 + 826 826 == 3.2 Set Interrupt Mode == 827 827 828 828 ... ... @@ -854,6 +854,8 @@ 854 854 * Example 1: Downlink Payload: 06000000 ~/~/ Turn off interrupt mode 855 855 * Example 2: Downlink Payload: 06000003 ~/~/ Set the interrupt mode to rising edge trigger 856 856 870 + 871 + 857 857 == 3.3 Set the output time == 858 858 859 859 ... ... @@ -923,6 +923,8 @@ 923 923 * Example 5: Downlink Payload: 070301F4 **~-~-->** AT+12VT=500 924 924 * Example 6: Downlink Payload: 07030000 **~-~-->** AT+12VT=0 925 925 941 + 942 + 926 926 == 3.4 Set the all data mode == 927 927 928 928 ... ... @@ -945,6 +945,8 @@ 945 945 * Example 1: Downlink Payload: AB 00 ~/~/ AT+ALLDATAMOD=0 946 946 * Example 2: Downlink Payload: AB 01 ~/~/ AT+ALLDATAMOD=1 947 947 965 + 966 + 948 948 == 3.5 Set the splicing payload for uplink == 949 949 950 950 ... ... @@ -981,6 +981,7 @@ 981 981 982 982 == 3.6 Set the payload version == 983 983 1003 + 984 984 Feature, Set the payload version. 985 985 986 986 (% style="color:blue" %)**AT Command: AT+PAYVER** ... ... @@ -1000,6 +1000,8 @@ 1000 1000 * Example 1: Downlink Payload: AE 01 ~/~/ AT+PAYVER=1 1001 1001 * Example 2: Downlink Payload: AE 05 ~/~/ AT+PAYVER=5 1002 1002 1023 + 1024 + 1003 1003 = 4. Battery & how to replace = 1004 1004 1005 1005 == 4.1 Battery Type == ... ... @@ -1114,10 +1114,15 @@ 1114 1114 = 8. Order Info = 1115 1115 1116 1116 1139 +((( 1117 1117 (% style="color:blue" %)**Part Number: SDI-12-LB-XXX** 1141 +))) 1118 1118 1143 +((( 1119 1119 XXX: The default frequency band 1145 +))) 1120 1120 1147 +((( 1121 1121 (% style="color:red" %)**AS923**(%%): LoRaWAN AS923 band 1122 1122 (% style="color:red" %)**AU915**(%%): LoRaWAN AU915 band 1123 1123 (% style="color:red" %)**EU433**(%%): LoRaWAN EU433 band ... ... @@ -1126,13 +1126,9 @@ 1126 1126 (% style="color:red" %)**US915**(%%): LoRaWAN US915 band 1127 1127 (% style="color:red" %)**IN865**(%%): LoRaWAN IN865 band 1128 1128 (% style="color:red" %)**CN470**(%%): LoRaWAN CN470 band 1156 +))) 1129 1129 1130 1130 1131 - 1132 - 1133 - 1134 - 1135 - 1136 1136 = 9. Packing Info = 1137 1137 1138 1138 ... ... @@ -1147,6 +1147,8 @@ 1147 1147 * Package Size / pcs : cm 1148 1148 * Weight / pcs : g 1149 1149 1173 + 1174 + 1150 1150 = 10. Support = 1151 1151 1152 1152