Changes for page LSPH01 -- LoRaWAN Soil pH Sensor User Manual
Last modified by Xiaoling on 2025/04/25 14:08
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,9 +14,12 @@ 14 14 15 15 16 16 17 -= 1. Introduction = 18 18 19 19 27 + 28 + 29 += 1. Introduction = 30 + 20 20 == 1.1 What is LoRaWAN Soil pH Sensor == 21 21 22 22 ((( ... ... @@ -46,9 +46,9 @@ 46 46 47 47 48 48 60 + 49 49 == 1.2 Features == 50 50 51 - 52 52 * LoRaWAN 1.0.3 Class A 53 53 * Ultra-low power consumption 54 54 * Monitor soil pH with temperature compensation. ... ... @@ -65,7 +65,6 @@ 65 65 66 66 67 67 68 - 69 69 == 1.3 Probe Specification == 70 70 71 71 ... ... @@ -88,10 +88,8 @@ 88 88 89 89 90 90 91 - 92 92 == 1.4 Applications == 93 93 94 - 95 95 * Smart Agriculture 96 96 97 97 ... ... @@ -98,7 +98,6 @@ 98 98 99 99 == 1.5 Pin mapping and power on == 100 100 101 - 102 102 [[image:1654592472094-134.png]] 103 103 104 104 ... ... @@ -105,10 +105,8 @@ 105 105 106 106 = 2. Configure LSPH01 to connect to LoRaWAN network = 107 107 108 - 109 109 == 2.1 How it works == 110 110 111 - 112 112 ((( 113 113 The LSPH01 is configured as LoRaWAN OTAA Class A mode by default. It has OTAA keys to join LoRaWAN network. To connect a local LoRaWAN network, you need to input the OTAA keys in the LoRaWAN IoT server and power on the LSPH01. It will automatically join the network via OTAA and start to send the sensor value. The default uplink interval is 20 minutes. 114 114 ))) ... ... @@ -118,10 +118,8 @@ 118 118 ))) 119 119 120 120 121 - 122 122 == 2.2 Quick guide to connect to LoRaWAN server (OTAA) == 123 123 124 - 125 125 ((( 126 126 Following is an example for how to join the [[TTN v3 LoRaWAN Network>>url:https://console.cloud.thethings.network/]]. Below is the network structure; we use the [[LG308>>url:http://www.dragino.com/products/lora/item/140-lg308.html]] as a LoRaWAN gateway in this example. 127 127 ))) ... ... @@ -187,8 +187,6 @@ 187 187 188 188 ((( 189 189 (% style="color:blue" %)**Step 3**(%%)**:** The LSPH01 will auto join to the TTN network. After join success, it will start to upload messages to TTN and you can see the messages in the panel. 190 - 191 - 192 192 ))) 193 193 194 194 [[image:1654592697690-910.png]] ... ... @@ -197,7 +197,6 @@ 197 197 198 198 == 2.3 Uplink Payload == 199 199 200 - 201 201 ((( 202 202 LSPH01 will uplink payload via LoRaWAN with below payload format: 203 203 ))) ... ... @@ -241,7 +241,6 @@ 241 241 242 242 === 2.3.2 DS18B20 Temperature sensor === 243 243 244 - 245 245 This is optional, user can connect external DS18B20 sensor to the +3.3v, 1-wire and GND pin . and this field will report temperature. 246 246 247 247 ... ... @@ -255,7 +255,6 @@ 255 255 256 256 === 2.3.3 Soil pH === 257 257 258 - 259 259 Range: 0 ~~ 14 pH 260 260 261 261 **Example:** ... ... @@ -266,7 +266,6 @@ 266 266 267 267 === 2.3.4 Soil Temperature === 268 268 269 - 270 270 Get Soil Temperature 271 271 272 272 ... ... @@ -280,7 +280,6 @@ 280 280 281 281 === 2.3.5 Interrupt Pin === 282 282 283 - 284 284 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. 285 285 286 286 ... ... @@ -294,7 +294,6 @@ 294 294 295 295 === 2.3.6 Message Type === 296 296 297 - 298 298 ((( 299 299 For a normal uplink payload, the message type is always 0x01. 300 300 ))) ... ... @@ -312,7 +312,6 @@ 312 312 313 313 314 314 315 - 316 316 === 2.3.7 Decode payload in The Things Network === 317 317 318 318 While using TTN network, you can add the payload format to decode the payload. ... ... @@ -325,7 +325,7 @@ 325 325 ))) 326 326 327 327 ((( 328 -LSPH01 TTN Payload Decoder: github.com/dragino/dragino-end-node-decoder>>https://github.com/dragino/dragino-end-node-decoder]]322 +LSPH01 TTN Payload Decoder: [[https:~~/~~/www.dragino.com/downloads/index.pHp?dir=LoRa_End_Node/LSPH01/Decoder/>>url:https://www.dragino.com/downloads/index.php?dir=LoRa_End_Node/LSNPK01/Decoder/]] 329 329 ))) 330 330 331 331 ... ... @@ -332,7 +332,6 @@ 332 332 333 333 == 2.4 Uplink Interval == 334 334 335 - 336 336 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"]] 337 337 338 338 ... ... @@ -339,7 +339,6 @@ 339 339 340 340 == 2.5 Show Data in DataCake IoT Server == 341 341 342 - 343 343 ((( 344 344 [[DATACAKE>>url:https://datacake.co/]] provides a human friendly interface to show the sensor data, once we have data in TTN, we can use [[DATACAKE>>url:https://datacake.co/]] to connect to TTN and see the data in DATACAKE. Below are the steps: 345 345 ))) ... ... @@ -382,7 +382,7 @@ 382 382 ))) 383 383 384 384 ((( 385 -Download Datacake decoder from: [[https:~~/~~/www.dro pbox.com/sh/pj7cgmgqg3gx3ta/AABYFbg1DVOOR9Hmr1mLSBkga?dl=0>>url:https://www.dropbox.com/sh/pj7cgmgqg3gx3ta/AABYFbg1DVOOR9Hmr1mLSBkga?dl=0]]377 +Download Datacake decoder from: [[https:~~/~~/www.dragino.com/downloads/index.pHp?dir=LoRa_End_Node/LSPH01/Decoder/>>url:https://www.dragino.com/downloads/index.php?dir=LoRa_End_Node/LSNPK01/Decoder/]] 386 386 ))) 387 387 388 388 ... ... @@ -403,10 +403,8 @@ 403 403 404 404 == 2.6 Installation and Maintain == 405 405 406 - 407 407 === 2.6.1 Before measurement === 408 408 409 - 410 410 ((( 411 411 ((( 412 412 If the LSPH01 has more than 7 days not use or just clean the pH probe. User should put the probe inside pure water for more than 24 hours for activation. If no put in water, user need to put inside soil for more than 24 hours to ensure the measurement accuracy. ... ... @@ -424,8 +424,6 @@ 424 424 425 425 ((( 426 426 [[image:1654592946732-634.png]] 427 - 428 - 429 429 ))) 430 430 431 431 ((( ... ... @@ -437,7 +437,7 @@ 437 437 ))) 438 438 439 439 ((( 440 -Slowly insert the probe to the measure point. Don 't use large force which will break the probe. Make sure not shake when inserting.428 +Slowly insert the probe to the measure point. Don’t use large force which will break the probe. Make sure not shake when inserting. 441 441 ))) 442 442 443 443 ((( ... ... @@ -464,7 +464,6 @@ 464 464 465 465 === 2.6.3 Maintain Probe === 466 466 467 - 468 468 1. ((( 469 469 pH probe electrode is fragile and no strong. User must avoid strong force or hitting it. 470 470 ))) ... ... @@ -489,7 +489,6 @@ 489 489 490 490 == 2.7 Calibration == 491 491 492 - 493 493 ((( 494 494 User can do calibration for the probe. It is limited to use below pH buffer solution to calibrate: 4.00, 6.86, 9.18. When calibration, user need to clean the electrode and put the probe in the pH buffer solution to wait the value stable ( a new clean electrode might need max 24 hours to be stable). 495 495 ))) ... ... @@ -529,20 +529,15 @@ 529 529 * Reply to the confirmation package: 14 01 530 530 * Reply to non-confirmed packet: 14 00 531 531 532 - 533 - 534 534 == 2.8 Frequency Plans == 535 535 536 - 537 537 ((( 538 538 The LSPH01 uses OTAA mode and below frequency plans by default. If user want to use it with different frequency plan, please refer the AT command sets. 539 539 ))) 540 540 541 541 542 - 543 543 === 2.8.1 EU863-870 (EU868) === 544 544 545 - 546 546 ((( 547 547 (% style="color:blue" %)**Uplink:** 548 548 ))) ... ... @@ -603,7 +603,6 @@ 603 603 604 604 === 2.8.2 US902-928(US915) === 605 605 606 - 607 607 ((( 608 608 Used in USA, Canada and South America. Frequency band as per definition in LoRaWAN 1.0.3 Regional document. 609 609 ))) ... ... @@ -617,14 +617,12 @@ 617 617 ))) 618 618 619 619 * Check what sub-band the LoRaWAN server ask from the OTAA Join Accept message and switch to that sub-band 620 -* 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)600 +* 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) 621 621 622 622 623 623 624 - 625 625 === 2.8.3 CN470-510 (CN470) === 626 626 627 - 628 628 ((( 629 629 Used in China, Default use CHE=1 630 630 ))) ... ... @@ -713,7 +713,6 @@ 713 713 714 714 === 2.8.4 AU915-928(AU915) === 715 715 716 - 717 717 ((( 718 718 Frequency band as per definition in LoRaWAN 1.0.3 Regional document. 719 719 ))) ... ... @@ -731,14 +731,12 @@ 731 731 ))) 732 732 733 733 * Check what sub-band the LoRaWAN server ask from the OTAA Join Accept message and switch to that sub-band 734 -* 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)711 +* 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) 735 735 736 736 737 737 738 - 739 739 === 2.8.5 AS920-923 & AS923-925 (AS923) === 740 740 741 - 742 742 ((( 743 743 (% style="color:blue" %)**Default Uplink channel:** 744 744 ))) ... ... @@ -847,7 +847,6 @@ 847 847 848 848 === 2.8.6 KR920-923 (KR920) === 849 849 850 - 851 851 ((( 852 852 (% style="color:blue" %)**Default channel:** 853 853 ))) ... ... @@ -920,7 +920,6 @@ 920 920 921 921 === 2.8.7 IN865-867 (IN865) === 922 922 923 - 924 924 ((( 925 925 (% style="color:blue" %)**Uplink:** 926 926 ))) ... ... @@ -957,7 +957,6 @@ 957 957 958 958 == 2.9 LED Indicator == 959 959 960 - 961 961 The LSPH01 has an internal LED which is to show the status of different state. 962 962 963 963 * The sensor is detected when the device is turned on, and it will flash 4 times quickly when it is detected. ... ... @@ -965,13 +965,14 @@ 965 965 966 966 967 967 968 - 969 969 == 2.10 Firmware Change Log == 970 970 971 971 972 -**Firmware download link: [[https:~~/~~/www.dropbox.com/sh/xtm5tw37mewaw99/AAD0uy06odmreQQ7vMzZYVIGa?dl=0>>https://www.dropbox.com/sh/xtm5tw37mewaw99/AAD0uy06odmreQQ7vMzZYVIGa?dl=0]]943 +**Firmware download link:** 973 973 945 +[[http:~~/~~/www.dragino.com/downloads/index.pHp?dir=LoRa_End_Node/LSPH01/Firmware/>>url:http://www.dragino.com/downloads/index.php?dir=LoRa_End_Node/LSE01/Firmware/]] 974 974 947 + 975 975 **Firmware Upgrade Method: **[[Firmware Upgrade Instruction>>path:/xwiki/bin/view/Main/Firmware%20Upgrade%20Instruction%20for%20STM32%20base%20products/]] 976 976 977 977 ... ... @@ -978,7 +978,6 @@ 978 978 979 979 = 3. Configure LSPH01 via AT Command or LoRaWAN Downlink = 980 980 981 - 982 982 ((( 983 983 Use can configure LSPH01 via AT Command or LoRaWAN Downlink. 984 984 ))) ... ... @@ -1010,7 +1010,7 @@ 1010 1010 ))) 1011 1011 1012 1012 ((( 1013 -They are same for all Dragino Device which support DLWS-005 LoRaWAN Stack. These commands can be found on the wiki: 985 +They are same for all Dragino Device which support DLWS-005 LoRaWAN Stack. These commands can be found on the wiki:[[End Device AT Commands and Downlink Command>>path:/xwiki/bin/view/Main/End%20Device%20AT%20Commands%20and%20Downlink%20Command/]] 1014 1014 ))) 1015 1015 1016 1016 ((( ... ... @@ -1029,7 +1029,6 @@ 1029 1029 1030 1030 == 3.1 Set Transmit Interval Time == 1031 1031 1032 - 1033 1033 Feature: Change LoRaWAN End Node Transmit Interval. 1034 1034 1035 1035 (% style="color:#037691" %)**AT Command: AT+TDC** ... ... @@ -1056,13 +1056,11 @@ 1056 1056 Example 2: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 1057 1057 1058 1058 1059 - 1060 1060 1061 1061 ))) 1062 1062 1063 1063 == 3.2 Set Interrupt Mode == 1064 1064 1065 - 1066 1066 Feature, Set Interrupt mode for GPIO_EXIT. 1067 1067 1068 1068 (% style="color:#037691" %)**AT Command: AT+INTMOD** ... ... @@ -1097,7 +1097,6 @@ 1097 1097 1098 1098 == 3.3 Calibrate Sensor == 1099 1099 1100 - 1101 1101 Detail See [[Calibration Guide>>||anchor="H2.7Calibration"]] for the user of 0x13 and 0x14 downlink commands 1102 1102 1103 1103 ... ... @@ -1104,7 +1104,6 @@ 1104 1104 1105 1105 == 3.4 Get Firmware Version Info == 1106 1106 1107 - 1108 1108 Feature: use downlink to get firmware version. 1109 1109 1110 1110 (% style="color:#037691" %)**Downlink Command: 0x26** ... ... @@ -1187,10 +1187,8 @@ 1187 1187 1188 1188 = 4. Battery & How to replace = 1189 1189 1190 - 1191 1191 == 4.1 Battery Type == 1192 1192 1193 - 1194 1194 ((( 1195 1195 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. 1196 1196 ))) ... ... @@ -1197,8 +1197,6 @@ 1197 1197 1198 1198 ((( 1199 1199 The discharge curve is not linear so can't simply use percentage to show the battery level. Below is the battery performance. 1200 - 1201 - 1202 1202 ))) 1203 1203 1204 1204 [[image:1654593587246-335.png]] ... ... @@ -1212,7 +1212,6 @@ 1212 1212 1213 1213 == 4.2 Replace Battery == 1214 1214 1215 - 1216 1216 ((( 1217 1217 Any battery with range 2.45 ~~ 3.6v can be a replacement. We recommend to use Li-SOCl2 Battery. 1218 1218 ))) ... ... @@ -1225,7 +1225,6 @@ 1225 1225 1226 1226 == 4.3 Power Consumption Analyze == 1227 1227 1228 - 1229 1229 ((( 1230 1230 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. 1231 1231 ))) ... ... @@ -1269,7 +1269,6 @@ 1269 1269 1270 1270 === 4.3.1 Battery Note === 1271 1271 1272 - 1273 1273 ((( 1274 1274 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. 1275 1275 ))) ... ... @@ -1278,13 +1278,12 @@ 1278 1278 1279 1279 === 4.3.2 Replace the battery === 1280 1280 1281 - 1282 1282 ((( 1283 1283 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. 1284 1284 ))) 1285 1285 1286 1286 ((( 1287 -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)1246 +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) 1288 1288 ))) 1289 1289 1290 1290 ... ... @@ -1291,16 +1291,12 @@ 1291 1291 1292 1292 = 5. Use AT Command = 1293 1293 1294 - 1295 1295 == 5.1 Access AT Commands == 1296 1296 1297 - 1298 1298 LSPH01 supports AT Command set in the stock firmware. You can use a USB to TTL adapter to connect to LSPH01 for using AT command, as below. 1299 1299 1300 - 1301 1301 [[image:1654593668970-604.png]] 1302 1302 1303 - 1304 1304 **Connection:** 1305 1305 1306 1306 (% style="background-color:yellow" %)** USB TTL GND <~-~-~-~-> GND** ... ... @@ -1322,21 +1322,16 @@ 1322 1322 1323 1323 = 6. FAQ = 1324 1324 1325 - 1326 1326 == 6.1 How to change the LoRa Frequency Bands/Region == 1327 1327 1328 - 1329 1329 You can follow the instructions for [[how to upgrade image>>||anchor="H2.10200BFirmwareChangeLog"]]. 1330 1330 When downloading the images, choose the required image file for download. 1331 1331 1332 1332 1333 - 1334 1334 = 7. Trouble Shooting = 1335 1335 1336 - 1337 1337 == 7.1 AT Commands input doesn't work == 1338 1338 1339 - 1340 1340 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. 1341 1341 1342 1342 ... ... @@ -1343,7 +1343,6 @@ 1343 1343 1344 1344 = 8. Order Info = 1345 1345 1346 - 1347 1347 Part Number: (% style="color:blue" %)**LSPH01-XX** 1348 1348 1349 1349 ... ... @@ -1359,7 +1359,6 @@ 1359 1359 * (% style="color:red" %)**CN470**(%%): LoRaWAN CN470 band 1360 1360 1361 1361 1362 - 1363 1363 = 9. Packing Info = 1364 1364 1365 1365 ... ... @@ -1375,12 +1375,9 @@ 1375 1375 * Weight / pcs : g 1376 1376 1377 1377 1378 - 1379 1379 = 10. Support = 1380 1380 1381 - 1382 1382 * 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. 1383 1383 * 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]]. 1384 1384 1385 - 1386 1386