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. ... ... @@ -73,6 +73,7 @@ 73 73 74 74 75 75 82 + 76 76 == 1.3 Probe Specification == 77 77 78 78 ... ... @@ -96,8 +96,10 @@ 96 96 97 97 98 98 106 + 99 99 == 1.4 Applications == 100 100 109 + 101 101 * Smart Agriculture 102 102 103 103 ... ... @@ -105,6 +105,7 @@ 105 105 106 106 == 1.5 Pin mapping and power on == 107 107 117 + 108 108 [[image:1654592472094-134.png]] 109 109 110 110 ... ... @@ -111,19 +111,23 @@ 111 111 112 112 = 2. Configure LSPH01 to connect to LoRaWAN network = 113 113 124 + 114 114 == 2.1 How it works == 115 115 127 + 116 116 ((( 117 117 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. 118 118 ))) 119 119 120 120 ((( 121 -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. 122 122 ))) 123 123 124 124 137 + 125 125 == 2.2 Quick guide to connect to LoRaWAN server (OTAA) == 126 126 140 + 127 127 ((( 128 128 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. 129 129 ))) ... ... @@ -189,6 +189,8 @@ 189 189 190 190 ((( 191 191 (% 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 + 192 192 ))) 193 193 194 194 [[image:1654592697690-910.png]] ... ... @@ -197,6 +197,7 @@ 197 197 198 198 == 2.3 Uplink Payload == 199 199 216 + 200 200 ((( 201 201 LSPH01 will uplink payload via LoRaWAN with below payload format: 202 202 ))) ... ... @@ -240,6 +240,7 @@ 240 240 241 241 === 2.3.2 DS18B20 Temperature sensor === 242 242 260 + 243 243 This is optional, user can connect external DS18B20 sensor to the +3.3v, 1-wire and GND pin . and this field will report temperature. 244 244 245 245 ... ... @@ -253,6 +253,7 @@ 253 253 254 254 === 2.3.3 Soil pH === 255 255 274 + 256 256 Range: 0 ~~ 14 pH 257 257 258 258 **Example:** ... ... @@ -263,6 +263,7 @@ 263 263 264 264 === 2.3.4 Soil Temperature === 265 265 285 + 266 266 Get Soil Temperature 267 267 268 268 ... ... @@ -276,6 +276,7 @@ 276 276 277 277 === 2.3.5 Interrupt Pin === 278 278 299 + 279 279 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. 280 280 281 281 ... ... @@ -289,6 +289,7 @@ 289 289 290 290 === 2.3.6 Message Type === 291 291 313 + 292 292 ((( 293 293 For a normal uplink payload, the message type is always 0x01. 294 294 ))) ... ... @@ -307,6 +307,7 @@ 307 307 308 308 309 309 332 + 310 310 === 2.3.7 Decode payload in The Things Network === 311 311 312 312 While using TTN network, you can add the payload format to decode the payload. ... ... @@ -319,7 +319,7 @@ 319 319 ))) 320 320 321 321 ((( 322 -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]] 323 323 ))) 324 324 325 325 ... ... @@ -326,6 +326,7 @@ 326 326 327 327 == 2.4 Uplink Interval == 328 328 352 + 329 329 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"]] 330 330 331 331 ... ... @@ -332,6 +332,7 @@ 332 332 333 333 == 2.5 Show Data in DataCake IoT Server == 334 334 359 + 335 335 ((( 336 336 [[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: 337 337 ))) ... ... @@ -374,7 +374,7 @@ 374 374 ))) 375 375 376 376 ((( 377 -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]] 378 378 ))) 379 379 380 380 ... ... @@ -395,8 +395,10 @@ 395 395 396 396 == 2.6 Installation and Maintain == 397 397 423 + 398 398 === 2.6.1 Before measurement === 399 399 426 + 400 400 ((( 401 401 ((( 402 402 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. ... ... @@ -414,6 +414,8 @@ 414 414 415 415 ((( 416 416 [[image:1654592946732-634.png]] 444 + 445 + 417 417 ))) 418 418 419 419 ((( ... ... @@ -425,7 +425,7 @@ 425 425 ))) 426 426 427 427 ((( 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.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. 429 429 ))) 430 430 431 431 ((( ... ... @@ -452,6 +452,7 @@ 452 452 453 453 === 2.6.3 Maintain Probe === 454 454 484 + 455 455 1. ((( 456 456 pH probe electrode is fragile and no strong. User must avoid strong force or hitting it. 457 457 ))) ... ... @@ -476,6 +476,7 @@ 476 476 477 477 == 2.7 Calibration == 478 478 509 + 479 479 ((( 480 480 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). 481 481 ))) ... ... @@ -507,6 +507,7 @@ 507 507 Always 0x03 508 508 ))) 509 509 541 + 510 510 User can also send 0x14 downlink command to poll the current calibration payload. 511 511 512 512 [[image:image-20220607171416-7.jpeg]] ... ... @@ -518,17 +518,18 @@ 518 518 519 519 520 520 521 - 522 - 523 523 == 2.8 Frequency Plans == 524 524 555 + 525 525 ((( 526 526 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. 527 527 ))) 528 528 529 529 561 + 530 530 === 2.8.1 EU863-870 (EU868) === 531 531 564 + 532 532 ((( 533 533 (% style="color:blue" %)**Uplink:** 534 534 ))) ... ... @@ -589,6 +589,7 @@ 589 589 590 590 === 2.8.2 US902-928(US915) === 591 591 625 + 592 592 ((( 593 593 Used in USA, Canada and South America. Frequency band as per definition in LoRaWAN 1.0.3 Regional document. 594 594 ))) ... ... @@ -602,13 +602,15 @@ 602 602 ))) 603 603 604 604 * Check what sub-band the LoRaWAN server ask from the OTAA Join Accept message and switch to that sub-band 605 -* 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) 606 606 607 607 608 608 609 609 644 + 610 610 === 2.8.3 CN470-510 (CN470) === 611 611 647 + 612 612 ((( 613 613 Used in China, Default use CHE=1 614 614 ))) ... ... @@ -697,6 +697,7 @@ 697 697 698 698 === 2.8.4 AU915-928(AU915) === 699 699 736 + 700 700 ((( 701 701 Frequency band as per definition in LoRaWAN 1.0.3 Regional document. 702 702 ))) ... ... @@ -714,13 +714,15 @@ 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 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)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) 718 718 719 719 720 720 721 721 759 + 722 722 === 2.8.5 AS920-923 & AS923-925 (AS923) === 723 723 762 + 724 724 ((( 725 725 (% style="color:blue" %)**Default Uplink channel:** 726 726 ))) ... ... @@ -829,6 +829,7 @@ 829 829 830 830 === 2.8.6 KR920-923 (KR920) === 831 831 871 + 832 832 ((( 833 833 (% style="color:blue" %)**Default channel:** 834 834 ))) ... ... @@ -901,6 +901,7 @@ 901 901 902 902 === 2.8.7 IN865-867 (IN865) === 903 903 944 + 904 904 ((( 905 905 (% style="color:blue" %)**Uplink:** 906 906 ))) ... ... @@ -937,6 +937,7 @@ 937 937 938 938 == 2.9 LED Indicator == 939 939 981 + 940 940 The LSPH01 has an internal LED which is to show the status of different state. 941 941 942 942 * The sensor is detected when the device is turned on, and it will flash 4 times quickly when it is detected. ... ... @@ -945,14 +945,13 @@ 945 945 946 946 947 947 990 + 948 948 == 2.10 Firmware Change Log == 949 949 950 950 951 -**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]] 952 952 953 -[[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/]] 954 954 955 - 956 956 **Firmware Upgrade Method: **[[Firmware Upgrade Instruction>>path:/xwiki/bin/view/Main/Firmware%20Upgrade%20Instruction%20for%20STM32%20base%20products/]] 957 957 958 958 ... ... @@ -990,7 +990,7 @@ 990 990 ))) 991 991 992 992 ((( 993 -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/]] 994 994 ))) 995 995 996 996 ((( ... ... @@ -1071,7 +1071,6 @@ 1071 1071 ))) 1072 1072 1073 1073 1074 - 1075 1075 == 3.3 Calibrate Sensor == 1076 1076 1077 1077 Detail See [[Calibration Guide>>||anchor="H2.7Calibration"]] for the user of 0x13 and 0x14 downlink commands ... ... @@ -1204,7 +1204,7 @@ 1204 1204 ))) 1205 1205 1206 1206 1207 -(% style="color: red" %)**Step 1**(%%): Downlink the up-to-date DRAGINO_Battery_Life_Prediction_Table.xlsx from:1247 +(% style="color:#037691" %)**Step 1**(%%): Downlink the up-to-date DRAGINO_Battery_Life_Prediction_Table.xlsx from: 1208 1208 1209 1209 [[https:~~/~~/www.dragino.com/downloads/index.pHp?dir=LoRa_End_Node/Battery_Analyze/>>url:https://www.dragino.com/downloads/index.php?dir=LoRa_End_Node/Battery_Analyze/]] 1210 1210 ... ... @@ -1251,7 +1251,7 @@ 1251 1251 ))) 1252 1252 1253 1253 ((( 1254 -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) 1255 1255 ))) 1256 1256 1257 1257