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,13 +14,18 @@ 14 14 15 15 16 16 25 + 26 + 27 + 28 + 17 17 = 1. Introduction = 18 18 19 19 20 20 == 1.1 What is LoRaWAN Soil pH Sensor == 21 21 22 - 23 23 ((( 35 + 36 + 24 24 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. 25 25 ))) 26 26 ... ... @@ -45,6 +45,7 @@ 45 45 46 46 47 47 61 + 48 48 == 1.2 Features == 49 49 50 50 ... ... @@ -64,6 +64,8 @@ 64 64 65 65 66 66 81 + 82 + 67 67 == 1.3 Probe Specification == 68 68 69 69 ... ... @@ -86,6 +86,8 @@ 86 86 87 87 88 88 105 + 106 + 89 89 == 1.4 Applications == 90 90 91 91 ... ... @@ -92,6 +92,8 @@ 92 92 * Smart Agriculture 93 93 94 94 113 + 114 + 95 95 == 1.5 Pin mapping and power on == 96 96 97 97 ... ... @@ -206,11 +206,14 @@ 206 206 Normal uplink payload: 207 207 ))) 208 208 209 -(% border="1" cellspacing="5" style="background-color:#ffffcc; width:470px" %) 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** 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** 212 212 |(% style="width:62.5px" %)**Value**|(% style="width:62.5px" %)[[BAT>>||anchor="H2.3.1BatteryInfo"]]|(% style="width:62.5px" %)((( 213 -[[Temperature (Optional)>>||anchor="H2.3.2DS18B20Temperaturesensor"]] 234 +[[Temperature>>||anchor="H2.3.2DS18B20Temperaturesensor"]] 235 + 236 +[[(Optional)>>||anchor="H2.3.2DS18B20Temperaturesensor"]] 214 214 )))|[[Soil pH>>||anchor="H2.3.3SoilpH"]]|[[Soil Temperature>>||anchor="H2.3.4SoilTemperature"]]|((( 215 215 [[Digital Interrupt (Optional)>>||anchor="H2.3.5InterruptPin"]] 216 216 )))|Reserve|((( ... ... @@ -297,7 +297,7 @@ 297 297 ))) 298 298 299 299 300 -(% border="1" cellspacing=" 5" style="background-color:#ffffcc; width:496px" %)323 +(% border="1" cellspacing="10" style="background-color:#ffffcc; width:499px" %) 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"]] ... ... @@ -305,6 +305,8 @@ 305 305 306 306 307 307 331 + 332 + 308 308 === 2.3.7 Decode payload in The Things Network === 309 309 310 310 While using TTN network, you can add the payload format to decode the payload. ... ... @@ -317,7 +317,7 @@ 317 317 ))) 318 318 319 319 ((( 320 -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]] 321 321 ))) 322 322 323 323 ... ... @@ -481,7 +481,6 @@ 481 481 482 482 == 2.7 Calibration == 483 483 484 - 485 485 ((( 486 486 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). 487 487 ))) ... ... @@ -495,16 +495,21 @@ 495 495 496 496 (% style="color:#037691" %)**Calibration Payload** 497 497 498 -(% border="1" cellspacing=" 5" style="background-color:#ffffcc; color:green; width:500px" %)499 -|=(% style="width: 6 0px;" %)(((522 +(% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:510px" %) 523 +|=(% style="width: 62.5px;" %)((( 500 500 **Size (bytes)** 501 -)))|=(% style="width: 110px;" %)**1**|=(% style="width: 90px;" %)**1**|=(% style="width:100px;" %)**1**|=(% style="width:50px;" %)**7**|=(% style="width: 90px;" %)**1**525 +)))|=(% style="width: 89px;" %)**1**|=(% style="width: 89px;" %)**1**|=(% style="width: 89px;" %)**1**|=(% style="width: 89px;" %)**7**|=(% style="width: 89px;" %)**1** 502 502 |**Value**|((( 503 -PH4 Calibrate value 527 +PH4 528 + 529 +Calibrate value 504 504 )))|PH6.86 Calibrate value|((( 505 -PH9.18 Calibrate value 531 +PH9.18 532 + 533 +Calibrate value 506 506 )))|Reserve|((( 507 507 [[Message Type>>||anchor="H2.3.6MessageType"]] 536 + 508 508 Always 0x03 509 509 ))) 510 510 ... ... @@ -519,16 +519,13 @@ 519 519 520 520 == 2.8 Frequency Plans == 521 521 522 - 523 523 ((( 524 524 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. 525 525 ))) 526 526 527 527 528 - 529 529 === 2.8.1 EU863-870 (EU868) === 530 530 531 - 532 532 ((( 533 533 (% style="color:blue" %)**Uplink:** 534 534 ))) ... ... @@ -589,7 +589,6 @@ 589 589 590 590 === 2.8.2 US902-928(US915) === 591 591 592 - 593 593 ((( 594 594 Used in USA, Canada and South America. Frequency band as per definition in LoRaWAN 1.0.3 Regional document. 595 595 ))) ... ... @@ -605,11 +605,8 @@ 605 605 * Check what sub-band the LoRaWAN server ask from the OTAA Join Accept message and switch to that sub-band 606 606 * 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) 607 607 608 - 609 - 610 610 === 2.8.3 CN470-510 (CN470) === 611 611 612 - 613 613 ((( 614 614 Used in China, Default use CHE=1 615 615 ))) ... ... @@ -698,7 +698,6 @@ 698 698 699 699 === 2.8.4 AU915-928(AU915) === 700 700 701 - 702 702 ((( 703 703 Frequency band as per definition in LoRaWAN 1.0.3 Regional document. 704 704 ))) ... ... @@ -718,11 +718,8 @@ 718 718 * Check what sub-band the LoRaWAN server ask from the OTAA Join Accept message and switch to that sub-band 719 719 * 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) 720 720 721 - 722 - 723 723 === 2.8.5 AS920-923 & AS923-925 (AS923) === 724 724 725 - 726 726 ((( 727 727 (% style="color:blue" %)**Default Uplink channel:** 728 728 ))) ... ... @@ -831,7 +831,6 @@ 831 831 832 832 === 2.8.6 KR920-923 (KR920) === 833 833 834 - 835 835 ((( 836 836 (% style="color:blue" %)**Default channel:** 837 837 ))) ... ... @@ -904,7 +904,6 @@ 904 904 905 905 === 2.8.7 IN865-867 (IN865) === 906 906 907 - 908 908 ((( 909 909 (% style="color:blue" %)**Uplink:** 910 910 ))) ... ... @@ -941,20 +941,19 @@ 941 941 942 942 == 2.9 LED Indicator == 943 943 944 - 945 945 The LSPH01 has an internal LED which is to show the status of different state. 946 946 947 947 * The sensor is detected when the device is turned on, and it will flash 4 times quickly when it is detected. 948 948 * Blink once when device transmit a packet. 949 949 950 - 951 - 952 952 == 2.10 Firmware Change Log == 953 953 954 954 955 -**Firmware download link: [[https:~~/~~/www.dropbox.com/sh/xtm5tw37mewaw99/AAD0uy06odmreQQ7vMzZYVIGa?dl=0>>https://www.dropbox.com/sh/xtm5tw37mewaw99/AAD0uy06odmreQQ7vMzZYVIGa?dl=0]]968 +**Firmware download link:** 956 956 970 +[[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/]] 957 957 972 + 958 958 **Firmware Upgrade Method: **[[Firmware Upgrade Instruction>>path:/xwiki/bin/view/Main/Firmware%20Upgrade%20Instruction%20for%20STM32%20base%20products/]] 959 959 960 960 ... ... @@ -961,7 +961,6 @@ 961 961 962 962 = 3. Configure LSPH01 via AT Command or LoRaWAN Downlink = 963 963 964 - 965 965 ((( 966 966 Use can configure LSPH01 via AT Command or LoRaWAN Downlink. 967 967 ))) ... ... @@ -1012,7 +1012,6 @@ 1012 1012 1013 1013 == 3.1 Set Transmit Interval Time == 1014 1014 1015 - 1016 1016 Feature: Change LoRaWAN End Node Transmit Interval. 1017 1017 1018 1018 (% style="color:#037691" %)**AT Command: AT+TDC** ... ... @@ -1039,13 +1039,11 @@ 1039 1039 Example 2: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 1040 1040 1041 1041 1042 - 1043 1043 1044 1044 ))) 1045 1045 1046 1046 == 3.2 Set Interrupt Mode == 1047 1047 1048 - 1049 1049 Feature, Set Interrupt mode for GPIO_EXIT. 1050 1050 1051 1051 (% style="color:#037691" %)**AT Command: AT+INTMOD** ... ... @@ -1077,10 +1077,8 @@ 1077 1077 ))) 1078 1078 1079 1079 1080 - 1081 1081 == 3.3 Calibrate Sensor == 1082 1082 1083 - 1084 1084 Detail See [[Calibration Guide>>||anchor="H2.7Calibration"]] for the user of 0x13 and 0x14 downlink commands 1085 1085 1086 1086 ... ... @@ -1087,7 +1087,6 @@ 1087 1087 1088 1088 == 3.4 Get Firmware Version Info == 1089 1089 1090 - 1091 1091 Feature: use downlink to get firmware version. 1092 1092 1093 1093 (% style="color:#037691" %)**Downlink Command: 0x26** ... ... @@ -1170,10 +1170,8 @@ 1170 1170 1171 1171 = 4. Battery & How to replace = 1172 1172 1173 - 1174 1174 == 4.1 Battery Type == 1175 1175 1176 - 1177 1177 ((( 1178 1178 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. 1179 1179 ))) ... ... @@ -1180,8 +1180,6 @@ 1180 1180 1181 1181 ((( 1182 1182 The discharge curve is not linear so can't simply use percentage to show the battery level. Below is the battery performance. 1183 - 1184 - 1185 1185 ))) 1186 1186 1187 1187 [[image:1654593587246-335.png]] ... ... @@ -1195,7 +1195,6 @@ 1195 1195 1196 1196 == 4.2 Replace Battery == 1197 1197 1198 - 1199 1199 ((( 1200 1200 Any battery with range 2.45 ~~ 3.6v can be a replacement. We recommend to use Li-SOCl2 Battery. 1201 1201 ))) ... ... @@ -1208,7 +1208,6 @@ 1208 1208 1209 1209 == 4.3 Power Consumption Analyze == 1210 1210 1211 - 1212 1212 ((( 1213 1213 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. 1214 1214 ))) ... ... @@ -1252,7 +1252,6 @@ 1252 1252 1253 1253 === 4.3.1 Battery Note === 1254 1254 1255 - 1256 1256 ((( 1257 1257 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. 1258 1258 ))) ... ... @@ -1261,7 +1261,6 @@ 1261 1261 1262 1262 === 4.3.2 Replace the battery === 1263 1263 1264 - 1265 1265 ((( 1266 1266 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. 1267 1267 ))) ... ... @@ -1274,16 +1274,12 @@ 1274 1274 1275 1275 = 5. Use AT Command = 1276 1276 1277 - 1278 1278 == 5.1 Access AT Commands == 1279 1279 1280 - 1281 1281 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. 1282 1282 1283 - 1284 1284 [[image:1654593668970-604.png]] 1285 1285 1286 - 1287 1287 **Connection:** 1288 1288 1289 1289 (% style="background-color:yellow" %)** USB TTL GND <~-~-~-~-> GND** ... ... @@ -1305,21 +1305,16 @@ 1305 1305 1306 1306 = 6. FAQ = 1307 1307 1308 - 1309 1309 == 6.1 How to change the LoRa Frequency Bands/Region == 1310 1310 1311 - 1312 1312 You can follow the instructions for [[how to upgrade image>>||anchor="H2.10200BFirmwareChangeLog"]]. 1313 1313 When downloading the images, choose the required image file for download. 1314 1314 1315 1315 1316 - 1317 1317 = 7. Trouble Shooting = 1318 1318 1319 - 1320 1320 == 7.1 AT Commands input doesn't work == 1321 1321 1322 - 1323 1323 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. 1324 1324 1325 1325 ... ... @@ -1326,7 +1326,6 @@ 1326 1326 1327 1327 = 8. Order Info = 1328 1328 1329 - 1330 1330 Part Number: (% style="color:blue" %)**LSPH01-XX** 1331 1331 1332 1332 ... ... @@ -1359,7 +1359,6 @@ 1359 1359 1360 1360 = 10. Support = 1361 1361 1362 - 1363 1363 * 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. 1364 1364 * 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]]. 1365 1365