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

From version 87.4
edited by Xiaoling
on 2022/06/25 16:39
Change comment: There is no comment for this version
To version 74.19
edited by Xiaoling
on 2022/06/07 17:55
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -4,7 +4,7 @@
4 4  
5 5  
6 6  
7 -**Table of Contents:**
7 +**Contents:**
8 8  
9 9  * [[1. Introduction>>path:#H1.Introduction]]
10 10  ** [[1.1 ​What is LoRaWAN Soil pH Sensor>>path:#H1.1200BWhatisLoRaWANSoilpHSensor]]
... ... @@ -65,13 +65,13 @@
65 65  
66 66  
67 67  
68 +
69 +
68 68  = 1. Introduction =
69 69  
70 70  == 1.1 ​What is LoRaWAN Soil pH Sensor ==
71 71  
72 72  (((
73 -
74 -
75 75  The Dragino LSPH01 is a (% style="color:#4f81bd" %)**LoRaWAN Soil pH Sensor**(%%) for IoT of Agriculture. It is designed to measure the soil PH and soil temperature, so to send to the platform to analyze the soil acid or alkali level. The probe is IP68 waterproof.
76 76  )))
77 77  
... ... @@ -96,7 +96,6 @@
96 96  
97 97  
98 98  
99 -
100 100  == ​1.2 Features ==
101 101  
102 102  * LoRaWAN 1.0.3 Class A
... ... @@ -155,7 +155,7 @@
155 155  )))
156 156  
157 157  (((
158 -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.
157 +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 >>path:#H5.UseATCommand]]to set the keys in the LSPH01.
159 159  )))
160 160  
161 161  
... ... @@ -167,14 +167,10 @@
167 167  
168 168  (((
169 169  [[image:1654592492399-921.png]]
170 -
171 -
172 172  )))
173 173  
174 174  (((
175 175  The LG308 is already set to connected to [[TTN network >>url:https://console.cloud.thethings.network/]], so what we need to now is configure the TTN server.
176 -
177 -
178 178  )))
179 179  
180 180  (((
... ... @@ -198,13 +198,11 @@
198 198  [[image:1654592600093-601.png]]
199 199  
200 200  
201 -
202 202  **Add APP EUI and DEV EUI**
203 203  
204 204  [[image:1654592619856-881.png]]
205 205  
206 206  
207 -
208 208  **Add APP EUI in the application**
209 209  
210 210  [[image:1654592632656-512.png]]
... ... @@ -247,17 +247,19 @@
247 247  )))
248 248  
249 249  (% border="1" cellspacing="10" style="background-color:#ffffcc; width:510px" %)
250 -|=(% style="width: 62.5px;" %)(((
251 -**Size (bytes)**
252 -)))|=(% style="width: 62.5px;" %)**2**|=(% style="width: 62.5px;" %)**2**|=**2**|=**2**|=**1**|=**1**|=**1**
253 -|(% style="width:62.5px" %)**Value**|(% style="width:62.5px" %)[[BAT>>||anchor="H2.3.1BatteryInfo"]]|(% style="width:62.5px" %)(((
254 -[[Temperature>>||anchor="H2.3.2DS18B20Temperaturesensor"]]
243 +|(((
244 +**Size**
255 255  
256 -[[(Optional)>>||anchor="H2.3.2DS18B20Temperaturesensor"]]
257 -)))|[[Soil pH>>||anchor="H2.3.3SoilpH"]]|[[Soil Temperature>>||anchor="H2.3.4SoilTemperature"]]|(((
258 -[[Digital Interrupt (Optional)>>||anchor="H2.3.5InterruptPin"]]
246 +**(bytes)**
247 +)))|**2**|**2**|**2**|**2**|**1**|**1**|**1**
248 +|**Value**|[[BAT>>path:#H2.3.1BatteryInfo]]|(((
249 +[[Temperature>>path:#H2.3.2DS18B20Temperaturesensor]]
250 +
251 +[[(Optional)>>path:#H2.3.2DS18B20Temperaturesensor]]
252 +)))|[[Soil pH>>path:#H2.3.3SoilpH]]|[[Soil Temperature>>path:#H2.3.4SoilTemperature]]|(((
253 +[[Digital Interrupt (Optional)>>path:#H2.3.5InterruptPin]]
259 259  )))|Reserve|(((
260 -[[Message Type>>||anchor="H2.3.6MessageType"]]
255 +[[Message Type>>path:#H2.3.6MessageType]]
261 261  )))
262 262  
263 263  [[image:1654592721645-318.png]]
... ... @@ -313,7 +313,7 @@
313 313  
314 314  === 2.3.5 Interrupt Pin ===
315 315  
316 -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.
311 +This data field shows if this packet is generated by interrupt or not. [[Click here>>path:#H3.2SetInterruptMode]] for the hardware and software set up.
317 317  
318 318  
319 319  **Example:**
... ... @@ -335,13 +335,14 @@
335 335  )))
336 336  
337 337  
338 -(% border="1" cellspacing="10" style="background-color:#ffffcc; width:499px" %)
339 -|=(% style="width: 160px;" %)**Message Type Code**|=(% style="width: 163px;" %)**Description**|=(% style="width: 173px;" %)**Payload**
340 -|(% style="width:160px" %)0x01|(% style="width:163px" %)Normal Uplink|(% style="width:173px" %)[[Normal Uplink Payload>>||anchor="H2.3200BUplinkPayload"]]
341 -|(% style="width:160px" %)0x02|(% style="width:163px" %)Reply configures info|(% style="width:173px" %)[[Configure Info Payload>>||anchor="H3.4GetFirmwareVersionInfo"]]
342 -|(% style="width:160px" %)0x03|(% style="width:163px" %)Reply Calibration Info|(% style="width:173px" %)[[Calibration Payload>>||anchor="H2.7Calibration"]]
333 +(% border="1" cellspacing="10" style="background-color:#ffffcc; width:510px" %)
334 +|=**Message Type Code**|=**Description**|=**Payload**
335 +|0x01|Normal Uplink|[[Normal Uplink Payload>>path:#H2.3200BUplinkPayload]]
336 +|0x02|Reply configures info|[[Configure Info Payload>>path:#H3.4GetFirmwareVersionInfo]]
337 +|0x03|Reply Calibration Info|[[Calibration Payload>>path:#H2.7Calibration]]
343 343  
344 344  
340 +
345 345  === 2.3.7 Decode payload in The Things Network ===
346 346  
347 347  While using TTN network, you can add the payload format to decode the payload.
... ... @@ -361,7 +361,7 @@
361 361  
362 362  == 2.4 Uplink Interval ==
363 363  
364 -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"]]
360 +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>>path:/xwiki/bin/view/Main/End%20Device%20AT%20Commands%20and%20Downlink%20Command/#H4.1ChangeUplinkInterval]]
365 365  
366 366  
367 367  
... ... @@ -525,9 +525,11 @@
525 525  (% style="color:#037691" %)**Calibration Payload**
526 526  
527 527  (% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:510px" %)
528 -|=(% style="width: 62.5px;" %)(((
529 -**Size (bytes)**
530 -)))|=(% style="width: 89px;" %)**1**|=(% style="width: 89px;" %)**1**|=(% style="width: 89px;" %)**1**|=(% style="width: 89px;" %)**7**|=(% style="width: 89px;" %)**1**
524 +|(((
525 +**Size**
526 +
527 +**(bytes)**
528 +)))|**1**|**1**|**1**|**7**|**1**
531 531  |**Value**|(((
532 532  PH4
533 533  
... ... @@ -537,7 +537,7 @@
537 537  
538 538  Calibrate value
539 539  )))|Reserve|(((
540 -[[Message Type>>||anchor="H2.3.6MessageType"]]
538 +[[Message Type>>path:#H2.3.6MessageType]]
541 541  
542 542  Always 0x03
543 543  )))
... ... @@ -552,9 +552,6 @@
552 552  
553 553  
554 554  
555 -
556 -
557 -
558 558  == 2.8 Frequency Plans ==
559 559  
560 560  (((
... ... @@ -642,8 +642,6 @@
642 642  
643 643  
644 644  
645 -
646 -
647 647  === 2.8.3 CN470-510 (CN470) ===
648 648  
649 649  (((
... ... @@ -997,7 +997,7 @@
997 997  )))
998 998  
999 999  * (((
1000 -AT Command Connection: See [[FAQ>>||anchor="H6.FAQ"]].
993 +AT Command Connection: See [[FAQ>>path:#H6.FAQ]].
1001 1001  )))
1002 1002  * (((
1003 1003  LoRaWAN Downlink instruction for different platforms: [[IoT LoRaWAN Server>>path:/xwiki/bin/view/Main/]]
... ... @@ -1067,10 +1067,9 @@
1067 1067  )))
1068 1068  * (((
1069 1069  Example 2: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds
1063 +)))
1070 1070  
1071 1071  
1072 -
1073 -)))
1074 1074  
1075 1075  == 3.2 Set Interrupt Mode ==
1076 1076  
... ... @@ -1078,7 +1078,7 @@
1078 1078  
1079 1079  (% style="color:#037691" %)**AT Command: AT+INTMOD**
1080 1080  
1081 -[[image:image-20220610105907-1.png]]
1073 +[[image:image-20220607171716-9.png]]
1082 1082  
1083 1083  
1084 1084  (((
... ... @@ -1108,7 +1108,7 @@
1108 1108  
1109 1109  == 3.3 Calibrate Sensor ==
1110 1110  
1111 -Detail See [[Calibration Guide>>||anchor="H2.7Calibration"]] for the user of 0x13 and 0x14 downlink commands
1103 +Detail See [[Calibration Guide>>path:#H2.7Calibration]] for the user of 0x13 and 0x14 downlink commands
1112 1112  
1113 1113  
1114 1114  
... ... @@ -1140,7 +1140,7 @@
1140 1140  
1141 1141  Version
1142 1142  )))|Sensor Type|Reserve|(((
1143 -[[Message Type>>||anchor="H2.3.6MessageType"]]
1135 +[[Message Type>>path:#H2.3.6MessageType]]
1144 1144  Always 0x02
1145 1145  )))
1146 1146  
... ... @@ -1280,13 +1280,9 @@
1280 1280  
1281 1281  === ​4.3.2 Replace the battery ===
1282 1282  
1283 -(((
1284 1284  You can change the battery in the LSPH01.The type of battery is not limited as long as the output is between 3v to 3.6v. On the main board, there is a diode (D1) between the battery and the main circuit. If you need to use a battery with less than 3.3v, please remove the D1 and shortcut the two pads of it so there won’t be voltage drop between battery and main board.
1285 -)))
1286 1286  
1287 -(((
1288 1288  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)
1289 -)))
1290 1290  
1291 1291  
1292 1292  
... ... @@ -1307,24 +1307,24 @@
1307 1307  (% style="background-color:yellow" %)** USB TTL RXD  <~-~-~-~-> UART_TXD**
1308 1308  
1309 1309  
1310 -(((
1311 1311  In the PC, you need to set the serial baud rate to (% style="color:green" %)**9600**(%%) to access the serial console for LSPH01. LSPH01 will output system info once power on as below:
1312 -)))
1313 1313  
1314 1314  
1315 1315   [[image:1654593712276-618.png]]
1316 1316  
1317 -Valid AT Command please check [[Configure Device>>||anchor="H3.ConfigureLSPH01viaATCommandorLoRaWANDownlink"]].
1303 +Valid AT Command please check [[Configure Device>>path:#H3.ConfigureLSPH01viaATCommandorLoRaWANDownlink]].
1318 1318  
1319 1319  
1306 +
1320 1320  = 6. FAQ =
1321 1321  
1322 1322  == 6.1 How to change the LoRa Frequency Bands/Region ==
1323 1323  
1324 -You can follow the instructions for [[how to upgrade image>>||anchor="H2.10200BFirmwareChangeLog"]].
1311 +You can follow the instructions for [[how to upgrade image>>path:#H2.10200BFirmwareChangeLog]].
1325 1325  When downloading the images, choose the required image file for download. ​
1326 1326  
1327 1327  
1315 +
1328 1328  = 7. Trouble Shooting =
1329 1329  
1330 1330  == 7.1 AT Commands input doesn’t work ==
image-20220610105907-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -15.5 KB
Content