<
From version < 31.5 >
edited by Xiaoling
on 2022/06/06 17:23
To version < 35.7 >
edited by Xiaoling
on 2022/06/14 14:03
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,18 +1,24 @@
1 1  (% style="text-align:center" %)
2 -[[image:image-20220606151504-2.jpeg||height="848" width="848"]]
2 +[[image:image-20220606151504-2.jpeg||height="554" width="554"]]
3 3  
4 4  
5 5  
6 +**Table of Contents:**
6 6  
8 +{{toc/}}
7 7  
8 8  
9 9  
10 10  
13 +
14 +
11 11  = 1. Introduction =
12 12  
13 13  == 1.1 ​What is LoRaWAN Soil Moisture & EC Sensor ==
14 14  
15 15  (((
20 +
21 +
16 16  The Dragino LSE01 is a (% style="color:#4f81bd" %)**LoRaWAN Soil Moisture & EC Sensor**(%%) for IoT of Agriculture. It is designed to measure the soil moisture of saline-alkali soil and loamy soil. The soil sensor uses FDR method to calculate the soil moisture with the compensation from soil temperature and conductivity. It also has been calibrated in factory for Mineral soil type.
17 17  )))
18 18  
... ... @@ -54,6 +54,9 @@
54 54  * IP66 Waterproof Enclosure
55 55  * 4000mAh or 8500mAh Battery for long term use
56 56  
63 +
64 +
65 +
57 57  == 1.3 Specification ==
58 58  
59 59  Measure Volume: Base on the centra pin of the probe, a cylinder with 7cm diameter and 10cm height.
... ... @@ -85,7 +85,7 @@
85 85  )))
86 86  
87 87  (((
88 -In case you can’t set the OTAA keys in the LoRaWAN OTAA server, and you have to use the keys from the server, you can [[use AT Commands >>||anchor="H3.UsingtheATCommands"]].
97 +In case you can’t set the OTAA keys in the LoRaWAN OTAA server, and you have to use the keys from the server, you can [[use AT Commands >>||anchor="H3.200BUsingtheATCommands"]].
89 89  )))
90 90  
91 91  
... ... @@ -101,7 +101,7 @@
101 101  The LG308 is already set to connected to [[TTN network >>url:https://console.cloud.thethings.network/]], so what we need to now is configure the TTN server.
102 102  
103 103  
104 -**Step 1**: Create a device in TTN with the OTAA keys from LSE01.
113 +**(% style="color:blue" %)Step 1**(%%):  Create a device in TTN with the OTAA keys from LSE01.
105 105  
106 106  Each LSE01 is shipped with a sticker with the default device EUI as below:
107 107  
... ... @@ -122,7 +122,7 @@
122 122  
123 123  
124 124  
125 -**Step 2**: Power on LSE01
134 +**(% style="color:blue" %)Step 2**(%%): Power on LSE01
126 126  
127 127  
128 128  Put a Jumper on JP2 to power on the device. ( The Jumper must be in FLASH position).
... ... @@ -130,7 +130,7 @@
130 130  [[image:image-20220606163915-7.png]]
131 131  
132 132  
133 -**Step 3:** The LSE01 will auto join to the TTN network. After join success, it will start to upload messages to TTN and you can see the messages in the panel.
142 +**(% style="color:blue" %)Step 3(%%):** The LSE01 will auto join to the TTN network. After join success, it will start to upload messages to TTN and you can see the messages in the panel.
134 134  
135 135  [[image:1654504778294-788.png]]
136 136  
... ... @@ -138,86 +138,105 @@
138 138  
139 139  == 2.3 Uplink Payload ==
140 140  
150 +
151 +
141 141  === 2.3.1 MOD~=0(Default Mode) ===
142 142  
143 143  LSE01 will uplink payload via LoRaWAN with below payload format: 
144 144  
145 -
156 +(((
146 146  Uplink payload includes in total 11 bytes.
147 -
158 +)))
148 148  
160 +(% border="1" cellspacing="10" style="background-color:#ffffcc; width:500px" %)
149 149  |(((
150 150  **Size**
151 151  
152 152  **(bytes)**
153 153  )))|**2**|**2**|**2**|**2**|**2**|**1**
154 -|**Value**|[[BAT>>path:#bat]]|(((
166 +|**Value**|[[BAT>>||anchor="H2.3.3BatteryInfo"]]|(((
155 155  Temperature
156 156  
157 157  (Reserve, Ignore now)
158 -)))|[[Soil Moisture>>path:#soil_moisture]]|[[Soil Temperature>>path:#soil_tem]]|[[Soil Conductivity (EC)>>path:#EC]]|(((
170 +)))|[[Soil Moisture>>||anchor="H2.3.4SoilMoisture"]]|[[Soil Temperature>>||anchor="H2.3.5SoilTemperature"]]|[[Soil Conductivity (EC)>>||anchor="H2.3.6SoilConductivity28EC29"]]|(((
159 159  MOD & Digital Interrupt
160 160  
161 161  (Optional)
162 162  )))
163 163  
164 -[[image:1654504881641-514.png]]
165 -
166 -
167 -
168 168  === 2.3.2 MOD~=1(Original value) ===
169 169  
170 170  This mode can get the original AD value of moisture and original conductivity (with temperature drift compensation).
171 171  
180 +(% border="1" cellspacing="10" style="background-color:#ffffcc; width:500px" %)
172 172  |(((
173 173  **Size**
174 174  
175 175  **(bytes)**
176 176  )))|**2**|**2**|**2**|**2**|**2**|**1**
177 -|**Value**|[[BAT>>path:#bat]]|(((
186 +|**Value**|[[BAT>>||anchor="H2.3.3BatteryInfo"]]|(((
178 178  Temperature
179 179  
180 180  (Reserve, Ignore now)
181 -)))|[[Soil Moisture>>path:#soil_moisture]](raw)|[[Soil Temperature>>path:#soil_tem]]|[[Soil Conductivity (EC)>>path:#EC]](raw)|(((
190 +)))|[[Soil Moisture>>||anchor="H2.3.4SoilMoisture"]](raw)|[[Soil Temperature>>||anchor="H2.3.5SoilTemperature"]]|[[Soil Conductivity (EC)>>||anchor="H2.3.6SoilConductivity28EC29"]](raw)|(((
182 182  MOD & Digital Interrupt
183 183  
184 184  (Optional)
185 185  )))
186 186  
187 -[[image:1654504907647-967.png]]
188 -
189 -
190 -
191 191  === 2.3.3 Battery Info ===
192 192  
198 +(((
193 193  Check the battery voltage for LSE01.
200 +)))
194 194  
202 +(((
195 195  Ex1: 0x0B45 = 2885mV
204 +)))
196 196  
206 +(((
197 197  Ex2: 0x0B49 = 2889mV
208 +)))
198 198  
199 199  
200 200  
201 201  === 2.3.4 Soil Moisture ===
202 202  
214 +(((
203 203  Get the moisture content of the soil. The value range of the register is 0-10000(Decimal), divide this value by 100 to get the percentage of moisture in the soil.
216 +)))
204 204  
218 +(((
205 205  For example, if the data you get from the register is __0x05 0xDC__, the moisture content in the soil is
220 +)))
206 206  
222 +(((
223 +
224 +)))
207 207  
226 +(((
208 208  (% style="color:#4f81bd" %)**05DC(H) = 1500(D) /100 = 15%.**
228 +)))
209 209  
210 210  
211 211  
212 212  === 2.3.5 Soil Temperature ===
213 213  
234 +(((
214 214   Get the temperature in the soil. The value range of the register is -4000 - +800(Decimal), divide this value by 100 to get the temperature in the soil. For example, if the data you get from the register is 0x09 0xEC, the temperature content in the soil is
236 +)))
215 215  
238 +(((
216 216  **Example**:
240 +)))
217 217  
242 +(((
218 218  If payload is 0105H: ((0x0105 & 0x8000)>>15 === 0),temp = 0105(H)/100 = 2.61 °C
244 +)))
219 219  
246 +(((
220 220  If payload is FF7EH: ((FF7E & 0x8000)>>15 ===1),temp = (FF7E(H)-FFFF(H))/100 = -1.29 °C
248 +)))
221 221  
222 222  
223 223  
... ... @@ -252,7 +252,7 @@
252 252  mod=(bytes[10]>>7)&0x01=1.
253 253  
254 254  
255 -Downlink Command:
283 +**Downlink Command:**
256 256  
257 257  If payload = 0x0A00, workmode=0
258 258  
... ... @@ -267,19 +267,22 @@
267 267  
268 268  [[image:1654505570700-128.png]]
269 269  
298 +(((
270 270  The payload decoder function for TTN is here:
300 +)))
271 271  
302 +(((
272 272  LSE01 TTN Payload Decoder: [[http:~~/~~/www.dragino.com/downloads/index.php?dir=LoRa_End_Node/LSE01/Payload_Decoder/>>url:http://www.dragino.com/downloads/index.php?dir=LoRa_End_Node/LSE01/Payload_Decoder/]]
304 +)))
273 273  
274 274  
307 +
275 275  == 2.4 Uplink Interval ==
276 276  
277 -The LSE01 by default uplink the sensor data every 20 minutes. User can change this interval by AT Command or LoRaWAN Downlink Command. See this link:
310 +The LSE01 by default uplink the sensor data every 20 minutes. User can change this interval by AT Command or LoRaWAN Downlink Command. See this link: [[Change Uplink Interval>>doc:Main.End Device AT Commands and Downlink Command.WebHome||anchor="H4.1ChangeUplinkInterval"]]
278 278  
279 -[[http:~~/~~/wiki.dragino.com/index.php?title=End_Device_AT_Commands_and_Downlink_Commands#Change_Uplink_Interval>>url:http://wiki.dragino.com/index.php?title=End_Device_AT_Commands_and_Downlink_Commands#Change_Uplink_Interval]]
280 280  
281 281  
282 -
283 283  == 2.5 Downlink Payload ==
284 284  
285 285  By default, LSE50 prints the downlink payload to console port.
... ... @@ -287,21 +287,41 @@
287 287  [[image:image-20220606165544-8.png]]
288 288  
289 289  
321 +(((
290 290  **Examples:**
323 +)))
291 291  
325 +(((
326 +
327 +)))
292 292  
293 -* **Set TDC**
329 +* (((
330 +**Set TDC**
331 +)))
294 294  
333 +(((
295 295  If the payload=0100003C, it means set the END Node’s TDC to 0x00003C=60(S), while type code is 01.
335 +)))
296 296  
337 +(((
297 297  Payload:    01 00 00 1E    TDC=30S
339 +)))
298 298  
341 +(((
299 299  Payload:    01 00 00 3C    TDC=60S
343 +)))
300 300  
345 +(((
346 +
347 +)))
301 301  
302 -* **Reset**
349 +* (((
350 +**Reset**
351 +)))
303 303  
353 +(((
304 304  If payload = 0x04FF, it will reset the LSE01
355 +)))
305 305  
306 306  
307 307  * **CFM**
... ... @@ -312,12 +312,21 @@
312 312  
313 313  == 2.6 ​Show Data in DataCake IoT Server ==
314 314  
366 +(((
315 315  [[DATACAKE>>url:https://datacake.co/]] provides a human friendly interface to show the sensor data, once we have data in TTN, we can use [[DATACAKE>>url:https://datacake.co/]] to connect to TTN and see the data in DATACAKE. Below are the steps:
368 +)))
316 316  
370 +(((
371 +
372 +)))
317 317  
374 +(((
318 318  **Step 1**: Be sure that your device is programmed and properly connected to the network at this time.
376 +)))
319 319  
378 +(((
320 320  **Step 2**: To configure the Application to forward data to DATACAKE you will need to add integration. To add the DATACAKE integration, perform the following steps:
380 +)))
321 321  
322 322  
323 323  [[image:1654505857935-743.png]]
... ... @@ -625,7 +625,6 @@
625 625  * Solid ON for 5 seconds once device successful Join the network.
626 626  * Blink once when device transmit a packet.
627 627  
628 -
629 629  == 2.9 Installation in Soil ==
630 630  
631 631  **Measurement the soil surface**
... ... @@ -634,31 +634,52 @@
634 634  [[image:1654506634463-199.png]] ​
635 635  
636 636  (((
696 +(((
637 637  Choose the proper measuring position. Avoid the probe to touch rocks or hard things. Split the surface soil according to the measured deep. Keep the measured as original density. Vertical insert the probe into the soil to be measured. Make sure not shake when inserting.
638 638  )))
699 +)))
639 639  
640 640  
641 -
642 642  [[image:1654506665940-119.png]]
643 643  
704 +(((
644 644  Dig a hole with diameter > 20CM.
706 +)))
645 645  
708 +(((
646 646  Horizontal insert the probe to the soil and fill the hole for long term measurement.
710 +)))
647 647  
648 648  
649 649  == 2.10 ​Firmware Change Log ==
650 650  
715 +(((
651 651  **Firmware download link:**
717 +)))
652 652  
719 +(((
653 653  [[http:~~/~~/www.dragino.com/downloads/index.php?dir=LoRa_End_Node/LSE01/Firmware/>>url:http://www.dragino.com/downloads/index.php?dir=LoRa_End_Node/LSE01/Firmware/]]
721 +)))
654 654  
723 +(((
724 +
725 +)))
655 655  
727 +(((
656 656  **Firmware Upgrade Method: **[[Firmware Upgrade Instruction>>doc:Main.Firmware Upgrade Instruction for STM32 base products.WebHome]]
729 +)))
657 657  
731 +(((
732 +
733 +)))
658 658  
735 +(((
659 659  **V1.0.**
737 +)))
660 660  
739 +(((
661 661  Release
741 +)))
662 662  
663 663  
664 664  == 2.11 ​Battery Analysis ==
... ... @@ -665,15 +665,19 @@
665 665  
666 666  === 2.11.1 ​Battery Type ===
667 667  
748 +(((
668 668  The LSE01 battery is a combination of a 4000mAh Li/SOCI2 Battery and a Super Capacitor. The battery is non-rechargeable battery type with a low discharge rate (<2% per year). This type of battery is commonly used in IoT devices such as water meter.
750 +)))
669 669  
670 -
752 +(((
671 671  The battery is designed to last for more than 5 years for the LSN50.
754 +)))
672 672  
673 -
674 674  (((
757 +(((
675 675  The battery-related documents are as below:
676 676  )))
760 +)))
677 677  
678 678  * (((
679 679  [[Battery Dimension>>url:http://www.dragino.com/downloads/index.php?dir=datasheet/Battery/&file=LSN50-Battery-Dimension.pdf]],
... ... @@ -685,7 +685,7 @@
685 685  [[Lithium-ion Battery-Capacitor datasheet>>url:http://www.dragino.com/downloads/downloads/datasheet/Battery/SPC_1520_datasheet.jpg]], [[Tech Spec>>url:http://www.dragino.com/downloads/downloads/datasheet/Battery/SPC1520%20Technical%20Specification20171123.pdf]]
686 686  )))
687 687  
688 - [[image:image-20220606171726-9.png]]
772 + [[image:image-20220610172436-1.png]]
689 689  
690 690  
691 691  
... ... @@ -720,13 +720,13 @@
720 720  
721 721  LSE01 supports AT Command set in the stock firmware. You can use a USB to TTL adapter to connect to LSE01 for using AT command, as below.
722 722  
723 -[[image:1654501986557-872.png]]
807 +[[image:1654501986557-872.png||height="391" width="800"]]
724 724  
725 725  
726 726  Or if you have below board, use below connection:
727 727  
728 728  
729 -[[image:1654502005655-729.png]]
813 +[[image:1654502005655-729.png||height="503" width="801"]]
730 730  
731 731  
732 732  
... ... @@ -733,7 +733,7 @@
733 733  In the PC, you need to set the serial baud rate to (% style="color:green" %)**9600**(%%) to access the serial console for LSE01. LSE01 will output system info once power on as below:
734 734  
735 735  
736 - [[image:1654502050864-459.png]]
820 + [[image:1654502050864-459.png||height="564" width="806"]]
737 737  
738 738  
739 739  Below are the available commands, a more detailed AT Command manual can be found at [[AT Command Manual>>url:http://www.dragino.com/downloads/index.php?dir=LoRa_End_Node/LSE01/]]: [[http:~~/~~/www.dragino.com/downloads/index.php?dir=LoRa_End_Node/LSE01/>>url:http://www.dragino.com/downloads/index.php?dir=LoRa_End_Node/LSE01/]]
... ... @@ -848,20 +848,38 @@
848 848  
849 849  == 4.1 ​How to change the LoRa Frequency Bands/Region? ==
850 850  
851 -You can follow the instructions for [[how to upgrade image>>path:#3ygebqi]].
935 +(((
936 +You can follow the instructions for [[how to upgrade image>>||anchor="H2.10200BFirmwareChangeLog"]].
852 852  When downloading the images, choose the required image file for download. ​
938 +)))
853 853  
940 +(((
941 +
942 +)))
854 854  
944 +(((
855 855  How to set up LSE01 to work in 8 channel mode By default, the frequency bands US915, AU915, CN470 work in 72 frequencies. Many gateways are 8 channel gateways, and in this case, the OTAA join time and uplink schedule is long and unpredictable while the end node is hopping in 72 frequencies.
946 +)))
856 856  
948 +(((
949 +
950 +)))
857 857  
952 +(((
858 858  You can configure the end node to work in 8 channel mode by using the AT+CHE command. The 500kHz channels are always included for OTAA.
954 +)))
859 859  
956 +(((
957 +
958 +)))
860 860  
960 +(((
861 861  For example, in **US915** band, the frequency table is as below. By default, the end node will use all channels (0~~71) for OTAA Join process. After the OTAA Join, the end node will use these all channels (0~~71) to send uplink packets.
962 +)))
862 862  
863 863  [[image:image-20220606154726-3.png]]
864 864  
966 +
865 865  When you use the TTN network, the US915 frequency bands use are:
866 866  
867 867  * 903.9 - SF7BW125 to SF10BW125
... ... @@ -874,7 +874,9 @@
874 874  * 905.3 - SF7BW125 to SF10BW125
875 875  * 904.6 - SF8BW500
876 876  
979 +(((
877 877  Because the end node is now hopping in 72 frequency, it makes it difficult for the devices to Join the TTN network and uplink data. To solve this issue, you can access the device via the AT commands and run:
981 +)))
878 878  
879 879  (% class="box infomessage" %)
880 880  (((
... ... @@ -886,10 +886,17 @@
886 886  **ATZ**
887 887  )))
888 888  
993 +(((
889 889  to set the end node to work in 8 channel mode. The device will work in Channel 8-15 & 64-71 for OTAA, and channel 8-15 for Uplink.
995 +)))
890 890  
997 +(((
998 +
999 +)))
891 891  
1001 +(((
892 892  The **AU915** band is similar. Below are the AU915 Uplink Channels.
1003 +)))
893 893  
894 894  [[image:image-20220606154825-4.png]]
895 895  
... ... @@ -904,7 +904,9 @@
904 904  
905 905  == 5.2 AT Command input doesn’t work ==
906 906  
1018 +(((
907 907  In the case if user can see the console output but can’t type input to the device. Please check if you already include the (% style="color:green" %)**ENTER**(%%) while sending out the command. Some serial tool doesn’t send (% style="color:green" %)**ENTER**(%%) while press the send key, user need to add ENTER in their string.
1020 +)))
908 908  
909 909  
910 910  == 5.3 Device rejoin in at the second uplink packet ==
... ... @@ -916,7 +916,9 @@
916 916  
917 917  (% style="color:#4f81bd" %)**Cause for this issue:**
918 918  
1032 +(((
919 919  The fuse on LSE01 is not large enough, some of the soil probe require large current up to 5v 800mA, in a short pulse. When this happen, it cause the device reboot so user see rejoin.
1034 +)))
920 920  
921 921  
922 922  (% style="color:#4f81bd" %)**Solution: **
... ... @@ -923,7 +923,7 @@
923 923  
924 924  All new shipped LSE01 after 2020-May-30 will have this to fix. For the customer who see this issue, please bypass the fuse as below:
925 925  
926 -[[image:1654500929571-736.png]]
1041 +[[image:1654500929571-736.png||height="458" width="832"]]
927 927  
928 928  
929 929  = 6. ​Order Info =
... ... @@ -948,10 +948,17 @@
948 948  * (% style="color:red" %)**4**(%%): 4000mAh battery
949 949  * (% style="color:red" %)**8**(%%): 8500mAh battery
950 950  
1066 +(% class="wikigeneratedid" %)
1067 +(((
1068 +
1069 +)))
1070 +
951 951  = 7. Packing Info =
952 952  
953 953  (((
954 -**Package Includes**:
1074 +
1075 +
1076 +(% style="color:#037691" %)**Package Includes**:
955 955  )))
956 956  
957 957  * (((
... ... @@ -960,10 +960,8 @@
960 960  
961 961  (((
962 962  
963 -)))
964 964  
965 -(((
966 -**Dimension and weight**:
1086 +(% style="color:#037691" %)**Dimension and weight**:
967 967  )))
968 968  
969 969  * (((
... ... @@ -977,6 +977,8 @@
977 977  )))
978 978  * (((
979 979  Weight / pcs : g
1100 +
1101 +
980 980  )))
981 981  
982 982  = 8. Support =
... ... @@ -983,5 +983,3 @@
983 983  
984 984  * Support is provided Monday to Friday, from 09:00 to 18:00 GMT+8. Due to different timezones we cannot offer live support. However, your questions will be answered as soon as possible in the before-mentioned schedule.
985 985  * Provide as much information as possible regarding your enquiry (product models, accurately describe your problem and steps to replicate it etc) and send a mail to [[support@dragino.com>>url:http://../../../../../../D:%5C%E5%B8%82%E5%9C%BA%E8%B5%84%E6%96%99%5C%E8%AF%B4%E6%98%8E%E4%B9%A6%5CLoRa%5CLT%E7%B3%BB%E5%88%97%5Csupport@dragino.com]]
986 -
987 -
image-20220610172436-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +370.3 KB
Content
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0