Changes for page LSPH01 -- LoRaWAN Soil pH Sensor User Manual
Last modified by Xiaoling on 2025/04/25 14:08
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 2 added, 0 removed)
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 ... ... @@ -129,29 +129,32 @@ 129 129 130 130 == 1.4 Applications == 131 131 86 + 132 132 * Smart Agriculture 133 133 134 134 == 1.5 Pin mapping and power on == 135 135 91 + 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 99 + 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 can ’t set the OTAA keys in the LoRaWAN OTAA server, and you have to use the keys from the server, you can [[use AT Commands >>path:#H5.UseATCommand]]to set the keys in the LSPH01.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. 150 150 ))) 151 151 152 152 153 153 == 2.2 Quick guide to connect to LoRaWAN server (OTAA) == 154 154 111 + 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]] 118 + 119 + 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. 124 + 125 + 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-202 20607170145-1.jpeg]]136 +[[image:image-20230426084737-1.png||height="246" width="530"]](% style="display:none" %) 176 176 138 +(% 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 149 + 188 188 **Add APP EUI and DEV EUI** 189 189 190 190 [[image:1654592619856-881.png]] 191 191 192 192 155 + 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 175 +((( 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 178 + 179 +))) 180 + 214 214 [[image:1654592697690-910.png]] 215 215 216 216 217 - 218 218 == 2.3 Uplink Payload == 219 219 186 + 187 +((( 220 220 LSPH01 will uplink payload via LoRaWAN with below payload format: 189 +))) 221 221 191 +((( 222 222 Uplink payload includes in total 11 bytes. 193 +))) 223 223 195 +((( 224 224 Normal uplink payload: 197 +))) 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]] 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"]] 238 238 )))|Reserve|((( 239 -[[Message Type>> path:#H2.3.6MessageType]]208 +[[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 226 + 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 239 + 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 249 + 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 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. 297 297 265 + 298 298 **Example:** 299 299 300 300 0x00: Normal uplink packet. ... ... @@ -302,23 +302,27 @@ 302 302 0x01: Interrupt Uplink Packet. 303 303 304 304 305 - 306 306 === 2.3.6 Message Type === 307 307 275 + 276 +((( 308 308 For a normal uplink payload, the message type is always 0x01. 278 +))) 309 309 280 +((( 310 310 Valid Message Type: 282 +))) 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]]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"]] 318 318 319 - 320 320 === 2.3.7 Decode payload in The Things Network === 321 321 293 + 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: 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]] 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 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"]] 341 341 342 342 343 343 == 2.5 Show Data in DataCake IoT Server == 344 344 316 + 317 +((( 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: 319 +))) 346 346 321 +((( 322 + 323 +))) 347 347 325 +((( 348 348 (% style="color:blue" %)**Step 1**(%%)**: Be sure that your device is programmed and properly connected to the network at this time.** 327 +))) 349 349 329 +((( 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:** 331 +))) 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 353 +((( 373 373 (% style="color:blue" %)**Step 5**(%%)**: add payload decode** 355 +))) 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/]] 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 +))) 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 380 + 397 397 ((( 382 +((( 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 ))) 385 +))) 400 400 401 401 402 - 403 403 === 2.6.2 Measurement === 404 404 405 405 391 +((( 406 406 (% style="color:#4f81bd" %)**Measurement the soil surface:** 393 +))) 407 407 395 +((( 408 408 [[image:1654592946732-634.png]] 409 409 398 + 399 +))) 400 + 401 +((( 410 410 Choose the proper measuring position. Split the surface soil according to the measured deep. 403 +))) 411 411 405 +((( 412 412 Put pure water, or rainwater to make the soil of measurement point to moist mud. Remove rocks or hard things. 407 +))) 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. 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 +))) 415 415 413 +((( 416 416 Put soil over the probe after insert. And start to measure. 415 +))) 417 417 417 +((( 418 + 419 +))) 418 418 421 +((( 419 419 (% style="color:#4f81bd" %)**Measurement inside soil:** 423 +))) 420 420 425 +((( 421 421 Dig a hole with diameter > 20CM. 427 +))) 422 422 429 +((( 423 423 Insert the probe inside, method like measure the surface. 431 +))) 424 424 425 425 426 - 427 427 === 2.6.3 Maintain Probe === 428 428 436 + 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,70 @@ 450 450 451 451 == 2.7 Calibration == 452 452 461 + 462 +((( 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). 464 +))) 454 454 466 +((( 455 455 After stable, user can use below command to calibrate. 456 456 457 -[[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 +))) 458 458 459 459 496 + 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 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 472 472 )))|PH6.86 Calibrate value|((( 473 -PH9.18 474 - 475 -Calibrate value 506 +PH9.18 Calibrate value 476 476 )))|Reserve|((( 477 -[[Message Type>>path:#H2.3.6MessageType]] 478 - 508 +[[Message Type>>||anchor="H2.3.6MessageType"]] 479 479 Always 0x03 480 480 ))) 481 481 482 482 User can also send 0x14 downlink command to poll the current calibration payload. 483 483 484 -[[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 485 485 486 486 487 487 * Reply to the confirmation package: 14 01 488 488 * Reply to non-confirmed packet: 14 00 489 489 490 - 491 491 == 2.8 Frequency Plans == 492 492 524 + 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 532 + 533 +((( 500 500 (% style="color:blue" %)**Uplink:** 535 +))) 501 501 537 +((( 502 502 868.1 - SF7BW125 to SF12BW125 539 +))) 503 503 541 +((( 504 504 868.3 - SF7BW125 to SF12BW125 and SF7BW250 543 +))) 505 505 545 +((( 506 506 868.5 - SF7BW125 to SF12BW125 547 +))) 507 507 549 +((( 508 508 867.1 - SF7BW125 to SF12BW125 551 +))) 509 509 553 +((( 510 510 867.3 - SF7BW125 to SF12BW125 555 +))) 511 511 557 +((( 512 512 867.5 - SF7BW125 to SF12BW125 559 +))) 513 513 561 +((( 514 514 867.7 - SF7BW125 to SF12BW125 563 +))) 515 515 565 +((( 516 516 867.9 - SF7BW125 to SF12BW125 567 +))) 517 517 569 +((( 518 518 868.8 - FSK 571 +))) 519 519 573 +((( 574 + 575 +))) 520 520 577 +((( 521 521 (% style="color:blue" %)**Downlink:** 579 +))) 522 522 581 +((( 523 523 Uplink channels 1-9 (RX1) 583 +))) 524 524 585 +((( 525 525 869.525 - SF9BW125 (RX2 downlink only) 587 +))) 526 526 527 527 528 - 529 529 === 2.8.2 US902-928(US915) === 530 530 592 + 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,99 @@ 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 doesn ’t 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) 545 545 546 - 547 - 548 548 === 2.8.3 CN470-510 (CN470) === 549 549 610 + 611 +((( 550 550 Used in China, Default use CHE=1 613 +))) 551 551 615 +((( 552 552 (% style="color:blue" %)**Uplink:** 617 +))) 553 553 619 +((( 554 554 486.3 - SF7BW125 to SF12BW125 621 +))) 555 555 623 +((( 556 556 486.5 - SF7BW125 to SF12BW125 625 +))) 557 557 627 +((( 558 558 486.7 - SF7BW125 to SF12BW125 629 +))) 559 559 631 +((( 560 560 486.9 - SF7BW125 to SF12BW125 633 +))) 561 561 635 +((( 562 562 487.1 - SF7BW125 to SF12BW125 637 +))) 563 563 639 +((( 564 564 487.3 - SF7BW125 to SF12BW125 641 +))) 565 565 643 +((( 566 566 487.5 - SF7BW125 to SF12BW125 645 +))) 567 567 647 +((( 568 568 487.7 - SF7BW125 to SF12BW125 649 +))) 569 569 651 +((( 652 + 653 +))) 570 570 655 +((( 571 571 (% style="color:blue" %)**Downlink:** 657 +))) 572 572 659 +((( 573 573 506.7 - SF7BW125 to SF12BW125 661 +))) 574 574 663 +((( 575 575 506.9 - SF7BW125 to SF12BW125 665 +))) 576 576 667 +((( 577 577 507.1 - SF7BW125 to SF12BW125 669 +))) 578 578 671 +((( 579 579 507.3 - SF7BW125 to SF12BW125 673 +))) 580 580 675 +((( 581 581 507.5 - SF7BW125 to SF12BW125 677 +))) 582 582 679 +((( 583 583 507.7 - SF7BW125 to SF12BW125 681 +))) 584 584 683 +((( 585 585 507.9 - SF7BW125 to SF12BW125 685 +))) 586 586 687 +((( 587 587 508.1 - SF7BW125 to SF12BW125 689 +))) 588 588 691 +((( 589 589 505.3 - SF12BW125 (RX2 downlink only) 693 +))) 590 590 591 591 592 - 593 593 === 2.8.4 AU915-928(AU915) === 594 594 698 + 595 595 ((( 596 596 Frequency band as per definition in LoRaWAN 1.0.3 Regional document. 597 597 ))) ... ... @@ -609,217 +609,400 @@ 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 doesn ’t 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) 613 613 614 - 615 - 616 616 === 2.8.5 AS920-923 & AS923-925 (AS923) === 617 617 720 + 721 +((( 618 618 (% style="color:blue" %)**Default Uplink channel:** 723 +))) 619 619 725 +((( 620 620 923.2 - SF7BW125 to SF10BW125 727 +))) 621 621 729 +((( 622 622 923.4 - SF7BW125 to SF10BW125 731 +))) 623 623 733 +((( 734 + 735 +))) 624 624 737 +((( 625 625 (% style="color:blue" %)**Additional Uplink Channel**: 739 +))) 626 626 741 +((( 627 627 (OTAA mode, channel added by JoinAccept message) 743 +))) 628 628 745 +((( 746 + 747 +))) 629 629 749 +((( 630 630 (% style="color:blue" %)**AS920~~AS923 for Japan, Malaysia, Singapore**: 751 +))) 631 631 753 +((( 632 632 922.2 - SF7BW125 to SF10BW125 755 +))) 633 633 757 +((( 634 634 922.4 - SF7BW125 to SF10BW125 759 +))) 635 635 761 +((( 636 636 922.6 - SF7BW125 to SF10BW125 763 +))) 637 637 765 +((( 638 638 922.8 - SF7BW125 to SF10BW125 767 +))) 639 639 769 +((( 640 640 923.0 - SF7BW125 to SF10BW125 771 +))) 641 641 773 +((( 642 642 922.0 - SF7BW125 to SF10BW125 775 +))) 643 643 777 +((( 778 + 779 +))) 644 644 781 +((( 645 645 (% style="color:blue" %)**AS923 ~~ AS925 for Brunei, Cambodia, Hong Kong, Indonesia, Laos, Taiwan, Thailand, Vietnam**: 783 +))) 646 646 785 +((( 647 647 923.6 - SF7BW125 to SF10BW125 787 +))) 648 648 789 +((( 649 649 923.8 - SF7BW125 to SF10BW125 791 +))) 650 650 793 +((( 651 651 924.0 - SF7BW125 to SF10BW125 795 +))) 652 652 797 +((( 653 653 924.2 - SF7BW125 to SF10BW125 799 +))) 654 654 801 +((( 655 655 924.4 - SF7BW125 to SF10BW125 803 +))) 656 656 805 +((( 657 657 924.6 - SF7BW125 to SF10BW125 807 +))) 658 658 809 +((( 810 + 811 +))) 659 659 813 +((( 660 660 (% style="color:blue" %)**Downlink:** 815 +))) 661 661 817 +((( 662 662 Uplink channels 1-8 (RX1) 819 +))) 663 663 821 +((( 664 664 923.2 - SF10BW125 (RX2) 823 +))) 665 665 666 666 667 - 668 668 === 2.8.6 KR920-923 (KR920) === 669 669 828 + 829 +((( 670 670 (% style="color:blue" %)**Default channel:** 831 +))) 671 671 833 +((( 672 672 922.1 - SF7BW125 to SF12BW125 835 +))) 673 673 837 +((( 674 674 922.3 - SF7BW125 to SF12BW125 839 +))) 675 675 841 +((( 676 676 922.5 - SF7BW125 to SF12BW125 843 +))) 677 677 845 +((( 846 + 847 +))) 678 678 849 +((( 679 679 (% style="color:blue" %)**Uplink: (OTAA mode, channel added by JoinAccept message)** 851 +))) 680 680 853 +((( 681 681 922.1 - SF7BW125 to SF12BW125 855 +))) 682 682 857 +((( 683 683 922.3 - SF7BW125 to SF12BW125 859 +))) 684 684 861 +((( 685 685 922.5 - SF7BW125 to SF12BW125 863 +))) 686 686 865 +((( 687 687 922.7 - SF7BW125 to SF12BW125 867 +))) 688 688 869 +((( 689 689 922.9 - SF7BW125 to SF12BW125 871 +))) 690 690 873 +((( 691 691 923.1 - SF7BW125 to SF12BW125 875 +))) 692 692 877 +((( 693 693 923.3 - SF7BW125 to SF12BW125 879 +))) 694 694 881 +((( 882 + 883 +))) 695 695 885 +((( 696 696 (% style="color:blue" %)**Downlink:** 887 +))) 697 697 889 +((( 698 698 Uplink channels 1-7(RX1) 891 +))) 699 699 893 +((( 700 700 921.9 - SF12BW125 (RX2 downlink only; SF12BW125 might be changed to SF9BW125) 895 +))) 701 701 702 702 703 - 704 704 === 2.8.7 IN865-867 (IN865) === 705 705 900 + 901 +((( 706 706 (% style="color:blue" %)**Uplink:** 903 +))) 707 707 905 +((( 708 708 865.0625 - SF7BW125 to SF12BW125 907 +))) 709 709 909 +((( 710 710 865.4025 - SF7BW125 to SF12BW125 911 +))) 711 711 913 +((( 712 712 865.9850 - SF7BW125 to SF12BW125 915 +))) 713 713 917 +((( 918 + 919 +))) 714 714 921 +((( 715 715 (% style="color:blue" %)**Downlink:** 923 +))) 716 716 925 +((( 717 717 Uplink channels 1-3 (RX1) 927 +))) 718 718 929 +((( 719 719 866.550 - SF10BW125 (RX2) 931 +))) 720 720 721 721 722 - 723 723 == 2.9 LED Indicator == 724 724 936 + 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. 728 728 * Blink once when device transmit a packet. 729 729 730 - 731 - 732 732 == 2.10 Firmware Change Log == 733 733 734 734 735 -**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]] 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 952 + 953 +((( 746 746 Use can configure LSPH01 via AT Command or LoRaWAN Downlink. 955 +))) 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/]] 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 +))) 750 750 964 +((( 751 751 There are two kinds of commands to configure LSPH01, they are: 966 +))) 752 752 753 -* (% style="color:#4f81bd" %)** General Commands**. 968 +* ((( 969 +(% style="color:#4f81bd" %)** General Commands**. 970 +))) 754 754 972 +((( 755 755 These commands are to configure: 974 +))) 756 756 757 -* General system settings like: uplink interval. 758 -* LoRaWAN protocol & radio related command. 976 +* ((( 977 +General system settings like: uplink interval. 978 +))) 979 +* ((( 980 +LoRaWAN protocol & radio related command. 981 +))) 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/]] 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 +))) 761 761 987 +((( 988 + 989 +))) 762 762 763 -* (% style="color:#4f81bd" %)** Commands special design for LSPH01** 991 +* ((( 992 +(% style="color:#4f81bd" %)** Commands special design for LSPH01** 993 +))) 764 764 995 +((( 765 765 These commands only valid for LSPH01, as below: 997 +))) 766 766 767 767 768 - 769 769 == 3.1 Set Transmit Interval Time == 770 770 1002 + 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]] 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 +))) 776 776 777 777 778 778 1021 +((( 779 779 (% style="color:#037691" %)**Downlink Command: 0x01** 1023 +))) 780 780 1025 +((( 781 781 Format: Command Code (0x01) followed by 3 bytes time value. 1027 +))) 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. 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 +))) 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 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 787 787 788 788 1040 + 1041 +))) 1042 + 789 789 == 3.2 Set Interrupt Mode == 790 790 1045 + 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]] 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 796 796 797 797 1066 + 1067 +((( 798 798 (% style="color:#037691" %)**Downlink Command: 0x06** 1069 +))) 799 799 1071 +((( 800 800 Format: Command Code (0x06) followed by 3 bytes. 1073 +))) 801 801 1075 +((( 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. 1077 +))) 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 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 +))) 806 806 1086 +((( 1087 + 1088 +))) 807 807 808 808 1091 + 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 1095 +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 1100 + 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]] 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 822 822 1109 + 823 823 * Reply to the confirmation package: 26 01 824 824 * Reply to non-confirmed packet: 26 00 825 825 ... ... @@ -827,27 +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|((( 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** 1119 +|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]]1126 +[[Message Type>>||anchor="H2.3.6MessageType"]] 844 844 Always 0x02 845 845 ))) 846 846 847 -**Software Type**: Always 0x03 for LSPH01 1130 +(% style="color:#037691" %)**Software Type**(%%): Always 0x03 for LSPH01 848 848 849 849 850 -**Frequency Band**: 1133 +(% style="color:#037691" %)**Frequency Band**: 851 851 852 852 *0x01: EU868 853 853 ... ... @@ -870,13 +870,13 @@ 870 870 *0xa0: AS923-3 871 871 872 872 873 -**Sub-Band**: value 0x00 ~~ 0x08 1156 +(% style="color:#037691" %)**Sub-Band**(%%): value 0x00 ~~ 0x08 874 874 875 875 876 -**Firmware Version**: 0x0100, Means: v1.0.0 version 1159 +(% style="color:#037691" %)**Firmware Version**(%%): 0x0100, Means: v1.0.0 version 877 877 878 878 879 -**Sensor Type**: 1162 +(% style="color:#037691" %)**Sensor Type**: 880 880 881 881 0x01: LSE01 882 882 ... ... @@ -893,107 +893,25 @@ 893 893 0x07: LDDS12 894 894 895 895 1179 += 4. Battery & Power Consumption = 896 896 897 -= 4. Battery & How to replace = 898 898 899 - ==4.1BatteryType==1182 +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 -))) 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/]] . 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 1191 + 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 1194 + 995 995 [[image:1654593668970-604.png]] 996 996 1197 + 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 1207 +((( 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: 1209 +))) 1007 1007 1008 1008 1009 1009 [[image:1654593712276-618.png]] 1010 1010 1011 -Valid AT Command please check [[Configure Device>> path:#H3.ConfigureLSPH01viaATCommandorLoRaWANDownlink]].1214 +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]]. 1221 + 1222 +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 doesn ’t work ==1228 +== 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 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. 1030 1030 1031 1031 1032 1032 = 8. Order Info = 1033 1033 1236 + 1034 1034 Part Number: (% style="color:blue" %)**LSPH01-XX** 1035 1035 1036 1036 ... ... @@ -1045,8 +1045,6 @@ 1045 1045 * (% style="color:red" %)**IN865**(%%): LoRaWAN IN865 band 1046 1046 * (% style="color:red" %)**CN470**(%%): LoRaWAN CN470 band 1047 1047 1048 - 1049 - 1050 1050 = 9. Packing Info = 1051 1051 1052 1052 ... ... @@ -1061,11 +1061,8 @@ 1061 1061 * Package Size / pcs : cm 1062 1062 * Weight / pcs : g 1063 1063 1064 - 1065 - 1066 1066 = 10. Support = 1067 1067 1267 + 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