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 ... ... @@ -513,6 +513,7 @@ 513 513 * Reply to the confirmation package: 14 01 514 514 * Reply to non-confirmed packet: 14 00 515 515 543 + 516 516 == 2.8 Frequency Plans == 517 517 518 518 ((( ... ... @@ -595,10 +595,8 @@ 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)626 +* 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 - 601 - 602 602 === 2.8.3 CN470-510 (CN470) === 603 603 604 604 ((( ... ... @@ -706,10 +706,8 @@ 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)735 +* 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 - 712 - 713 713 === 2.8.5 AS920-923 & AS923-925 (AS923) === 714 714 715 715 ((( ... ... @@ -933,8 +933,6 @@ 933 933 * The sensor is detected when the device is turned on, and it will flash 4 times quickly when it is detected. 934 934 * Blink once when device transmit a packet. 935 935 936 - 937 - 938 938 == 2.10 Firmware Change Log == 939 939 940 940 ... ... @@ -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/]] 1005 +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)1265 +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