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,6 +5,14 @@ 5 5 6 6 7 7 8 + 9 + 10 + 11 + 12 + 13 + 14 + 15 + 8 8 **Table of Contents:** 9 9 10 10 {{toc/}} ... ... @@ -14,12 +14,18 @@ 14 14 15 15 16 16 25 + 26 + 27 + 28 + 17 17 = 1. Introduction = 18 18 31 + 19 19 == 1.1 What is LoRaWAN Soil pH Sensor == 20 20 21 - 22 22 ((( 35 + 36 + 23 23 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. 24 24 ))) 25 25 ... ... @@ -44,6 +44,7 @@ 44 44 45 45 46 46 61 + 47 47 == 1.2 Features == 48 48 49 49 ... ... @@ -63,6 +63,8 @@ 63 63 64 64 65 65 81 + 82 + 66 66 == 1.3 Probe Specification == 67 67 68 68 ... ... @@ -85,6 +85,8 @@ 85 85 86 86 87 87 105 + 106 + 88 88 == 1.4 Applications == 89 89 90 90 ... ... @@ -92,6 +92,7 @@ 92 92 93 93 94 94 114 + 95 95 == 1.5 Pin mapping and power on == 96 96 97 97 ... ... @@ -98,8 +98,10 @@ 98 98 [[image:1654592472094-134.png]] 99 99 100 100 121 + 101 101 = 2. Configure LSPH01 to connect to LoRaWAN network = 102 102 124 + 103 103 == 2.1 How it works == 104 104 105 105 ... ... @@ -112,6 +112,7 @@ 112 112 ))) 113 113 114 114 137 + 115 115 == 2.2 Quick guide to connect to LoRaWAN server (OTAA) == 116 116 117 117 ... ... @@ -187,6 +187,7 @@ 187 187 [[image:1654592697690-910.png]] 188 188 189 189 213 + 190 190 == 2.3 Uplink Payload == 191 191 192 192 ... ... @@ -202,12 +202,14 @@ 202 202 Normal uplink payload: 203 203 ))) 204 204 205 -(% border="1" cellspacing=" 5" style="background-color:#ffffcc; width:470px" %)206 -|=(% style="width: 6 0px;" %)(((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**229 +(% border="1" cellspacing="10" style="background-color:#ffffcc; width:510px" %) 230 +|=(% style="width: 62.5px;" %)((( 231 +**Size (bytes)** 232 +)))|=(% style="width: 62.5px;" %)**2**|=(% style="width: 62.5px;" %)**2**|=**2**|=**2**|=**1**|=**1**|=**1** 209 209 |(% style="width:62.5px" %)**Value**|(% style="width:62.5px" %)[[BAT>>||anchor="H2.3.1BatteryInfo"]]|(% style="width:62.5px" %)((( 210 -[[Temperature (Optional)>>||anchor="H2.3.2DS18B20Temperaturesensor"]] 234 +[[Temperature>>||anchor="H2.3.2DS18B20Temperaturesensor"]] 235 + 236 +[[(Optional)>>||anchor="H2.3.2DS18B20Temperaturesensor"]] 211 211 )))|[[Soil pH>>||anchor="H2.3.3SoilpH"]]|[[Soil Temperature>>||anchor="H2.3.4SoilTemperature"]]|((( 212 212 [[Digital Interrupt (Optional)>>||anchor="H2.3.5InterruptPin"]] 213 213 )))|Reserve|((( ... ... @@ -217,6 +217,7 @@ 217 217 [[image:1654592721645-318.png]] 218 218 219 219 246 + 220 220 === 2.3.1 Battery Info === 221 221 222 222 ... ... @@ -227,6 +227,7 @@ 227 227 Ex2: 0x0B49 = 2889mV 228 228 229 229 257 + 230 230 === 2.3.2 DS18B20 Temperature sensor === 231 231 232 232 ... ... @@ -240,6 +240,7 @@ 240 240 If payload is: FF3FH : (FF3F & FC00 == 1) , temp = (FF3FH - 65536)/10 = -19.3 degrees. 241 241 242 242 271 + 243 243 === 2.3.3 Soil pH === 244 244 245 245 ... ... @@ -250,6 +250,7 @@ 250 250 (% style="color:#037691" %)** 0x02B7(H) = 695(D) = 6.95pH** 251 251 252 252 282 + 253 253 === 2.3.4 Soil Temperature === 254 254 255 255 ... ... @@ -263,6 +263,7 @@ 263 263 If payload is: **FF3FH** : (FF3F & FC00 == 1) , temp = (FF3FH - 65536)/10 = -19.3 degrees. 264 264 265 265 296 + 266 266 === 2.3.5 Interrupt Pin === 267 267 268 268 ... ... @@ -276,6 +276,7 @@ 276 276 0x01: Interrupt Uplink Packet. 277 277 278 278 310 + 279 279 === 2.3.6 Message Type === 280 280 281 281 ... ... @@ -288,7 +288,7 @@ 288 288 ))) 289 289 290 290 291 -(% border="1" cellspacing=" 5" style="background-color:#ffffcc; width:496px" %)323 +(% border="1" cellspacing="10" style="background-color:#ffffcc; width:499px" %) 292 292 |=(% style="width: 160px;" %)**Message Type Code**|=(% style="width: 163px;" %)**Description**|=(% style="width: 173px;" %)**Payload** 293 293 |(% style="width:160px" %)0x01|(% style="width:163px" %)Normal Uplink|(% style="width:173px" %)[[Normal Uplink Payload>>||anchor="H2.3200BUplinkPayload"]] 294 294 |(% style="width:160px" %)0x02|(% style="width:163px" %)Reply configures info|(% style="width:173px" %)[[Configure Info Payload>>||anchor="H3.4GetFirmwareVersionInfo"]] ... ... @@ -296,9 +296,10 @@ 296 296 297 297 298 298 299 -=== 2.3.7 Decode payload in The Things Network === 300 300 301 301 333 +=== 2.3.7 Decode payload in The Things Network === 334 + 302 302 While using TTN network, you can add the payload format to decode the payload. 303 303 304 304 ... ... @@ -309,10 +309,11 @@ 309 309 ))) 310 310 311 311 ((( 312 -LSPH01 TTN Payload Decoder: [[https:~~/~~/ github.com/dragino/dragino-end-node-decoder>>https://github.com/dragino/dragino-end-node-decoder]]345 +LSPH01 TTN Payload Decoder: [[https:~~/~~/www.dropbox.com/sh/pj7cgmgqg3gx3ta/AABYFbg1DVOOR9Hmr1mLSBkga?dl=0>>https://www.dropbox.com/sh/pj7cgmgqg3gx3ta/AABYFbg1DVOOR9Hmr1mLSBkga?dl=0]] 313 313 ))) 314 314 315 315 349 + 316 316 == 2.4 Uplink Interval == 317 317 318 318 ... ... @@ -319,6 +319,7 @@ 319 319 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"]] 320 320 321 321 356 + 322 322 == 2.5 Show Data in DataCake IoT Server == 323 323 324 324 ... ... @@ -352,6 +352,7 @@ 352 352 [[image:1654592819047-535.png]] 353 353 354 354 390 + 355 355 [[image:1654592833877-762.png]] 356 356 357 357 ... ... @@ -381,8 +381,10 @@ 381 381 [[image:1654592917530-261.png]] 382 382 383 383 420 + 384 384 == 2.6 Installation and Maintain == 385 385 423 + 386 386 === 2.6.1 Before measurement === 387 387 388 388 ... ... @@ -393,6 +393,7 @@ 393 393 ))) 394 394 395 395 434 + 396 396 === 2.6.2 Measurement === 397 397 398 398 ... ... @@ -439,6 +439,7 @@ 439 439 ))) 440 440 441 441 481 + 442 442 === 2.6.3 Maintain Probe === 443 443 444 444 ... ... @@ -480,19 +480,25 @@ 480 480 481 481 (% style="color:#037691" %)**Calibration Payload** 482 482 483 -(% border="1" cellspacing=" 5" style="background-color:#ffffcc; color:green; width:500px" %)484 -|=(% style="width: 6 0px;" %)(((523 +(% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:510px" %) 524 +|=(% style="width: 62.5px;" %)((( 485 485 **Size (bytes)** 486 -)))|=(% style="width: 100px;" %)**1**|=(% style="width:100px;" %)**1**|=(% style="width:100px;" %)**1**|=(% style="width:50px;" %)**7**|=(% style="width: 90px;" %)**1**526 +)))|=(% style="width: 89px;" %)**1**|=(% style="width: 89px;" %)**1**|=(% style="width: 89px;" %)**1**|=(% style="width: 89px;" %)**7**|=(% style="width: 89px;" %)**1** 487 487 |**Value**|((( 488 -PH4 Calibrate value 528 +PH4 529 + 530 +Calibrate value 489 489 )))|PH6.86 Calibrate value|((( 490 -PH9.18 Calibrate value 532 +PH9.18 533 + 534 +Calibrate value 491 491 )))|Reserve|((( 492 492 [[Message Type>>||anchor="H2.3.6MessageType"]] 537 + 493 493 Always 0x03 494 494 ))) 495 495 541 + 496 496 User can also send 0x14 downlink command to poll the current calibration payload. 497 497 498 498 [[image:image-20220607171416-7.jpeg]] ... ... @@ -503,6 +503,7 @@ 503 503 504 504 505 505 552 + 506 506 == 2.8 Frequency Plans == 507 507 508 508 ... ... @@ -511,6 +511,7 @@ 511 511 ))) 512 512 513 513 561 + 514 514 === 2.8.1 EU863-870 (EU868) === 515 515 516 516 ... ... @@ -571,6 +571,7 @@ 571 571 ))) 572 572 573 573 622 + 574 574 === 2.8.2 US902-928(US915) === 575 575 576 576 ... ... @@ -591,6 +591,8 @@ 591 591 592 592 593 593 643 + 644 + 594 594 === 2.8.3 CN470-510 (CN470) === 595 595 596 596 ... ... @@ -679,6 +679,7 @@ 679 679 ))) 680 680 681 681 733 + 682 682 === 2.8.4 AU915-928(AU915) === 683 683 684 684 ... ... @@ -703,6 +703,8 @@ 703 703 704 704 705 705 758 + 759 + 706 706 === 2.8.5 AS920-923 & AS923-925 (AS923) === 707 707 708 708 ... ... @@ -811,6 +811,7 @@ 811 811 ))) 812 812 813 813 868 + 814 814 === 2.8.6 KR920-923 (KR920) === 815 815 816 816 ... ... @@ -883,6 +883,7 @@ 883 883 ))) 884 884 885 885 941 + 886 886 === 2.8.7 IN865-867 (IN865) === 887 887 888 888 ... ... @@ -919,6 +919,7 @@ 919 919 ))) 920 920 921 921 978 + 922 922 == 2.9 LED Indicator == 923 923 924 924 ... ... @@ -929,14 +929,18 @@ 929 929 930 930 931 931 989 + 990 + 932 932 == 2.10 Firmware Change Log == 933 933 934 934 935 935 **Firmware download link: **[[https:~~/~~/www.dropbox.com/sh/xtm5tw37mewaw99/AAD0uy06odmreQQ7vMzZYVIGa?dl=0>>https://www.dropbox.com/sh/xtm5tw37mewaw99/AAD0uy06odmreQQ7vMzZYVIGa?dl=0]] 936 936 996 + 937 937 **Firmware Upgrade Method: **[[Firmware Upgrade Instruction>>path:/xwiki/bin/view/Main/Firmware%20Upgrade%20Instruction%20for%20STM32%20base%20products/]] 938 938 939 939 1000 + 940 940 = 3. Configure LSPH01 via AT Command or LoRaWAN Downlink = 941 941 942 942 ... ... @@ -987,6 +987,7 @@ 987 987 ))) 988 988 989 989 1051 + 990 990 == 3.1 Set Transmit Interval Time == 991 991 992 992 ... ... @@ -1006,16 +1006,17 @@ 1006 1006 ))) 1007 1007 1008 1008 ((( 1009 -If the downlink payload=0100003C, it means set the END Node 's Transmit Interval to 0x00003C=60(S), while type code is 01.1071 +If the downlink payload=0100003C, it means set the END Node’s Transmit Interval to 0x00003C=60(S), while type code is 01. 1010 1010 ))) 1011 1011 1012 1012 * ((( 1013 -Example 1: Downlink Payload: 0100001E 1075 +Example 1: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds 1014 1014 ))) 1015 1015 * ((( 1016 -Example 2: Downlink Payload: 0100003C 1078 +Example 2: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 1017 1017 1018 1018 1081 + 1019 1019 1020 1020 ))) 1021 1021 ... ... @@ -1042,10 +1042,10 @@ 1042 1042 ))) 1043 1043 1044 1044 * ((( 1045 -Example 1: Downlink Payload: 06000000 1108 +Example 1: Downlink Payload: 06000000 ~/~/ Turn off interrupt mode 1046 1046 ))) 1047 1047 * ((( 1048 -Example 2: Downlink Payload: 06000003 1111 +Example 2: Downlink Payload: 06000003 ~/~/ Set the interrupt mode to rising edge trigger 1049 1049 ))) 1050 1050 1051 1051 ((( ... ... @@ -1060,6 +1060,7 @@ 1060 1060 Detail See [[Calibration Guide>>||anchor="H2.7Calibration"]] for the user of 0x13 and 0x14 downlink commands 1061 1061 1062 1062 1126 + 1063 1063 == 3.4 Get Firmware Version Info == 1064 1064 1065 1065 ... ... @@ -1082,9 +1082,11 @@ 1082 1082 )))|=**1**|=**1**|=**1**|=**1**|=**1**|=**5**|=**1** 1083 1083 |**Value**|Software Type|((( 1084 1084 Frequency 1149 + 1085 1085 Band 1086 1086 )))|Sub-band|((( 1087 1087 Firmware 1153 + 1088 1088 Version 1089 1089 )))|Sensor Type|Reserve|((( 1090 1090 [[Message Type>>||anchor="H2.3.6MessageType"]] ... ... @@ -1140,16 +1140,114 @@ 1140 1140 0x07: LDDS12 1141 1141 1142 1142 1143 -= 4. Battery & Power Consumption = 1144 1144 1210 += 4. Battery & How to replace = 1145 1145 1146 -LSPH01 uses ER26500 + SPC1520 battery pack. See below link for detail information about the battery info and how to replace. 1147 1147 1148 - [[**BatteryInfo & Power Consumption Analyze**>>url:http://wiki.dragino.com/xwiki/bin/view/Main/How%20to%20calculate%20the%20battery%20life%20of%20Dragino%20sensors%3F/]].1213 +== 4.1 Battery Type == 1149 1149 1150 1150 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 + 1151 1151 = 5. Use AT Command = 1152 1152 1316 + 1153 1153 == 5.1 Access AT Commands == 1154 1154 1155 1155 ... ... @@ -1180,6 +1180,7 @@ 1180 1180 1181 1181 = 6. FAQ = 1182 1182 1347 + 1183 1183 == 6.1 How to change the LoRa Frequency Bands/Region == 1184 1184 1185 1185 ... ... @@ -1187,8 +1187,10 @@ 1187 1187 When downloading the images, choose the required image file for download. 1188 1188 1189 1189 1355 + 1190 1190 = 7. Trouble Shooting = 1191 1191 1358 + 1192 1192 == 7.1 AT Commands input doesn't work == 1193 1193 1194 1194 ... ... @@ -1195,6 +1195,7 @@ 1195 1195 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. 1196 1196 1197 1197 1365 + 1198 1198 = 8. Order Info = 1199 1199 1200 1200 ... ... @@ -1214,6 +1214,7 @@ 1214 1214 1215 1215 1216 1216 1385 + 1217 1217 = 9. Packing Info = 1218 1218 1219 1219 ... ... @@ -1230,6 +1230,7 @@ 1230 1230 1231 1231 1232 1232 1402 + 1233 1233 = 10. Support = 1234 1234 1235 1235 ... ... @@ -1236,4 +1236,6 @@ 1236 1236 * 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. 1237 1237 * 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]]. 1238 1238 1409 + 1410 + 1239 1239