Changes for page SDI-12-LB/LS -- SDI-12 to LoRaWAN Converter User Manual
Last modified by Xiaoling on 2025/04/25 08:58
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -22,34 +22,24 @@ 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 41 + 42 + 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" %)(((127 +|=(% style="width: 167px;" %)**Behavior on ACT**|=(% style="width: 117px;" %)**Function**|=(% style="width: 225px;" %)**Action** 128 +|(% 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" %)(((132 +|(% 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.137 +|(% 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 ... ... @@ -493,10 +493,10 @@ 493 493 494 494 495 495 (% border="1" cellspacing="4" style="background-color:#f7faff; width:510px" %) 496 -| =(% style="width:64px;" %)**AT+DATACUT1 value**|=(% style="width:44px;" %)**Final Result to combine Payload**497 -|(% style="width:1 64px" %)34,1,1+2+3|(% style="width:344px" %)0D 00 01 30 31 33498 -|(% style="width:1 64px" %)34,2,1~~8+12~~16|(% style="width:344px" %)0D 00 01 30 31 33 4D 45 54 45 52 54 45 52 31 32499 -|(% style="width:1 64px" %)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 0A486 +|(% style="width:170px" %)**AT+DATACUT1 value**|(% style="width:338px" %)**Final Result to combine Payload** 487 +|(% style="width:170px" %)34,1,1+2+3|(% style="width:338px" %)0D 00 01 30 31 33 488 +|(% style="width:170px" %)34,2,1~~8+12~~16|(% style="width:338px" %)0D 00 01 30 31 33 4D 45 54 45 52 54 45 52 31 32 489 +|(% style="width:170px" %)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 0A 500 500 501 501 * (% style="color:blue" %)** Downlink Payload:** 502 502 ... ... @@ -521,7 +521,6 @@ 521 521 [[image:image-20230201094129-18.png]] 522 522 523 523 524 - 525 525 (% style="color:blue" %)**Clear SDI12 Command** 526 526 527 527 The AT+COMMANDx and AT+DATACUTx settings are stored in special location, user can use below command to clear them. ... ... @@ -565,6 +565,7 @@ 565 565 566 566 (% style="color:blue" %)**Compose Uplink** 567 567 557 + 568 568 (% style="color:#4f81bd" %)**AT+DATAUP=0** 569 569 570 570 Compose the uplink payload with value returns in sequence and send with **__A SIGNLE UPLINK__**. ... ... @@ -622,10 +622,10 @@ 622 622 623 623 Users can also use the downlink command(0x26 01) to ask SDI-12-LB to resend this uplink. 624 624 625 -(% border="1" cellspacing="4" style="background-color:#f7faff; width:4 20px" %)615 +(% border="1" cellspacing="4" style="background-color:#f7faff; width:437px" %) 626 626 |(% colspan="6" style="width:434px" %)**Device Status (FPORT=5)** 627 -|(% style="width:1 14px" %)**Size(bytes)**|(% style="width:39px" %)**1**|(% style="width:80px" %)**2**|(% style="width:89px" %)**1**|(% style="width:59px" %)**1**|(% style="width:37px" %)**2**628 -|(% style="width:1 14px" %)**Value**|(% style="width:39px" %)Sensor Model|(% style="width:80px" %)Firmware Version|(% style="width:89px" %)Frequency Band|(% style="width:59px" %)Sub-band|(% style="width:37px" %)BAT617 +|(% style="width:102px" %)**Size (bytes)**|(% style="width:67px" %)**1**|(% style="width:80px" %)**2**|(% style="width:89px" %)**1**|(% style="width:52px" %)**1**|(% style="width:44px" %)**2** 618 +|(% style="width:102px" %)**Value**|(% style="width:67px" %)Sensor Model|(% style="width:80px" %)Firmware Version|(% style="width:89px" %)Frequency Band|(% style="width:52px" %)Sub-band|(% style="width:44px" %)BAT 629 629 630 630 Example parse in TTNv3 631 631 ... ... @@ -694,15 +694,15 @@ 694 694 695 695 * Periodically Uplink: FPORT=2 696 696 697 -(% border="1" cellspacing="4" style="background-color:#f7faff; width:50 0px" %)698 -| =(% style="width:;" %)(((687 +(% border="1" cellspacing="4" style="background-color:#f7faff; width:510px" %) 688 +|(% style="width:93px" %)((( 699 699 **Size(bytes)** 700 -)))| =(% style="width:;" %)**2**|=(% style="width:91px;" %)**1**|=(% style="width:12px;" %)**Length depends on the return from the commands**690 +)))|(% style="width:83px" %)**2**|(% style="width:70px" %)**1**|(% style="width:234px" %)**Length depends on the return from the commands** 701 701 |(% style="width:93px" %)**Value**|(% style="width:83px" %)((( 702 702 Battery(mV) 703 703 & 704 704 Interrupt_Flag 705 -)))|(% style="width: 91px" %)[[PAYLOAD_VER>>||anchor="H3.6Setthepayloadversion"]]|(% style="width:212px" %)(((695 +)))|(% style="width:70px" %)[[PAYLOAD_VER>>||anchor="H3.6Setthepayloadversion"]]|(% style="width:234px" %)((( 706 706 If the valid payload is too long and exceed the maximum support. 707 707 Payload length in server,server will show payload not provided in the LoRaWAN server. 708 708 ))) ... ... @@ -1135,6 +1135,11 @@ 1135 1135 (% style="color:red" %)**CN470**(%%): LoRaWAN CN470 band 1136 1136 1137 1137 1128 + 1129 + 1130 + 1131 + 1132 + 1138 1138 = 9. Packing Info = 1139 1139 1140 1140