Last modified by Xiaoling on 2025/04/25 14:08

From version 74.22
edited by Xiaoling
on 2022/06/07 17:58
Change comment: There is no comment for this version
To version 90.6
edited by Xiaoling
on 2022/06/25 16:55
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -4,7 +4,7 @@
4 4  
5 5  
6 6  
7 -**Contents:**
7 +**Table of Contents:**
8 8  
9 9  * [[1. Introduction>>path:#H1.Introduction]]
10 10  ** [[1.1 ​What is LoRaWAN Soil pH Sensor>>path:#H1.1200BWhatisLoRaWANSoilpHSensor]]
... ... @@ -61,17 +61,13 @@
61 61  * [[9. ​Packing Info>>path:#H9.200BPackingInfo]]
62 62  * [[10. ​Support>>path:#H10.A0200BSupport]]
63 63  
64 -
65 -
66 -
67 -
68 -
69 -
70 70  = 1. Introduction =
71 71  
72 72  == 1.1 ​What is LoRaWAN Soil pH Sensor ==
73 73  
74 74  (((
69 +
70 +
75 75  The Dragino LSPH01 is a (% style="color:#4f81bd" %)**LoRaWAN Soil pH Sensor**(%%) for IoT of Agriculture. It is designed to measure the soil PH and soil temperature, so to send to the platform to analyze the soil acid or alkali level. The probe is IP68 waterproof.
76 76  )))
77 77  
... ... @@ -96,6 +96,7 @@
96 96  
97 97  
98 98  
95 +
99 99  == ​1.2 Features ==
100 100  
101 101  * LoRaWAN 1.0.3 Class A
... ... @@ -112,7 +112,6 @@
112 112  * IP68 rate for the Sensor Probe
113 113  * 8500mAh Battery for long term use
114 114  
115 -
116 116  == 1.3 Probe Specification ==
117 117  
118 118  
... ... @@ -133,12 +133,10 @@
133 133  * IP68 Protection
134 134  * Length: 3.5 meters
135 135  
136 -
137 137  == 1.4 ​Applications ==
138 138  
139 139  * Smart Agriculture
140 140  
141 -
142 142  == 1.5 Pin mapping and power on ==
143 143  
144 144  [[image:1654592472094-134.png]]
... ... @@ -154,7 +154,7 @@
154 154  )))
155 155  
156 156  (((
157 -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 >>path:#H5.UseATCommand]]to set the keys in the LSPH01.
151 +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="H5.UseATCommand"]]to set the keys in the LSPH01.
158 158  )))
159 159  
160 160  
... ... @@ -166,10 +166,14 @@
166 166  
167 167  (((
168 168  [[image:1654592492399-921.png]]
163 +
164 +
169 169  )))
170 170  
171 171  (((
172 172  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.
169 +
170 +
173 173  )))
174 174  
175 175  (((
... ... @@ -193,11 +193,13 @@
193 193  [[image:1654592600093-601.png]]
194 194  
195 195  
194 +
196 196  **Add APP EUI and DEV EUI**
197 197  
198 198  [[image:1654592619856-881.png]]
199 199  
200 200  
200 +
201 201  **Add APP EUI in the application**
202 202  
203 203  [[image:1654592632656-512.png]]
... ... @@ -240,19 +240,17 @@
240 240  )))
241 241  
242 242  (% border="1" cellspacing="10" style="background-color:#ffffcc; width:510px" %)
243 -|(((
244 -**Size**
243 +|=(% style="width: 62.5px;" %)(((
244 +**Size (bytes)**
245 +)))|=(% style="width: 62.5px;" %)**2**|=(% style="width: 62.5px;" %)**2**|=**2**|=**2**|=**1**|=**1**|=**1**
246 +|(% style="width:62.5px" %)**Value**|(% style="width:62.5px" %)[[BAT>>||anchor="H2.3.1BatteryInfo"]]|(% style="width:62.5px" %)(((
247 +[[Temperature>>||anchor="H2.3.2DS18B20Temperaturesensor"]]
245 245  
246 -**(bytes)**
247 -)))|**2**|**2**|**2**|**2**|**1**|**1**|**1**
248 -|**Value**|[[BAT>>path:#H2.3.1BatteryInfo]]|(((
249 -[[Temperature>>path:#H2.3.2DS18B20Temperaturesensor]]
250 -
251 -[[(Optional)>>path:#H2.3.2DS18B20Temperaturesensor]]
252 -)))|[[Soil pH>>path:#H2.3.3SoilpH]]|[[Soil Temperature>>path:#H2.3.4SoilTemperature]]|(((
253 -[[Digital Interrupt (Optional)>>path:#H2.3.5InterruptPin]]
249 +[[(Optional)>>||anchor="H2.3.2DS18B20Temperaturesensor"]]
250 +)))|[[Soil pH>>||anchor="H2.3.3SoilpH"]]|[[Soil Temperature>>||anchor="H2.3.4SoilTemperature"]]|(((
251 +[[Digital Interrupt (Optional)>>||anchor="H2.3.5InterruptPin"]]
254 254  )))|Reserve|(((
255 -[[Message Type>>path:#H2.3.6MessageType]]
253 +[[Message Type>>||anchor="H2.3.6MessageType"]]
256 256  )))
257 257  
258 258  [[image:1654592721645-318.png]]
... ... @@ -308,7 +308,7 @@
308 308  
309 309  === 2.3.5 Interrupt Pin ===
310 310  
311 -This data field shows if this packet is generated by interrupt or not. [[Click here>>path:#H3.2SetInterruptMode]] for the hardware and software set up.
309 +This data field shows if this packet is generated by interrupt or not. [[Click here>>||anchor="H3.2SetInterruptMode"]] for the hardware and software set up.
312 312  
313 313  
314 314  **Example:**
... ... @@ -330,14 +330,12 @@
330 330  )))
331 331  
332 332  
333 -(% border="1" cellspacing="10" style="background-color:#ffffcc; width:510px" %)
334 -|=**Message Type Code**|=**Description**|=**Payload**
335 -|0x01|Normal Uplink|[[Normal Uplink Payload>>path:#H2.3200BUplinkPayload]]
336 -|0x02|Reply configures info|[[Configure Info Payload>>path:#H3.4GetFirmwareVersionInfo]]
337 -|0x03|Reply Calibration Info|[[Calibration Payload>>path:#H2.7Calibration]]
331 +(% border="1" cellspacing="10" style="background-color:#ffffcc; width:499px" %)
332 +|=(% style="width: 160px;" %)**Message Type Code**|=(% style="width: 163px;" %)**Description**|=(% style="width: 173px;" %)**Payload**
333 +|(% style="width:160px" %)0x01|(% style="width:163px" %)Normal Uplink|(% style="width:173px" %)[[Normal Uplink Payload>>||anchor="H2.3200BUplinkPayload"]]
334 +|(% style="width:160px" %)0x02|(% style="width:163px" %)Reply configures info|(% style="width:173px" %)[[Configure Info Payload>>||anchor="H3.4GetFirmwareVersionInfo"]]
335 +|(% style="width:160px" %)0x03|(% style="width:163px" %)Reply Calibration Info|(% style="width:173px" %)[[Calibration Payload>>||anchor="H2.7Calibration"]]
338 338  
339 -
340 -
341 341  === 2.3.7 Decode payload in The Things Network ===
342 342  
343 343  While using TTN network, you can add the payload format to decode the payload.
... ... @@ -357,7 +357,7 @@
357 357  
358 358  == 2.4 Uplink Interval ==
359 359  
360 -The LSPH01 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>>path:/xwiki/bin/view/Main/End%20Device%20AT%20Commands%20and%20Downlink%20Command/#H4.1ChangeUplinkInterval]]
356 +The LSPH01 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"]]
361 361  
362 362  
363 363  
... ... @@ -521,11 +521,9 @@
521 521  (% style="color:#037691" %)**Calibration Payload**
522 522  
523 523  (% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:510px" %)
524 -|(((
525 -**Size**
526 -
527 -**(bytes)**
528 -)))|**1**|**1**|**1**|**7**|**1**
520 +|=(% style="width: 62.5px;" %)(((
521 +**Size (bytes)**
522 +)))|=(% style="width: 89px;" %)**1**|=(% style="width: 89px;" %)**1**|=(% style="width: 89px;" %)**1**|=(% style="width: 89px;" %)**7**|=(% style="width: 89px;" %)**1**
529 529  |**Value**|(((
530 530  PH4
531 531  
... ... @@ -535,7 +535,7 @@
535 535  
536 536  Calibrate value
537 537  )))|Reserve|(((
538 -[[Message Type>>path:#H2.3.6MessageType]]
532 +[[Message Type>>||anchor="H2.3.6MessageType"]]
539 539  
540 540  Always 0x03
541 541  )))
... ... @@ -549,7 +549,6 @@
549 549  * Reply to non-confirmed packet: 14 00
550 550  
551 551  
552 -
553 553  == 2.8 Frequency Plans ==
554 554  
555 555  (((
... ... @@ -635,8 +635,6 @@
635 635  * Use the Join successful sub-band if the server doesn’t include sub-band info in the OTAA Join Accept message ( TTN v2 doesn't include)
636 636  
637 637  
638 -
639 -
640 640  === 2.8.3 CN470-510 (CN470) ===
641 641  
642 642  (((
... ... @@ -747,6 +747,10 @@
747 747  * Use the Join successful sub-band if the server doesn’t include sub-band info in the OTAA Join Accept message ( TTN v2 doesn't include)
748 748  
749 749  
741 +
742 +
743 +
744 +
750 750  === 2.8.5 AS920-923 & AS923-925 (AS923) ===
751 751  
752 752  (((
... ... @@ -971,6 +971,10 @@
971 971  * Blink once when device transmit a packet.
972 972  
973 973  
969 +
970 +
971 +
972 +
974 974  == 2.10 ​Firmware Change Log ==
975 975  
976 976  
... ... @@ -990,7 +990,7 @@
990 990  )))
991 991  
992 992  * (((
993 -AT Command Connection: See [[FAQ>>path:#H6.FAQ]].
992 +AT Command Connection: See [[FAQ>>||anchor="H6.FAQ"]].
994 994  )))
995 995  * (((
996 996  LoRaWAN Downlink instruction for different platforms: [[IoT LoRaWAN Server>>path:/xwiki/bin/view/Main/]]
... ... @@ -1042,7 +1042,6 @@
1042 1042  [[image:image-20220607171554-8.png]]
1043 1043  
1044 1044  
1045 -
1046 1046  (((
1047 1047  (% style="color:#037691" %)**Downlink Command: 0x01**
1048 1048  )))
... ... @@ -1060,9 +1060,10 @@
1060 1060  )))
1061 1061  * (((
1062 1062  Example 2: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds
1063 -)))
1064 1064  
1065 1065  
1063 +
1064 +)))
1066 1066  
1067 1067  == 3.2 Set Interrupt Mode ==
1068 1068  
... ... @@ -1070,7 +1070,7 @@
1070 1070  
1071 1071  (% style="color:#037691" %)**AT Command: AT+INTMOD**
1072 1072  
1073 -[[image:image-20220607171716-9.png]]
1072 +[[image:image-20220610105907-1.png]]
1074 1074  
1075 1075  
1076 1076  (((
... ... @@ -1100,7 +1100,7 @@
1100 1100  
1101 1101  == 3.3 Calibrate Sensor ==
1102 1102  
1103 -Detail See [[Calibration Guide>>path:#H2.7Calibration]] for the user of 0x13 and 0x14 downlink commands
1102 +Detail See [[Calibration Guide>>||anchor="H2.7Calibration"]] for the user of 0x13 and 0x14 downlink commands
1104 1104  
1105 1105  
1106 1106  
... ... @@ -1132,14 +1132,14 @@
1132 1132  
1133 1133  Version
1134 1134  )))|Sensor Type|Reserve|(((
1135 -[[Message Type>>path:#H2.3.6MessageType]]
1134 +[[Message Type>>||anchor="H2.3.6MessageType"]]
1136 1136  Always 0x02
1137 1137  )))
1138 1138  
1139 -**Software Type**: Always 0x03 for LSPH01
1138 +(% style="color:#037691" %)**Software Type**(%%): Always 0x03 for LSPH01
1140 1140  
1141 1141  
1142 -**Frequency Band**:
1141 +(% style="color:#037691" %)**Frequency Band**:
1143 1143  
1144 1144  *0x01: EU868
1145 1145  
... ... @@ -1162,13 +1162,13 @@
1162 1162  *0xa0: AS923-3
1163 1163  
1164 1164  
1165 -**Sub-Band**: value 0x00 ~~ 0x08
1164 +(% style="color:#037691" %)**Sub-Band**(%%): value 0x00 ~~ 0x08
1166 1166  
1167 1167  
1168 -**Firmware Version**: 0x0100, Means: v1.0.0 version
1167 +(% style="color:#037691" %)**Firmware Version**(%%): 0x0100, Means: v1.0.0 version
1169 1169  
1170 1170  
1171 -**Sensor Type**:
1170 +(% style="color:#037691" %)**Sensor Type**:
1172 1172  
1173 1173  0x01: LSE01
1174 1174  
... ... @@ -1195,7 +1195,7 @@
1195 1195  )))
1196 1196  
1197 1197  (((
1198 -The discharge curve is not linear so cant simply use percentage to show the battery level. Below is the battery performance.
1197 +The discharge curve is not linear so can't simply use percentage to show the battery level. Below is the battery performance.
1199 1199  )))
1200 1200  
1201 1201  [[image:1654593587246-335.png]]
... ... @@ -1230,12 +1230,12 @@
1230 1230  )))
1231 1231  
1232 1232  
1233 -**Step 1**: Downlink the up-to-date DRAGINO_Battery_Life_Prediction_Table.xlsx from:
1232 +(% style="color:red" %)**Step 1**(%%): Downlink the up-to-date DRAGINO_Battery_Life_Prediction_Table.xlsx from:
1234 1234  
1235 1235  [[https:~~/~~/www.dragino.com/downloads/index.pHp?dir=LoRa_End_Node/Battery_Analyze/>>url:https://www.dragino.com/downloads/index.php?dir=LoRa_End_Node/Battery_Analyze/]]
1236 1236  
1237 1237  
1238 -**Step 2**: Open it and choose
1237 +(% style="color:#037691" %)**Step 2**(%%): Open it and choose
1239 1239  
1240 1240  * Product Model
1241 1241  * Uplink Interval
... ... @@ -1249,13 +1249,13 @@
1249 1249  The battery related documents as below:
1250 1250  
1251 1251  * (((
1252 -[[Battery Dimension>>url:http://www.dragino.com/downloads/index.php?dir=datasheet/Battery/&file=LSN50-Battery-Dimension.pdf]],
1251 +[[Battery Dimension>>https://www.dragino.com/downloads/index.php?dir=datasheet/Battery/]],
1253 1253  )))
1254 1254  * (((
1255 1255  [[Lithium-Thionyl Chloride Battery  datasheet>>url:https://www.dragino.com/downloads/downloads/datasheet/Battery/ER26500/ER26500_Datasheet-EN.pdf]],
1256 1256  )))
1257 1257  * (((
1258 -[[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]]
1257 +[[Lithium-ion Battery-Capacitor datasheet>>https://www.dragino.com/downloads/index.php?dir=datasheet/Battery/]], [[Tech Spec>>https://www.dragino.com/downloads/index.php?dir=datasheet/Battery/]]
1259 1259  )))
1260 1260  
1261 1261  [[image:image-20220607172042-11.png]]
... ... @@ -1273,7 +1273,7 @@
1273 1273  === ​4.3.2 Replace the battery ===
1274 1274  
1275 1275  (((
1276 -You can change the battery in the LSPH01.The type of battery is not limited as long as the output is between 3v to 3.6v. On the main board, there is a diode (D1) between the battery and the main circuit. If you need to use a battery with less than 3.3v, please remove the D1 and shortcut the two pads of it so there wont be voltage drop between battery and main board.
1275 +You can change the battery in the LSPH01.The type of battery is not limited as long as the output is between 3v to 3.6v. On the main board, there is a diode (D1) between the battery and the main circuit. If you need to use a battery with less than 3.3v, please remove the D1 and shortcut the two pads of it so there won't be voltage drop between battery and main board.
1277 1277  )))
1278 1278  
1279 1279  (((
... ... @@ -1306,24 +1306,22 @@
1306 1306  
1307 1307   [[image:1654593712276-618.png]]
1308 1308  
1309 -Valid AT Command please check [[Configure Device>>path:#H3.ConfigureLSPH01viaATCommandorLoRaWANDownlink]].
1308 +Valid AT Command please check [[Configure Device>>||anchor="H3.ConfigureLSPH01viaATCommandorLoRaWANDownlink"]].
1310 1310  
1311 1311  
1312 -
1313 1313  = 6. FAQ =
1314 1314  
1315 1315  == 6.1 How to change the LoRa Frequency Bands/Region ==
1316 1316  
1317 -You can follow the instructions for [[how to upgrade image>>path:#H2.10200BFirmwareChangeLog]].
1315 +You can follow the instructions for [[how to upgrade image>>||anchor="H2.10200BFirmwareChangeLog"]].
1318 1318  When downloading the images, choose the required image file for download. ​
1319 1319  
1320 1320  
1321 -
1322 1322  = 7. Trouble Shooting =
1323 1323  
1324 -== 7.1 AT Commands input doesnt work ==
1321 +== 7.1 AT Commands input doesn't work ==
1325 1325  
1326 -In the case if user can see the console output but cant type input to the device. Please check if you already include the (% style="color:green" %)**ENTER**(%%) while sending out the command. Some serial tool doesnt send (% style="color:green" %)**ENTER**(%%) while press the send key, user need to add ENTER in their string.
1323 +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.
1327 1327  
1328 1328  
1329 1329  
image-20220610105907-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +15.5 KB
Content