<
From version < 98.14 >
edited by Xiaoling
on 2022/10/27 13:44
To version < 99.1 >
edited by Xiaoling
on 2023/04/26 08:47
>
Change comment: Uploaded new attachment "image-20230426084737-1.png", version {1}

Summary

Details

Page properties
Content
... ... @@ -16,7 +16,6 @@
16 16  
17 17  = 1. Introduction =
18 18  
19 -
20 20  == 1.1 ​What is LoRaWAN Soil pH Sensor ==
21 21  
22 22  
... ... @@ -92,6 +92,7 @@
92 92  * Smart Agriculture
93 93  
94 94  
94 +
95 95  == 1.5 Pin mapping and power on ==
96 96  
97 97  
... ... @@ -98,10 +98,8 @@
98 98  [[image:1654592472094-134.png]]
99 99  
100 100  
101 -
102 102  = 2. Configure LSPH01 to connect to LoRaWAN network =
103 103  
104 -
105 105  == 2.1 How it works ==
106 106  
107 107  
... ... @@ -114,7 +114,6 @@
114 114  )))
115 115  
116 116  
117 -
118 118  == 2.2 ​Quick guide to connect to LoRaWAN server (OTAA) ==
119 119  
120 120  
... ... @@ -190,7 +190,6 @@
190 190  [[image:1654592697690-910.png]]
191 191  
192 192  
193 -
194 194  == 2.3 ​Uplink Payload ==
195 195  
196 196  
... ... @@ -206,9 +206,10 @@
206 206  Normal uplink payload:
207 207  )))
208 208  
209 -(% border="1" cellspacing="5" style="background-color:#ffffcc; width:490px" %)
205 +(% border="1" cellspacing="5" style="background-color:#ffffcc; width:470px" %)
210 210  |=(% style="width: 60px;" %)(((
211 -**Size (bytes)**)))|=(% style="width: 30px;" %)**2**|=(% style="width: 70px;" %)**2**|=(% style="width: 50px;" %)**2**|=(% style="width: 60px;" %)**2**|=(% style="width: 70px;" %)**1**|=(% style="width: 50px;" %)**1**|=(% style="width: 80px;" %)**1**
207 +**Size(bytes)**
208 +)))|=(% style="width: 30px;" %)**2**|=(% style="width: 70px;" %)**2**|=(% style="width: 50px;" %)**2**|=(% style="width: 60px;" %)**2**|=(% style="width: 70px;" %)**1**|=(% style="width: 50px;" %)**1**|=(% style="width: 80px;" %)**1**
212 212  |(% style="width:62.5px" %)**Value**|(% style="width:62.5px" %)[[BAT>>||anchor="H2.3.1BatteryInfo"]]|(% style="width:62.5px" %)(((
213 213  [[Temperature (Optional)>>||anchor="H2.3.2DS18B20Temperaturesensor"]]
214 214  )))|[[Soil pH>>||anchor="H2.3.3SoilpH"]]|[[Soil Temperature>>||anchor="H2.3.4SoilTemperature"]]|(((
... ... @@ -220,7 +220,6 @@
220 220  [[image:1654592721645-318.png]]
221 221  
222 222  
223 -
224 224  === 2.3.1 Battery Info ===
225 225  
226 226  
... ... @@ -231,7 +231,6 @@
231 231  Ex2: 0x0B49 = 2889mV
232 232  
233 233  
234 -
235 235  === 2.3.2 DS18B20 Temperature sensor ===
236 236  
237 237  
... ... @@ -245,7 +245,6 @@
245 245  If payload is: FF3FH :  (FF3F & FC00 == 1) , temp = (FF3FH - 65536)/10 = -19.3 degrees.
246 246  
247 247  
248 -
249 249  === 2.3.3 Soil pH ===
250 250  
251 251  
... ... @@ -256,7 +256,6 @@
256 256  (% style="color:#037691" %)** 0x02B7(H) = 695(D) = 6.95pH**
257 257  
258 258  
259 -
260 260  === 2.3.4 Soil Temperature ===
261 261  
262 262  
... ... @@ -270,7 +270,6 @@
270 270  If payload is: **FF3FH** :  (FF3F & FC00 == 1) , temp = (FF3FH - 65536)/10 = -19.3 degrees.
271 271  
272 272  
273 -
274 274  === 2.3.5 Interrupt Pin ===
275 275  
276 276  
... ... @@ -284,7 +284,6 @@
284 284  0x01: Interrupt Uplink Packet.
285 285  
286 286  
287 -
288 288  === 2.3.6 Message Type ===
289 289  
290 290  
... ... @@ -297,7 +297,7 @@
297 297  )))
298 298  
299 299  
300 -(% border="1" cellspacing="10" style="background-color:#ffffcc; width:499px" %)
291 +(% border="1" cellspacing="5" style="background-color:#ffffcc; width:496px" %)
301 301  |=(% style="width: 160px;" %)**Message Type Code**|=(% style="width: 163px;" %)**Description**|=(% style="width: 173px;" %)**Payload**
302 302  |(% style="width:160px" %)0x01|(% style="width:163px" %)Normal Uplink|(% style="width:173px" %)[[Normal Uplink Payload>>||anchor="H2.3200BUplinkPayload"]]
303 303  |(% style="width:160px" %)0x02|(% style="width:163px" %)Reply configures info|(% style="width:173px" %)[[Configure Info Payload>>||anchor="H3.4GetFirmwareVersionInfo"]]
... ... @@ -307,6 +307,7 @@
307 307  
308 308  === 2.3.7 Decode payload in The Things Network ===
309 309  
301 +
310 310  While using TTN network, you can add the payload format to decode the payload.
311 311  
312 312  
... ... @@ -321,7 +321,6 @@
321 321  )))
322 322  
323 323  
324 -
325 325  == 2.4 Uplink Interval ==
326 326  
327 327  
... ... @@ -328,7 +328,6 @@
328 328  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"]]
329 329  
330 330  
331 -
332 332  == 2.5 ​Show Data in DataCake IoT Server ==
333 333  
334 334  
... ... @@ -362,7 +362,6 @@
362 362  [[image:1654592819047-535.png]]
363 363  
364 364  
365 -
366 366  [[image:1654592833877-762.png]]
367 367  
368 368  
... ... @@ -392,10 +392,8 @@
392 392  [[image:1654592917530-261.png]]
393 393  
394 394  
395 -
396 396  == 2.6 Installation and Maintain ==
397 397  
398 -
399 399  === 2.6.1 Before measurement ===
400 400  
401 401  
... ... @@ -406,7 +406,6 @@
406 406  )))
407 407  
408 408  
409 -
410 410  === 2.6.2 Measurement ===
411 411  
412 412  
... ... @@ -453,7 +453,6 @@
453 453  )))
454 454  
455 455  
456 -
457 457  === 2.6.3 Maintain Probe ===
458 458  
459 459  
... ... @@ -495,21 +495,16 @@
495 495  
496 496  (% style="color:#037691" %)**Calibration Payload**
497 497  
498 -(% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:510px" %)
499 -|=(% style="width: 62.5px;" %)(((
483 +(% border="1" cellspacing="5" style="background-color:#ffffcc; color:green; width:500px" %)
484 +|=(% style="width: 60px;" %)(((
500 500  **Size (bytes)**
501 -)))|=(% style="width: 89px;" %)**1**|=(% style="width: 89px;" %)**1**|=(% style="width: 89px;" %)**1**|=(% style="width: 89px;" %)**7**|=(% style="width: 89px;" %)**1**
486 +)))|=(% style="width: 100px;" %)**1**|=(% style="width: 100px;" %)**1**|=(% style="width: 100px;" %)**1**|=(% style="width: 50px;" %)**7**|=(% style="width: 90px;" %)**1**
502 502  |**Value**|(((
503 -PH4
504 -
505 -Calibrate value
488 +PH4 Calibrate value
506 506  )))|PH6.86 Calibrate value|(((
507 -PH9.18
508 -
509 -Calibrate value
490 +PH9.18 Calibrate value
510 510  )))|Reserve|(((
511 511  [[Message Type>>||anchor="H2.3.6MessageType"]]
512 -
513 513  Always 0x03
514 514  )))
515 515  
... ... @@ -522,6 +522,7 @@
522 522  * Reply to non-confirmed packet: 14 00
523 523  
524 524  
505 +
525 525  == 2.8 Frequency Plans ==
526 526  
527 527  
... ... @@ -530,7 +530,6 @@
530 530  )))
531 531  
532 532  
533 -
534 534  === 2.8.1 EU863-870 (EU868) ===
535 535  
536 536  
... ... @@ -591,7 +591,6 @@
591 591  )))
592 592  
593 593  
594 -
595 595  === 2.8.2 US902-928(US915) ===
596 596  
597 597  
... ... @@ -700,7 +700,6 @@
700 700  )))
701 701  
702 702  
703 -
704 704  === 2.8.4 AU915-928(AU915) ===
705 705  
706 706  
... ... @@ -833,7 +833,6 @@
833 833  )))
834 834  
835 835  
836 -
837 837  === 2.8.6 KR920-923 (KR920) ===
838 838  
839 839  
... ... @@ -906,7 +906,6 @@
906 906  )))
907 907  
908 908  
909 -
910 910  === 2.8.7 IN865-867 (IN865) ===
911 911  
912 912  
... ... @@ -943,7 +943,6 @@
943 943  )))
944 944  
945 945  
946 -
947 947  == 2.9 LED Indicator ==
948 948  
949 949  
... ... @@ -959,11 +959,9 @@
959 959  
960 960  **Firmware download link: **[[https:~~/~~/www.dropbox.com/sh/xtm5tw37mewaw99/AAD0uy06odmreQQ7vMzZYVIGa?dl=0>>https://www.dropbox.com/sh/xtm5tw37mewaw99/AAD0uy06odmreQQ7vMzZYVIGa?dl=0]]
961 961  
962 -
963 963  **Firmware Upgrade Method: **[[Firmware Upgrade Instruction>>path:/xwiki/bin/view/Main/Firmware%20Upgrade%20Instruction%20for%20STM32%20base%20products/]]
964 964  
965 965  
966 -
967 967  = 3. Configure LSPH01 via AT Command or LoRaWAN Downlink =
968 968  
969 969  
... ... @@ -1014,7 +1014,6 @@
1014 1014  )))
1015 1015  
1016 1016  
1017 -
1018 1018  == 3.1 Set Transmit Interval Time ==
1019 1019  
1020 1020  
... ... @@ -1034,17 +1034,16 @@
1034 1034  )))
1035 1035  
1036 1036  (((
1037 -If the downlink payload=0100003C, it means set the END Nodes Transmit Interval to 0x00003C=60(S), while type code is 01.
1009 +If the downlink payload=0100003C, it means set the END Node's Transmit Interval to 0x00003C=60(S), while type code is 01.
1038 1038  )))
1039 1039  
1040 1040  * (((
1041 -Example 1: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds
1013 +Example 1: Downlink Payload: 0100001E  ~/~/ Set Transmit Interval (TDC) = 30 seconds
1042 1042  )))
1043 1043  * (((
1044 -Example 2: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds
1016 +Example 2: Downlink Payload: 0100003C  ~/~/ Set Transmit Interval (TDC) = 60 seconds
1045 1045  
1046 1046  
1047 -
1048 1048  
1049 1049  )))
1050 1050  
... ... @@ -1071,10 +1071,10 @@
1071 1071  )))
1072 1072  
1073 1073  * (((
1074 -Example 1: Downlink Payload: 06000000 ~/~/ Turn off interrupt mode
1045 +Example 1: Downlink Payload: 06000000  ~/~/ Turn off interrupt mode
1075 1075  )))
1076 1076  * (((
1077 -Example 2: Downlink Payload: 06000003 ~/~/ Set the interrupt mode to rising edge trigger
1048 +Example 2: Downlink Payload: 06000003  ~/~/  Set the interrupt mode to rising edge trigger
1078 1078  )))
1079 1079  
1080 1080  (((
... ... @@ -1089,7 +1089,6 @@
1089 1089  Detail See [[Calibration Guide>>||anchor="H2.7Calibration"]] for the user of 0x13 and 0x14 downlink commands
1090 1090  
1091 1091  
1092 -
1093 1093  == 3.4 Get Firmware Version Info ==
1094 1094  
1095 1095  
... ... @@ -1112,11 +1112,9 @@
1112 1112  )))|=**1**|=**1**|=**1**|=**1**|=**1**|=**5**|=**1**
1113 1113  |**Value**|Software Type|(((
1114 1114  Frequency
1115 -
1116 1116  Band
1117 1117  )))|Sub-band|(((
1118 1118  Firmware
1119 -
1120 1120  Version
1121 1121  )))|Sensor Type|Reserve|(((
1122 1122  [[Message Type>>||anchor="H2.3.6MessageType"]]
... ... @@ -1172,114 +1172,16 @@
1172 1172  0x07: LDDS12
1173 1173  
1174 1174  
1143 += 4. Battery & Power Consumption =
1175 1175  
1176 -= 4. Battery & How to replace =
1177 1177  
1146 +LSPH01 uses ER26500 + SPC1520 battery pack. See below link for detail information about the battery info and how to replace.
1178 1178  
1179 -== 4.1 Battery Type ==
1148 +[[**Battery Info & Power Consumption Analyze**>>url:http://wiki.dragino.com/xwiki/bin/view/Main/How%20to%20calculate%20the%20battery%20life%20of%20Dragino%20sensors%3F/]] .
1180 1180  
1181 1181  
1182 -(((
1183 -LSPH01 is equipped with a [[8500mAH ER26500 Li-SOCI2 battery>>url:https://www.dragino.com/downloads/index.php?dir=datasheet/Battery/ER26500/]]. The battery is un-rechargeable battery with low discharge rate targeting for 8~~10 years use. This type of battery is commonly used in IoT target for long-term running, such as water meter.
1184 -)))
1185 -
1186 -(((
1187 -The discharge curve is not linear so can't simply use percentage to show the battery level. Below is the battery performance.
1188 -
1189 -
1190 -)))
1191 -
1192 -[[image:1654593587246-335.png]]
1193 -
1194 -
1195 -Minimum Working Voltage for the LSPH01:
1196 -
1197 -LSPH01:  2.45v ~~ 3.6v
1198 -
1199 -
1200 -
1201 -== 4.2 Replace Battery ==
1202 -
1203 -
1204 -(((
1205 -Any battery with range 2.45 ~~ 3.6v can be a replacement. We recommend to use Li-SOCl2 Battery.
1206 -)))
1207 -
1208 -(((
1209 -And make sure the positive and negative pins match.
1210 -)))
1211 -
1212 -
1213 -
1214 -== 4.3 Power Consumption Analyze ==
1215 -
1216 -
1217 -(((
1218 -Dragino Battery powered product are all runs in Low Power mode. We have an update battery calculator which base on the measurement of the real device. User can use this calculator to check the battery life and calculate the battery life if want to use different transmit interval.
1219 -)))
1220 -
1221 -(((
1222 -Instruction to use as below:
1223 -)))
1224 -
1225 -
1226 -(% style="color:#037691" %)**Step 1**(%%): Downlink the up-to-date DRAGINO_Battery_Life_Prediction_Table.xlsx from:
1227 -
1228 -[[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/]]
1229 -
1230 -
1231 -(% style="color:#037691" %)**Step 2**(%%): Open it and choose
1232 -
1233 -* Product Model
1234 -* Uplink Interval
1235 -* Working Mode
1236 -
1237 -And the Life expectation in difference case will be shown on the right.
1238 -
1239 -[[image:1654593605679-189.png]]
1240 -
1241 -
1242 -The battery related documents as below:
1243 -
1244 -* (((
1245 -[[Battery Dimension>>https://www.dragino.com/downloads/index.php?dir=datasheet/Battery/]],
1246 -)))
1247 -* (((
1248 -[[Lithium-Thionyl Chloride Battery  datasheet>>url:https://www.dragino.com/downloads/downloads/datasheet/Battery/ER26500/ER26500_Datasheet-EN.pdf]],
1249 -)))
1250 -* (((
1251 -[[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/]]
1252 -)))
1253 -
1254 -[[image:image-20220607172042-11.png]]
1255 -
1256 -
1257 -
1258 -=== 4.3.1 ​Battery Note ===
1259 -
1260 -
1261 -(((
1262 -The Li-SICO battery is designed for small current / long period application. It is not good to use a high current, short period transmit method. The recommended minimum period for use of this battery is 5 minutes. If you use a shorter period time to transmit LoRa, then the battery life may be decreased.
1263 -)))
1264 -
1265 -
1266 -
1267 -=== ​4.3.2 Replace the battery ===
1268 -
1269 -
1270 -(((
1271 -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.
1272 -)))
1273 -
1274 -(((
1275 -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)
1276 -)))
1277 -
1278 -
1279 -
1280 1280  = 5. Use AT Command =
1281 1281  
1282 -
1283 1283  == 5.1 Access AT Commands ==
1284 1284  
1285 1285  
... ... @@ -1310,7 +1310,6 @@
1310 1310  
1311 1311  = 6. FAQ =
1312 1312  
1313 -
1314 1314  == 6.1 How to change the LoRa Frequency Bands/Region ==
1315 1315  
1316 1316  
... ... @@ -1318,10 +1318,8 @@
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 -
1325 1325  == 7.1 AT Commands input doesn't work ==
1326 1326  
1327 1327  
... ... @@ -1328,7 +1328,6 @@
1328 1328  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.
1329 1329  
1330 1330  
1331 -
1332 1332  = 8. Order Info =
1333 1333  
1334 1334  
... ... @@ -1347,6 +1347,7 @@
1347 1347  * (% style="color:red" %)**CN470**(%%): LoRaWAN CN470 band
1348 1348  
1349 1349  
1216 +
1350 1350  = 9. ​Packing Info =
1351 1351  
1352 1352  
... ... @@ -1362,6 +1362,7 @@
1362 1362  * Weight / pcs : g
1363 1363  
1364 1364  
1232 +
1365 1365  = 10. ​Support =
1366 1366  
1367 1367  
image-20230426084737-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +190.0 KB
Content
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0