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

From version 74.16
edited by Xiaoling
on 2022/06/07 17:53
Change comment: There is no comment for this version
To version 90.8
edited by Xiaoling
on 2022/06/25 16:57
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,17 @@
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 339  
340 340  
339 +
340 +
341 +
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]]
361 +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**
525 +|=(% style="width: 62.5px;" %)(((
526 +**Size (bytes)**
527 +)))|=(% 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]]
537 +[[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  (((
... ... @@ -637,6 +637,8 @@
637 637  
638 638  
639 639  
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  
750 +
751 +
752 +
753 +
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  
978 +
979 +
980 +
981 +
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]].
1001 +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  
1072 +
1073 +)))
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]]
1081 +[[image:image-20220610105907-1.png]]
1074 1074  
1075 1075  
1076 1076  (((
... ... @@ -1092,9 +1092,15 @@
1092 1092  Example 2: Downlink Payload: 06000003 ~/~/ Set the interrupt mode to rising edge trigger
1093 1093  )))
1094 1094  
1103 +(((
1104 +
1105 +)))
1106 +
1107 +
1108 +
1095 1095  == 3.3 Calibrate Sensor ==
1096 1096  
1097 -Detail See [[Calibration Guide>>path:#H2.7Calibration]] for the user of 0x13 and 0x14 downlink commands
1111 +Detail See [[Calibration Guide>>||anchor="H2.7Calibration"]] for the user of 0x13 and 0x14 downlink commands
1098 1098  
1099 1099  
1100 1100  
... ... @@ -1126,14 +1126,14 @@
1126 1126  
1127 1127  Version
1128 1128  )))|Sensor Type|Reserve|(((
1129 -[[Message Type>>path:#H2.3.6MessageType]]
1143 +[[Message Type>>||anchor="H2.3.6MessageType"]]
1130 1130  Always 0x02
1131 1131  )))
1132 1132  
1133 -**Software Type**: Always 0x03 for LSPH01
1147 +(% style="color:#037691" %)**Software Type**(%%): Always 0x03 for LSPH01
1134 1134  
1135 1135  
1136 -**Frequency Band**:
1150 +(% style="color:#037691" %)**Frequency Band**:
1137 1137  
1138 1138  *0x01: EU868
1139 1139  
... ... @@ -1156,13 +1156,13 @@
1156 1156  *0xa0: AS923-3
1157 1157  
1158 1158  
1159 -**Sub-Band**: value 0x00 ~~ 0x08
1173 +(% style="color:#037691" %)**Sub-Band**(%%): value 0x00 ~~ 0x08
1160 1160  
1161 1161  
1162 -**Firmware Version**: 0x0100, Means: v1.0.0 version
1176 +(% style="color:#037691" %)**Firmware Version**(%%): 0x0100, Means: v1.0.0 version
1163 1163  
1164 1164  
1165 -**Sensor Type**:
1179 +(% style="color:#037691" %)**Sensor Type**:
1166 1166  
1167 1167  0x01: LSE01
1168 1168  
... ... @@ -1189,7 +1189,7 @@
1189 1189  )))
1190 1190  
1191 1191  (((
1192 -The discharge curve is not linear so cant simply use percentage to show the battery level. Below is the battery performance.
1206 +The discharge curve is not linear so can't simply use percentage to show the battery level. Below is the battery performance.
1193 1193  )))
1194 1194  
1195 1195  [[image:1654593587246-335.png]]
... ... @@ -1224,12 +1224,12 @@
1224 1224  )))
1225 1225  
1226 1226  
1227 -**Step 1**: Downlink the up-to-date DRAGINO_Battery_Life_Prediction_Table.xlsx from:
1241 +(% style="color:red" %)**Step 1**(%%): Downlink the up-to-date DRAGINO_Battery_Life_Prediction_Table.xlsx from:
1228 1228  
1229 1229  [[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/]]
1230 1230  
1231 1231  
1232 -**Step 2**: Open it and choose
1246 +(% style="color:#037691" %)**Step 2**(%%): Open it and choose
1233 1233  
1234 1234  * Product Model
1235 1235  * Uplink Interval
... ... @@ -1243,13 +1243,13 @@
1243 1243  The battery related documents as below:
1244 1244  
1245 1245  * (((
1246 -[[Battery Dimension>>url:http://www.dragino.com/downloads/index.php?dir=datasheet/Battery/&file=LSN50-Battery-Dimension.pdf]],
1260 +[[Battery Dimension>>https://www.dragino.com/downloads/index.php?dir=datasheet/Battery/]],
1247 1247  )))
1248 1248  * (((
1249 1249  [[Lithium-Thionyl Chloride Battery  datasheet>>url:https://www.dragino.com/downloads/downloads/datasheet/Battery/ER26500/ER26500_Datasheet-EN.pdf]],
1250 1250  )))
1251 1251  * (((
1252 -[[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]]
1266 +[[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/]]
1253 1253  )))
1254 1254  
1255 1255  [[image:image-20220607172042-11.png]]
... ... @@ -1266,9 +1266,13 @@
1266 1266  
1267 1267  === ​4.3.2 Replace the battery ===
1268 1268  
1269 -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.
1283 +(((
1284 +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.
1285 +)))
1270 1270  
1287 +(((
1271 1271  The default battery pack of LSPH01 includes a ER26500 plus super capacitor. If user can’t find this pack locally, they can find ER26500 or equivalence, which will also work in most case. The SPC can enlarge the battery life for high frequency use (update period below 5 minutes)
1289 +)))
1272 1272  
1273 1273  
1274 1274  
... ... @@ -1289,29 +1289,29 @@
1289 1289  (% style="background-color:yellow" %)** USB TTL RXD  <~-~-~-~-> UART_TXD**
1290 1290  
1291 1291  
1310 +(((
1292 1292  In the PC, you need to set the serial baud rate to (% style="color:green" %)**9600**(%%) to access the serial console for LSPH01. LSPH01 will output system info once power on as below:
1312 +)))
1293 1293  
1294 1294  
1295 1295   [[image:1654593712276-618.png]]
1296 1296  
1297 -Valid AT Command please check [[Configure Device>>path:#H3.ConfigureLSPH01viaATCommandorLoRaWANDownlink]].
1317 +Valid AT Command please check [[Configure Device>>||anchor="H3.ConfigureLSPH01viaATCommandorLoRaWANDownlink"]].
1298 1298  
1299 1299  
1300 -
1301 1301  = 6. FAQ =
1302 1302  
1303 1303  == 6.1 How to change the LoRa Frequency Bands/Region ==
1304 1304  
1305 -You can follow the instructions for [[how to upgrade image>>path:#H2.10200BFirmwareChangeLog]].
1324 +You can follow the instructions for [[how to upgrade image>>||anchor="H2.10200BFirmwareChangeLog"]].
1306 1306  When downloading the images, choose the required image file for download. ​
1307 1307  
1308 1308  
1309 -
1310 1310  = 7. Trouble Shooting =
1311 1311  
1312 -== 7.1 AT Commands input doesnt work ==
1330 +== 7.1 AT Commands input doesn't work ==
1313 1313  
1314 -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.
1332 +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.
1315 1315  
1316 1316  
1317 1317  
... ... @@ -1331,6 +1331,9 @@
1331 1331  * (% style="color:red" %)**IN865**(%%):  LoRaWAN IN865 band
1332 1332  * (% style="color:red" %)**CN470**(%%): LoRaWAN CN470 band
1333 1333  
1352 +
1353 +
1354 +
1334 1334  = 9. ​Packing Info =
1335 1335  
1336 1336  
... ... @@ -1345,6 +1345,9 @@
1345 1345  * Package Size / pcs : cm
1346 1346  * Weight / pcs : g
1347 1347  
1369 +
1370 +
1371 +
1348 1348  = 10. ​Support =
1349 1349  
1350 1350  * 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.
image-20220610105907-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +15.5 KB
Content