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

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