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,10 @@ 5 5 6 6 7 7 8 + 9 + 10 + 11 + 8 8 **Table of Contents:** 9 9 10 10 {{toc/}} ... ... @@ -20,11 +20,11 @@ 20 20 21 21 22 22 ((( 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.27 +The Dragino LSPH01 is a (% style="color:blue" %)**LoRaWAN Soil pH Sensor**(%%) for IoT of Agriculture. It is designed to measure the (% style="color:blue" %)**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 26 26 ((( 27 -LSPH01 probe is made by Solid AgCl reference electrode and Pure metal pH sensitive electrode. It can detect soil's**(% style="color:#4f81bd" %)pH (%%)**with high accuracy and stable value. The LSPH01 probe can be buried into soil for long time use.31 +LSPH01 probe is made by Solid AgCl reference electrode and Pure metal pH sensitive electrode. It can detect (% style="color:blue" %)**soil's pH **(%%)with high accuracy and stable value. The LSPH01 probe can be buried into soil for long time use. 28 28 ))) 29 29 30 30 ((( ... ... @@ -32,7 +32,7 @@ 32 32 ))) 33 33 34 34 ((( 35 -LSPH01 is powered by (% style="color: #4f81bd" %)**8500mAh Li-SOCI2 battery**(%%), it is designed for long term use up to 5 years.39 +LSPH01 is powered by (% style="color:blue" %)**8500mAh Li-SOCI2 battery**(%%), it is designed for long term use up to 5 years. 36 36 ))) 37 37 38 38 ((( ... ... @@ -43,7 +43,6 @@ 43 43 [[image:1654592435432-887.png]] 44 44 45 45 46 - 47 47 == 1.2 Features == 48 48 49 49 ... ... @@ -136,10 +136,10 @@ 136 136 Each LSPH01 is shipped with a sticker with the default device EUI as below: 137 137 ))) 138 138 139 -[[image:image-20230426084737-1.png]] 142 +[[image:image-20230426084737-1.png||height="246" width="530"]](% style="display:none" %) 140 140 144 +(% style="display:none" %) (%%) 141 141 142 - 143 143 You can enter this key in the LoRaWAN Server portal. Below is TTN screen shot: 144 144 145 145 ... ... @@ -199,11 +199,11 @@ 199 199 Normal uplink payload: 200 200 ))) 201 201 202 -(% border="1" cellspacing=" 5" style="background-color:#ffffcc; width:470px" %)203 -|=(% style="width: 60px;" %)((( 205 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:470px" %) 206 +|=(% style="width: 60px;background-color:#4F81BD;color:white" %)((( 204 204 **Size(bytes)** 205 -)))|=(% 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** 206 -|(% style="width:62.5px" %) **Value**|(% style="width:62.5px" %)[[BAT>>||anchor="H2.3.1BatteryInfo"]]|(% style="width:62.5px" %)(((208 +)))|=(% style="width: 30px;background-color:#4F81BD;color:white" %)**2**|=(% style="width: 70px;background-color:#4F81BD;color:white" %)**2**|=(% style="width: 50px;background-color:#4F81BD;color:white" %)**2**|=(% style="width: 60px;background-color:#4F81BD;color:white" %)**2**|=(% style="width: 70px;background-color:#4F81BD;color:white" %)**1**|=(% style="width: 50px;background-color:#4F81BD;color:white" %)**1**|=(% style="width: 80px;background-color:#4F81BD;color:white" %)**1** 209 +|(% style="width:62.5px" %)Value|(% style="width:62.5px" %)[[BAT>>||anchor="H2.3.1BatteryInfo"]]|(% style="width:62.5px" %)((( 207 207 [[Temperature (Optional)>>||anchor="H2.3.2DS18B20Temperaturesensor"]] 208 208 )))|[[Soil pH>>||anchor="H2.3.3SoilpH"]]|[[Soil Temperature>>||anchor="H2.3.4SoilTemperature"]]|((( 209 209 [[Digital Interrupt (Optional)>>||anchor="H2.3.5InterruptPin"]] ... ... @@ -285,8 +285,8 @@ 285 285 ))) 286 286 287 287 288 -(% border="1" cellspacing=" 5" style="background-color:#ffffcc; width:496px" %)289 -|=(% style="width: 160px;" %)**Message Type Code**|=(% style="width: 163px;" %)**Description**|=(% style="width: 173px;" %)**Payload** 291 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:496px" %) 292 +|=(% style="width: 160px;background-color:#4F81BD;color:white" %)**Message Type Code**|=(% style="width: 163px;background-color:#4F81BD;color:white" %)**Description**|=(% style="width: 173px;background-color:#4F81BD;color:white" %)**Payload** 290 290 |(% style="width:160px" %)0x01|(% style="width:163px" %)Normal Uplink|(% style="width:173px" %)[[Normal Uplink Payload>>||anchor="H2.3200BUplinkPayload"]] 291 291 |(% style="width:160px" %)0x02|(% style="width:163px" %)Reply configures info|(% style="width:173px" %)[[Configure Info Payload>>||anchor="H3.4GetFirmwareVersionInfo"]] 292 292 |(% style="width:160px" %)0x03|(% style="width:163px" %)Reply Calibration Info|(% style="width:173px" %)[[Calibration Payload>>||anchor="H2.7Calibration"]] ... ... @@ -383,10 +383,8 @@ 383 383 384 384 385 385 ((( 386 -((( 387 387 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. 388 388 ))) 389 -))) 390 390 391 391 392 392 === 2.6.2 Measurement === ... ... @@ -393,13 +393,11 @@ 393 393 394 394 395 395 ((( 396 -(% style="color: #4f81bd" %)**Measurement the soil surface:**397 +(% style="color:blue" %)**Measurement the soil surface:** 397 397 ))) 398 398 399 399 ((( 400 400 [[image:1654592946732-634.png]] 401 - 402 - 403 403 ))) 404 404 405 405 ((( ... ... @@ -423,7 +423,7 @@ 423 423 ))) 424 424 425 425 ((( 426 -(% style="color: #4f81bd" %)**Measurement inside soil:**425 +(% style="color:blue" %)**Measurement inside soil:** 427 427 ))) 428 428 429 429 ((( ... ... @@ -438,24 +438,28 @@ 438 438 === 2.6.3 Maintain Probe === 439 439 440 440 441 - 1.(((442 -pH probe electrode is fragile and no strong. User must avoid strong force or hitting it. 440 +((( 441 +~1. pH probe electrode is fragile and no strong. User must avoid strong force or hitting it. 443 443 ))) 444 -1. ((( 445 -After long time use (3~~ 6 months). The probe electrode needs to be clean; user can use high grade sandpaper to polish it or put in 5% hydrochloric acid for several minutes. After the metal probe looks like new, user can use pure water to wash it. 443 + 444 +((( 445 +2. After long time use (3~~ 6 months). The probe electrode needs to be clean; user can use high grade sandpaper to polish it or put in 5% hydrochloric acid for several minutes. After the metal probe looks like new, user can use pure water to wash it. 446 446 ))) 447 -1. ((( 448 -Probe reference electrode is also no strong, need to avoid strong force or hitting. 447 + 448 +((( 449 +3. Probe reference electrode is also no strong, need to avoid strong force or hitting. 449 449 ))) 450 -1. ((( 451 -User should keep reference electrode wet while not use. 451 + 452 +((( 453 +4. User should keep reference electrode wet while not use. 452 452 ))) 453 -1. ((( 454 -Avoid the probes to touch oily matter. Which will cause issue in accuracy. 455 + 456 +((( 457 +5. Avoid the probes to touch oily matter. Which will cause issue in accuracy. 455 455 ))) 456 -1. ((( 457 -The probe is IP68 can be put in water. 458 458 460 +((( 461 +6. The probe is IP68 can be put in water. 459 459 460 460 461 461 ))) ... ... @@ -469,18 +469,41 @@ 469 469 470 470 ((( 471 471 After stable, user can use below command to calibrate. 475 + 476 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %) 477 +|(% style="background-color:#4F81BD;color:white; width:115px" %)**pH buffer solution**|(% style="background-color:#4F81BD;color:white; width:145px" %)**AT Command to calibrate**|(% style="background-color:#4F81BD;color:white; width:150px" %)**Downlink Command**|(% style="background-color:#4F81BD;color:white; width:100px" %)**Read Cal Value** 478 +|(% style="width:149px" %)4.00|(% style="width:197px" %)AT+PHCAL=4|(% style="width:206px" %)((( 479 +0x13 04 480 +Reply with Calibrate payload 481 +)))|(% style="width:136px" %)((( 482 +AT+PHCAL=? 483 +Example 41,61,91 472 472 ))) 485 +|(% style="width:149px" %)6.86|(% style="width:197px" %)AT+PHCAL=6|(% style="width:206px" %)((( 486 +0x13 06 487 +Reply with Calibrate payload 488 +)))|(% style="width:136px" %)AT+PHCAL=? 489 +|(% style="width:149px" %)9.18|(% style="width:197px" %)AT+PHCAL=9|(% style="width:206px" %)((( 490 +0x13 09 491 +Reply with Calibrate payload 492 +)))|(% style="width:136px" %)AT+PHCAL=? 493 +|(% style="width:149px" %)Factory Default|(% style="width:197px" %)AT+PHCAL=15|(% style="width:206px" %)((( 494 +0x13 15 495 +Reply with Calibrate payload 496 +)))|(% style="width:136px" %)((( 497 +AT+PHCAL=? 498 +Example 151 499 +))) 500 +))) 473 473 474 -[[image:image-20220607171149-4.png]] 475 475 476 - 477 477 (% style="color:#037691" %)**Calibration Payload** 478 478 479 -(% border="1" cellspacing=" 5" style="background-color:#ffffcc;color:green;width:500px" %)480 -|=(% style="width: 60px;" %)((( 481 -**Size 482 -)))|=(% style="width: 100px;" %)**1**|=(% style="width: 100px;" %)**1**|=(% style="width: 100px;" %)**1**|=(% style="width: 50px;" %)**7**|=(% style="width: 483 -| **Value**|(((505 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:500px" %) 506 +|=(% style="width: 60px;background-color:#4F81BD;color:white" %)((( 507 +**Size(bytes)** 508 +)))|=(% style="width: 100px;background-color:#4F81BD;color:white" %)**1**|=(% style="width: 100px;background-color:#4F81BD;color:white" %)**1**|=(% style="width: 100px;background-color:#4F81BD;color:white" %)**1**|=(% style="width: 50px;background-color:#4F81BD;color:white" %)**7**|=(% style="width:90px;background-color:#4F81BD;color:white" %)**1** 509 +|Value|((( 484 484 PH4 Calibrate value 485 485 )))|PH6.86 Calibrate value|((( 486 486 PH9.18 Calibrate value ... ... @@ -491,10 +491,12 @@ 491 491 492 492 User can also send 0x14 downlink command to poll the current calibration payload. 493 493 494 -[[image:image-20220607171416-7.jpeg]] 520 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:480px" %) 521 +|=(% style="width: 183px; background-color:#4F81BD;color:white" %)**Downlink Control Type**|=(% style="width: 55px; background-color:#4F81BD;color:white" %)FPort|=(% style="width: 93px; background-color:#4F81BD;color:white" %)**Type Code**|=(% style="width: 151px; background-color:#4F81BD;color:white" %)**Downlink payload size(bytes)** 522 +|(% style="width:183px" %)Get Calibration Version Info|(% style="width:55px" %)Any|(% style="width:93px" %)14|(% style="width:146px" %)2 495 495 496 - 497 497 * Reply to the confirmation package: 14 01 525 + 498 498 * Reply to non-confirmed packet: 14 00 499 499 500 500 ... ... @@ -582,6 +582,7 @@ 582 582 ))) 583 583 584 584 * Check what sub-band the LoRaWAN server ask from the OTAA Join Accept message and switch to that sub-band 613 + 585 585 * 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) 586 586 587 587 ... ... @@ -693,6 +693,7 @@ 693 693 ))) 694 694 695 695 * Check what sub-band the LoRaWAN server ask from the OTAA Join Accept message and switch to that sub-band 725 + 696 696 * 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) 697 697 698 698 ... ... @@ -823,9 +823,6 @@ 823 823 922.5 - SF7BW125 to SF12BW125 824 824 ))) 825 825 826 -((( 827 - 828 -))) 829 829 830 830 ((( 831 831 (% style="color:blue" %)**Uplink: (OTAA mode, channel added by JoinAccept message)** ... ... @@ -859,9 +859,6 @@ 859 859 923.3 - SF7BW125 to SF12BW125 860 860 ))) 861 861 862 -((( 863 - 864 -))) 865 865 866 866 ((( 867 867 (% style="color:blue" %)**Downlink:** ... ... @@ -895,9 +895,6 @@ 895 895 865.9850 - SF7BW125 to SF12BW125 896 896 ))) 897 897 898 -((( 899 - 900 -))) 901 901 902 902 ((( 903 903 (% style="color:blue" %)**Downlink:** ... ... @@ -918,6 +918,7 @@ 918 918 The LSPH01 has an internal LED which is to show the status of different state. 919 919 920 920 * The sensor is detected when the device is turned on, and it will flash 4 times quickly when it is detected. 942 + 921 921 * Blink once when device transmit a packet. 922 922 923 923 ... ... @@ -966,9 +966,6 @@ 966 966 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/]] 967 967 ))) 968 968 969 -((( 970 - 971 -))) 972 972 973 973 * ((( 974 974 (% style="color:#4f81bd" %)** Commands special design for LSPH01** ... ... @@ -986,9 +986,18 @@ 986 986 987 987 (% style="color:#037691" %)**AT Command: AT+TDC** 988 988 989 -[[image:image-20220607171554-8.png]] 1008 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %) 1009 +|=(% style="width: 156px;background-color:#4F81BD;color:white" %)**Command Example**|=(% style="width: 137px;background-color:#4F81BD;color:white" %)**Function**|=(% style="background-color:#4F81BD;color:white" %)**Response** 1010 +|(% style="width:156px" %)AT+TDC=?|(% style="width:137px" %)Show current transmit Interval|((( 1011 +30000 1012 +OK 1013 +the interval is 30000ms = 30s 1014 +))) 1015 +|(% style="width:156px" %)AT+TDC=60000|(% style="width:137px" %)Set Transmit Interval|((( 1016 +OK 1017 +Set transmit interval to 60000ms = 60 seconds 1018 +))) 990 990 991 - 992 992 ((( 993 993 (% style="color:#037691" %)**Downlink Command: 0x01** 994 994 ))) ... ... @@ -1018,9 +1018,21 @@ 1018 1018 1019 1019 (% style="color:#037691" %)**AT Command: AT+INTMOD** 1020 1020 1021 -[[image:image-20220610105907-1.png]] 1049 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %) 1050 +|=(% style="width: 155px;background-color:#4F81BD;color:white" %)**Command Example**|=(% style="width: 197px;background-color:#4F81BD;color:white" %)**Function**|=(% style="width: 158px;background-color:#4F81BD;color:white" %)**Response** 1051 +|(% style="width:154px" %)AT+INTMOD=?|(% style="width:196px" %)Show current interrupt mode|(% style="width:157px" %)((( 1052 +0 1053 +OK 1054 +the mode is 0 =No interruption 1055 +))) 1056 +|(% style="width:154px" %)AT+INTMOD=2|(% style="width:196px" %)((( 1057 +Set Transmit Interval 1058 +0. (Disable Interrupt), 1059 +~1. (Trigger by rising and falling edge) 1060 +2. (Trigger by falling edge) 1061 +3. (Trigger by rising edge) 1062 +)))|(% style="width:157px" %)OK 1022 1022 1023 - 1024 1024 ((( 1025 1025 (% style="color:#037691" %)**Downlink Command: 0x06** 1026 1026 ))) ... ... @@ -1038,14 +1038,11 @@ 1038 1038 ))) 1039 1039 * ((( 1040 1040 Example 2: Downlink Payload: 06000003 ~/~/ Set the interrupt mode to rising edge trigger 1041 -))) 1042 1042 1043 - (((1082 + 1044 1044 1045 1045 ))) 1046 1046 1047 - 1048 - 1049 1049 == 3.3 Calibrate Sensor == 1050 1050 1051 1051 ... ... @@ -1059,9 +1059,12 @@ 1059 1059 1060 1060 (% style="color:#037691" %)**Downlink Command: 0x26** 1061 1061 1062 -[[image:image-20220607171917-10.png]] 1099 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:500px" %) 1100 +|(% style="background-color:#4F81BD;color:white; width:193px" %)**Downlink Control Type**|(% style="background-color:#4F81BD;color:white; width:57px" %)**FPort**|(% style="background-color:#4F81BD;color:white; width:91px" %)**Type Code**|(% style="background-color:#4F81BD;color:white; width:159px" %)**Downlink payload size(bytes)** 1101 +|(% style="width:193px" %)Get Firmware Version Info|(% style="width:57px" %)Any|(% style="width:91px" %)26|(% style="width:149px" %)2 1063 1063 1064 1064 * Reply to the confirmation package: 26 01 1104 + 1065 1065 * Reply to non-confirmed packet: 26 00 1066 1066 1067 1067 Device will send an uplink after got this downlink command. With below payload: ... ... @@ -1068,11 +1068,9 @@ 1068 1068 1069 1069 Configures info payload: 1070 1070 1071 -(% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:510px" %) 1072 -|=((( 1073 -**Size(bytes)** 1074 -)))|=**1**|=**1**|=**1**|=**1**|=**1**|=**5**|=**1** 1075 -|**Value**|Software Type|((( 1111 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:520px" %) 1112 +|(% style="background-color:#4F81BD;color:white; width:50px" %)**Size(bytes)**|(% style="background-color:#4F81BD;color:white; width:70px" %)**1**|(% style="background-color:#4F81BD;color:white; width:70px" %)**1**|(% style="background-color:#4F81BD;color:white; width:50px" %)**1**|(% style="background-color:#4F81BD;color:white; width:70px" %)**1**|(% style="background-color:#4F81BD;color:white; width:60px" %)**1**|(% style="background-color:#4F81BD;color:white; width:50px" %)**5**|(% style="background-color:#4F81BD;color:white; width:100px" %)**1** 1113 +|Value|Software Type|((( 1076 1076 Frequency 1077 1077 Band 1078 1078 )))|Sub-band|((( ... ... @@ -1085,7 +1085,6 @@ 1085 1085 1086 1086 (% style="color:#037691" %)**Software Type**(%%): Always 0x03 for LSPH01 1087 1087 1088 - 1089 1089 (% style="color:#037691" %)**Frequency Band**: 1090 1090 1091 1091 *0x01: EU868 ... ... @@ -1111,10 +1111,8 @@ 1111 1111 1112 1112 (% style="color:#037691" %)**Sub-Band**(%%): value 0x00 ~~ 0x08 1113 1113 1114 - 1115 1115 (% style="color:#037691" %)**Firmware Version**(%%): 0x0100, Means: v1.0.0 version 1116 1116 1117 - 1118 1118 (% style="color:#037691" %)**Sensor Type**: 1119 1119 1120 1120 0x01: LSE01 ... ... @@ -1225,4 +1225,3 @@ 1225 1225 1226 1226 * 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. 1227 1227 * 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]]. 1228 -