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
-
... ... @@ -28,6 +28,7 @@ 28 28 29 29 = 1. Introduction = 30 30 31 + 31 31 == 1.1 What is LoRaWAN Soil pH Sensor == 32 32 33 33 ((( ... ... @@ -60,6 +60,7 @@ 60 60 61 61 == 1.2 Features == 62 62 64 + 63 63 * LoRaWAN 1.0.3 Class A 64 64 * Ultra-low power consumption 65 65 * Monitor soil pH with temperature compensation. ... ... @@ -76,6 +76,8 @@ 76 76 77 77 78 78 81 + 82 + 79 79 == 1.3 Probe Specification == 80 80 81 81 ... ... @@ -98,14 +98,19 @@ 98 98 99 99 100 100 105 + 106 + 101 101 == 1.4 Applications == 102 102 109 + 103 103 * Smart Agriculture 104 104 105 105 106 106 114 + 107 107 == 1.5 Pin mapping and power on == 108 108 117 + 109 109 [[image:1654592472094-134.png]] 110 110 111 111 ... ... @@ -112,8 +112,10 @@ 112 112 113 113 = 2. Configure LSPH01 to connect to LoRaWAN network = 114 114 124 + 115 115 == 2.1 How it works == 116 116 127 + 117 117 ((( 118 118 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. 119 119 ))) ... ... @@ -123,8 +123,10 @@ 123 123 ))) 124 124 125 125 137 + 126 126 == 2.2 Quick guide to connect to LoRaWAN server (OTAA) == 127 127 140 + 128 128 ((( 129 129 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. 130 130 ))) ... ... @@ -190,6 +190,8 @@ 190 190 191 191 ((( 192 192 (% 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 + 193 193 ))) 194 194 195 195 [[image:1654592697690-910.png]] ... ... @@ -198,6 +198,7 @@ 198 198 199 199 == 2.3 Uplink Payload == 200 200 216 + 201 201 ((( 202 202 LSPH01 will uplink payload via LoRaWAN with below payload format: 203 203 ))) ... ... @@ -241,6 +241,7 @@ 241 241 242 242 === 2.3.2 DS18B20 Temperature sensor === 243 243 260 + 244 244 This is optional, user can connect external DS18B20 sensor to the +3.3v, 1-wire and GND pin . and this field will report temperature. 245 245 246 246 ... ... @@ -254,6 +254,7 @@ 254 254 255 255 === 2.3.3 Soil pH === 256 256 274 + 257 257 Range: 0 ~~ 14 pH 258 258 259 259 **Example:** ... ... @@ -264,6 +264,7 @@ 264 264 265 265 === 2.3.4 Soil Temperature === 266 266 285 + 267 267 Get Soil Temperature 268 268 269 269 ... ... @@ -277,6 +277,7 @@ 277 277 278 278 === 2.3.5 Interrupt Pin === 279 279 299 + 280 280 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. 281 281 282 282 ... ... @@ -290,6 +290,7 @@ 290 290 291 291 === 2.3.6 Message Type === 292 292 313 + 293 293 ((( 294 294 For a normal uplink payload, the message type is always 0x01. 295 295 ))) ... ... @@ -305,6 +305,10 @@ 305 305 |(% style="width:160px" %)0x02|(% style="width:163px" %)Reply configures info|(% style="width:173px" %)[[Configure Info Payload>>||anchor="H3.4GetFirmwareVersionInfo"]] 306 306 |(% style="width:160px" %)0x03|(% style="width:163px" %)Reply Calibration Info|(% style="width:173px" %)[[Calibration Payload>>||anchor="H2.7Calibration"]] 307 307 329 + 330 + 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: 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]] 321 321 ))) 322 322 323 323 ... ... @@ -324,6 +324,7 @@ 324 324 325 325 == 2.4 Uplink Interval == 326 326 352 + 327 327 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"]] 328 328 329 329 ... ... @@ -330,6 +330,7 @@ 330 330 331 331 == 2.5 Show Data in DataCake IoT Server == 332 332 359 + 333 333 ((( 334 334 [[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: 335 335 ))) ... ... @@ -372,7 +372,7 @@ 372 372 ))) 373 373 374 374 ((( 375 -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]] 376 376 ))) 377 377 378 378 ... ... @@ -393,8 +393,10 @@ 393 393 394 394 == 2.6 Installation and Maintain == 395 395 423 + 396 396 === 2.6.1 Before measurement === 397 397 426 + 398 398 ((( 399 399 ((( 400 400 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. ... ... @@ -412,6 +412,8 @@ 412 412 413 413 ((( 414 414 [[image:1654592946732-634.png]] 444 + 445 + 415 415 ))) 416 416 417 417 ((( ... ... @@ -423,7 +423,7 @@ 423 423 ))) 424 424 425 425 ((( 426 -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. 427 427 ))) 428 428 429 429 ((( ... ... @@ -450,6 +450,7 @@ 450 450 451 451 === 2.6.3 Maintain Probe === 452 452 484 + 453 453 1. ((( 454 454 pH probe electrode is fragile and no strong. User must avoid strong force or hitting it. 455 455 ))) ... ... @@ -474,6 +474,7 @@ 474 474 475 475 == 2.7 Calibration == 476 476 509 + 477 477 ((( 478 478 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). 479 479 ))) ... ... @@ -505,6 +505,7 @@ 505 505 Always 0x03 506 506 ))) 507 507 541 + 508 508 User can also send 0x14 downlink command to poll the current calibration payload. 509 509 510 510 [[image:image-20220607171416-7.jpeg]] ... ... @@ -513,15 +513,21 @@ 513 513 * Reply to the confirmation package: 14 01 514 514 * Reply to non-confirmed packet: 14 00 515 515 550 + 551 + 552 + 516 516 == 2.8 Frequency Plans == 517 517 555 + 518 518 ((( 519 519 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. 520 520 ))) 521 521 522 522 561 + 523 523 === 2.8.1 EU863-870 (EU868) === 524 524 564 + 525 525 ((( 526 526 (% style="color:blue" %)**Uplink:** 527 527 ))) ... ... @@ -582,6 +582,7 @@ 582 582 583 583 === 2.8.2 US902-928(US915) === 584 584 625 + 585 585 ((( 586 586 Used in USA, Canada and South America. Frequency band as per definition in LoRaWAN 1.0.3 Regional document. 587 587 ))) ... ... @@ -595,12 +595,15 @@ 595 595 ))) 596 596 597 597 * Check what sub-band the LoRaWAN server ask from the OTAA Join Accept message and switch to that sub-band 598 -* 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) 599 599 600 600 601 601 643 + 644 + 602 602 === 2.8.3 CN470-510 (CN470) === 603 603 647 + 604 604 ((( 605 605 Used in China, Default use CHE=1 606 606 ))) ... ... @@ -689,6 +689,7 @@ 689 689 690 690 === 2.8.4 AU915-928(AU915) === 691 691 736 + 692 692 ((( 693 693 Frequency band as per definition in LoRaWAN 1.0.3 Regional document. 694 694 ))) ... ... @@ -706,12 +706,15 @@ 706 706 ))) 707 707 708 708 * Check what sub-band the LoRaWAN server ask from the OTAA Join Accept message and switch to that sub-band 709 -* 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) 710 710 711 711 712 712 758 + 759 + 713 713 === 2.8.5 AS920-923 & AS923-925 (AS923) === 714 714 762 + 715 715 ((( 716 716 (% style="color:blue" %)**Default Uplink channel:** 717 717 ))) ... ... @@ -820,6 +820,7 @@ 820 820 821 821 === 2.8.6 KR920-923 (KR920) === 822 822 871 + 823 823 ((( 824 824 (% style="color:blue" %)**Default channel:** 825 825 ))) ... ... @@ -892,6 +892,7 @@ 892 892 893 893 === 2.8.7 IN865-867 (IN865) === 894 894 944 + 895 895 ((( 896 896 (% style="color:blue" %)**Uplink:** 897 897 ))) ... ... @@ -928,6 +928,7 @@ 928 928 929 929 == 2.9 LED Indicator == 930 930 981 + 931 931 The LSPH01 has an internal LED which is to show the status of different state. 932 932 933 933 * The sensor is detected when the device is turned on, and it will flash 4 times quickly when it is detected. ... ... @@ -935,14 +935,14 @@ 935 935 936 936 937 937 938 -== 2.10 Firmware Change Log == 939 939 940 940 941 - **Firmwaredownloadlink:**991 +== 2.10 Firmware Change Log == 942 942 943 -[[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/]] 944 944 994 +**Firmware download link: **[[https:~~/~~/www.dropbox.com/sh/xtm5tw37mewaw99/AAD0uy06odmreQQ7vMzZYVIGa?dl=0>>https://www.dropbox.com/sh/xtm5tw37mewaw99/AAD0uy06odmreQQ7vMzZYVIGa?dl=0]] 945 945 996 + 946 946 **Firmware Upgrade Method: **[[Firmware Upgrade Instruction>>path:/xwiki/bin/view/Main/Firmware%20Upgrade%20Instruction%20for%20STM32%20base%20products/]] 947 947 948 948 ... ... @@ -949,6 +949,7 @@ 949 949 950 950 = 3. Configure LSPH01 via AT Command or LoRaWAN Downlink = 951 951 1003 + 952 952 ((( 953 953 Use can configure LSPH01 via AT Command or LoRaWAN Downlink. 954 954 ))) ... ... @@ -980,7 +980,7 @@ 980 980 ))) 981 981 982 982 ((( 983 -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/]] 1035 +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/]] 984 984 ))) 985 985 986 986 ((( ... ... @@ -1061,7 +1061,6 @@ 1061 1061 ))) 1062 1062 1063 1063 1064 - 1065 1065 == 3.3 Calibrate Sensor == 1066 1066 1067 1067 Detail See [[Calibration Guide>>||anchor="H2.7Calibration"]] for the user of 0x13 and 0x14 downlink commands ... ... @@ -1241,7 +1241,7 @@ 1241 1241 ))) 1242 1242 1243 1243 ((( 1244 -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)1295 +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) 1245 1245 ))) 1246 1246 1247 1247