Last modified by Xiaoling on 2025/04/25 14:08

From version 98.3
edited by Xiaoling
on 2022/06/30 11:59
Change comment: There is no comment for this version
To version 98.7
edited by Xiaoling
on 2022/08/18 16:25
Change comment: There is no comment for this version

Summary

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  )))
... ... @@ -307,6 +307,8 @@
307 307  
308 308  
309 309  
331 +
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: [[https:~~/~~/www.dragino.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.dragino.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  
... ... @@ -515,6 +515,7 @@
515 515  * Reply to the confirmation package: 14 01
516 516  * Reply to non-confirmed packet: 14 00
517 517  
543 +
518 518  == 2.8 Frequency Plans ==
519 519  
520 520  (((
... ... @@ -597,10 +597,8 @@
597 597  )))
598 598  
599 599  * Check what sub-band the LoRaWAN server ask from the OTAA Join Accept message and switch to that sub-band
600 -* Use the Join successful sub-band if the server doesnt 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)
601 601  
602 -
603 -
604 604  === 2.8.3 CN470-510 (CN470) ===
605 605  
606 606  (((
... ... @@ -708,10 +708,8 @@
708 708  )))
709 709  
710 710  * Check what sub-band the LoRaWAN server ask from the OTAA Join Accept message and switch to that sub-band
711 -* Use the Join successful sub-band if the server doesnt 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)
712 712  
713 -
714 -
715 715  === 2.8.5 AS920-923 & AS923-925 (AS923) ===
716 716  
717 717  (((
... ... @@ -935,8 +935,6 @@
935 935  * The sensor is detected when the device is turned on, and it will flash 4 times quickly when it is detected.
936 936  * Blink once when device transmit a packet.
937 937  
938 -
939 -
940 940  == 2.10 ​Firmware Change Log ==
941 941  
942 942  
... ... @@ -982,7 +982,7 @@
982 982  )))
983 983  
984 984  (((
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/]]
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/]]
986 986  )))
987 987  
988 988  (((
... ... @@ -1063,7 +1063,6 @@
1063 1063  )))
1064 1064  
1065 1065  
1066 -
1067 1067  == 3.3 Calibrate Sensor ==
1068 1068  
1069 1069  Detail See [[Calibration Guide>>||anchor="H2.7Calibration"]] for the user of 0x13 and 0x14 downlink commands
... ... @@ -1243,7 +1243,7 @@
1243 1243  )))
1244 1244  
1245 1245  (((
1246 -The default battery pack of LSPH01 includes a ER26500 plus super capacitor. If user cant 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)
1247 1247  )))
1248 1248  
1249 1249