Last modified by Mengting Qiu on 2025/07/18 19:23

From version 27.1
edited by Xiaoling
on 2022/06/07 15:32
Change comment: Uploaded new attachment "image-20220607153237-5.png", version {1}
To version 74.3
edited by Xiaoling
on 2022/06/07 17:47
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,13 +1,65 @@
1 1  (% style="text-align:center" %)
2 -[[image:1654574317295-380.png||height="621" width="576"]]
2 +[[image:1654592399090-860.png||height="521" width="483"]]
3 3  
4 4  
5 5  
6 6  
7 -
8 8  **Contents:**
9 9  
10 -{{toc/}}
9 +* [[1. Introduction>>path:#H1.Introduction]]
10 +** [[1.1 ​What is LoRaWAN Soil pH Sensor>>path:#H1.1200BWhatisLoRaWANSoilpHSensor]]
11 +** [[​1.2 Features>>path:#H200B1.2Features]]
12 +** [[1.3 Probe Specification>>path:#H1.3ProbeSpecification]]
13 +** [[1.4 ​Applications>>path:#H1.4200BApplications]]
14 +** [[1.5 Pin mapping and power on>>path:#H1.5Pinmappingandpoweron]]
15 +* [[2. Configure LSPH01 to connect to LoRaWAN network>>path:#H2.ConfigureLSPH01toconnecttoLoRaWANnetwork]]
16 +** [[2.1 How it works>>path:#H2.1Howitworks]]
17 +** [[2.2 ​Quick guide to connect to LoRaWAN server (OTAA)>>path:#H2.2200BQuickguidetoconnecttoLoRaWANserver28OTAA29]]
18 +** [[2.3 ​Uplink Payload>>path:#H2.3200BUplinkPayload]]
19 +*** [[2.3.1 Battery Info>>path:#H2.3.1BatteryInfo]]
20 +*** [[2.3.2 DS18B20 Temperature sensor>>path:#H2.3.2DS18B20Temperaturesensor]]
21 +*** [[2.3.3 Soil pH>>path:#H2.3.3SoilpH]]
22 +*** [[2.3.4 Soil Temperature>>path:#H2.3.4SoilTemperature]]
23 +*** [[2.3.5 Interrupt Pin>>path:#H2.3.5InterruptPin]]
24 +*** [[2.3.6 Message Type>>path:#H2.3.6MessageType]]
25 +*** [[2.3.7 Decode payload in The Things Network>>path:#H2.3.7DecodepayloadinTheThingsNetwork]]
26 +** [[2.4 Uplink Interval>>path:#H2.4UplinkInterval]]
27 +** [[2.5 ​Show Data in DataCake IoT Server>>path:#H2.5200BShowDatainDataCakeIoTServer]]
28 +** [[2.6 Installation and Maintain>>path:#H2.6InstallationandMaintain]]
29 +*** [[2.6.1 Before measurement>>path:#H2.6.1Beforemeasurement]]
30 +*** [[2.6.2 Measurement>>path:#H2.6.2Measurement]]
31 +*** [[2.6.3 Maintain Probe>>path:#H2.6.3MaintainProbe]]
32 +** [[2.7 Calibration>>path:#H2.7Calibration]]
33 +** [[2.8 Frequency Plans>>path:#H2.8FrequencyPlans]]
34 +*** [[2.8.1 EU863-870 (EU868)>>path:#H2.8.1EU863-87028EU86829]]
35 +*** [[2.8.2 US902-928(US915)>>path:#H2.8.2US902-92828US91529]]
36 +*** [[2.8.3 CN470-510 (CN470)>>path:#H2.8.3CN470-51028CN47029]]
37 +*** [[2.8.4 AU915-928(AU915)>>path:#H2.8.4AU915-92828AU91529]]
38 +*** [[2.8.5 AS920-923 & AS923-925 (AS923)>>path:#H2.8.5AS920-92326AS923-92528AS92329]]
39 +*** [[2.8.6 KR920-923 (KR920)>>path:#H2.8.6KR920-92328KR92029]]
40 +*** [[2.8.7 IN865-867 (IN865)>>path:#H2.8.7IN865-86728IN86529]]
41 +** [[2.9 LED Indicator>>path:#H2.9LEDIndicator]]
42 +** [[2.10 ​Firmware Change Log>>path:#H2.10200BFirmwareChangeLog]]
43 +* [[3. Configure LSPH01 via AT Command or LoRaWAN Downlink>>path:#H3.ConfigureLSPH01viaATCommandorLoRaWANDownlink]]
44 +** [[3.1 Set Transmit Interval Time>>path:#H3.1SetTransmitIntervalTime]]
45 +** [[3.2 Set Interrupt Mode>>path:#H3.2SetInterruptMode]]
46 +** [[3.3 Calibrate Sensor>>path:#H3.3CalibrateSensor]]
47 +** [[3.4 Get Firmware Version Info>>path:#H3.4GetFirmwareVersionInfo]]
48 +* [[4. Battery & How to replace>>path:#H4.Battery26Howtoreplace]]
49 +** [[4.1 Battery Type>>path:#H4.1BatteryType]]
50 +** [[4.2 Replace Battery>>path:#H4.2ReplaceBattery]]
51 +** [[4.3 Power Consumption Analyze>>path:#H4.3PowerConsumptionAnalyze]]
52 +*** [[4.3.1 ​Battery Note>>path:#H4.3.1200BBatteryNote]]
53 +*** [[​4.3.2 Replace the battery>>path:#H200B4.3.2Replacethebattery]]
54 +* [[5. Use AT Command>>path:#H5.UseATCommand]]
55 +** [[5.1 Access AT Commands>>path:#H5.1AccessATCommands]]
56 +* [[6. FAQ>>path:#H6.FAQ]]
57 +** [[6.1 How to change the LoRa Frequency Bands/Region>>path:#H6.1HowtochangetheLoRaFrequencyBands2FRegion]]
58 +* [[7. Trouble Shooting>>path:#H7.TroubleShooting]]
59 +** [[7.1 AT Commands input doesn’t work>>path:#H7.1ATCommandsinputdoesn2019twork]]
60 +* [[8. Order Info>>path:#H8.OrderInfo]]
61 +* [[9. ​Packing Info>>path:#H9.200BPackingInfo]]
62 +* [[10. ​Support>>path:#H10.A0200BSupport]]
11 11  
12 12  
13 13  
... ... @@ -15,27 +15,32 @@
15 15  
16 16  
17 17  
18 -
19 -
20 -
21 -
22 -
23 23  = 1. Introduction =
24 24  
25 25  == 1.1 ​What is LoRaWAN Soil pH Sensor ==
26 26  
74 +(((
27 27  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 +)))
28 28  
78 +(((
29 29  LSPH01 probe is made by Solid AgCl reference electrode and Pure metal pH sensitive electrode. It can detect soil's** (% style="color:#4f81bd" %)pH (%%)**with high accuracy and stable value. The LSPH01 probe can be buried into soil for long time use.
80 +)))
30 30  
82 +(((
31 31  The LoRa wireless technology used in LSPH01 allows device to send data and reach extremely long ranges at low data-rates. It provides ultra-long range spread spectrum communication and high interference immunity whilst minimizing current consumption.
84 +)))
32 32  
86 +(((
33 33  LSPH01 is powered by (% style="color:#4f81bd" %)**8500mAh Li-SOCI2 battery**(%%), it is designed for long term use up to 5 years.
88 +)))
34 34  
90 +(((
35 35  Each LSPH01 is pre-load with a set of unique keys for LoRaWAN registrations, register these keys to local LoRaWAN server and it will auto connect after power on.
92 +)))
36 36  
37 37  
38 -[[image:1654580186518-415.png]]
95 +[[image:1654592435432-887.png]]
39 39  
40 40  
41 41  
... ... @@ -55,6 +55,7 @@
55 55  * IP68 rate for the Sensor Probe
56 56  * 8500mAh Battery for long term use
57 57  
115 +
58 58  == 1.3 Probe Specification ==
59 59  
60 60  
... ... @@ -75,13 +75,15 @@
75 75  * IP68 Protection
76 76  * Length: 3.5 meters
77 77  
136 +
78 78  == 1.4 ​Applications ==
79 79  
80 80  * Smart Agriculture
81 81  
141 +
82 82  == 1.5 Pin mapping and power on ==
83 83  
84 -[[image:1654580482666-473.png]]
144 +[[image:1654592472094-134.png]]
85 85  
86 86  
87 87  
... ... @@ -94,7 +94,7 @@
94 94  )))
95 95  
96 96  (((
97 -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.200BUseATCommand"]]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.
98 98  )))
99 99  
100 100  
... ... @@ -105,7 +105,7 @@
105 105  )))
106 106  
107 107  (((
108 -
168 +[[image:1654592492399-921.png]]
109 109  )))
110 110  
111 111  (((
... ... @@ -120,8 +120,8 @@
120 120  Each LSPH01 is shipped with a sticker with the default device EUI as below:
121 121  )))
122 122  
183 +[[image:image-20220607170145-1.jpeg]]
123 123  
124 -[[image:image-20220607135531-1.jpeg]]
125 125  
126 126  
127 127  You can enter this key in the LoRaWAN Server portal. Below is TTN screen shot:
... ... @@ -129,25 +129,24 @@
129 129  
130 130  **Register the device**
131 131  
132 -[[image:1654581442672-605.png]]
133 133  
193 +[[image:1654592600093-601.png]]
134 134  
135 135  
136 136  **Add APP EUI and DEV EUI**
137 137  
138 -[[image:1654581465717-368.png]]
198 +[[image:1654592619856-881.png]]
139 139  
140 140  
141 -
142 142  **Add APP EUI in the application**
143 143  
144 -[[image:1654581493871-516.png]]
203 +[[image:1654592632656-512.png]]
145 145  
146 146  
147 147  
148 148  **Add APP KEY**
149 149  
150 -[[image:1654581517630-991.png]]
209 +[[image:1654592653453-934.png]]
151 151  
152 152  
153 153  (% style="color:blue" %)**Step 2**(%%): Power on LSPH01
... ... @@ -155,22 +155,30 @@
155 155  
156 156  Put a Jumper on JP2 to power on the device. ( The Switch must be in FLASH position).
157 157  
158 -[[image:image-20220607135918-2.png]]
217 +[[image:image-20220607170442-2.png]]
159 159  
160 160  
220 +(((
161 161  (% 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.
222 +)))
162 162  
163 -[[image:1654581590132-631.png]]
224 +[[image:1654592697690-910.png]]
164 164  
165 165  
166 166  
167 167  == 2.3 ​Uplink Payload ==
168 168  
230 +(((
169 169  LSPH01 will uplink payload via LoRaWAN with below payload format: 
232 +)))
170 170  
234 +(((
171 171  Uplink payload includes in total 11 bytes.
236 +)))
172 172  
238 +(((
173 173  Normal uplink payload:
240 +)))
174 174  
175 175  (% border="1" cellspacing="10" style="background-color:#ffffcc; width:510px" %)
176 176  |(((
... ... @@ -178,17 +178,17 @@
178 178  
179 179  **(bytes)**
180 180  )))|**2**|**2**|**2**|**2**|**1**|**1**|**1**
181 -|**Value**|[[BAT>>||anchor="H2.3.1BatteryInfo"]]|(((
182 -[[Temperature>>||anchor="H2.3.2DS18B20Temperaturesensor"]]
248 +|**Value**|[[BAT>>path:#H2.3.1BatteryInfo]]|(((
249 +[[Temperature>>path:#H2.3.2DS18B20Temperaturesensor]]
183 183  
184 -[[(Optional)>>||anchor="H2.3.2DS18B20Temperaturesensor"]]
185 -)))|[[Soil pH>>||anchor="H2.3.3SoilpH"]]|[[Soil Temperature>>||anchor="H2.3.4SoilTemperature"]]|(((
186 -[[Digital Interrupt (Optional)>>||anchor="H2.3.5InterruptPin"]]
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]]
187 187  )))|Reserve|(((
188 -[[Message Type>>||anchor="H2.3.6MessageType"]]
255 +[[Message Type>>path:#H2.3.6MessageType]]
189 189  )))
190 190  
191 -[[image:1654581735133-458.png]]
258 +[[image:1654592721645-318.png]]
192 192  
193 193  
194 194  
... ... @@ -241,7 +241,7 @@
241 241  
242 242  === 2.3.5 Interrupt Pin ===
243 243  
244 -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.
245 245  
246 246  
247 247  **Example:**
... ... @@ -254,23 +254,29 @@
254 254  
255 255  === 2.3.6 Message Type ===
256 256  
324 +(((
257 257  For a normal uplink payload, the message type is always 0x01.
326 +)))
258 258  
328 +(((
259 259  Valid Message Type:
330 +)))
260 260  
261 261  
262 262  (% border="1" cellspacing="10" style="background-color:#ffffcc; width:510px" %)
263 -|**Message Type Code**|**Description**|**Payload**
264 -|0x01|Normal Uplink|[[Normal Uplink Payload>>||anchor="H2.3Uplink Payload"]]
265 -|0x02|Reply configures info|[[Configure Info Payload>>||anchor="H3.4GetFirmwareVersionInfo"]]
266 -|0x03|Reply Calibration Info|[[Calibration Payload>>||anchor="H2.7Calibration"]]
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]]
267 267  
339 +
340 +
268 268  === 2.3.7 Decode payload in The Things Network ===
269 269  
270 270  While using TTN network, you can add the payload format to decode the payload.
271 271  
272 272  
273 -[[image:1654582541848-906.png]]
346 +[[image:1654592762713-715.png]]
274 274  
275 275  (((
276 276  The payload decoder function for TTN is here:
... ... @@ -284,24 +284,33 @@
284 284  
285 285  == 2.4 Uplink Interval ==
286 286  
287 -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]]
288 288  
289 289  
290 290  
291 291  == 2.5 ​Show Data in DataCake IoT Server ==
292 292  
366 +(((
293 293  [[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:
368 +)))
294 294  
370 +(((
371 +
372 +)))
295 295  
374 +(((
296 296  (% style="color:blue" %)**Step 1**(%%)**: Be sure that your device is programmed and properly connected to the network at this time.**
376 +)))
297 297  
378 +(((
298 298  (% style="color:blue" %)**Step 2**(%%)**: To configure the Application to forward data to DATACAKE you will need to add integration. To add the DATACAKE integration, perform the following steps:**
380 +)))
299 299  
300 300  
301 -[[image:1654583683416-869.png]]
383 +[[image:1654592790040-760.png]]
302 302  
303 303  
304 -[[image:1654583694084-878.png]]
386 +[[image:1654592800389-571.png]]
305 305  
306 306  
307 307  (% style="color:blue" %)**Step 3**(%%)**: Create an account or log in Datacake.**
... ... @@ -308,33 +308,37 @@
308 308  
309 309  (% style="color:blue" %)**Step 4**(%%)**: Create LSPH01 product.**
310 310  
311 -[[image:1654583711590-413.png]]
393 +[[image:1654592819047-535.png]]
312 312  
313 313  
314 314  
315 -[[image:1654583732798-193.png]]
397 +[[image:1654592833877-762.png]]
316 316  
317 317  
318 -[[image:1654583749683-259.png]]
400 +[[image:1654592856403-259.png]]
319 319  
320 320  
403 +(((
321 321  (% style="color:blue" %)**Step 5**(%%)**: add payload decode**
405 +)))
322 322  
407 +(((
323 323  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/]]
409 +)))
324 324  
325 325  
326 -[[image:1654583770974-935.png]]
412 +[[image:1654592878525-845.png]]
327 327  
328 -[[image:1654583781517-146.png]]
414 +[[image:1654592892967-474.png]]
329 329  
330 330  
331 -[[image:1654583791351-557.png]]
417 +[[image:1654592905354-123.png]]
332 332  
333 333  
334 334  After added, the sensor data arrive TTN, it will also arrive and show in Mydevices.
335 335  
336 336  
337 -[[image:1654583805491-713.png]]
423 +[[image:1654592917530-261.png]]
338 338  
339 339  
340 340  
... ... @@ -353,7 +353,7 @@
353 353  
354 354  (% style="color:#4f81bd" %)**Measurement the soil surface:**
355 355  
356 -[[image:1654584128046-287.png]]
442 +[[image:1654592946732-634.png]]
357 357  
358 358  Choose the proper measuring position. Split the surface soil according to the measured deep.
359 359  
... ... @@ -402,7 +402,7 @@
402 402  
403 403  After stable, user can use below command to calibrate.
404 404  
405 -[[image:image-20220607144936-3.png]]
491 +[[image:image-20220607171149-4.png]]
406 406  
407 407  
408 408  (% style="color:#037691" %)**Calibration Payload**
... ... @@ -422,20 +422,21 @@
422 422  
423 423  Calibrate value
424 424  )))|Reserve|(((
425 -[[Message Type>>||anchor="H2.3.6MessageType"]]
511 +[[Message Type>>path:#H2.3.6MessageType]]
426 426  
427 427  Always 0x03
428 428  )))
429 429  
430 -
431 431  User can also send 0x14 downlink command to poll the current calibration payload.
432 432  
433 -[[image:image-20220607145603-4.png]]
518 +[[image:image-20220607171416-7.jpeg]]
434 434  
520 +
435 435  * Reply to the confirmation package: 14 01
436 436  * Reply to non-confirmed packet: 14 00
437 437  
438 438  
525 +
439 439  == 2.8 Frequency Plans ==
440 440  
441 441  (((
... ... @@ -491,7 +491,6 @@
491 491  * Check what sub-band the LoRaWAN server ask from the OTAA Join Accept message and switch to that sub-band
492 492  * 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)
493 493  
494 -
495 495  === 2.8.3 CN470-510 (CN470) ===
496 496  
497 497  Used in China, Default use CHE=1
... ... @@ -646,6 +646,7 @@
646 646  921.9 - SF12BW125 (RX2 downlink only; SF12BW125 might be changed to SF9BW125)
647 647  
648 648  
735 +
649 649  === 2.8.7 IN865-867 (IN865) ===
650 650  
651 651  (% style="color:blue" %)**Uplink:**
... ... @@ -681,7 +681,7 @@
681 681  [[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/]]
682 682  
683 683  
684 -**Firmware Upgrade Method: **[[Firmware Upgrade Instruction>>doc:Main.Firmware Upgrade Instruction for STM32 base products.WebHome]]
771 +**Firmware Upgrade Method: **[[Firmware Upgrade Instruction>>path:/xwiki/bin/view/Main/Firmware%20Upgrade%20Instruction%20for%20STM32%20base%20products/]]
685 685  
686 686  
687 687  
... ... @@ -689,13 +689,12 @@
689 689  
690 690  Use can configure LSPH01 via AT Command or LoRaWAN Downlink.
691 691  
692 -* AT Command Connection: See [[FAQ>>||anchor="H6.FAQ"]].
693 -* LoRaWAN Downlink instruction for different platforms: [[IoT LoRaWAN Server>>doc:Main.WebHome]]
779 +* AT Command Connection: See [[FAQ>>path:#H6.FAQ]].
780 +* LoRaWAN Downlink instruction for different platforms: [[IoT LoRaWAN Server>>path:/xwiki/bin/view/Main/]]
694 694  
695 -
696 696  There are two kinds of commands to configure LSPH01, they are:
697 697  
698 -* **(% style="color:#4F81BD" %) General Commands**.
784 +* (% style="color:#4f81bd" %)** General Commands**.
699 699  
700 700  These commands are to configure:
701 701  
... ... @@ -702,37 +702,27 @@
702 702  * General system settings like: uplink interval.
703 703  * LoRaWAN protocol & radio related command.
704 704  
705 -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>>doc:Main.End Device AT Commands and Downlink Command.WebHome]]
791 +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/]]
706 706  
707 707  
708 -* **(% style="color:#4F81BD" %) Commands special design for LSPH01**
794 +* (% style="color:#4f81bd" %)** Commands special design for LSPH01**
709 709  
710 710  These commands only valid for LSPH01, as below:
711 711  
712 712  
713 -1.
714 -11. Set Transmit Interval Time
715 715  
800 +== 3.1 Set Transmit Interval Time ==
801 +
716 716  Feature: Change LoRaWAN End Node Transmit Interval.
717 717  
718 -**AT Command: AT+TDC**
804 +(% style="color:#037691" %)**AT Command: AT+TDC**
719 719  
720 -|**Command Example**|**Function**|**Response**
721 -|AT+TDC=?|Show current transmit Interval|(((
722 -30000
806 +[[image:image-20220607171554-8.png]]
723 723  
724 -OK
725 725  
726 -the interval is 30000ms = 30s
727 -)))
728 -|AT+TDC=60000|Set Transmit Interval|(((
729 -OK
730 730  
731 -Set transmit interval to 60000ms = 60 seconds
732 -)))
810 +(% style="color:#037691" %)**Downlink Command: 0x01**
733 733  
734 -**Downlink Command: 0x01**
735 -
736 736  Format: Command Code (0x01) followed by 3 bytes time value.
737 737  
738 738  If the downlink payload=0100003C, it means set the END Node’s Transmit Interval to 0x00003C=60(S), while type code is 01.
... ... @@ -740,31 +740,18 @@
740 740  * Example 1: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds
741 741  * Example 2: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds
742 742  
743 -1.
744 -11. Set Interrupt Mode
745 745  
746 -Feature, Set Interrupt mode for GPIO_EXIT.
747 747  
748 -**AT Command: AT+INTMOD**
821 +== 3.2 Set Interrupt Mode ==
749 749  
750 -|**Command Example**|**Function**|**Response**
751 -|AT+INTMOD=?|Show current interrupt mode|(((
752 -0
823 +Feature, Set Interrupt mode for GPIO_EXIT.
753 753  
754 -OK
825 +(% style="color:#037691" %)**AT Command: AT+INTMOD**
755 755  
756 -the mode is 0 = No interruption
757 -)))
758 -|AT+INTMOD=2|(((
759 -Set Transmit Interval
827 +[[image:image-20220607171716-9.png]]
760 760  
761 -1. (Disable Interrupt),
762 -1. (Trigger by rising and falling edge),
763 -1. (Trigger by falling edge)
764 -1. (Trigger by rising edge)
765 -)))|OK
766 766  
767 -**Downlink Command: 0x06**
830 +(% style="color:#037691" %)**Downlink Command: 0x06**
768 768  
769 769  Format: Command Code (0x06) followed by 3 bytes.
770 770  
... ... @@ -773,25 +773,20 @@
773 773  * Example 1: Downlink Payload: 06000000 ~/~/ Turn off interrupt mode
774 774  * Example 2: Downlink Payload: 06000003 ~/~/ Set the interrupt mode to rising edge trigger
775 775  
776 -1.
777 -11. Calibrate Sensor
839 +== 3.3 Calibrate Sensor ==
778 778  
779 -Detail See [[Calibration Guide>>path:#Calibration]] for the user of 0x13 and 0x14 downlink commands
841 +Detail See [[Calibration Guide>>path:#H2.7Calibration]] for the user of 0x13 and 0x14 downlink commands
780 780  
781 781  
782 782  
783 -1.
784 -11. Get Firmware Version Info
845 +== 3.4 Get Firmware Version Info ==
785 785  
786 786  Feature: use downlink to get firmware version.
787 787  
849 +(% style="color:#037691" %)**Downlink Command: 0x26**
788 788  
789 -**Downlink Command: 0x26**
851 +[[image:image-20220607171917-10.png]]
790 790  
791 -
792 -|**Downlink Control Type**|**FPort**|**Type Code**|**Downlink payload size(bytes)**
793 -|Get Firmware Version Info|Any|26|2
794 -
795 795  * Reply to the confirmation package: 26 01
796 796  * Reply to non-confirmed packet: 26 00
797 797  
... ... @@ -799,11 +799,10 @@
799 799  
800 800  Configures info payload:
801 801  
802 -|(((
803 -**Size**
804 -
805 -**(bytes)**
806 -)))|**1**|**1**|**1**|**1**|**1**|**5**|**1**
860 +(% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:510px" %)
861 +|=(((
862 +**Size(bytes)**
863 +)))|=**1**|=**1**|=**1**|=**1**|=**1**|=**5**|=**1**
807 807  |**Value**|Software Type|(((
808 808  Frequency
809 809  
... ... @@ -813,10 +813,7 @@
813 813  
814 814  Version
815 815  )))|Sensor Type|Reserve|(((
816 -[[Message>>path:#Message_Type]]
817 -
818 -[[Type>>path:#Message_Type]]
819 -
873 +[[Message Type>>path:#H2.3.6MessageType]]
820 820  Always 0x02
821 821  )))
822 822  
... ... @@ -870,18 +870,19 @@
870 870  
871 871  
872 872  
927 += 4. Battery & How to replace =
873 873  
929 +== 4.1 Battery Type ==
874 874  
875 -
876 -1. Battery & How to replace
877 -11. Battery Type
878 -
931 +(((
879 879  LSPH01 is equipped with a [[8500mAH ER26500 Li-SOCI2 battery>>url:https://www.dragino.com/downloads/index.php?dir=datasheet/Battery/ER26500/]]. The battery is un-rechargeable battery with low discharge rate targeting for 8~~10 years use. This type of battery is commonly used in IoT target for long-term running, such as water meter.
933 +)))
880 880  
881 -
935 +(((
882 882  The discharge curve is not linear so can’t simply use percentage to show the battery level. Below is the battery performance.
937 +)))
883 883  
884 -[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image022.png]]
939 +[[image:1654593587246-335.png]]
885 885  
886 886  
887 887  Minimum Working Voltage for the LSPH01:
... ... @@ -889,30 +889,36 @@
889 889  LSPH01:  2.45v ~~ 3.6v
890 890  
891 891  
892 -1.
893 -11. Replace Battery
894 894  
948 +== 4.2 Replace Battery ==
949 +
950 +(((
895 895  Any battery with range 2.45 ~~ 3.6v can be a replacement. We recommend to use Li-SOCl2 Battery.
952 +)))
896 896  
954 +(((
897 897  And make sure the positive and negative pins match.
956 +)))
898 898  
899 899  
900 900  
901 -1.
902 -11. Power Consumption Analyze
960 +== 4.3 Power Consumption Analyze ==
903 903  
962 +(((
904 904  Dragino Battery powered product are all runs in Low Power mode. We have an update battery calculator which base on the measurement of the real device. User can use this calculator to check the battery life and calculate the battery life if want to use different transmit interval.
964 +)))
905 905  
906 -
966 +(((
907 907  Instruction to use as below:
968 +)))
908 908  
909 909  
910 -Step 1: Downlink the up-to-date DRAGINO_Battery_Life_Prediction_Table.xlsx from:
971 +**Step 1**: Downlink the up-to-date DRAGINO_Battery_Life_Prediction_Table.xlsx from:
911 911  
912 912  [[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/]]
913 913  
914 914  
915 -Step 2: Open it and choose
976 +**Step 2**: Open it and choose
916 916  
917 917  * Product Model
918 918  * Uplink Interval
... ... @@ -920,102 +920,103 @@
920 920  
921 921  And the Life expectation in difference case will be shown on the right.
922 922  
923 -[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image023.png]]
984 +[[image:1654593605679-189.png]]
924 924  
925 925  
926 926  The battery related documents as below:
927 927  
928 -* [[Battery Dimension>>url:https://www.dragino.com/downloads/index.php?dir=datasheet/Battery/ER26500/]],
929 -* [[Lithium-Thionyl Chloride Battery>>url:https://www.dragino.com/downloads/index.php?dir=datasheet/Battery/ER26500/]] datasheet
930 -* [[Lithium-ion Battery-Capacitor datasheet>>url:http://www.dragino.com/downloads/downloads/datasheet/Battery/SPC_1520_datasheet.jpg]], [[Tech Spec>>url:http://www.dragino.com/downloads/downloads/datasheet/Battery/SPC1520%20Technical%20Specification20171123.pdf]]
931 -
932 -|(((
933 -JST-XH-2P connector
989 +* (((
990 +[[Battery Dimension>>url:http://www.dragino.com/downloads/index.php?dir=datasheet/Battery/&file=LSN50-Battery-Dimension.pdf]],
934 934  )))
992 +* (((
993 +[[Lithium-Thionyl Chloride Battery  datasheet>>url:https://www.dragino.com/downloads/downloads/datasheet/Battery/ER26500/ER26500_Datasheet-EN.pdf]],
994 +)))
995 +* (((
996 +[[Lithium-ion Battery-Capacitor datasheet>>url:http://www.dragino.com/downloads/downloads/datasheet/Battery/SPC_1520_datasheet.jpg]], [[Tech Spec>>url:http://www.dragino.com/downloads/downloads/datasheet/Battery/SPC1520%20Technical%20Specification20171123.pdf]]
997 +)))
935 935  
936 -[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image024.png]]
999 +[[image:image-20220607172042-11.png]]
937 937  
938 938  
939 939  
940 -1.
941 -11.
942 -111. ​Battery Note
1003 +=== 4.3.1 ​Battery Note ===
943 943  
1005 +(((
944 944  The Li-SICO battery is designed for small current / long period application. It is not good to use a high current, short period transmit method. The recommended minimum period for use of this battery is 5 minutes. If you use a shorter period time to transmit LoRa, then the battery life may be decreased.
1007 +)))
945 945  
946 946  
947 -1.
948 -11.
949 -111. ​Replace the battery
950 950  
1011 +=== ​4.3.2 Replace the battery ===
1012 +
951 951  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.
952 952  
953 -
954 954  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)
955 955  
956 956  
957 957  
1019 += 5. Use AT Command =
958 958  
1021 +== 5.1 Access AT Commands ==
959 959  
960 -
961 -1. Use AT Command
962 -11. Access AT Commands
963 -
964 964  LSPH01 supports AT Command set in the stock firmware. You can use a USB to TTL adapter to connect to LSPH01 for using AT command, as below.
965 965  
966 -[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image025.png]]
1025 +[[image:1654593668970-604.png]]
967 967  
968 -Connection:
1027 +**Connection:**
969 969  
970 -USB TTL GND <~-~-~-~-> GND
1029 +(% style="background-color:yellow" %)** USB TTL GND <~-~-~-~-> GND**
971 971  
972 -USB TTL TXD <~-~-~-~-> UART_RXD
1031 +(% style="background-color:yellow" %)** USB TTL TXD  <~-~-~-~-> UART_RXD**
973 973  
974 -USB TTL RXD <~-~-~-~-> UART_TXD
1033 +(% style="background-color:yellow" %)** USB TTL RXD  <~-~-~-~-> UART_TXD**
975 975  
976 976  
977 -In the PC, you need to set the serial baud rate to **9600** to access the serial console for LSPH01. LSPH01 will output system info once power on as below:
1036 +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:
978 978  
979 979  
980 - [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image026.png]]
1039 + [[image:1654593712276-618.png]]
981 981  
982 -Valid AT Command please check [[Configure Device>>path:#Configure_Device]].
1041 +Valid AT Command please check [[Configure Device>>path:#H3.ConfigureLSPH01viaATCommandorLoRaWANDownlink]].
983 983  
984 984  
985 985  
1045 += 6. FAQ =
986 986  
987 -1. FAQ
988 -11. How to change the LoRa Frequency Bands/Region
1047 +== 6.1 How to change the LoRa Frequency Bands/Region ==
989 989  
990 -You can follow the instructions for [[how to upgrade image>>path:#3ygebqi]].
1049 +You can follow the instructions for [[how to upgrade image>>path:#H2.10200BFirmwareChangeLog]].
991 991  When downloading the images, choose the required image file for download. ​
992 992  
993 993  
994 994  
995 -1. Trouble Shooting
996 -11. AT Commands input doesn’t work
1054 += 7. Trouble Shooting =
997 997  
998 -In the case if user can see the console output but can’t type input to the device. Please check if you already include the **ENTER** while sending out the command. Some serial tool doesn’t send **ENTER** while press the send key, user need to add ENTER in their string.
1056 +== 7.1 AT Commands input doesn’t work ==
999 999  
1058 +In the case if user can see the console output but can’t type input to the device. Please check if you already include the (% style="color:green" %)**ENTER**(%%) while sending out the command. Some serial tool doesn’t send (% style="color:green" %)**ENTER**(%%) while press the send key, user need to add ENTER in their string.
1000 1000  
1001 -1. Order Info
1002 1002  
1003 -Part Number: **LSPH01-XX**
1004 1004  
1062 += 8. Order Info =
1005 1005  
1006 -**XX**: The default frequency band
1064 +Part Number: (% style="color:blue" %)**LSPH01-XX**
1007 1007  
1008 -* **AS923**: LoRaWAN AS923 band
1009 -* **AU915**: LoRaWAN AU915 band
1010 -* **EU433**: LoRaWAN EU433 band
1011 -* **EU868**: LoRaWAN EU868 band
1012 -* **KR920**: LoRaWAN KR920 band
1013 -* **US915**: LoRaWAN US915 band
1014 -* **IN865**: LoRaWAN IN865 band
1015 -* **CN470**: LoRaWAN CN470 band
1016 1016  
1017 -1. ​Packing Info
1067 +(% style="color:blue" %)**XX**(%%): The default frequency band
1018 1018  
1069 +* (% style="color:red" %)**AS923**(%%):  LoRaWAN AS923 band
1070 +* (% style="color:red" %)**AU915**(%%): LoRaWAN AU915 band
1071 +* (% style="color:red" %)**EU433**(%%): LoRaWAN EU433 band
1072 +* (% style="color:red" %)**EU868**(%%): LoRaWAN EU868 band
1073 +* (% style="color:red" %)**KR920**(%%): LoRaWAN KR920 band
1074 +* (% style="color:red" %)**US915**(%%): LoRaWAN US915 band
1075 +* (% style="color:red" %)**IN865**(%%):  LoRaWAN IN865 band
1076 +* (% style="color:red" %)**CN470**(%%): LoRaWAN CN470 band
1077 +
1078 += 9. ​Packing Info =
1079 +
1080 +
1019 1019  **Package Includes**:
1020 1020  
1021 1021  * LSPH01 LoRaWAN Soil Ph Sensor x 1
... ... @@ -1030,8 +1030,6 @@
1030 1030  = 10. ​Support =
1031 1031  
1032 1032  * Support is provided Monday to Friday, from 09:00 to 18:00 GMT+8. Due to different timezones we cannot offer live support. However, your questions will be answered as soon as possible in the before-mentioned schedule.
1033 -* Provide as much information as possible regarding your enquiry (product models, accurately describe your problem and steps to replicate it etc) and send a mail to
1095 +* Provide as much information as possible regarding your enquiry (product models, accurately describe your problem and steps to replicate it etc) and send a mail to [[support@dragino.com>>url:http://../../../../../../D:%5C%E5%B8%82%E5%9C%BA%E8%B5%84%E6%96%99%5C%E8%AF%B4%E6%98%8E%E4%B9%A6%5CLoRa%5CLT%E7%B3%BB%E5%88%97%5Csupport@dragino.com]].
1034 1034  
1035 -[[support@dragino.com>>url:http://../../../../../../D:%5C%E5%B8%82%E5%9C%BA%E8%B5%84%E6%96%99%5C%E8%AF%B4%E6%98%8E%E4%B9%A6%5CLoRa%5CLT%E7%B3%BB%E5%88%97%5Csupport@dragino.com]]
1036 -
1037 1037  
1654588469844-778.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +75.8 KB
Content
1654588577573-122.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +138.2 KB
Content
1654589001411-343.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +546.2 KB
Content
1654589062541-567.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +144.0 KB
Content
1654592399090-860.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +272.0 KB
Content
1654592435432-887.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +89.0 KB
Content
1654592472094-134.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +492.6 KB
Content
1654592492399-921.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +89.0 KB
Content
1654592600093-601.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +59.6 KB
Content
1654592619856-881.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +62.1 KB
Content
1654592632656-512.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +83.1 KB
Content
1654592653453-934.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +65.2 KB
Content
1654592697690-910.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +42.6 KB
Content
1654592721645-318.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +42.6 KB
Content
1654592762713-715.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +59.2 KB
Content
1654592790040-760.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +62.2 KB
Content
1654592800389-571.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +66.6 KB
Content
1654592819047-535.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +246.2 KB
Content
1654592833877-762.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +199.6 KB
Content
1654592856403-259.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +129.1 KB
Content
1654592878525-845.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +37.7 KB
Content
1654592892967-474.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +64.0 KB
Content
1654592905354-123.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +11.3 KB
Content
1654592917530-261.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +127.1 KB
Content
1654592946732-634.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +345.3 KB
Content
1654593587246-335.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +75.8 KB
Content
1654593605679-189.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +138.2 KB
Content
1654593668970-604.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +546.2 KB
Content
1654593712276-618.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +144.0 KB
Content
image-20220607153759-6.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +17.2 KB
Content
image-20220607154718-7.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +6.0 KB
Content
image-20220607155856-8.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +83.5 KB
Content
image-20220607170145-1.jpeg
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +16.5 KB
Content
image-20220607170442-2.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +99.6 KB
Content
image-20220607171123-3.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +24.8 KB
Content
image-20220607171149-4.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +24.8 KB
Content
image-20220607171311-5.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +6.2 KB
Content
image-20220607171335-6.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +6.1 KB
Content
image-20220607171416-7.jpeg
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +5.0 KB
Content
image-20220607171554-8.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +12.7 KB
Content
image-20220607171716-9.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +17.9 KB
Content
image-20220607171917-10.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +6.2 KB
Content
image-20220607172042-11.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +83.7 KB
Content