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

From version 73.2
edited by Xiaoling
on 2022/06/07 17:24
Change comment: There is no comment for this version
To version 99.20
edited by Xiaoling
on 2023/05/23 18:09
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -4,63 +4,10 @@
4 4  
5 5  
6 6  
7 -**Contents:**
8 8  
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]]
8 +**Table of Contents:**
63 63  
10 +{{toc/}}
64 64  
65 65  
66 66  
... ... @@ -67,29 +67,38 @@
67 67  
68 68  
69 69  
70 -
71 -
72 72  = 1. Introduction =
73 73  
74 74  == 1.1 ​What is LoRaWAN Soil pH Sensor ==
75 75  
21 +
22 +(((
76 76  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.
24 +)))
77 77  
26 +(((
78 78  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.
28 +)))
79 79  
30 +(((
80 80  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.
32 +)))
81 81  
34 +(((
82 82  LSPH01 is powered by (% style="color:#4f81bd" %)**8500mAh Li-SOCI2 battery**(%%), it is designed for long term use up to 5 years.
36 +)))
83 83  
38 +(((
84 84  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.
40 +)))
85 85  
86 86  
87 87  [[image:1654592435432-887.png]]
88 88  
89 89  
90 -
91 91  == ​1.2 Features ==
92 92  
48 +
93 93  * LoRaWAN 1.0.3 Class A
94 94  * Ultra-low power consumption
95 95  * Monitor soil pH with temperature compensation.
... ... @@ -106,7 +106,6 @@
106 106  
107 107  
108 108  
109 -
110 110  == 1.3 Probe Specification ==
111 111  
112 112  
... ... @@ -127,31 +127,38 @@
127 127  * IP68 Protection
128 128  * Length: 3.5 meters
129 129  
85 +
86 +
130 130  == 1.4 ​Applications ==
131 131  
89 +
132 132  * Smart Agriculture
133 133  
92 +
93 +
134 134  == 1.5 Pin mapping and power on ==
135 135  
96 +
136 136  [[image:1654592472094-134.png]]
137 137  
138 138  
139 -
140 140  = 2. Configure LSPH01 to connect to LoRaWAN network =
141 141  
142 142  == 2.1 How it works ==
143 143  
104 +
144 144  (((
145 145  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.
146 146  )))
147 147  
148 148  (((
149 -In case you cant 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.
110 +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.
150 150  )))
151 151  
152 152  
153 153  == 2.2 ​Quick guide to connect to LoRaWAN server (OTAA) ==
154 154  
116 +
155 155  (((
156 156  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.
157 157  )))
... ... @@ -158,10 +158,14 @@
158 158  
159 159  (((
160 160  [[image:1654592492399-921.png]]
123 +
124 +
161 161  )))
162 162  
163 163  (((
164 164  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.
129 +
130 +
165 165  )))
166 166  
167 167  (((
... ... @@ -172,10 +172,10 @@
172 172  Each LSPH01 is shipped with a sticker with the default device EUI as below:
173 173  )))
174 174  
175 -[[image:image-20220607170145-1.jpeg]]
141 +[[image:image-20230426084737-1.png||height="246" width="530"]](% style="display:none" %)
176 176  
143 +(% style="display:none" %) (%%)
177 177  
178 -
179 179  You can enter this key in the LoRaWAN Server portal. Below is TTN screen shot:
180 180  
181 181  
... ... @@ -185,11 +185,13 @@
185 185  [[image:1654592600093-601.png]]
186 186  
187 187  
154 +
188 188  **Add APP EUI and DEV EUI**
189 189  
190 190  [[image:1654592619856-881.png]]
191 191  
192 192  
160 +
193 193  **Add APP EUI in the application**
194 194  
195 195  [[image:1654592632656-512.png]]
... ... @@ -209,40 +209,45 @@
209 209  [[image:image-20220607170442-2.png]]
210 210  
211 211  
180 +(((
212 212  (% 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.
213 213  
183 +
184 +)))
185 +
214 214  [[image:1654592697690-910.png]]
215 215  
216 216  
217 -
218 218  == 2.3 ​Uplink Payload ==
219 219  
191 +
192 +(((
220 220  LSPH01 will uplink payload via LoRaWAN with below payload format: 
194 +)))
221 221  
196 +(((
222 222  Uplink payload includes in total 11 bytes.
198 +)))
223 223  
200 +(((
224 224  Normal uplink payload:
202 +)))
225 225  
226 -(% border="1" cellspacing="10" style="background-color:#ffffcc; width:510px" %)
227 -|(((
228 -**Size**
229 -
230 -**(bytes)**
231 -)))|**2**|**2**|**2**|**2**|**1**|**1**|**1**
232 -|**Value**|[[BAT>>path:#H2.3.1BatteryInfo]]|(((
233 -[[Temperature>>path:#H2.3.2DS18B20Temperaturesensor]]
234 -
235 -[[(Optional)>>path:#H2.3.2DS18B20Temperaturesensor]]
236 -)))|[[Soil pH>>path:#H2.3.3SoilpH]]|[[Soil Temperature>>path:#H2.3.4SoilTemperature]]|(((
237 -[[Digital Interrupt (Optional)>>path:#H2.3.5InterruptPin]]
204 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:470px" %)
205 +|=(% style="width: 60px;background-color:#D9E2F3;color:#0070C0" %)(((
206 +**Size(bytes)**
207 +)))|=(% style="width: 30px;background-color:#D9E2F3;color:#0070C0" %)**2**|=(% style="width: 70px;background-color:#D9E2F3;color:#0070C0" %)**2**|=(% style="width: 50px;background-color:#D9E2F3;color:#0070C0" %)**2**|=(% style="width: 60px;background-color:#D9E2F3;color:#0070C0" %)**2**|=(% style="width: 70px;background-color:#D9E2F3;color:#0070C0" %)**1**|=(% style="width: 50px;background-color:#D9E2F3;color:#0070C0" %)**1**|=(% style="width: 80px;background-color:#D9E2F3;color:#0070C0" %)**1**
208 +|(% style="width:62.5px" %)**Value**|(% style="width:62.5px" %)[[BAT>>||anchor="H2.3.1BatteryInfo"]]|(% style="width:62.5px" %)(((
209 +[[Temperature (Optional)>>||anchor="H2.3.2DS18B20Temperaturesensor"]]
210 +)))|[[Soil pH>>||anchor="H2.3.3SoilpH"]]|[[Soil Temperature>>||anchor="H2.3.4SoilTemperature"]]|(((
211 +[[Digital Interrupt (Optional)>>||anchor="H2.3.5InterruptPin"]]
238 238  )))|Reserve|(((
239 -[[Message Type>>path:#H2.3.6MessageType]]
213 +[[Message Type>>||anchor="H2.3.6MessageType"]]
240 240  )))
241 241  
242 242  [[image:1654592721645-318.png]]
243 243  
244 244  
245 -
246 246  === 2.3.1 Battery Info ===
247 247  
248 248  
... ... @@ -253,9 +253,9 @@
253 253  Ex2: 0x0B49 = 2889mV
254 254  
255 255  
256 -
257 257  === 2.3.2 DS18B20 Temperature sensor ===
258 258  
231 +
259 259  This is optional, user can connect external DS18B20 sensor to the +3.3v, 1-wire and GND pin . and this field will report temperature.
260 260  
261 261  
... ... @@ -266,9 +266,9 @@
266 266  If payload is: FF3FH :  (FF3F & FC00 == 1) , temp = (FF3FH - 65536)/10 = -19.3 degrees.
267 267  
268 268  
269 -
270 270  === 2.3.3 Soil pH ===
271 271  
244 +
272 272  Range: 0 ~~ 14 pH
273 273  
274 274  **Example:**
... ... @@ -276,9 +276,9 @@
276 276  (% style="color:#037691" %)** 0x02B7(H) = 695(D) = 6.95pH**
277 277  
278 278  
279 -
280 280  === 2.3.4 Soil Temperature ===
281 281  
254 +
282 282  Get Soil Temperature 
283 283  
284 284  
... ... @@ -289,12 +289,12 @@
289 289  If payload is: **FF3FH** :  (FF3F & FC00 == 1) , temp = (FF3FH - 65536)/10 = -19.3 degrees.
290 290  
291 291  
292 -
293 293  === 2.3.5 Interrupt Pin ===
294 294  
295 -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.
296 296  
268 +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.
297 297  
270 +
298 298  **Example:**
299 299  
300 300  0x00: Normal uplink packet.
... ... @@ -302,23 +302,29 @@
302 302  0x01: Interrupt Uplink Packet.
303 303  
304 304  
305 -
306 306  === 2.3.6 Message Type ===
307 307  
280 +
281 +(((
308 308  For a normal uplink payload, the message type is always 0x01.
283 +)))
309 309  
285 +(((
310 310  Valid Message Type:
287 +)))
311 311  
312 312  
313 -(% border="1" cellspacing="10" style="background-color:#ffffcc; width:510px" %)
314 -|**Message Type Code**|**Description**|**Payload**
315 -|0x01|Normal Uplink|[[Normal Uplink Payload>>path:#H2.3200BUplinkPayload]]
316 -|0x02|Reply configures info|[[Configure Info Payload>>path:#H3.4GetFirmwareVersionInfo]]
317 -|0x03|Reply Calibration Info|[[Calibration Payload>>path:#H2.7Calibration]]
290 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:496px" %)
291 +|=(% style="width: 160px;background-color:#D9E2F3;color:#0070C0" %)**Message Type Code**|=(% style="width: 163px;background-color:#D9E2F3;color:#0070C0" %)**Description**|=(% style="width: 173px;background-color:#D9E2F3;color:#0070C0" %)**Payload**
292 +|(% style="width:160px" %)0x01|(% style="width:163px" %)Normal Uplink|(% style="width:173px" %)[[Normal Uplink Payload>>||anchor="H2.3200BUplinkPayload"]]
293 +|(% style="width:160px" %)0x02|(% style="width:163px" %)Reply configures info|(% style="width:173px" %)[[Configure Info Payload>>||anchor="H3.4GetFirmwareVersionInfo"]]
294 +|(% style="width:160px" %)0x03|(% style="width:163px" %)Reply Calibration Info|(% style="width:173px" %)[[Calibration Payload>>||anchor="H2.7Calibration"]]
318 318  
319 319  
297 +
320 320  === 2.3.7 Decode payload in The Things Network ===
321 321  
300 +
322 322  While using TTN network, you can add the payload format to decode the payload.
323 323  
324 324  
... ... @@ -329,25 +329,34 @@
329 329  )))
330 330  
331 331  (((
332 -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/]]
311 +LSPH01 TTN Payload Decoder:  [[https:~~/~~/github.com/dragino/dragino-end-node-decoder>>https://github.com/dragino/dragino-end-node-decoder]]
333 333  )))
334 334  
335 335  
336 -
337 337  == 2.4 Uplink Interval ==
338 338  
339 -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]]
340 340  
318 +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"]]
341 341  
342 342  
343 343  == 2.5 ​Show Data in DataCake IoT Server ==
344 344  
323 +
324 +(((
345 345  [[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:
326 +)))
346 346  
328 +(((
329 +
330 +)))
347 347  
332 +(((
348 348  (% style="color:blue" %)**Step 1**(%%)**: Be sure that your device is programmed and properly connected to the network at this time.**
334 +)))
349 349  
336 +(((
350 350  (% 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:**
338 +)))
351 351  
352 352  
353 353  [[image:1654592790040-760.png]]
... ... @@ -363,7 +363,6 @@
363 363  [[image:1654592819047-535.png]]
364 364  
365 365  
366 -
367 367  [[image:1654592833877-762.png]]
368 368  
369 369  
... ... @@ -370,9 +370,13 @@
370 370  [[image:1654592856403-259.png]]
371 371  
372 372  
360 +(((
373 373  (% style="color:blue" %)**Step 5**(%%)**: add payload decode**
362 +)))
374 374  
375 -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/]]
364 +(((
365 +Download Datacake decoder from: [[https:~~/~~/www.dropbox.com/sh/pj7cgmgqg3gx3ta/AABYFbg1DVOOR9Hmr1mLSBkga?dl=0>>url:https://www.dropbox.com/sh/pj7cgmgqg3gx3ta/AABYFbg1DVOOR9Hmr1mLSBkga?dl=0]]
366 +)))
376 376  
377 377  
378 378  [[image:1654592878525-845.png]]
... ... @@ -389,43 +389,67 @@
389 389  [[image:1654592917530-261.png]]
390 390  
391 391  
392 -
393 393  == 2.6 Installation and Maintain ==
394 394  
395 395  === 2.6.1 Before measurement ===
396 396  
387 +
397 397  (((
389 +(((
398 398  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. 
399 399  )))
392 +)))
400 400  
401 401  
402 -
403 403  === 2.6.2 Measurement ===
404 404  
405 405  
398 +(((
406 406  (% style="color:#4f81bd" %)**Measurement the soil surface:**
400 +)))
407 407  
402 +(((
408 408  [[image:1654592946732-634.png]]
409 409  
405 +
406 +)))
407 +
408 +(((
410 410  Choose the proper measuring position. Split the surface soil according to the measured deep.
410 +)))
411 411  
412 +(((
412 412  Put pure water, or rainwater to make the soil of measurement point to moist mud. Remove rocks or hard things.
414 +)))
413 413  
414 -Slowly insert the probe to the measure point. Don’t use large force which will break the probe. Make sure not shake when inserting.
416 +(((
417 +Slowly insert the probe to the measure point. Don't use large force which will break the probe. Make sure not shake when inserting.
418 +)))
415 415  
420 +(((
416 416  Put soil over the probe after insert. And start to measure.
422 +)))
417 417  
424 +(((
425 +
426 +)))
418 418  
428 +(((
419 419  (% style="color:#4f81bd" %)**Measurement inside soil:**
430 +)))
420 420  
432 +(((
421 421  Dig a hole with diameter > 20CM.
434 +)))
422 422  
436 +(((
423 423  Insert the probe inside, method like measure the surface.
438 +)))
424 424  
425 425  
426 -
427 427  === 2.6.3 Maintain Probe ===
428 428  
443 +
429 429  1. (((
430 430  pH probe electrode is fragile and no strong. User must avoid strong force or hitting it.
431 431  )))
... ... @@ -450,46 +450,71 @@
450 450  
451 451  == 2.7 Calibration ==
452 452  
468 +
469 +(((
453 453  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).
471 +)))
454 454  
473 +(((
455 455  After stable, user can use below command to calibrate.
456 456  
457 -[[image:image-20220607171149-4.png]]
476 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:520px" %)
477 +|(% style="background-color:#d9e2f3; color:#0070c0; width:120px" %)**pH buffer solution**|(% style="background-color:#d9e2f3; color:#0070c0; width:150px" %)**AT Command to calibrate**|(% style="background-color:#d9e2f3; color:#0070c0; width:150px" %)**Downlink Command**|(% style="background-color:#d9e2f3; color:#0070c0; width:100px" %)**Read Cal Value**
478 +|(% style="width:149px" %)4.00|(% style="width:197px" %)AT+PHCAL=4|(% style="width:206px" %)(((
479 +0x13 04
480 +Reply with Calibrate payload
481 +)))|(% style="width:136px" %)(((
482 +AT+PHCAL=?
483 +Example 41,61,91
484 +)))
485 +|(% style="width:149px" %)6.86|(% style="width:197px" %)AT+PHCAL=6|(% style="width:206px" %)(((
486 +0x13 06
487 +Reply with Calibrate payload
488 +)))|(% style="width:136px" %)AT+PHCAL=?
489 +|(% style="width:149px" %)9.18|(% style="width:197px" %)AT+PHCAL=9|(% style="width:206px" %)(((
490 +0x13 09
491 +Reply with Calibrate payload
492 +)))|(% style="width:136px" %)AT+PHCAL=?
493 +|(% style="width:149px" %)Factory Default|(% style="width:197px" %)AT+PHCAL=15|(% style="width:206px" %)(((
494 +0x13 15
495 +Reply with Calibrate payload
496 +)))|(% style="width:136px" %)(((
497 +AT+PHCAL=?
498 +Example 151
499 +)))
500 +)))
458 458  
459 459  
460 460  (% style="color:#037691" %)**Calibration Payload**
461 461  
462 -(% border="1" cellspacing="10" style="background-color:#ffffcc; width:510px" %)
463 -|(((
464 -**Size**
465 -
466 -**(bytes)**
467 -)))|**1**|**1**|**1**|**7**|**1**
468 -|**Value**|(((
469 -PH4
470 -
471 -Calibrate value
505 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:500px" %)
506 +|=(% style="width: 60px;background-color:#D9E2F3;color:#0070C0" %)(((
507 +**Size(bytes)**
508 +)))|=(% style="width: 100px;background-color:#D9E2F3;color:#0070C0" %)**1**|=(% style="width: 100px;background-color:#D9E2F3;color:#0070C0" %)**1**|=(% style="width: 100px;background-color:#D9E2F3;color:#0070C0" %)**1**|=(% style="width: 50px;background-color:#D9E2F3;color:#0070C0" %)**7**|=(% style="width: 90px;background-color:#D9E2F3;color:#0070C0" %)**1**
509 +|Value|(((
510 +PH4 Calibrate value
472 472  )))|PH6.86 Calibrate value|(((
473 -PH9.18
474 -
475 -Calibrate value
512 +PH9.18 Calibrate value
476 476  )))|Reserve|(((
477 -[[Message Type>>path:#H2.3.6MessageType]]
478 -
514 +[[Message Type>>||anchor="H2.3.6MessageType"]]
479 479  Always 0x03
480 480  )))
481 481  
518 +
482 482  User can also send 0x14 downlink command to poll the current calibration payload.
483 483  
484 -[[image:image-20220607171416-7.jpeg]]
521 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:480px" %)
522 +|=(% style="width: 183px; background-color:#D9E2F3;color:#0070C0" %)**Downlink Control Type**|=(% style="width: 55px; background-color:#D9E2F3;color:#0070C0" %)FPort|=(% style="width: 93px; background-color:#D9E2F3;color:#0070C0" %)**Type Code**|=(% style="width: 146px; background-color: rgb(217, 226, 243); color: rgb(0, 112, 192);" %)**Downlink payload size(bytes)**
523 +|(% style="width:183px" %)Get Calibration Version Info|(% style="width:55px" %)Any|(% style="width:93px" %)14|(% style="width:146px" %)2
485 485  
486 -
487 487  * Reply to the confirmation package: 14 01
488 488  * Reply to non-confirmed packet: 14 00
489 489  
490 490  
529 +
491 491  == 2.8 Frequency Plans ==
492 492  
532 +
493 493  (((
494 494  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.
495 495  )))
... ... @@ -497,37 +497,67 @@
497 497  
498 498  === 2.8.1 EU863-870 (EU868) ===
499 499  
540 +
541 +(((
500 500  (% style="color:blue" %)**Uplink:**
543 +)))
501 501  
545 +(((
502 502  868.1 - SF7BW125 to SF12BW125
547 +)))
503 503  
549 +(((
504 504  868.3 - SF7BW125 to SF12BW125 and SF7BW250
551 +)))
505 505  
553 +(((
506 506  868.5 - SF7BW125 to SF12BW125
555 +)))
507 507  
557 +(((
508 508  867.1 - SF7BW125 to SF12BW125
559 +)))
509 509  
561 +(((
510 510  867.3 - SF7BW125 to SF12BW125
563 +)))
511 511  
565 +(((
512 512  867.5 - SF7BW125 to SF12BW125
567 +)))
513 513  
569 +(((
514 514  867.7 - SF7BW125 to SF12BW125
571 +)))
515 515  
573 +(((
516 516  867.9 - SF7BW125 to SF12BW125
575 +)))
517 517  
577 +(((
518 518  868.8 - FSK
579 +)))
519 519  
581 +(((
582 +
583 +)))
520 520  
585 +(((
521 521  (% style="color:blue" %)**Downlink:**
587 +)))
522 522  
589 +(((
523 523  Uplink channels 1-9 (RX1)
591 +)))
524 524  
593 +(((
525 525  869.525 - SF9BW125 (RX2 downlink only)
595 +)))
526 526  
527 527  
528 -
529 529  === 2.8.2 US902-928(US915) ===
530 530  
600 +
531 531  (((
532 532  Used in USA, Canada and South America. Frequency band as per definition in LoRaWAN 1.0.3 Regional document.
533 533  )))
... ... @@ -541,57 +541,101 @@
541 541  )))
542 542  
543 543  * Check what sub-band the LoRaWAN server ask from the OTAA Join Accept message and switch to that sub-band
544 -* 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)
614 +* 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)
545 545  
546 546  
547 547  
548 548  === 2.8.3 CN470-510 (CN470) ===
549 549  
620 +
621 +(((
550 550  Used in China, Default use CHE=1
623 +)))
551 551  
625 +(((
552 552  (% style="color:blue" %)**Uplink:**
627 +)))
553 553  
629 +(((
554 554  486.3 - SF7BW125 to SF12BW125
631 +)))
555 555  
633 +(((
556 556  486.5 - SF7BW125 to SF12BW125
635 +)))
557 557  
637 +(((
558 558  486.7 - SF7BW125 to SF12BW125
639 +)))
559 559  
641 +(((
560 560  486.9 - SF7BW125 to SF12BW125
643 +)))
561 561  
645 +(((
562 562  487.1 - SF7BW125 to SF12BW125
647 +)))
563 563  
649 +(((
564 564  487.3 - SF7BW125 to SF12BW125
651 +)))
565 565  
653 +(((
566 566  487.5 - SF7BW125 to SF12BW125
655 +)))
567 567  
657 +(((
568 568  487.7 - SF7BW125 to SF12BW125
659 +)))
569 569  
661 +(((
662 +
663 +)))
570 570  
665 +(((
571 571  (% style="color:blue" %)**Downlink:**
667 +)))
572 572  
669 +(((
573 573  506.7 - SF7BW125 to SF12BW125
671 +)))
574 574  
673 +(((
575 575  506.9 - SF7BW125 to SF12BW125
675 +)))
576 576  
677 +(((
577 577  507.1 - SF7BW125 to SF12BW125
679 +)))
578 578  
681 +(((
579 579  507.3 - SF7BW125 to SF12BW125
683 +)))
580 580  
685 +(((
581 581  507.5 - SF7BW125 to SF12BW125
687 +)))
582 582  
689 +(((
583 583  507.7 - SF7BW125 to SF12BW125
691 +)))
584 584  
693 +(((
585 585  507.9 - SF7BW125 to SF12BW125
695 +)))
586 586  
697 +(((
587 587  508.1 - SF7BW125 to SF12BW125
699 +)))
588 588  
701 +(((
589 589  505.3 - SF12BW125 (RX2 downlink only)
703 +)))
590 590  
591 591  
592 -
593 593  === 2.8.4 AU915-928(AU915) ===
594 594  
708 +
595 595  (((
596 596  Frequency band as per definition in LoRaWAN 1.0.3 Regional document.
597 597  )))
... ... @@ -609,119 +609,229 @@
609 609  )))
610 610  
611 611  * Check what sub-band the LoRaWAN server ask from the OTAA Join Accept message and switch to that sub-band
612 -* 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)
726 +* 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)
613 613  
614 614  
615 615  
616 616  === 2.8.5 AS920-923 & AS923-925 (AS923) ===
617 617  
732 +
733 +(((
618 618  (% style="color:blue" %)**Default Uplink channel:**
735 +)))
619 619  
737 +(((
620 620  923.2 - SF7BW125 to SF10BW125
739 +)))
621 621  
741 +(((
622 622  923.4 - SF7BW125 to SF10BW125
743 +)))
623 623  
745 +(((
746 +
747 +)))
624 624  
749 +(((
625 625  (% style="color:blue" %)**Additional Uplink Channel**:
751 +)))
626 626  
753 +(((
627 627  (OTAA mode, channel added by JoinAccept message)
755 +)))
628 628  
757 +(((
758 +
759 +)))
629 629  
761 +(((
630 630  (% style="color:blue" %)**AS920~~AS923 for Japan, Malaysia, Singapore**:
763 +)))
631 631  
765 +(((
632 632  922.2 - SF7BW125 to SF10BW125
767 +)))
633 633  
769 +(((
634 634  922.4 - SF7BW125 to SF10BW125
771 +)))
635 635  
773 +(((
636 636  922.6 - SF7BW125 to SF10BW125
775 +)))
637 637  
777 +(((
638 638  922.8 - SF7BW125 to SF10BW125
779 +)))
639 639  
781 +(((
640 640  923.0 - SF7BW125 to SF10BW125
783 +)))
641 641  
785 +(((
642 642  922.0 - SF7BW125 to SF10BW125
787 +)))
643 643  
789 +(((
790 +
791 +)))
644 644  
793 +(((
645 645  (% style="color:blue" %)**AS923 ~~ AS925 for Brunei, Cambodia, Hong Kong, Indonesia, Laos, Taiwan, Thailand, Vietnam**:
795 +)))
646 646  
797 +(((
647 647  923.6 - SF7BW125 to SF10BW125
799 +)))
648 648  
801 +(((
649 649  923.8 - SF7BW125 to SF10BW125
803 +)))
650 650  
805 +(((
651 651  924.0 - SF7BW125 to SF10BW125
807 +)))
652 652  
809 +(((
653 653  924.2 - SF7BW125 to SF10BW125
811 +)))
654 654  
813 +(((
655 655  924.4 - SF7BW125 to SF10BW125
815 +)))
656 656  
817 +(((
657 657  924.6 - SF7BW125 to SF10BW125
819 +)))
658 658  
821 +(((
822 +
823 +)))
659 659  
825 +(((
660 660  (% style="color:blue" %)**Downlink:**
827 +)))
661 661  
829 +(((
662 662  Uplink channels 1-8 (RX1)
831 +)))
663 663  
833 +(((
664 664  923.2 - SF10BW125 (RX2)
835 +)))
665 665  
666 666  
667 -
668 668  === 2.8.6 KR920-923 (KR920) ===
669 669  
840 +
841 +(((
670 670  (% style="color:blue" %)**Default channel:**
843 +)))
671 671  
845 +(((
672 672  922.1 - SF7BW125 to SF12BW125
847 +)))
673 673  
849 +(((
674 674  922.3 - SF7BW125 to SF12BW125
851 +)))
675 675  
853 +(((
676 676  922.5 - SF7BW125 to SF12BW125
855 +)))
677 677  
857 +(((
858 +
859 +)))
678 678  
861 +(((
679 679  (% style="color:blue" %)**Uplink: (OTAA mode, channel added by JoinAccept message)**
863 +)))
680 680  
865 +(((
681 681  922.1 - SF7BW125 to SF12BW125
867 +)))
682 682  
869 +(((
683 683  922.3 - SF7BW125 to SF12BW125
871 +)))
684 684  
873 +(((
685 685  922.5 - SF7BW125 to SF12BW125
875 +)))
686 686  
877 +(((
687 687  922.7 - SF7BW125 to SF12BW125
879 +)))
688 688  
881 +(((
689 689  922.9 - SF7BW125 to SF12BW125
883 +)))
690 690  
885 +(((
691 691  923.1 - SF7BW125 to SF12BW125
887 +)))
692 692  
889 +(((
693 693  923.3 - SF7BW125 to SF12BW125
891 +)))
694 694  
893 +(((
894 +
895 +)))
695 695  
897 +(((
696 696  (% style="color:blue" %)**Downlink:**
899 +)))
697 697  
901 +(((
698 698  Uplink channels 1-7(RX1)
903 +)))
699 699  
905 +(((
700 700  921.9 - SF12BW125 (RX2 downlink only; SF12BW125 might be changed to SF9BW125)
907 +)))
701 701  
702 702  
703 -
704 704  === 2.8.7 IN865-867 (IN865) ===
705 705  
912 +
913 +(((
706 706  (% style="color:blue" %)**Uplink:**
915 +)))
707 707  
917 +(((
708 708  865.0625 - SF7BW125 to SF12BW125
919 +)))
709 709  
921 +(((
710 710  865.4025 - SF7BW125 to SF12BW125
923 +)))
711 711  
925 +(((
712 712  865.9850 - SF7BW125 to SF12BW125
927 +)))
713 713  
929 +(((
930 +
931 +)))
714 714  
933 +(((
715 715  (% style="color:blue" %)**Downlink:**
935 +)))
716 716  
937 +(((
717 717  Uplink channels 1-3 (RX1)
939 +)))
718 718  
941 +(((
719 719  866.550 - SF10BW125 (RX2)
943 +)))
720 720  
721 721  
722 -
723 723  == 2.9 LED Indicator ==
724 724  
948 +
725 725  The LSPH01 has an internal LED which is to show the status of different state.
726 726  
727 727  * The sensor is detected when the device is turned on, and it will flash 4 times quickly when it is detected.
... ... @@ -732,93 +732,164 @@
732 732  == 2.10 ​Firmware Change Log ==
733 733  
734 734  
735 -**Firmware download link:**
959 +**Firmware download link: **[[https:~~/~~/www.dropbox.com/sh/xtm5tw37mewaw99/AAD0uy06odmreQQ7vMzZYVIGa?dl=0>>https://www.dropbox.com/sh/xtm5tw37mewaw99/AAD0uy06odmreQQ7vMzZYVIGa?dl=0]]
736 736  
737 -[[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/]]
738 -
739 -
740 740  **Firmware Upgrade Method: **[[Firmware Upgrade Instruction>>path:/xwiki/bin/view/Main/Firmware%20Upgrade%20Instruction%20for%20STM32%20base%20products/]]
741 741  
742 742  
743 -
744 744  = 3. Configure LSPH01 via AT Command or LoRaWAN Downlink =
745 745  
966 +
967 +(((
746 746  Use can configure LSPH01 via AT Command or LoRaWAN Downlink.
969 +)))
747 747  
748 -* AT Command Connection: See [[FAQ>>path:#H6.FAQ]].
749 -* LoRaWAN Downlink instruction for different platforms: [[IoT LoRaWAN Server>>path:/xwiki/bin/view/Main/]]
971 +* (((
972 +AT Command Connection: See [[FAQ>>||anchor="H6.FAQ"]].
973 +)))
974 +* (((
975 +LoRaWAN Downlink instruction for different platforms: [[IoT LoRaWAN Server>>path:/xwiki/bin/view/Main/]]
976 +)))
750 750  
978 +(((
751 751  There are two kinds of commands to configure LSPH01, they are:
980 +)))
752 752  
753 -* (% style="color:#4f81bd" %)** General Commands**.
982 +* (((
983 +(% style="color:#4f81bd" %)** General Commands**.
984 +)))
754 754  
986 +(((
755 755  These commands are to configure:
988 +)))
756 756  
757 -* General system settings like: uplink interval.
758 -* LoRaWAN protocol & radio related command.
990 +* (((
991 +General system settings like: uplink interval.
992 +)))
993 +* (((
994 +LoRaWAN protocol & radio related command.
995 +)))
759 759  
760 -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/]]
997 +(((
998 +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/]]
999 +)))
761 761  
1001 +(((
1002 +
1003 +)))
762 762  
763 -* (% style="color:#4f81bd" %)** Commands special design for LSPH01**
1005 +* (((
1006 +(% style="color:#4f81bd" %)** Commands special design for LSPH01**
1007 +)))
764 764  
1009 +(((
765 765  These commands only valid for LSPH01, as below:
1011 +)))
766 766  
767 767  
768 -
769 769  == 3.1 Set Transmit Interval Time ==
770 770  
1016 +
771 771  Feature: Change LoRaWAN End Node Transmit Interval.
772 772  
773 773  (% style="color:#037691" %)**AT Command: AT+TDC**
774 774  
775 -[[image:image-20220607171554-8.png]]
1021 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
1022 +|=(% style="width: 156px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 137px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="background-color:#D9E2F3;color:#0070C0" %)**Response**
1023 +|(% style="width:156px" %)AT+TDC=?|(% style="width:137px" %)Show current transmit Interval|(((
1024 +30000
1025 +OK
1026 +the interval is 30000ms = 30s
1027 +)))
1028 +|(% style="width:156px" %)AT+TDC=60000|(% style="width:137px" %)Set Transmit Interval|(((
1029 +OK
1030 +Set transmit interval to 60000ms = 60 seconds​
1031 +)))
776 776  
777 -
778 -
1033 +(((
779 779  (% style="color:#037691" %)**Downlink Command: 0x01**
1035 +)))
780 780  
1037 +(((
781 781  Format: Command Code (0x01) followed by 3 bytes time value.
1039 +)))
782 782  
783 -If the downlink payload=0100003C, it means set the END Node’s Transmit Interval to 0x00003C=60(S), while type code is 01.
1041 +(((
1042 +If the downlink payload=0100003C, it means set the END Node's Transmit Interval to 0x00003C=60(S), while type code is 01.
1043 +)))
784 784  
785 -* Example 1: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds
786 -* Example 2: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds
1045 +* (((
1046 +Example 1: Downlink Payload: 0100001E  ~/~/ Set Transmit Interval (TDC) = 30 seconds
1047 +)))
1048 +* (((
1049 +Example 2: Downlink Payload: 0100003C  ~/~/ Set Transmit Interval (TDC) = 60 seconds
787 787  
788 788  
1052 +
1053 +)))
1054 +
789 789  == 3.2 Set Interrupt Mode ==
790 790  
1057 +
791 791  Feature, Set Interrupt mode for GPIO_EXIT.
792 792  
793 793  (% style="color:#037691" %)**AT Command: AT+INTMOD**
794 794  
795 -[[image:image-20220607171716-9.png]]
1062 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
1063 +|=(% style="width: 154px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 196px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 157px;background-color:#D9E2F3;color:#0070C0" %)**Response**
1064 +|(% style="width:154px" %)AT+INTMOD=?|(% style="width:196px" %)Show current interrupt mode|(% style="width:157px" %)(((
1065 +0
1066 +OK
1067 +the mode is 0 =No interruption
1068 +)))
1069 +|(% style="width:154px" %)AT+INTMOD=2|(% style="width:196px" %)(((
1070 +Set Transmit Interval
1071 +0. (Disable Interrupt),
1072 +~1. (Trigger by rising and falling edge)
1073 +2. (Trigger by falling edge)
1074 +3. (Trigger by rising edge)
1075 +)))|(% style="width:157px" %)OK
796 796  
797 -
1077 +(((
798 798  (% style="color:#037691" %)**Downlink Command: 0x06**
1079 +)))
799 799  
1081 +(((
800 800  Format: Command Code (0x06) followed by 3 bytes.
1083 +)))
801 801  
1085 +(((
802 802  This means that the interrupt mode of the end node is set to 0x000003=3 (rising edge trigger), and the type code is 06.
1087 +)))
803 803  
804 -* Example 1: Downlink Payload: 06000000 ~/~/ Turn off interrupt mode
805 -* Example 2: Downlink Payload: 06000003 ~/~/ Set the interrupt mode to rising edge trigger
1089 +* (((
1090 +Example 1: Downlink Payload: 06000000  ~/~/ Turn off interrupt mode
1091 +)))
1092 +* (((
1093 +Example 2: Downlink Payload: 06000003  ~/~/  Set the interrupt mode to rising edge trigger
1094 +)))
806 806  
1096 +(((
1097 +
1098 +)))
807 807  
808 808  
809 809  == 3.3 Calibrate Sensor ==
810 810  
811 -Detail See [[Calibration Guide>>path:#H2.7Calibration]] for the user of 0x13 and 0x14 downlink commands
812 812  
1104 +Detail See [[Calibration Guide>>||anchor="H2.7Calibration"]] for the user of 0x13 and 0x14 downlink commands
813 813  
814 814  
815 815  == 3.4 Get Firmware Version Info ==
816 816  
1109 +
817 817  Feature: use downlink to get firmware version.
818 818  
819 819  (% style="color:#037691" %)**Downlink Command: 0x26**
820 820  
821 -[[image:image-20220607171917-10.png]]
1114 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:500px" %)
1115 +|(% style="background-color:#d9e2f3; color:#0070c0; width:193px" %)**Downlink Control Type**|(% style="background-color:#d9e2f3; color:#0070c0; width:57px" %)**FPort**|(% style="background-color:#d9e2f3; color:#0070c0; width:91px" %)**Type Code**|(% style="background-color:#d9e2f3; color:#0070c0; width:159px" %)**Downlink payload size(bytes)**
1116 +|(% style="width:193px" %)Get Firmware Version Info|(% style="width:57px" %)Any|(% style="width:91px" %)26|(% style="width:149px" %)2
822 822  
823 823  * Reply to the confirmation package: 26 01
824 824  * Reply to non-confirmed packet: 26 00
... ... @@ -827,28 +827,23 @@
827 827  
828 828  Configures info payload:
829 829  
830 -(% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:510px" %)
831 -|=(((
832 -**Size(bytes)**
833 -)))|=**1**|=**1**|=**1**|=**1**|=**1**|=**5**|=**1**
834 -|**Value**|Software Type|(((
1125 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
1126 +|(% style="background-color:#d9e2f3; color:#0070c0; width:50px" %)**Size(bytes)**|(% style="background-color:#d9e2f3; color:#0070c0; width:70px" %)**1**|(% style="background-color:#d9e2f3; color:#0070c0; width:70px" %)**1**|(% style="background-color:#d9e2f3; color:#0070c0; width:50px" %)**1**|(% style="background-color:#d9e2f3; color:#0070c0; width:70px" %)**1**|(% style="background-color:#d9e2f3; color:#0070c0; width:60px" %)**1**|(% style="background-color:#d9e2f3; color:#0070c0; width:50px" %)**5**|(% style="background-color:#d9e2f3; color:#0070c0; width:100px" %)**1**
1127 +|Value|Software Type|(((
835 835  Frequency
836 -
837 837  Band
838 838  )))|Sub-band|(((
839 839  Firmware
840 -
841 841  Version
842 842  )))|Sensor Type|Reserve|(((
843 -[[Message Type>>path:#H2.3.6MessageType]]
1134 +[[Message Type>>||anchor="H2.3.6MessageType"]]
844 844  Always 0x02
845 845  )))
846 846  
847 -**Software Type**: Always 0x03 for LSPH01
1138 +(% style="color:#037691" %)**Software Type**(%%): Always 0x03 for LSPH01
848 848  
1140 +(% style="color:#037691" %)**Frequency Band**:
849 849  
850 -**Frequency Band**:
851 -
852 852  *0x01: EU868
853 853  
854 854  *0x02: US915
... ... @@ -870,14 +870,12 @@
870 870  *0xa0: AS923-3
871 871  
872 872  
873 -**Sub-Band**: value 0x00 ~~ 0x08
1163 +(% style="color:#037691" %)**Sub-Band**(%%): value 0x00 ~~ 0x08
874 874  
1165 +(% style="color:#037691" %)**Firmware Version**(%%): 0x0100, Means: v1.0.0 version
875 875  
876 -**Firmware Version**: 0x0100, Means: v1.0.0 version
1167 +(% style="color:#037691" %)**Sensor Type**:
877 877  
878 -
879 -**Sensor Type**:
880 -
881 881  0x01: LSE01
882 882  
883 883  0x02: LDDS75
... ... @@ -893,107 +893,25 @@
893 893  0x07: LDDS12
894 894  
895 895  
1184 += 4. Battery & Power Consumption =
896 896  
897 -= 4. Battery & How to replace =
898 898  
899 -== 4.1 Battery Type ==
1187 +LSPH01 uses ER26500 + SPC1520 battery pack. See below link for detail information about the battery info and how to replace.
900 900  
901 -(((
902 -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.
903 -)))
1189 +[[**Battery Info & Power Consumption Analyze**>>url:http://wiki.dragino.com/xwiki/bin/view/Main/How%20to%20calculate%20the%20battery%20life%20of%20Dragino%20sensors%3F/]] .
904 904  
905 -(((
906 -The discharge curve is not linear so can’t simply use percentage to show the battery level. Below is the battery performance.
907 -)))
908 908  
909 -[[image:1654593587246-335.png]]
910 -
911 -
912 -Minimum Working Voltage for the LSPH01:
913 -
914 -LSPH01:  2.45v ~~ 3.6v
915 -
916 -
917 -
918 -== 4.2 Replace Battery ==
919 -
920 -(((
921 -Any battery with range 2.45 ~~ 3.6v can be a replacement. We recommend to use Li-SOCl2 Battery.
922 -)))
923 -
924 -(((
925 -And make sure the positive and negative pins match.
926 -)))
927 -
928 -
929 -
930 -== 4.3 Power Consumption Analyze ==
931 -
932 -(((
933 -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.
934 -)))
935 -
936 -(((
937 -Instruction to use as below:
938 -)))
939 -
940 -
941 -**Step 1**: Downlink the up-to-date DRAGINO_Battery_Life_Prediction_Table.xlsx from:
942 -
943 -[[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/]]
944 -
945 -
946 -**Step 2**: Open it and choose
947 -
948 -* Product Model
949 -* Uplink Interval
950 -* Working Mode
951 -
952 -And the Life expectation in difference case will be shown on the right.
953 -
954 -[[image:1654593605679-189.png]]
955 -
956 -
957 -The battery related documents as below:
958 -
959 -* (((
960 -[[Battery Dimension>>url:http://www.dragino.com/downloads/index.php?dir=datasheet/Battery/&file=LSN50-Battery-Dimension.pdf]],
961 -)))
962 -* (((
963 -[[Lithium-Thionyl Chloride Battery  datasheet>>url:https://www.dragino.com/downloads/downloads/datasheet/Battery/ER26500/ER26500_Datasheet-EN.pdf]],
964 -)))
965 -* (((
966 -[[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]]
967 -)))
968 -
969 -[[image:image-20220607172042-11.png]]
970 -
971 -
972 -
973 -=== 4.3.1 ​Battery Note ===
974 -
975 -(((
976 -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.
977 -)))
978 -
979 -
980 -
981 -=== ​4.3.2 Replace the battery ===
982 -
983 -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.
984 -
985 -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)
986 -
987 -
988 -
989 989  = 5. Use AT Command =
990 990  
991 991  == 5.1 Access AT Commands ==
992 992  
1196 +
993 993  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.
994 994  
1199 +
995 995  [[image:1654593668970-604.png]]
996 996  
1202 +
997 997  **Connection:**
998 998  
999 999  (% style="background-color:yellow" %)** USB TTL GND <~-~-~-~-> GND**
... ... @@ -1003,34 +1003,36 @@
1003 1003  (% style="background-color:yellow" %)** USB TTL RXD  <~-~-~-~-> UART_TXD**
1004 1004  
1005 1005  
1212 +(((
1006 1006  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:
1214 +)))
1007 1007  
1008 1008  
1009 1009   [[image:1654593712276-618.png]]
1010 1010  
1011 -Valid AT Command please check [[Configure Device>>path:#H3.ConfigureLSPH01viaATCommandorLoRaWANDownlink]].
1219 +Valid AT Command please check [[Configure Device>>||anchor="H3.ConfigureLSPH01viaATCommandorLoRaWANDownlink"]].
1012 1012  
1013 1013  
1014 -
1015 1015  = 6. FAQ =
1016 1016  
1017 1017  == 6.1 How to change the LoRa Frequency Bands/Region ==
1018 1018  
1019 -You can follow the instructions for [[how to upgrade image>>path:#H2.10200BFirmwareChangeLog]].
1226 +
1227 +You can follow the instructions for [[how to upgrade image>>||anchor="H2.10200BFirmwareChangeLog"]].
1020 1020  When downloading the images, choose the required image file for download. ​
1021 1021  
1022 1022  
1023 -
1024 1024  = 7. Trouble Shooting =
1025 1025  
1026 -== 7.1 AT Commands input doesnt work ==
1233 +== 7.1 AT Commands input doesn't work ==
1027 1027  
1028 -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.
1029 1029  
1236 +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.
1030 1030  
1031 1031  
1032 1032  = 8. Order Info =
1033 1033  
1241 +
1034 1034  Part Number: (% style="color:blue" %)**LSPH01-XX**
1035 1035  
1036 1036  
... ... @@ -1065,7 +1065,6 @@
1065 1065  
1066 1066  = 10. ​Support =
1067 1067  
1276 +
1068 1068  * 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.
1069 1069  * 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]].
1070 -
1071 -
image-20220610105907-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +15.5 KB
Content
image-20230426084737-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +190.0 KB
Content