Changes for page SDI-12-LB/LS -- SDI-12 to LoRaWAN Converter User Manual
Last modified by Xiaoling on 2025/04/25 08:58
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 1 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Bei1 +XWiki.Xiaoling - Content
-
... ... @@ -55,7 +55,7 @@ 55 55 56 56 * LoRaWAN 1.0.3 Class A 57 57 * Ultra-low power consumption 58 -* Controllable 3.3v,5v and 12v output to power external sensor58 +* Controllable 5v and 12v output to power external sensor 59 59 * SDI-12 Protocol to connect to SDI-12 Sensor 60 60 * Monitor Battery Level 61 61 * Bands: CN470/EU433/KR920/US915/EU868/AS923/AU915/IN865 ... ... @@ -132,6 +132,7 @@ 132 132 [[image:1675212633011-651.png]] 133 133 134 134 135 + 135 135 (% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:510px" %) 136 136 |=(% style="width: 167px;" %)**Behavior on ACT**|=(% style="width: 109px;" %)**Function**|=(% style="width: 231px;" %)**Action** 137 137 |(% style="width:167px" %)Pressing ACT between 1s < time < 3s|(% style="width:109px" %)Send an uplink|(% style="width:231px" %)((( ... ... @@ -143,7 +143,7 @@ 143 143 (% style="color:green" %)**Green led**(%%) will solidly turn on for 5 seconds after joined in network. 144 144 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. 145 145 ))) 146 -|(% 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 S DI-12-LB is in Deep Sleep Mode.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. 147 147 148 148 == 1.7 Pin Mapping == 149 149 ... ... @@ -461,7 +461,7 @@ 461 461 462 462 (% style="color:red" %)**var3**(%%): Whether to send //addrD0!// to get return after var2 timeout. 0: Don't Send //addrD0! //; 1: Send //addrD0!//. 463 463 464 -(% style="color:red" %)**var4**(%%): validation check for return. If return invalid, SDI-12-LB will resend this command. Max 3retries.465 +(% style="color:red" %)**var4**(%%): validation check for return. If return invalid, SDI-12-LB will resend this command. Max 2 retries. 465 465 466 466 (% style="color:red" %)**0 **(%%) No validation check; 467 467 ... ... @@ -488,7 +488,7 @@ 488 488 **c**: define the position for valid value. 489 489 ))) 490 490 491 -For example, if return from AT+COMMAND1 is “013METER TER12 112T12-00024895 <CR><LF>” , Below AT+DATACUT1 will get different result to combine payload:492 +For example, if return from AT+COMMAND1 is “013METER TER12 112T12-00024895” , Below AT+DATACUT1 will get different result to combine payload: 492 492 493 493 494 494 (% border="1" cellspacing="4" style="background-color:#f7faff; width:510px" %) ... ... @@ -510,10 +510,10 @@ 510 510 Where: 511 511 512 512 * (% style="color:#037691" %)**MM **(%%): the AT+COMMAND or AT+DATACUT to be set. Value from 01 ~~ 0F, 513 -* (% style="color:#037691" %)**NN **(%%): 1: set the AT+ COMMAND value ; 2: set the AT+DATACUT value.514 +* (% style="color:#037691" %)**NN **(%%): 1: set the AT+DATACUT value ; 2: set the AT+DATACUT value. 514 514 * (% style="color:#037691" %)**LL **(%%): The length of AT+COMMAND or AT+DATACUT command 515 515 * (% style="color:#037691" %)**XX XX XX XX **(%%): AT+COMMAND or AT+DATACUT command 516 -* (% style="color:#037691" %)**YY **(%%): If YY=0, S DI-12-LBwill execute the downlink command without uplink; if YY=1, SDI-12-LBwill execute an uplink after got this command.517 +* (% style="color:#037691" %)**YY **(%%): If YY=0, RS485-LN will execute the downlink command without uplink; if YY=1, RS485-LN will execute an uplink after got this command. 517 517 518 518 (% style="color:blue" %)**Example:** 519 519 ... ... @@ -605,6 +605,15 @@ 605 605 606 606 == 2.4 Uplink Payload == 607 607 609 + 610 +Uplink payloads have two types: 611 + 612 +* Distance Value: Use FPORT=2 613 +* Other control commands: Use other FPORT fields. 614 + 615 +The application server should parse the correct value based on FPORT settings. 616 + 617 + 608 608 === 2.4.1 Device Payload, FPORT~=5 === 609 609 610 610 ... ... @@ -724,7 +724,6 @@ 724 724 725 725 === 2.4.5 Payload version === 726 726 727 -The version number of the payload, mainly used for decoding. The default is 01. 728 728 729 729 730 730 === 2.4.6 Decode payload in The Things Network === ... ... @@ -748,82 +748,15 @@ 748 748 [[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]]]] 749 749 750 750 751 -== 2.6 Examples To Set SDIcommands.==760 +== 2.6 Frequency Plans == 752 752 753 -=== 2.6.1 Examples 1 === 754 754 755 -COM port and SDI-12 sensor communication converted to SDI-12-LB and SDI-12 sensor communication. 756 - 757 -[[image:image-20230222143809-1.png||height="564" width="729"]] 758 - 759 -1)The AT+COMMANDx command is applied to the red arrow part, and sends the SDI12 command to the SDI12 sensor: 760 - 761 -a.Send the first command and get the first reply: 762 - 763 -AT+COMMANDx=1I!,0,0,1 764 - 765 -b.Send the second command and get the second reply: 766 - 767 -AT+COMMANDx=2I!,0,0,1 768 - 769 -c.Send the third command and get the third reply: 770 - 771 -AT+COMMANDx=3I!,0,0,1 772 - 773 -d.Send the fourth command and get the fourth reply: 774 - 775 -AT+COMMANDx=4I!,0,0,1 776 - 777 -e.Send the fifth command plus the sixth command, get the sixth reply: 778 - 779 -AT+COMMANDx=1M!,2,1,1 780 - 781 -f.Send the seventh command plus the eighth command, get the eighth reply: 782 - 783 -AT+COMMANDx=2M!,2,1,1 784 - 785 -g.Send the ninth command plus the tenth command, get the tenth reply: 786 - 787 -AT+COMMANDx=3M!,1,1,1 788 - 789 -h.Send the eleventh command plus the twelfth command, get the twelfth reply: 790 - 791 -AT+COMMANDx=4M!,1,1,1 792 - 793 - 794 -2) The AT+DATACUTx command is applied to the green arrow part, receiving and cut out data from the SDI12 sensor: 795 - 796 -a.The first reply, all 34 characters: ”113TRUEBNERSMT100038220303182331<CR><LF>” 797 - 798 -Cut out all characters: AT+ALLDATAMOD=1 or AT+DATACUTx=34,2,1~~34; 799 - 800 -b. The sixth reply, all 31 characters:”1+19210+1.04+0.00+22.49+11.75<CR><LF>” 801 - 802 -Cut out all characters: AT+ALLDATAMOD=1 or AT+DATACUTx=31,2,1~~31; 803 - 804 -c. The eighth reply, all 31 characters:”2+18990+1.08+0.00+22.24+11.80<CR><LF>” 805 - 806 -Cut out all characters: AT+ALLDATAMOD=1 or AT+DATACUTx=31,2,1~~31; 807 - 808 -d. The tenth reply, all 15 characters:”3-2919.8+24.0<CR><LF>” 809 - 810 -Cut out all characters: AT+ALLDATAMOD=1 or AT+DATACUTx=15,2,1~~15; 811 - 812 -e. The twelfth reply, all 25 characters:”4+30.8+22.84+4.7+954.38<CR><LF>” 813 - 814 -Partial cut, the cut sensor address and the first two parameters:AT+DATACUTx=25,2,1~~12, cut out the character field ” 4+30.8+22.84”. 815 - 816 -== == 817 - 818 -== 2.7 Frequency Plans == 819 - 820 - 821 821 The SDI-12-LB uses OTAA mode and below frequency plans by default. If user want to use it with different frequency plan, please refer the AT command sets. 822 822 823 823 [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20Frequency%20Band/>>url:http://wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20Frequency%20Band/]] 824 824 825 825 826 -== 2. 8Firmware Change Log ==768 +== 2.7 Firmware Change Log == 827 827 828 828 829 829 **Firmware download link:** ... ... @@ -830,6 +830,7 @@ 830 830 831 831 [[https:~~/~~/www.dropbox.com/sh/qrbgbikb109lkiv/AACBR-v_ZhZAMengcY7Nsa1ja?dl=0>>https://www.dropbox.com/sh/qrbgbikb109lkiv/AACBR-v_ZhZAMengcY7Nsa1ja?dl=0]] 832 832 775 + 833 833 834 834 = 3. Configure SDI-12-LB via AT Command or LoRaWAN Downlink = 835 835 ... ... @@ -858,7 +858,7 @@ 858 858 These commands only valid for SDI-12-LB, as below: 859 859 860 860 861 -== 3.1 Set Transmit Interval Time == 804 +== 3.1 Set Transmit Interval Time == 862 862 863 863 864 864 Feature: Change LoRaWAN End Node Transmit Interval. ... ... @@ -899,14 +899,14 @@ 899 899 |(% style="width:156px" %)AT+INTMOD=?|(% style="width:187px" %)Show current interrupt mode|(% style="width:165px" %)((( 900 900 0 901 901 OK 902 -the mode is 0 = DisableInterrupt845 +the mode is 0 = No interruption 903 903 ))) 904 904 |(% style="width:156px" %)AT+INTMOD=2|(% style="width:187px" %)((( 905 905 Set Transmit Interval 906 - 0. (Disable Interrupt),907 - ~1. (Trigger by rising and falling edge)908 - 2. (Trigger by falling edge)909 - 3. (Trigger by rising edge)849 +~1. (Disable Interrupt), 850 +2. (Trigger by rising and falling edge) 851 +3. (Trigger by falling edge) 852 +4. (Trigger by rising edge) 910 910 )))|(% style="width:165px" %)OK 911 911 912 912 (% style="color:blue" %)**Downlink Command: 0x06** ... ... @@ -1045,7 +1045,6 @@ 1045 1045 1046 1046 == 3.6 Set the payload version == 1047 1047 1048 - 1049 1049 Feature, Set the payload version. 1050 1050 1051 1051 (% style="color:blue" %)**AT Command: AT+PAYVER** ... ... @@ -1179,15 +1179,10 @@ 1179 1179 = 8. Order Info = 1180 1180 1181 1181 1182 -((( 1183 1183 (% style="color:blue" %)**Part Number: SDI-12-LB-XXX** 1184 -))) 1185 1185 1186 -((( 1187 1187 XXX: The default frequency band 1188 -))) 1189 1189 1190 -((( 1191 1191 (% style="color:red" %)**AS923**(%%): LoRaWAN AS923 band 1192 1192 (% style="color:red" %)**AU915**(%%): LoRaWAN AU915 band 1193 1193 (% style="color:red" %)**EU433**(%%): LoRaWAN EU433 band ... ... @@ -1196,7 +1196,6 @@ 1196 1196 (% style="color:red" %)**US915**(%%): LoRaWAN US915 band 1197 1197 (% style="color:red" %)**IN865**(%%): LoRaWAN IN865 band 1198 1198 (% style="color:red" %)**CN470**(%%): LoRaWAN CN470 band 1199 -))) 1200 1200 1201 1201 1202 1202 = 9. Packing Info =
- image-20230222143809-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -322.1 KB - Content