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)
-
Attachments (0 modified, 0 added, 1 removed)
Details
- Page properties
-
- 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 ... ... @@ -65,8 +65,6 @@ 65 65 * Downlink to change configure 66 66 * 8500mAh Battery for long term use 67 67 68 - 69 - 70 70 == 1.3 Specification == 71 71 72 72 ... ... @@ -113,8 +113,6 @@ 113 113 * Sleep Mode: 5uA @ 3.3v 114 114 * LoRa Transmit Mode: 125mA @ 20dBm, 82mA @ 14dBm 115 115 116 - 117 - 118 118 == 1.4 Connect to SDI-12 Sensor == 119 119 120 120 ... ... @@ -136,6 +136,7 @@ 136 136 [[image:1675212633011-651.png]] 137 137 138 138 135 + 139 139 (% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:510px" %) 140 140 |=(% style="width: 167px;" %)**Behavior on ACT**|=(% style="width: 109px;" %)**Function**|=(% style="width: 231px;" %)**Action** 141 141 |(% style="width:167px" %)Pressing ACT between 1s < time < 3s|(% style="width:109px" %)Send an uplink|(% style="width:231px" %)((( ... ... @@ -147,10 +147,8 @@ 147 147 (% style="color:green" %)**Green led**(%%) will solidly turn on for 5 seconds after joined in network. 148 148 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. 149 149 ))) 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 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. 151 151 152 - 153 - 154 154 == 1.7 Pin Mapping == 155 155 156 156 ... ... @@ -467,7 +467,7 @@ 467 467 468 468 (% style="color:red" %)**var3**(%%): Whether to send //addrD0!// to get return after var2 timeout. 0: Don't Send //addrD0! //; 1: Send //addrD0!//. 469 469 470 -(% 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. 471 471 472 472 (% style="color:red" %)**0 **(%%) No validation check; 473 473 ... ... @@ -494,7 +494,7 @@ 494 494 **c**: define the position for valid value. 495 495 ))) 496 496 497 -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: 498 498 499 499 500 500 (% border="1" cellspacing="4" style="background-color:#f7faff; width:510px" %) ... ... @@ -516,10 +516,10 @@ 516 516 Where: 517 517 518 518 * (% style="color:#037691" %)**MM **(%%): the AT+COMMAND or AT+DATACUT to be set. Value from 01 ~~ 0F, 519 -* (% 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. 520 520 * (% style="color:#037691" %)**LL **(%%): The length of AT+COMMAND or AT+DATACUT command 521 521 * (% style="color:#037691" %)**XX XX XX XX **(%%): AT+COMMAND or AT+DATACUT command 522 -* (% 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. 523 523 524 524 (% style="color:blue" %)**Example:** 525 525 ... ... @@ -611,6 +611,15 @@ 611 611 612 612 == 2.4 Uplink Payload == 613 613 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 + 614 614 === 2.4.1 Device Payload, FPORT~=5 === 615 615 616 616 ... ... @@ -690,15 +690,15 @@ 690 690 691 691 * Periodically Uplink: FPORT=2 692 692 693 -(% border="1" cellspacing="4" style="background-color:#f7faff; width:50 0px" %)694 -| =(% style="width:0px;" %)(((697 +(% border="1" cellspacing="4" style="background-color:#f7faff; width:510px" %) 698 +|(% style="width:93px" %)((( 695 695 **Size(bytes)** 696 -)))| =(% style="width:0px;" %)**2**|=(% style="width:90px;" %)**1**|=(% style="width:0px;" %)**Length depends on the return from the commands**700 +)))|(% style="width:83px" %)**2**|(% style="width:70px" %)**1**|(% style="width:234px" %)**Length depends on the return from the commands** 697 697 |(% style="width:93px" %)**Value**|(% style="width:83px" %)((( 698 698 Battery(mV) 699 699 & 700 700 Interrupt_Flag 701 -)))|(% style="width: 91px" %)[[PAYLOAD_VER>>||anchor="H3.6Setthepayloadversion"]]|(% style="width:212px" %)(((705 +)))|(% style="width:70px" %)[[PAYLOAD_VER>>||anchor="H3.6Setthepayloadversion"]]|(% style="width:234px" %)((( 702 702 If the valid payload is too long and exceed the maximum support. 703 703 Payload length in server,server will show payload not provided in the LoRaWAN server. 704 704 ))) ... ... @@ -730,7 +730,6 @@ 730 730 731 731 === 2.4.5 Payload version === 732 732 733 -The version number of the payload, mainly used for decoding. The default is 01. 734 734 735 735 736 736 === 2.4.6 Decode payload in The Things Network === ... ... @@ -751,86 +751,18 @@ 751 751 752 752 The SDI-12-LB by default uplink the sensor data every 20 minutes. User can change this interval by AT Command or LoRaWAN Downlink Command. See this link: 753 753 754 -[[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]] 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]]]] 755 755 756 756 757 -== 2.6 Examples To Set SDIcommands.==760 +== 2.6 Frequency Plans == 758 758 759 -=== 2.6.1 Examples 1 === 760 760 761 - 762 -COM port and SDI-12 sensor communication converted to SDI-12-LB and SDI-12 sensor communication. 763 - 764 -[[image:image-20230222143809-1.png||height="564" width="729"]] 765 - 766 - 767 -(% style="color:blue" %)**1) The AT+COMMANDx command is applied to the red arrow part, and sends the SDI12 command to the SDI12 sensor:** 768 - 769 -a. Send the first command and get the first reply: 770 - 771 -(% style="color:#037691" %)**AT+COMMANDx=1I!,0,0,1** 772 - 773 -b. Send the second command and get the second reply: 774 - 775 -(% style="color:#037691" %)**AT+COMMANDx=2I!,0,0,1** 776 - 777 -c. Send the third command and get the third reply: 778 - 779 -(% style="color:#037691" %)**AT+COMMANDx=3I!,0,0,1** 780 - 781 -d. Send the fourth command and get the fourth reply: 782 - 783 -(% style="color:#037691" %)**AT+COMMANDx=4I!,0,0,1** 784 - 785 -e. Send the fifth command plus the sixth command, get the sixth reply: 786 - 787 -(% style="color:#037691" %)**AT+COMMANDx=1M!,2,1,1** 788 - 789 -f. Send the seventh command plus the eighth command, get the eighth reply: 790 - 791 -(% style="color:#037691" %)**AT+COMMANDx=2M!,2,1,1** 792 - 793 -g. Send the ninth command plus the tenth command, get the tenth reply: 794 - 795 -(% style="color:#037691" %)**AT+COMMANDx=3M!,1,1,1** 796 - 797 -h. Send the eleventh command plus the twelfth command, get the twelfth reply: 798 - 799 -(% style="color:#037691" %)**AT+COMMANDx=4M!,1,1,1** 800 - 801 - 802 -(% style="color:blue" %)**2) The AT+DATACUTx command is applied to the green arrow part, receiving and cut out data from the SDI12 sensor:** 803 - 804 -a. The first reply, all 34 characters: ”113TRUEBNERSMT100038220303182331<CR><LF>” 805 - 806 -Cut out all characters: (% style="color:#037691" %)**AT+ALLDATAMOD=1 or AT+DATACUTx=34,2,1~~34**; 807 - 808 -b. The sixth reply, all 31 characters:”1+19210+1.04+0.00+22.49+11.75<CR><LF>” 809 - 810 -Cut out all characters: (% style="color:#037691" %)**AT+ALLDATAMOD=1 or AT+DATACUTx=31,2,1~~31**; 811 - 812 -c. The eighth reply, all 31 characters:”2+18990+1.08+0.00+22.24+11.80<CR><LF>” 813 - 814 -Cut out all characters: (% style="color:#037691" %)**AT+ALLDATAMOD=1 or AT+DATACUTx=31,2,1~~31**; 815 - 816 -d. The tenth reply, all 15 characters:”3-2919.8+24.0<CR><LF>” 817 - 818 -Cut out all characters: (% style="color:#037691" %)**AT+ALLDATAMOD=1 or AT+DATACUTx=15,2,1~~15**; 819 - 820 -e. The twelfth reply, all 25 characters:”4+30.8+22.84+4.7+954.38<CR><LF>” 821 - 822 -Partial cut, the cut sensor address and the first two parameters:(% style="color:#037691" %)**AT+DATACUTx=25,2,1~~12, cut out the character field ” 4+30.8+22.84”**. 823 - 824 - 825 -== 2.7 Frequency Plans == 826 - 827 - 828 828 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. 829 829 830 830 [[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/]] 831 831 832 832 833 -== 2. 8Firmware Change Log ==768 +== 2.7 Firmware Change Log == 834 834 835 835 836 836 **Firmware download link:** ... ... @@ -837,6 +837,7 @@ 837 837 838 838 [[https:~~/~~/www.dropbox.com/sh/qrbgbikb109lkiv/AACBR-v_ZhZAMengcY7Nsa1ja?dl=0>>https://www.dropbox.com/sh/qrbgbikb109lkiv/AACBR-v_ZhZAMengcY7Nsa1ja?dl=0]] 839 839 775 + 840 840 841 841 = 3. Configure SDI-12-LB via AT Command or LoRaWAN Downlink = 842 842 ... ... @@ -865,7 +865,7 @@ 865 865 These commands only valid for SDI-12-LB, as below: 866 866 867 867 868 -== 3.1 Set Transmit Interval Time == 804 +== 3.1 Set Transmit Interval Time == 869 869 870 870 871 871 Feature: Change LoRaWAN End Node Transmit Interval. ... ... @@ -894,8 +894,6 @@ 894 894 * Example 1: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds 895 895 * Example 2: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 896 896 897 - 898 - 899 899 == 3.2 Set Interrupt Mode == 900 900 901 901 ... ... @@ -908,14 +908,14 @@ 908 908 |(% style="width:156px" %)AT+INTMOD=?|(% style="width:187px" %)Show current interrupt mode|(% style="width:165px" %)((( 909 909 0 910 910 OK 911 -the mode is 0 = DisableInterrupt845 +the mode is 0 = No interruption 912 912 ))) 913 913 |(% style="width:156px" %)AT+INTMOD=2|(% style="width:187px" %)((( 914 914 Set Transmit Interval 915 - 0. (Disable Interrupt),916 - ~1. (Trigger by rising and falling edge)917 - 2. (Trigger by falling edge)918 - 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) 919 919 )))|(% style="width:165px" %)OK 920 920 921 921 (% style="color:blue" %)**Downlink Command: 0x06** ... ... @@ -927,8 +927,6 @@ 927 927 * Example 1: Downlink Payload: 06000000 ~/~/ Turn off interrupt mode 928 928 * Example 2: Downlink Payload: 06000003 ~/~/ Set the interrupt mode to rising edge trigger 929 929 930 - 931 - 932 932 == 3.3 Set the output time == 933 933 934 934 ... ... @@ -998,8 +998,6 @@ 998 998 * Example 5: Downlink Payload: 070301F4 **~-~-->** AT+12VT=500 999 999 * Example 6: Downlink Payload: 07030000 **~-~-->** AT+12VT=0 1000 1000 1001 - 1002 - 1003 1003 == 3.4 Set the all data mode == 1004 1004 1005 1005 ... ... @@ -1022,8 +1022,6 @@ 1022 1022 * Example 1: Downlink Payload: AB 00 ~/~/ AT+ALLDATAMOD=0 1023 1023 * Example 2: Downlink Payload: AB 01 ~/~/ AT+ALLDATAMOD=1 1024 1024 1025 - 1026 - 1027 1027 == 3.5 Set the splicing payload for uplink == 1028 1028 1029 1029 ... ... @@ -1060,7 +1060,6 @@ 1060 1060 1061 1061 == 3.6 Set the payload version == 1062 1062 1063 - 1064 1064 Feature, Set the payload version. 1065 1065 1066 1066 (% style="color:blue" %)**AT Command: AT+PAYVER** ... ... @@ -1080,8 +1080,6 @@ 1080 1080 * Example 1: Downlink Payload: AE 01 ~/~/ AT+PAYVER=1 1081 1081 * Example 2: Downlink Payload: AE 05 ~/~/ AT+PAYVER=5 1082 1082 1083 - 1084 - 1085 1085 = 4. Battery & how to replace = 1086 1086 1087 1087 == 4.1 Battery Type == ... ... @@ -1196,15 +1196,10 @@ 1196 1196 = 8. Order Info = 1197 1197 1198 1198 1199 -((( 1200 1200 (% style="color:blue" %)**Part Number: SDI-12-LB-XXX** 1201 -))) 1202 1202 1203 -((( 1204 1204 XXX: The default frequency band 1205 -))) 1206 1206 1207 -((( 1208 1208 (% style="color:red" %)**AS923**(%%): LoRaWAN AS923 band 1209 1209 (% style="color:red" %)**AU915**(%%): LoRaWAN AU915 band 1210 1210 (% style="color:red" %)**EU433**(%%): LoRaWAN EU433 band ... ... @@ -1213,7 +1213,6 @@ 1213 1213 (% style="color:red" %)**US915**(%%): LoRaWAN US915 band 1214 1214 (% style="color:red" %)**IN865**(%%): LoRaWAN IN865 band 1215 1215 (% style="color:red" %)**CN470**(%%): LoRaWAN CN470 band 1216 -))) 1217 1217 1218 1218 1219 1219 = 9. Packing Info = ... ... @@ -1230,8 +1230,6 @@ 1230 1230 * Package Size / pcs : cm 1231 1231 * Weight / pcs : g 1232 1232 1233 - 1234 - 1235 1235 = 10. Support = 1236 1236 1237 1237
- image-20230222143809-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -322.1 KB - Content