<
From version < 41.19 >
edited by Xiaoling
on 2023/02/01 16:53
To version < 41.3 >
edited by Xiaoling
on 2023/02/01 15:24
>
Change comment: There is no comment for this version

Summary

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: 109px;" %)**Function**|=(% style="width: 231px;" %)**Action**
138 -|(% style="width:167px" %)Pressing ACT between 1s < time < 3s|(% style="width:109px" %)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:109px" %)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: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.
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  
... ... @@ -256,6 +256,7 @@
256 256  The following is the display information on the serial port and the server.
257 257  
258 258  
249 +
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)
264 +(% 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.
300 +(% 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.
337 +(% 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.
370 +(% 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  
376 +
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
462 +(% 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  
... ... @@ -493,10 +493,10 @@
493 493  
494 494  
495 495  (% border="1" cellspacing="4" style="background-color:#f7faff; width:510px" %)
496 -|=(% style="width: 164px;" %)**AT+DATACUT1 value**|=(% style="width: 344px;" %)**Final Result to combine Payload**
497 -|(% style="width:164px" %)34,1,1+2+3|(% style="width:344px" %)0D 00 01 30 31 33
498 -|(% 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
499 -|(% 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
487 +|(% style="width:170px" %)**AT+DATACUT1 value**|(% style="width:338px" %)**Final Result to combine Payload**
488 +|(% style="width:170px" %)34,1,1+2+3|(% style="width:338px" %)0D 00 01 30 31 33
489 +|(% 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
490 +|(% 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.
... ... @@ -553,7 +553,7 @@
553 553  (% 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.
554 554  
555 555  
556 -(% 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.
546 +(% 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.
557 557  
558 558  
559 559  [[image:1675215782925-448.png]]
... ... @@ -565,11 +565,12 @@
565 565  
566 566  (% style="color:blue" %)**Compose Uplink**
567 567  
558 +
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__**.
561 +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__**
563 +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__**.
573 +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**__
575 +Final Payload is
585 585  
577 +__**Battery Info+PAYVER + PAYLOAD COUNT + PAYLOAD# + DATA**__
578 +
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.
... ... @@ -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:420px" %)
618 +(% border="1" cellspacing="4" style="background-color:#f7faff; width:437px" %)
626 626  |(% colspan="6" style="width:434px" %)**Device Status (FPORT=5)**
627 -|(% 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**
628 -|(% 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
620 +|(% 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**
621 +|(% 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:500px" %)
698 -|=(% style="width: 90px;" %)(((
690 +(% border="1" cellspacing="4" style="background-color:#f7faff; width:510px" %)
691 +|(% style="width:93px" %)(((
699 699  **Size(bytes)**
700 -)))|=(% style="width: 80px;" %)**2**|=(% style="width: 90px;" %)**1**|=(% style="width: 240px;" %)**Length depends on the return from the commands**
693 +)))|(% 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" %)(((
698 +)))|(% 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  )))
... ... @@ -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  
753 +
754 +
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]]
768 +[[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  
... ... @@ -830,6 +830,7 @@
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  
827 +
833 833  == 3.2 Set Interrupt Mode ==
834 834  
835 835  
... ... @@ -861,6 +861,7 @@
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  
859 +
864 864  == 3.3 Set the output time ==
865 865  
866 866  
... ... @@ -930,6 +930,7 @@
930 930  * Example 5: Downlink Payload: 070301F4  **~-~-->**  AT+12VT=500
931 931  * Example 6: Downlink Payload: 07030000  **~-~-->**  AT+12VT=0
932 932  
929 +
933 933  == 3.4 Set the all data mode ==
934 934  
935 935  
... ... @@ -952,6 +952,7 @@
952 952  * Example 1: Downlink Payload: AB 00  ~/~/  AT+ALLDATAMOD=0
953 953  * Example 2: Downlink Payload: AB 01  ~/~/  AT+ALLDATAMOD=1
954 954  
952 +
955 955  == 3.5 Set the splicing payload for uplink ==
956 956  
957 957  
... ... @@ -1007,6 +1007,7 @@
1007 1007  * Example 1: Downlink Payload: AE 01  ~/~/  AT+PAYVER=1
1008 1008  * Example 2: Downlink Payload: AE 05  ~/~/  AT+PAYVER=5
1009 1009  
1008 +
1010 1010  = 4. Battery & how to replace =
1011 1011  
1012 1012  == 4.1 Battery Type ==
... ... @@ -1135,6 +1135,11 @@
1135 1135  (% style="color:red" %)**CN470**(%%): LoRaWAN CN470 band
1136 1136  
1137 1137  
1137 +
1138 +
1139 +
1140 +
1141 +
1138 1138  = 9. Packing Info =
1139 1139  
1140 1140  
... ... @@ -1149,6 +1149,7 @@
1149 1149  * Package Size / pcs : cm
1150 1150  * Weight / pcs : g
1151 1151  
1156 +
1152 1152  = 10. ​Support =
1153 1153  
1154 1154  
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0