Changes for page LSPH01 -- LoRaWAN Soil pH Sensor User Manual
Last modified by Bei Jinggeng on 2024/08/02 17:52
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -5,14 +5,6 @@ 5 5 6 6 7 7 8 - 9 - 10 - 11 - 12 - 13 - 14 - 15 - 16 16 **Table of Contents:** 17 17 18 18 {{toc/}} ... ... @@ -22,18 +22,12 @@ 22 22 23 23 24 24 25 - 26 - 27 - 28 - 29 29 = 1. Introduction = 30 30 31 - 32 32 == 1.1 What is LoRaWAN Soil pH Sensor == 33 33 34 -((( 35 - 36 36 22 +((( 37 37 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. 38 38 ))) 39 39 ... ... @@ -58,7 +58,6 @@ 58 58 59 59 60 60 61 - 62 62 == 1.2 Features == 63 63 64 64 ... ... @@ -78,8 +78,6 @@ 78 78 79 79 80 80 81 - 82 - 83 83 == 1.3 Probe Specification == 84 84 85 85 ... ... @@ -102,8 +102,6 @@ 102 102 103 103 104 104 105 - 106 - 107 107 == 1.4 Applications == 108 108 109 109 ... ... @@ -111,7 +111,6 @@ 111 111 112 112 113 113 114 - 115 115 == 1.5 Pin mapping and power on == 116 116 117 117 ... ... @@ -118,10 +118,8 @@ 118 118 [[image:1654592472094-134.png]] 119 119 120 120 121 - 122 122 = 2. Configure LSPH01 to connect to LoRaWAN network = 123 123 124 - 125 125 == 2.1 How it works == 126 126 127 127 ... ... @@ -134,7 +134,6 @@ 134 134 ))) 135 135 136 136 137 - 138 138 == 2.2 Quick guide to connect to LoRaWAN server (OTAA) == 139 139 140 140 ... ... @@ -210,7 +210,6 @@ 210 210 [[image:1654592697690-910.png]] 211 211 212 212 213 - 214 214 == 2.3 Uplink Payload == 215 215 216 216 ... ... @@ -226,14 +226,12 @@ 226 226 Normal uplink payload: 227 227 ))) 228 228 229 -(% border="1" cellspacing=" 10" style="background-color:#ffffcc; width:510px" %)230 -|=(% style="width: 6 2.5px;" %)(((231 -**Size 232 -)))|=(% style="width: 62.5px;" %)**2**|=(% style="width:62.5px;" %)**2**|=**2**|=**2**|=**1**|=**1**|=**1**205 +(% border="1" cellspacing="5" style="background-color:#ffffcc; width:470px" %) 206 +|=(% style="width: 60px;" %)((( 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** 233 233 |(% style="width:62.5px" %)**Value**|(% style="width:62.5px" %)[[BAT>>||anchor="H2.3.1BatteryInfo"]]|(% style="width:62.5px" %)((( 234 -[[Temperature>>||anchor="H2.3.2DS18B20Temperaturesensor"]] 235 - 236 -[[(Optional)>>||anchor="H2.3.2DS18B20Temperaturesensor"]] 210 +[[Temperature (Optional)>>||anchor="H2.3.2DS18B20Temperaturesensor"]] 237 237 )))|[[Soil pH>>||anchor="H2.3.3SoilpH"]]|[[Soil Temperature>>||anchor="H2.3.4SoilTemperature"]]|((( 238 238 [[Digital Interrupt (Optional)>>||anchor="H2.3.5InterruptPin"]] 239 239 )))|Reserve|((( ... ... @@ -243,7 +243,6 @@ 243 243 [[image:1654592721645-318.png]] 244 244 245 245 246 - 247 247 === 2.3.1 Battery Info === 248 248 249 249 ... ... @@ -254,7 +254,6 @@ 254 254 Ex2: 0x0B49 = 2889mV 255 255 256 256 257 - 258 258 === 2.3.2 DS18B20 Temperature sensor === 259 259 260 260 ... ... @@ -268,7 +268,6 @@ 268 268 If payload is: FF3FH : (FF3F & FC00 == 1) , temp = (FF3FH - 65536)/10 = -19.3 degrees. 269 269 270 270 271 - 272 272 === 2.3.3 Soil pH === 273 273 274 274 ... ... @@ -279,7 +279,6 @@ 279 279 (% style="color:#037691" %)** 0x02B7(H) = 695(D) = 6.95pH** 280 280 281 281 282 - 283 283 === 2.3.4 Soil Temperature === 284 284 285 285 ... ... @@ -293,7 +293,6 @@ 293 293 If payload is: **FF3FH** : (FF3F & FC00 == 1) , temp = (FF3FH - 65536)/10 = -19.3 degrees. 294 294 295 295 296 - 297 297 === 2.3.5 Interrupt Pin === 298 298 299 299 ... ... @@ -307,7 +307,6 @@ 307 307 0x01: Interrupt Uplink Packet. 308 308 309 309 310 - 311 311 === 2.3.6 Message Type === 312 312 313 313 ... ... @@ -320,7 +320,7 @@ 320 320 ))) 321 321 322 322 323 -(% border="1" cellspacing=" 10" style="background-color:#ffffcc; width:499px" %)291 +(% border="1" cellspacing="5" style="background-color:#ffffcc; width:496px" %) 324 324 |=(% style="width: 160px;" %)**Message Type Code**|=(% style="width: 163px;" %)**Description**|=(% style="width: 173px;" %)**Payload** 325 325 |(% style="width:160px" %)0x01|(% style="width:163px" %)Normal Uplink|(% style="width:173px" %)[[Normal Uplink Payload>>||anchor="H2.3200BUplinkPayload"]] 326 326 |(% style="width:160px" %)0x02|(% style="width:163px" %)Reply configures info|(% style="width:173px" %)[[Configure Info Payload>>||anchor="H3.4GetFirmwareVersionInfo"]] ... ... @@ -328,10 +328,9 @@ 328 328 329 329 330 330 331 - 332 - 333 333 === 2.3.7 Decode payload in The Things Network === 334 334 301 + 335 335 While using TTN network, you can add the payload format to decode the payload. 336 336 337 337 ... ... @@ -342,11 +342,10 @@ 342 342 ))) 343 343 344 344 ((( 345 -LSPH01 TTN Payload Decoder: [[https:~~/~~/ www.dropbox.com/sh/pj7cgmgqg3gx3ta/AABYFbg1DVOOR9Hmr1mLSBkga?dl=0>>https://www.dropbox.com/sh/pj7cgmgqg3gx3ta/AABYFbg1DVOOR9Hmr1mLSBkga?dl=0]]312 +LSPH01 TTN Payload Decoder: [[https:~~/~~/github.com/dragino/dragino-end-node-decoder>>https://github.com/dragino/dragino-end-node-decoder]] 346 346 ))) 347 347 348 348 349 - 350 350 == 2.4 Uplink Interval == 351 351 352 352 ... ... @@ -353,7 +353,6 @@ 353 353 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"]] 354 354 355 355 356 - 357 357 == 2.5 Show Data in DataCake IoT Server == 358 358 359 359 ... ... @@ -387,7 +387,6 @@ 387 387 [[image:1654592819047-535.png]] 388 388 389 389 390 - 391 391 [[image:1654592833877-762.png]] 392 392 393 393 ... ... @@ -417,10 +417,8 @@ 417 417 [[image:1654592917530-261.png]] 418 418 419 419 420 - 421 421 == 2.6 Installation and Maintain == 422 422 423 - 424 424 === 2.6.1 Before measurement === 425 425 426 426 ... ... @@ -431,7 +431,6 @@ 431 431 ))) 432 432 433 433 434 - 435 435 === 2.6.2 Measurement === 436 436 437 437 ... ... @@ -478,7 +478,6 @@ 478 478 ))) 479 479 480 480 481 - 482 482 === 2.6.3 Maintain Probe === 483 483 484 484 ... ... @@ -520,25 +520,19 @@ 520 520 521 521 (% style="color:#037691" %)**Calibration Payload** 522 522 523 -(% border="1" cellspacing=" 10" style="background-color:#ffffcc; color:green; width:510px" %)524 -|=(% style="width: 6 2.5px;" %)(((483 +(% border="1" cellspacing="5" style="background-color:#ffffcc; color:green; width:500px" %) 484 +|=(% style="width: 60px;" %)((( 525 525 **Size (bytes)** 526 -)))|=(% 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** 527 527 |**Value**|((( 528 -PH4 529 - 530 -Calibrate value 488 +PH4 Calibrate value 531 531 )))|PH6.86 Calibrate value|((( 532 -PH9.18 533 - 534 -Calibrate value 490 +PH9.18 Calibrate value 535 535 )))|Reserve|((( 536 536 [[Message Type>>||anchor="H2.3.6MessageType"]] 537 - 538 538 Always 0x03 539 539 ))) 540 540 541 - 542 542 User can also send 0x14 downlink command to poll the current calibration payload. 543 543 544 544 [[image:image-20220607171416-7.jpeg]] ... ... @@ -549,7 +549,6 @@ 549 549 550 550 551 551 552 - 553 553 == 2.8 Frequency Plans == 554 554 555 555 ... ... @@ -558,7 +558,6 @@ 558 558 ))) 559 559 560 560 561 - 562 562 === 2.8.1 EU863-870 (EU868) === 563 563 564 564 ... ... @@ -619,7 +619,6 @@ 619 619 ))) 620 620 621 621 622 - 623 623 === 2.8.2 US902-928(US915) === 624 624 625 625 ... ... @@ -640,8 +640,6 @@ 640 640 641 641 642 642 643 - 644 - 645 645 === 2.8.3 CN470-510 (CN470) === 646 646 647 647 ... ... @@ -730,7 +730,6 @@ 730 730 ))) 731 731 732 732 733 - 734 734 === 2.8.4 AU915-928(AU915) === 735 735 736 736 ... ... @@ -755,8 +755,6 @@ 755 755 756 756 757 757 758 - 759 - 760 760 === 2.8.5 AS920-923 & AS923-925 (AS923) === 761 761 762 762 ... ... @@ -865,7 +865,6 @@ 865 865 ))) 866 866 867 867 868 - 869 869 === 2.8.6 KR920-923 (KR920) === 870 870 871 871 ... ... @@ -938,7 +938,6 @@ 938 938 ))) 939 939 940 940 941 - 942 942 === 2.8.7 IN865-867 (IN865) === 943 943 944 944 ... ... @@ -975,7 +975,6 @@ 975 975 ))) 976 976 977 977 978 - 979 979 == 2.9 LED Indicator == 980 980 981 981 ... ... @@ -986,18 +986,14 @@ 986 986 987 987 988 988 989 - 990 - 991 991 == 2.10 Firmware Change Log == 992 992 993 993 994 994 **Firmware download link: **[[https:~~/~~/www.dropbox.com/sh/xtm5tw37mewaw99/AAD0uy06odmreQQ7vMzZYVIGa?dl=0>>https://www.dropbox.com/sh/xtm5tw37mewaw99/AAD0uy06odmreQQ7vMzZYVIGa?dl=0]] 995 995 996 - 997 997 **Firmware Upgrade Method: **[[Firmware Upgrade Instruction>>path:/xwiki/bin/view/Main/Firmware%20Upgrade%20Instruction%20for%20STM32%20base%20products/]] 998 998 999 999 1000 - 1001 1001 = 3. Configure LSPH01 via AT Command or LoRaWAN Downlink = 1002 1002 1003 1003 ... ... @@ -1048,7 +1048,6 @@ 1048 1048 ))) 1049 1049 1050 1050 1051 - 1052 1052 == 3.1 Set Transmit Interval Time == 1053 1053 1054 1054 ... ... @@ -1068,17 +1068,16 @@ 1068 1068 ))) 1069 1069 1070 1070 ((( 1071 -If the downlink payload=0100003C, it means set the END Node ’s 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. 1072 1072 ))) 1073 1073 1074 1074 * ((( 1075 -Example 1: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds 1013 +Example 1: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds 1076 1076 ))) 1077 1077 * ((( 1078 -Example 2: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 1016 +Example 2: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 1079 1079 1080 1080 1081 - 1082 1082 1083 1083 ))) 1084 1084 ... ... @@ -1105,10 +1105,10 @@ 1105 1105 ))) 1106 1106 1107 1107 * ((( 1108 -Example 1: Downlink Payload: 06000000 ~/~/ Turn off interrupt mode 1045 +Example 1: Downlink Payload: 06000000 ~/~/ Turn off interrupt mode 1109 1109 ))) 1110 1110 * ((( 1111 -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 1112 1112 ))) 1113 1113 1114 1114 ((( ... ... @@ -1123,7 +1123,6 @@ 1123 1123 Detail See [[Calibration Guide>>||anchor="H2.7Calibration"]] for the user of 0x13 and 0x14 downlink commands 1124 1124 1125 1125 1126 - 1127 1127 == 3.4 Get Firmware Version Info == 1128 1128 1129 1129 ... ... @@ -1146,11 +1146,9 @@ 1146 1146 )))|=**1**|=**1**|=**1**|=**1**|=**1**|=**5**|=**1** 1147 1147 |**Value**|Software Type|((( 1148 1148 Frequency 1149 - 1150 1150 Band 1151 1151 )))|Sub-band|((( 1152 1152 Firmware 1153 - 1154 1154 Version 1155 1155 )))|Sensor Type|Reserve|((( 1156 1156 [[Message Type>>||anchor="H2.3.6MessageType"]] ... ... @@ -1206,114 +1206,16 @@ 1206 1206 0x07: LDDS12 1207 1207 1208 1208 1143 += 4. Battery & Power Consumption = 1209 1209 1210 -= 4. Battery & How to replace = 1211 1211 1146 +LSPH01 uses ER26500 + SPC1520 battery pack. See below link for detail information about the battery info and how to replace. 1212 1212 1213 - == 4.1BatteryType==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/]] . 1214 1214 1215 1215 1216 -((( 1217 -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. 1218 -))) 1219 - 1220 -((( 1221 -The discharge curve is not linear so can't simply use percentage to show the battery level. Below is the battery performance. 1222 - 1223 - 1224 -))) 1225 - 1226 -[[image:1654593587246-335.png]] 1227 - 1228 - 1229 -Minimum Working Voltage for the LSPH01: 1230 - 1231 -LSPH01: 2.45v ~~ 3.6v 1232 - 1233 - 1234 - 1235 -== 4.2 Replace Battery == 1236 - 1237 - 1238 -((( 1239 -Any battery with range 2.45 ~~ 3.6v can be a replacement. We recommend to use Li-SOCl2 Battery. 1240 -))) 1241 - 1242 -((( 1243 -And make sure the positive and negative pins match. 1244 -))) 1245 - 1246 - 1247 - 1248 -== 4.3 Power Consumption Analyze == 1249 - 1250 - 1251 -((( 1252 -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. 1253 -))) 1254 - 1255 -((( 1256 -Instruction to use as below: 1257 -))) 1258 - 1259 - 1260 -(% style="color:#037691" %)**Step 1**(%%): Downlink the up-to-date DRAGINO_Battery_Life_Prediction_Table.xlsx from: 1261 - 1262 -[[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/]] 1263 - 1264 - 1265 -(% style="color:#037691" %)**Step 2**(%%): Open it and choose 1266 - 1267 -* Product Model 1268 -* Uplink Interval 1269 -* Working Mode 1270 - 1271 -And the Life expectation in difference case will be shown on the right. 1272 - 1273 -[[image:1654593605679-189.png]] 1274 - 1275 - 1276 -The battery related documents as below: 1277 - 1278 -* ((( 1279 -[[Battery Dimension>>https://www.dragino.com/downloads/index.php?dir=datasheet/Battery/]], 1280 -))) 1281 -* ((( 1282 -[[Lithium-Thionyl Chloride Battery datasheet>>url:https://www.dragino.com/downloads/downloads/datasheet/Battery/ER26500/ER26500_Datasheet-EN.pdf]], 1283 -))) 1284 -* ((( 1285 -[[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/]] 1286 -))) 1287 - 1288 -[[image:image-20220607172042-11.png]] 1289 - 1290 - 1291 - 1292 -=== 4.3.1 Battery Note === 1293 - 1294 - 1295 -((( 1296 -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. 1297 -))) 1298 - 1299 - 1300 - 1301 -=== 4.3.2 Replace the battery === 1302 - 1303 - 1304 -((( 1305 -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. 1306 -))) 1307 - 1308 -((( 1309 -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) 1310 -))) 1311 - 1312 - 1313 - 1314 1314 = 5. Use AT Command = 1315 1315 1316 - 1317 1317 == 5.1 Access AT Commands == 1318 1318 1319 1319 ... ... @@ -1344,7 +1344,6 @@ 1344 1344 1345 1345 = 6. FAQ = 1346 1346 1347 - 1348 1348 == 6.1 How to change the LoRa Frequency Bands/Region == 1349 1349 1350 1350 ... ... @@ -1352,10 +1352,8 @@ 1352 1352 When downloading the images, choose the required image file for download. 1353 1353 1354 1354 1355 - 1356 1356 = 7. Trouble Shooting = 1357 1357 1358 - 1359 1359 == 7.1 AT Commands input doesn't work == 1360 1360 1361 1361 ... ... @@ -1362,7 +1362,6 @@ 1362 1362 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. 1363 1363 1364 1364 1365 - 1366 1366 = 8. Order Info = 1367 1367 1368 1368 ... ... @@ -1382,7 +1382,6 @@ 1382 1382 1383 1383 1384 1384 1385 - 1386 1386 = 9. Packing Info = 1387 1387 1388 1388 ... ... @@ -1399,7 +1399,6 @@ 1399 1399 1400 1400 1401 1401 1402 - 1403 1403 = 10. Support = 1404 1404 1405 1405 ... ... @@ -1406,6 +1406,4 @@ 1406 1406 * 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. 1407 1407 * 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]]. 1408 1408 1409 - 1410 - 1411 1411