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
-
... ... @@ -9,6 +9,10 @@ 9 9 10 10 11 11 12 + 13 + 14 + 15 + 12 12 **Table of Contents:** 13 13 14 14 {{toc/}} ... ... @@ -24,6 +24,7 @@ 24 24 25 25 = 1. Introduction = 26 26 31 + 27 27 == 1.1 What is LoRaWAN Soil pH Sensor == 28 28 29 29 ((( ... ... @@ -56,6 +56,7 @@ 56 56 57 57 == 1.2 Features == 58 58 64 + 59 59 * LoRaWAN 1.0.3 Class A 60 60 * Ultra-low power consumption 61 61 * Monitor soil pH with temperature compensation. ... ... @@ -70,6 +70,10 @@ 70 70 * IP68 rate for the Sensor Probe 71 71 * 8500mAh Battery for long term use 72 72 79 + 80 + 81 + 82 + 73 73 == 1.3 Probe Specification == 74 74 75 75 ... ... @@ -90,12 +90,21 @@ 90 90 * IP68 Protection 91 91 * Length: 3.5 meters 92 92 103 + 104 + 105 + 106 + 93 93 == 1.4 Applications == 94 94 109 + 95 95 * Smart Agriculture 96 96 112 + 113 + 114 + 97 97 == 1.5 Pin mapping and power on == 98 98 117 + 99 99 [[image:1654592472094-134.png]] 100 100 101 101 ... ... @@ -102,19 +102,23 @@ 102 102 103 103 = 2. Configure LSPH01 to connect to LoRaWAN network = 104 104 124 + 105 105 == 2.1 How it works == 106 106 127 + 107 107 ((( 108 108 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. 109 109 ))) 110 110 111 111 ((( 112 -In case you can ’t set the OTAA keys in the LoRaWAN OTAA server, and you have to use the keys from the server, you can [[use AT Commands >>||anchor="H5.UseATCommand"]]to set the keys in the LSPH01.133 +In case you can't set the OTAA keys in the LoRaWAN OTAA server, and you have to use the keys from the server, you can [[use AT Commands >>||anchor="H5.UseATCommand"]]to set the keys in the LSPH01. 113 113 ))) 114 114 115 115 137 + 116 116 == 2.2 Quick guide to connect to LoRaWAN server (OTAA) == 117 117 140 + 118 118 ((( 119 119 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. 120 120 ))) ... ... @@ -180,6 +180,8 @@ 180 180 181 181 ((( 182 182 (% 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. 206 + 207 + 183 183 ))) 184 184 185 185 [[image:1654592697690-910.png]] ... ... @@ -188,6 +188,7 @@ 188 188 189 189 == 2.3 Uplink Payload == 190 190 216 + 191 191 ((( 192 192 LSPH01 will uplink payload via LoRaWAN with below payload format: 193 193 ))) ... ... @@ -231,6 +231,7 @@ 231 231 232 232 === 2.3.2 DS18B20 Temperature sensor === 233 233 260 + 234 234 This is optional, user can connect external DS18B20 sensor to the +3.3v, 1-wire and GND pin . and this field will report temperature. 235 235 236 236 ... ... @@ -244,6 +244,7 @@ 244 244 245 245 === 2.3.3 Soil pH === 246 246 274 + 247 247 Range: 0 ~~ 14 pH 248 248 249 249 **Example:** ... ... @@ -254,6 +254,7 @@ 254 254 255 255 === 2.3.4 Soil Temperature === 256 256 285 + 257 257 Get Soil Temperature 258 258 259 259 ... ... @@ -267,6 +267,7 @@ 267 267 268 268 === 2.3.5 Interrupt Pin === 269 269 299 + 270 270 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. 271 271 272 272 ... ... @@ -280,6 +280,7 @@ 280 280 281 281 === 2.3.6 Message Type === 282 282 313 + 283 283 ((( 284 284 For a normal uplink payload, the message type is always 0x01. 285 285 ))) ... ... @@ -295,6 +295,10 @@ 295 295 |(% style="width:160px" %)0x02|(% style="width:163px" %)Reply configures info|(% style="width:173px" %)[[Configure Info Payload>>||anchor="H3.4GetFirmwareVersionInfo"]] 296 296 |(% style="width:160px" %)0x03|(% style="width:163px" %)Reply Calibration Info|(% style="width:173px" %)[[Calibration Payload>>||anchor="H2.7Calibration"]] 297 297 329 + 330 + 331 + 332 + 298 298 === 2.3.7 Decode payload in The Things Network === 299 299 300 300 While using TTN network, you can add the payload format to decode the payload. ... ... @@ -307,7 +307,7 @@ 307 307 ))) 308 308 309 309 ((( 310 -LSPH01 TTN Payload Decoder: agino.com/downloads/index.pHp?dir=LoRa_End_Node/LSPH01/Decoder/>>url:https://www.dragino.com/downloads/index.php?dir=LoRa_End_Node/LSNPK01/Decoder/]]345 +LSPH01 TTN Payload Decoder: [[https:~~/~~/www.dropbox.com/sh/pj7cgmgqg3gx3ta/AABYFbg1DVOOR9Hmr1mLSBkga?dl=0>>https://www.dropbox.com/sh/pj7cgmgqg3gx3ta/AABYFbg1DVOOR9Hmr1mLSBkga?dl=0]] 311 311 ))) 312 312 313 313 ... ... @@ -314,6 +314,7 @@ 314 314 315 315 == 2.4 Uplink Interval == 316 316 352 + 317 317 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"]] 318 318 319 319 ... ... @@ -320,6 +320,7 @@ 320 320 321 321 == 2.5 Show Data in DataCake IoT Server == 322 322 359 + 323 323 ((( 324 324 [[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: 325 325 ))) ... ... @@ -362,7 +362,7 @@ 362 362 ))) 363 363 364 364 ((( 365 -Download Datacake decoder from: [[https:~~/~~/www.dr agino.com/downloads/index.pHp?dir=LoRa_End_Node/LSPH01/Decoder/>>url:https://www.dragino.com/downloads/index.php?dir=LoRa_End_Node/LSNPK01/Decoder/]]402 +Download Datacake decoder from: [[https:~~/~~/www.dropbox.com/sh/pj7cgmgqg3gx3ta/AABYFbg1DVOOR9Hmr1mLSBkga?dl=0>>url:https://www.dropbox.com/sh/pj7cgmgqg3gx3ta/AABYFbg1DVOOR9Hmr1mLSBkga?dl=0]] 366 366 ))) 367 367 368 368 ... ... @@ -383,8 +383,10 @@ 383 383 384 384 == 2.6 Installation and Maintain == 385 385 423 + 386 386 === 2.6.1 Before measurement === 387 387 426 + 388 388 ((( 389 389 ((( 390 390 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. ... ... @@ -402,6 +402,8 @@ 402 402 403 403 ((( 404 404 [[image:1654592946732-634.png]] 444 + 445 + 405 405 ))) 406 406 407 407 ((( ... ... @@ -413,7 +413,7 @@ 413 413 ))) 414 414 415 415 ((( 416 -Slowly insert the probe to the measure point. Don ’t use large force which will break the probe. Make sure not shake when inserting.457 +Slowly insert the probe to the measure point. Don't use large force which will break the probe. Make sure not shake when inserting. 417 417 ))) 418 418 419 419 ((( ... ... @@ -440,6 +440,7 @@ 440 440 441 441 === 2.6.3 Maintain Probe === 442 442 484 + 443 443 1. ((( 444 444 pH probe electrode is fragile and no strong. User must avoid strong force or hitting it. 445 445 ))) ... ... @@ -464,6 +464,7 @@ 464 464 465 465 == 2.7 Calibration == 466 466 509 + 467 467 ((( 468 468 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). 469 469 ))) ... ... @@ -495,6 +495,7 @@ 495 495 Always 0x03 496 496 ))) 497 497 541 + 498 498 User can also send 0x14 downlink command to poll the current calibration payload. 499 499 500 500 [[image:image-20220607171416-7.jpeg]] ... ... @@ -503,15 +503,21 @@ 503 503 * Reply to the confirmation package: 14 01 504 504 * Reply to non-confirmed packet: 14 00 505 505 550 + 551 + 552 + 506 506 == 2.8 Frequency Plans == 507 507 555 + 508 508 ((( 509 509 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. 510 510 ))) 511 511 512 512 561 + 513 513 === 2.8.1 EU863-870 (EU868) === 514 514 564 + 515 515 ((( 516 516 (% style="color:blue" %)**Uplink:** 517 517 ))) ... ... @@ -572,6 +572,7 @@ 572 572 573 573 === 2.8.2 US902-928(US915) === 574 574 625 + 575 575 ((( 576 576 Used in USA, Canada and South America. Frequency band as per definition in LoRaWAN 1.0.3 Regional document. 577 577 ))) ... ... @@ -585,7 +585,7 @@ 585 585 ))) 586 586 587 587 * Check what sub-band the LoRaWAN server ask from the OTAA Join Accept message and switch to that sub-band 588 -* 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)639 +* 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) 589 589 590 590 591 591 ... ... @@ -593,6 +593,7 @@ 593 593 594 594 === 2.8.3 CN470-510 (CN470) === 595 595 647 + 596 596 ((( 597 597 Used in China, Default use CHE=1 598 598 ))) ... ... @@ -681,6 +681,7 @@ 681 681 682 682 === 2.8.4 AU915-928(AU915) === 683 683 736 + 684 684 ((( 685 685 Frequency band as per definition in LoRaWAN 1.0.3 Regional document. 686 686 ))) ... ... @@ -698,7 +698,7 @@ 698 698 ))) 699 699 700 700 * Check what sub-band the LoRaWAN server ask from the OTAA Join Accept message and switch to that sub-band 701 -* 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)754 +* 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) 702 702 703 703 704 704 ... ... @@ -706,6 +706,7 @@ 706 706 707 707 === 2.8.5 AS920-923 & AS923-925 (AS923) === 708 708 762 + 709 709 ((( 710 710 (% style="color:blue" %)**Default Uplink channel:** 711 711 ))) ... ... @@ -814,6 +814,7 @@ 814 814 815 815 === 2.8.6 KR920-923 (KR920) === 816 816 871 + 817 817 ((( 818 818 (% style="color:blue" %)**Default channel:** 819 819 ))) ... ... @@ -886,6 +886,7 @@ 886 886 887 887 === 2.8.7 IN865-867 (IN865) === 888 888 944 + 889 889 ((( 890 890 (% style="color:blue" %)**Uplink:** 891 891 ))) ... ... @@ -922,6 +922,7 @@ 922 922 923 923 == 2.9 LED Indicator == 924 924 981 + 925 925 The LSPH01 has an internal LED which is to show the status of different state. 926 926 927 927 * The sensor is detected when the device is turned on, and it will flash 4 times quickly when it is detected. ... ... @@ -934,11 +934,9 @@ 934 934 == 2.10 Firmware Change Log == 935 935 936 936 937 -**Firmware download link:** 994 +**Firmware download link: **[[https:~~/~~/www.dropbox.com/sh/xtm5tw37mewaw99/AAD0uy06odmreQQ7vMzZYVIGa?dl=0>>https://www.dropbox.com/sh/xtm5tw37mewaw99/AAD0uy06odmreQQ7vMzZYVIGa?dl=0]] 938 938 939 -[[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/]] 940 940 941 - 942 942 **Firmware Upgrade Method: **[[Firmware Upgrade Instruction>>path:/xwiki/bin/view/Main/Firmware%20Upgrade%20Instruction%20for%20STM32%20base%20products/]] 943 943 944 944 ... ... @@ -976,7 +976,7 @@ 976 976 ))) 977 977 978 978 ((( 979 -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/]] 1034 +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/]] 980 980 ))) 981 981 982 982 ((( ... ... @@ -1057,7 +1057,6 @@ 1057 1057 ))) 1058 1058 1059 1059 1060 - 1061 1061 == 3.3 Calibrate Sensor == 1062 1062 1063 1063 Detail See [[Calibration Guide>>||anchor="H2.7Calibration"]] for the user of 0x13 and 0x14 downlink commands ... ... @@ -1237,7 +1237,7 @@ 1237 1237 ))) 1238 1238 1239 1239 ((( 1240 -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)1294 +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) 1241 1241 ))) 1242 1242 1243 1243 ... ... @@ -1302,8 +1302,6 @@ 1302 1302 * (% style="color:red" %)**CN470**(%%): LoRaWAN CN470 band 1303 1303 1304 1304 1305 - 1306 - 1307 1307 = 9. Packing Info = 1308 1308 1309 1309 ... ... @@ -1319,8 +1319,6 @@ 1319 1319 * Weight / pcs : g 1320 1320 1321 1321 1322 - 1323 - 1324 1324 = 10. Support = 1325 1325 1326 1326 * 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.