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,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 ... ... @@ -61,6 +61,7 @@ 61 61 * IP68 rate for the Sensor Probe 62 62 * 8500mAh Battery for long term use 63 63 67 + 64 64 == 1.3 Probe Specification == 65 65 66 66 ... ... @@ -81,11 +81,13 @@ 81 81 * IP68 Protection 82 82 * Length: 3.5 meters 83 83 88 + 84 84 == 1.4 Applications == 85 85 86 86 87 87 * Smart Agriculture 88 88 94 + 89 89 == 1.5 Pin mapping and power on == 90 90 91 91 ... ... @@ -196,11 +196,11 @@ 196 196 Normal uplink payload: 197 197 ))) 198 198 199 -(% border="1" cellspacing=" 5" style="background-color:#f2f2f2; width:470px" %)200 -|=(% style="width: 60px;background-color:# D9E2F3;color:#0070C0" %)(((205 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:470px" %) 206 +|=(% style="width: 60px;background-color:#4F81BD;color:white" %)((( 201 201 **Size(bytes)** 202 -)))|=(% style="width: 30px;background-color:# D9E2F3;color:#0070C0" %)**2**|=(% style="width: 70px;background-color:#D9E2F3;color:#0070C0" %)**2**|=(% style="width: 50px;background-color:#D9E2F3;color:#0070C0" %)**2**|=(% style="width: 60px;background-color:#D9E2F3;color:#0070C0" %)**2**|=(% style="width: 70px;background-color:#D9E2F3;color:#0070C0" %)**1**|=(% style="width: 50px;background-color:#D9E2F3;color:#0070C0" %)**1**|=(% style="width: 80px;background-color:#D9E2F3;color:#0070C0" %)**1**203 -|(% 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" %)((( 204 204 [[Temperature (Optional)>>||anchor="H2.3.2DS18B20Temperaturesensor"]] 205 205 )))|[[Soil pH>>||anchor="H2.3.3SoilpH"]]|[[Soil Temperature>>||anchor="H2.3.4SoilTemperature"]]|((( 206 206 [[Digital Interrupt (Optional)>>||anchor="H2.3.5InterruptPin"]] ... ... @@ -282,12 +282,13 @@ 282 282 ))) 283 283 284 284 285 -(% border="1" cellspacing=" 5" style="background-color:#f2f2f2; width:496px" %)286 -|=(% style="width: 160px;background-color:# D9E2F3;color:#0070C0" %)**Message Type Code**|=(% style="width: 163px;background-color:#D9E2F3;color:#0070C0" %)**Description**|=(% style="width: 173px;background-color:#D9E2F3;color:#0070C0" %)**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** 287 287 |(% style="width:160px" %)0x01|(% style="width:163px" %)Normal Uplink|(% style="width:173px" %)[[Normal Uplink Payload>>||anchor="H2.3200BUplinkPayload"]] 288 288 |(% style="width:160px" %)0x02|(% style="width:163px" %)Reply configures info|(% style="width:173px" %)[[Configure Info Payload>>||anchor="H3.4GetFirmwareVersionInfo"]] 289 289 |(% style="width:160px" %)0x03|(% style="width:163px" %)Reply Calibration Info|(% style="width:173px" %)[[Calibration Payload>>||anchor="H2.7Calibration"]] 290 290 297 + 291 291 === 2.3.7 Decode payload in The Things Network === 292 292 293 293 ... ... @@ -379,10 +379,8 @@ 379 379 380 380 381 381 ((( 382 -((( 383 383 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. 384 384 ))) 385 -))) 386 386 387 387 388 388 === 2.6.2 Measurement === ... ... @@ -389,13 +389,11 @@ 389 389 390 390 391 391 ((( 392 -(% style="color: #4f81bd" %)**Measurement the soil surface:**397 +(% style="color:blue" %)**Measurement the soil surface:** 393 393 ))) 394 394 395 395 ((( 396 396 [[image:1654592946732-634.png]] 397 - 398 - 399 399 ))) 400 400 401 401 ((( ... ... @@ -419,7 +419,7 @@ 419 419 ))) 420 420 421 421 ((( 422 -(% style="color: #4f81bd" %)**Measurement inside soil:**425 +(% style="color:blue" %)**Measurement inside soil:** 423 423 ))) 424 424 425 425 ((( ... ... @@ -434,24 +434,28 @@ 434 434 === 2.6.3 Maintain Probe === 435 435 436 436 437 - 1.(((438 -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. 439 439 ))) 440 -1. ((( 441 -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. 442 442 ))) 443 -1. ((( 444 -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. 445 445 ))) 446 -1. ((( 447 -User should keep reference electrode wet while not use. 451 + 452 +((( 453 +4. User should keep reference electrode wet while not use. 448 448 ))) 449 -1. ((( 450 -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. 451 451 ))) 452 -1. ((( 453 -The probe is IP68 can be put in water. 454 454 460 +((( 461 +6. The probe is IP68 can be put in water. 455 455 456 456 457 457 ))) ... ... @@ -466,8 +466,8 @@ 466 466 ((( 467 467 After stable, user can use below command to calibrate. 468 468 469 -(% border="1" cellspacing=" 5" style="background-color:#f2f2f2; width:520px" %)470 -|(% style="background-color:# d9e2f3;#0070c0; width:120px" %)**pH buffer solution**|(% style="background-color:#d9e2f3;#0070c0; width:150px" %)**AT Command to calibrate**|(% style="background-color:#d9e2f3;#0070c0; width:150px" %)**Downlink Command**|(% style="background-color:#d9e2f3;#0070c0; width:100px" %)**Read Cal Value**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** 471 471 |(% style="width:149px" %)4.00|(% style="width:197px" %)AT+PHCAL=4|(% style="width:206px" %)((( 472 472 0x13 04 473 473 Reply with Calibrate payload ... ... @@ -493,13 +493,12 @@ 493 493 ))) 494 494 495 495 496 - 497 497 (% style="color:#037691" %)**Calibration Payload** 498 498 499 -(% border="1" cellspacing=" 5" style="background-color:#f2f2f2; width:500px" %)500 -|=(% style="width: 60px;background-color:# D9E2F3;color:#0070C0" %)(((505 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:500px" %) 506 +|=(% style="width: 60px;background-color:#4F81BD;color:white" %)((( 501 501 **Size(bytes)** 502 -)))|=(% style="width: 100px;background-color:# D9E2F3;color:#0070C0" %)**1**|=(% style="width: 100px;background-color:#D9E2F3;color:#0070C0" %)**1**|=(% style="width: 100px;background-color:#D9E2F3;color:#0070C0" %)**1**|=(% style="width: 50px;background-color:#D9E2F3;color:#0070C0" %)**7**|=(% style="width: 90px;background-color:#D9E2F3;color:#0070C0" %)**1**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** 503 503 |Value|((( 504 504 PH4 Calibrate value 505 505 )))|PH6.86 Calibrate value|((( ... ... @@ -511,15 +511,15 @@ 511 511 512 512 User can also send 0x14 downlink command to poll the current calibration payload. 513 513 514 -(% border="1" cellspacing=" 5" style="background-color:#f2f2f2; width:480px" %)515 -|=(% style="width: 183px; background-color:# D9E2F3;color:#0070C0" %)**Downlink Control Type**|=(% style="width: 55px; background-color:#D9E2F3;color:#0070C0" %)FPort|=(% style="width: 93px; background-color:#D9E2F3;color:#0070C0" %)**Type Code**|=(% style="width: 146px; background-color:rgb(217, 226, 243);rgb(0, 112, 192);" %)**Downlink payload size(bytes)**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: 146px; background-color:#4F81BD;color:white" %)**Downlink payload size(bytes)** 516 516 |(% style="width:183px" %)Get Calibration Version Info|(% style="width:55px" %)Any|(% style="width:93px" %)14|(% style="width:146px" %)2 517 517 518 - 519 - 520 520 * Reply to the confirmation package: 14 01 525 + 521 521 * Reply to non-confirmed packet: 14 00 522 522 528 + 523 523 == 2.8 Frequency Plans == 524 524 525 525 ... ... @@ -604,8 +604,10 @@ 604 604 ))) 605 605 606 606 * Check what sub-band the LoRaWAN server ask from the OTAA Join Accept message and switch to that sub-band 613 + 607 607 * 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) 608 608 616 + 609 609 === 2.8.3 CN470-510 (CN470) === 610 610 611 611 ... ... @@ -714,8 +714,10 @@ 714 714 ))) 715 715 716 716 * Check what sub-band the LoRaWAN server ask from the OTAA Join Accept message and switch to that sub-band 725 + 717 717 * 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) 718 718 728 + 719 719 === 2.8.5 AS920-923 & AS923-925 (AS923) === 720 720 721 721 ... ... @@ -843,9 +843,6 @@ 843 843 922.5 - SF7BW125 to SF12BW125 844 844 ))) 845 845 846 -((( 847 - 848 -))) 849 849 850 850 ((( 851 851 (% style="color:blue" %)**Uplink: (OTAA mode, channel added by JoinAccept message)** ... ... @@ -879,9 +879,6 @@ 879 879 923.3 - SF7BW125 to SF12BW125 880 880 ))) 881 881 882 -((( 883 - 884 -))) 885 885 886 886 ((( 887 887 (% style="color:blue" %)**Downlink:** ... ... @@ -915,9 +915,6 @@ 915 915 865.9850 - SF7BW125 to SF12BW125 916 916 ))) 917 917 918 -((( 919 - 920 -))) 921 921 922 922 ((( 923 923 (% style="color:blue" %)**Downlink:** ... ... @@ -938,8 +938,10 @@ 938 938 The LSPH01 has an internal LED which is to show the status of different state. 939 939 940 940 * The sensor is detected when the device is turned on, and it will flash 4 times quickly when it is detected. 942 + 941 941 * Blink once when device transmit a packet. 942 942 945 + 943 943 == 2.10 Firmware Change Log == 944 944 945 945 ... ... @@ -985,9 +985,6 @@ 985 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/]] 986 986 ))) 987 987 988 -((( 989 - 990 -))) 991 991 992 992 * ((( 993 993 (% style="color:#4f81bd" %)** Commands special design for LSPH01** ... ... @@ -1005,9 +1005,18 @@ 1005 1005 1006 1006 (% style="color:#037691" %)**AT Command: AT+TDC** 1007 1007 1008 -[[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 +))) 1009 1009 1010 - 1011 1011 ((( 1012 1012 (% style="color:#037691" %)**Downlink Command: 0x01** 1013 1013 ))) ... ... @@ -1037,9 +1037,21 @@ 1037 1037 1038 1038 (% style="color:#037691" %)**AT Command: AT+INTMOD** 1039 1039 1040 -[[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 1041 1041 1042 - 1043 1043 ((( 1044 1044 (% style="color:#037691" %)**Downlink Command: 0x06** 1045 1045 ))) ... ... @@ -1057,14 +1057,11 @@ 1057 1057 ))) 1058 1058 * ((( 1059 1059 Example 2: Downlink Payload: 06000003 ~/~/ Set the interrupt mode to rising edge trigger 1060 -))) 1061 1061 1062 - (((1082 + 1063 1063 1064 1064 ))) 1065 1065 1066 - 1067 - 1068 1068 == 3.3 Calibrate Sensor == 1069 1069 1070 1070 ... ... @@ -1078,9 +1078,12 @@ 1078 1078 1079 1079 (% style="color:#037691" %)**Downlink Command: 0x26** 1080 1080 1081 -[[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 1082 1082 1083 1083 * Reply to the confirmation package: 26 01 1104 + 1084 1084 * Reply to non-confirmed packet: 26 00 1085 1085 1086 1086 Device will send an uplink after got this downlink command. With below payload: ... ... @@ -1087,11 +1087,9 @@ 1087 1087 1088 1088 Configures info payload: 1089 1089 1090 -(% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:510px" %) 1091 -|=((( 1092 -**Size(bytes)** 1093 -)))|=**1**|=**1**|=**1**|=**1**|=**1**|=**5**|=**1** 1094 -|**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|((( 1095 1095 Frequency 1096 1096 Band 1097 1097 )))|Sub-band|((( ... ... @@ -1104,7 +1104,6 @@ 1104 1104 1105 1105 (% style="color:#037691" %)**Software Type**(%%): Always 0x03 for LSPH01 1106 1106 1107 - 1108 1108 (% style="color:#037691" %)**Frequency Band**: 1109 1109 1110 1110 *0x01: EU868 ... ... @@ -1130,10 +1130,8 @@ 1130 1130 1131 1131 (% style="color:#037691" %)**Sub-Band**(%%): value 0x00 ~~ 0x08 1132 1132 1133 - 1134 1134 (% style="color:#037691" %)**Firmware Version**(%%): 0x0100, Means: v1.0.0 version 1135 1135 1136 - 1137 1137 (% style="color:#037691" %)**Sensor Type**: 1138 1138 1139 1139 0x01: LSE01 ... ... @@ -1223,6 +1223,7 @@ 1223 1223 * (% style="color:red" %)**IN865**(%%): LoRaWAN IN865 band 1224 1224 * (% style="color:red" %)**CN470**(%%): LoRaWAN CN470 band 1225 1225 1242 + 1226 1226 = 9. Packing Info = 1227 1227 1228 1228 ... ... @@ -1237,6 +1237,7 @@ 1237 1237 * Package Size / pcs : cm 1238 1238 * Weight / pcs : g 1239 1239 1257 + 1240 1240 = 10. Support = 1241 1241 1242 1242