Changes for page LSN50v2-D20-D22-D23 LoRaWAN Temperature Sensor User Manual
Last modified by Xiaoling on 2025/04/24 17:18
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 22 removed)
- 1654581735133-458.png
- 1654582541848-906.png
- 1654583683416-869.png
- 1654583694084-878.png
- 1654583711590-413.png
- 1654583732798-193.png
- 1654583749683-259.png
- 1654583770974-935.png
- 1654583781517-146.png
- 1654583791351-557.png
- 1654583805491-713.png
- 1654584128046-287.png
- 1654588469844-778.png
- 1654588577573-122.png
- 1654589001411-343.png
- 1654589062541-567.png
- image-20220607144936-3.png
- image-20220607145603-4.png
- image-20220607153237-5.png
- image-20220607153759-6.png
- image-20220607154718-7.png
- image-20220607155856-8.png
Details
- Page properties
-
- Content
-
... ... @@ -5,9 +5,7 @@ 5 5 6 6 7 7 8 -**Contents:** 9 9 10 -{{toc/}} 11 11 12 12 13 13 ... ... @@ -17,9 +17,6 @@ 17 17 18 18 19 19 20 - 21 - 22 - 23 23 = 1. Introduction = 24 24 25 25 == 1.1 What is LoRaWAN Soil pH Sensor == ... ... @@ -55,6 +55,7 @@ 55 55 * IP68 rate for the Sensor Probe 56 56 * 8500mAh Battery for long term use 57 57 53 + 58 58 == 1.3 Probe Specification == 59 59 60 60 ... ... @@ -75,10 +75,13 @@ 75 75 * IP68 Protection 76 76 * Length: 3.5 meters 77 77 74 + 75 + 78 78 == 1.4 Applications == 79 79 80 80 * Smart Agriculture 81 81 80 + 82 82 == 1.5 Pin mapping and power on == 83 83 84 84 [[image:1654580482666-473.png]] ... ... @@ -113,7 +113,7 @@ 113 113 ))) 114 114 115 115 ((( 116 - (% style="color:blue" %)**Step 1**(%%): Create a device in TTN with the OTAA keys from LSPH01.115 +**Step 1**: Create a device in TTN with the OTAA keys from LSPH01. 117 117 ))) 118 118 119 119 ((( ... ... @@ -150,7 +150,7 @@ 150 150 [[image:1654581517630-991.png]] 151 151 152 152 153 - (% style="color:blue" %)**Step 2**(%%): Power on LSPH01152 +**Step 2**: Power on LSPH01 154 154 155 155 156 156 Put a Jumper on JP2 to power on the device. ( The Switch must be in FLASH position). ... ... @@ -158,43 +158,50 @@ 158 158 [[image:image-20220607135918-2.png]] 159 159 160 160 161 - (% style="color:blue" %)**Step 3**(%%)**:** The LSPH01 will auto join to the TTN network. After join success, it will start to upload messages to TTN and you can see the messages in the panel.160 +**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. 162 162 163 163 [[image:1654581590132-631.png]] 164 164 165 165 166 166 167 -== 2.3 Uplink Payload == 166 +1. 167 +11. Uplink Payload 168 168 169 169 LSPH01 will uplink payload via LoRaWAN with below payload format: 170 170 171 + 171 171 Uplink payload includes in total 11 bytes. 173 + 172 172 173 173 Normal uplink payload: 174 174 175 -(% border="1" cellspacing="10" style="background-color:#ffffcc; width:510px" %) 176 176 |((( 177 177 **Size** 178 178 179 179 **(bytes)** 180 180 )))|**2**|**2**|**2**|**2**|**1**|**1**|**1** 181 -|**Value**|[[BAT>> ||anchor="H2.3.1BatteryInfo"]]|(((182 -[[Temperature>> ||anchor="H2.3.2DS18B20Temperaturesensor"]]182 +|**Value**|[[BAT>>path:#bat]]|((( 183 +[[Temperature>>path:#DS18B20]] 183 183 184 -[[(Optional)>>||anchor="H2.3.2DS18B20Temperaturesensor"]] 185 -)))|[[Soil pH>>||anchor="H2.3.3SoilpH"]]|[[Soil Temperature>>||anchor="H2.3.4SoilTemperature"]]|((( 186 -[[Digital Interrupt (Optional)>>||anchor="H2.3.5InterruptPin"]] 185 +[[( Optional )>>path:#DS18B20]] 186 +)))|[[Soil pH>>path:#Soil_Nitrogen]]|[[Soil Temperature>>path:#Soil_Phosphorus]]|((( 187 +[[Digital Interrupt>>path:#Int_pin]] 188 + 189 +[[(Optional)>>path:#Int_pin]] 187 187 )))|Reserve|((( 188 -[[Message Type>>||anchor="H2.3.6MessageType"]] 191 +[[Message>>path:#Message_Type]] 192 + 193 +[[Type>>path:#Message_Type]] 189 189 ))) 190 190 191 -[[image: 1654581735133-458.png]]196 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image010.png]] 192 192 193 193 194 194 195 -=== 2.3.1 Battery Info === 200 +1. 201 +11. 202 +111. Battery Info 196 196 197 - 198 198 Check the battery voltage for LSPH01. 199 199 200 200 Ex1: 0x0B45 = 2885mV ... ... @@ -202,12 +202,13 @@ 202 202 Ex2: 0x0B49 = 2889mV 203 203 204 204 211 +1. 212 +11. 213 +111. DS18B20 Temperature sensor 205 205 206 - ===2.3.2DS18B20Temperaturesensor ===215 +This is optional, user can connect external DS18B20 sensor to the [[+3.3v, 1-wire and GND pin>>path:#DS18B20]] . and this field will report temperature. 207 207 208 -This is optional, user can connect external DS18B20 sensor to the +3.3v, 1-wire and GND pin . and this field will report temperature. 209 209 210 - 211 211 **Example**: 212 212 213 213 If payload is: 0105H: (0105 & FC00 == 0), temp = 0105H /10 = 26.1 degree ... ... @@ -216,35 +216,40 @@ 216 216 217 217 218 218 219 -=== 2.3.3 Soil pH === 226 +1. 227 +11. 228 +111. Soil pH 220 220 221 221 Range: 0 ~~ 14 pH 222 222 223 - **Example:**232 +Example: 224 224 225 - (% style="color:#037691" %)**234 +**0x02B7(H) = 695(D) = 6.95pH** 226 226 227 227 237 +1. 238 +11. 239 +111. Soil Temperature 228 228 229 -=== 2.3.4 Soil Temperature === 230 - 231 231 Get Soil Temperature 232 232 233 233 234 234 **Example**: 235 235 236 -If payload is: **0105H**: (0105 & FC00 == 0), temp = 0105H /10 = 26.1 degree246 +If payload is: 0105H: (0105 & FC00 == 0), temp = 0105H /10 = 26.1 degree 237 237 238 -If payload is: **FF3FH**: (FF3F & FC00 == 1) , temp = (FF3FH - 65536)/10 = -19.3 degrees.248 +If payload is: FF3FH : (FF3F & FC00 == 1) , temp = (FF3FH - 65536)/10 = -19.3 degrees. 239 239 240 240 241 241 242 -=== 2.3.5 Interrupt Pin === 252 +1. 253 +11. 254 +111. Interrupt Pin 243 243 244 -This data field shows if this packet is generated by interrupt or not. [[Click here>> ||anchor="H3.2SetInterruptMode"]] for the hardware and software set up.256 +This data field shows if this packet is generated by interrupt or not. [[Click here>>path:#Int_mod]] for the hardware and software set up. 245 245 246 246 247 - **Example:**259 +Example: 248 248 249 249 0x00: Normal uplink packet. 250 250 ... ... @@ -251,163 +251,183 @@ 251 251 0x01: Interrupt Uplink Packet. 252 252 253 253 266 +1. 267 +11. 268 +111. Message Type 254 254 255 -=== 2.3.6 Message Type === 256 - 257 257 For a normal uplink payload, the message type is always 0x01. 258 258 259 259 Valid Message Type: 260 260 261 261 262 -(% border="1" cellspacing="10" style="background-color:#ffffcc; width:510px" %) 263 -|**Message Type Code**|**Description**|**Payload** 264 -|0x01|Normal Uplink|[[Normal Uplink Payload>>||anchor="H2.3Uplink Payload"]] 265 -|0x02|Reply configures info|[[Configure Info Payload>>||anchor="H3.4GetFirmwareVersionInfo"]] 266 -|0x03|Reply Calibration Info|[[Calibration Payload>>||anchor="H2.7Calibration"]] 275 +|Message Type Code|Description|Payload 276 +|0x01|Normal Uplink|[[Normal Uplink Payload>>path:#Normal_Uplink]] 277 +|0x02|Reply configures info|[[Configure Info Payload>>path:#Configure_Info_Payload]] 278 +|0x03|Reply Calibration Info|[[Calibration Payload>>path:#Calibration_Payload]] 267 267 268 -=== 2.3.7 Decode payload in The Things Network === 280 +1. 281 +11. 282 +111. Decode payload in The Things Network 269 269 270 270 While using TTN network, you can add the payload format to decode the payload. 271 271 272 272 273 -[[image: 1654582541848-906.png]]287 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image011.png]] 274 274 275 -((( 276 276 The payload decoder function for TTN is here: 277 -))) 278 278 279 -((( 280 280 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/]] 281 -))) 282 282 283 283 294 +1. 295 +11. Uplink Interval 284 284 285 - ==2.4UplinkInterval==297 +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: 286 286 287 - The LSPH01 by defaultuplinkthe sensordata every 20 minutes.Usercanchangehis interval byATor LoRaWANDownlink. See thislink: [[Change:Main.End.WebHome||anchor="H4.1ChangeUplinkInterval"]]299 +[[http:~~/~~/wiki.dragino.com/index.pHp?title=End_Device_AT_Commands_and_Downlink_Commands#Change_Uplink_Interval>>url:http://wiki.dragino.com/index.php?title=End_Device_AT_Commands_and_Downlink_Commands#Change_Uplink_Interval]] 288 288 289 289 290 290 291 -== 2.5 Show Data in DataCake IoT Server == 303 +1. 304 +11. Show Data in DataCake IoT Server 292 292 293 293 [[DATACAKE>>url:https://datacake.co/]] provides a human friendly interface to show the sensor data, once we have data in TTN, we can use [[DATACAKE>>url:https://datacake.co/]] to connect to TTN and see the data in DATACAKE. Below are the steps: 294 294 295 295 296 - (% style="color:blue" %)**Step 1**(%%)**: Be sure that your device is programmed and properly connected to the network at this time.**309 +**Step 1**: Be sure that your device is programmed and properly connected to the network at this time. 297 297 298 - (% style="color:blue" %)**Step 2**(%%)**: To configure the Application to forward data to DATACAKE you will need to add integration. To add the DATACAKE integration, perform the following steps:**311 +**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: 299 299 300 300 301 -[[image: 1654583683416-869.png]]314 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image012.png]] 302 302 303 303 304 -[[image: 1654583694084-878.png]]317 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image013.png]] 305 305 306 306 307 - (% style="color:blue" %)**Step 3**(%%)**: Create an account or log in Datacake.**320 +Step 3: Create an account or log in Datacake. 308 308 309 - (% style="color:blue" %)**Step 4**(%%)**: Create LSPH01 product.**322 +Step 4: Create LSPH01 product. 310 310 311 -[[image: 1654583711590-413.png]]324 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image014.png]] 312 312 313 313 314 314 315 -[[image: 1654583732798-193.png]]328 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image015.png]] 316 316 317 317 318 -[[image: 1654583749683-259.png]]331 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image016.png]] 319 319 320 320 321 - (% style="color:blue" %)**Step 5**(%%)**: add payload decode**334 +Step 5: add payload decode 322 322 323 323 Download Datacake decoder from: [[https:~~/~~/www.dragino.com/downloads/index.pHp?dir=LoRa_End_Node/LSPH01/Decoder/>>url:https://www.dragino.com/downloads/index.php?dir=LoRa_End_Node/LSNPK01/Decoder/]] 324 324 325 325 326 -[[image: 1654583770974-935.png]]339 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image017.png]] 327 327 328 -[[image: 1654583781517-146.png]]341 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image018.png]] 329 329 330 330 331 -[[image: 1654583791351-557.png]]344 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image019.png]] 332 332 333 333 334 334 After added, the sensor data arrive TTN, it will also arrive and show in Mydevices. 335 335 336 336 337 -[[image: 1654583805491-713.png]]350 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image020.png]] 338 338 339 339 340 340 341 -== 2.6 Installation and Maintain == 342 342 343 -=== 2.6.1 Before measurement === 344 344 345 -((( 356 +1. 357 +11. Installation and Maintain 358 +111. Before measurement 359 + 346 346 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. 347 -))) 348 348 349 349 363 +1. 364 +11. 365 +111. Measurement 350 350 351 - === 2.6.2Measurement===367 +**Measurement the soil surface** 352 352 353 353 354 - (%style="color:#4f81bd"%)**Measurement the soil surface:**370 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image021.png]] Choose the proper measuring position. Split the surface soil according to the measured deep. 355 355 356 -[[image:1654584128046-287.png]] 357 357 358 -Choose the proper measuring position. Split the surface soil according to the measured deep. 359 - 360 360 Put pure water, or rainwater to make the soil of measurement point to moist mud. Remove rocks or hard things. 361 361 375 + 362 362 Slowly insert the probe to the measure point. Don’t use large force which will break the probe. Make sure not shake when inserting. 363 363 378 + 364 364 Put soil over the probe after insert. And start to measure. 365 365 366 366 367 - (% style="color:#4f81bd" %)**Measurement inside soil:**382 +**Measurement inside soil** 368 368 384 + 385 + 369 369 Dig a hole with diameter > 20CM. 370 370 388 + 371 371 Insert the probe inside, method like measure the surface. 372 372 373 373 392 +1. 393 +11. 394 +111. Maintain Probe 395 +1111. pH probe electrode is fragile and no strong. User must avoid strong force or hitting it. 396 +1111. After long time use (3~~ 6 months). The probe electrode needs to be clean; user can use high grade sandpaper to polish it or put in 5% hydrochloric acid for several minutes. After the metal probe looks like new, user can use pure water to wash it. 397 +1111. Probe reference electrode is also no strong, need to avoid strong force or hitting. 398 +1111. User should keep reference electrode wet while not use. 399 +1111. Avoid the probes to touch oily matter. Which will cause issue in accuracy. 400 +1111. The probe is IP68 can be put in water. 374 374 375 -=== 2.6.3 Maintain Probe === 402 +1. 403 +11. Calibration 376 376 377 -1. ((( 378 -pH probe electrode is fragile and no strong. User must avoid strong force or hitting it. 379 -))) 380 -1. ((( 381 -After long time use (3~~ 6 months). The probe electrode needs to be clean; user can use high grade sandpaper to polish it or put in 5% hydrochloric acid for several minutes. After the metal probe looks like new, user can use pure water to wash it. 382 -))) 383 -1. ((( 384 -Probe reference electrode is also no strong, need to avoid strong force or hitting. 385 -))) 386 -1. ((( 387 -User should keep reference electrode wet while not use. 388 -))) 389 -1. ((( 390 -Avoid the probes to touch oily matter. Which will cause issue in accuracy. 391 -))) 392 -1. ((( 393 -The probe is IP68 can be put in water. 405 +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). 394 394 395 395 396 - 397 -))) 408 +**After stable, user can use below command to calibrate.** 398 398 399 -== 2.7 Calibration == 400 400 401 -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). 411 +|**pH buffer solution**|**AT Command to calibrate**|**Downlink Command**|**Read Cal Value** 412 +|**4.00**|**AT+PHCAL=4**|((( 413 +**0x13 04** 402 402 403 -After stable, user can use below command to calibrate. 415 +**Reply with Calibrate payload** 416 +)))|((( 417 +**AT+PHCAL=?** 404 404 405 -[[image:image-20220607144936-3.png]] 419 +**Example 41,61,91** 420 +))) 421 +|**6.86**|**AT+PHCAL=6**|((( 422 +**0x13 06** 406 406 424 +**Reply with Calibrate payload** 425 +)))|**AT+PHCAL=?** 426 +|**9.18**|**AT+PHCAL=9**|((( 427 +**0x13 09** 407 407 408 -(% style="color:#037691" %)**Calibration Payload** 429 +**Reply with Calibrate payload** 430 +)))|**AT+PHCAL=?** 431 +|**Factory Default**|**AT+PHCAL=15**|((( 432 +**0x13 15** 409 409 410 -(% border="1" cellspacing="10" style="background-color:#ffffcc; width:510px" %) 434 +**Reply with Calibrate payload** 435 +)))|((( 436 +**AT+PHCAL=?** 437 + 438 +**Example 151** 439 +))) 440 + 441 +Calibration Payload 442 + 411 411 |((( 412 412 **Size** 413 413 ... ... @@ -422,31 +422,33 @@ 422 422 423 423 Calibrate value 424 424 )))|Reserve|((( 425 -[[Message Type>>||anchor="H2.3.6MessageType"]]457 +[[Message>>path:#Message_Type]] 426 426 459 +[[Type>>path:#Message_Type]] 460 + 427 427 Always 0x03 428 428 ))) 429 429 430 430 User can also send 0x14 downlink command to poll the current calibration payload. 431 431 432 -[[image:image-20220607145603-4.png]] 433 433 467 +|**Downlink Control Type**|**FPort**|**Type Code**|**Downlink payload size(bytes)** 468 +|Get Calibration Version Info|Any|14|2 469 + 434 434 * Reply to the confirmation package: 14 01 435 435 * Reply to non-confirmed packet: 14 00 436 436 473 +1. 474 +11. Frequency Plans 437 437 438 - 439 -== 2.8 Frequency Plans == 440 - 441 -((( 442 442 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. 443 -))) 444 444 478 +1. 479 +11. 480 +111. EU863-870 (EU868) 445 445 446 - === 2.8.1 EU863-870 (EU868) ===482 +Uplink: 447 447 448 -(% style="color:blue" %)**Uplink:** 449 - 450 450 868.1 - SF7BW125 to SF12BW125 451 451 452 452 868.3 - SF7BW125 to SF12BW125 and SF7BW250 ... ... @@ -466,7 +466,7 @@ 466 466 868.8 - FSK 467 467 468 468 469 - (% style="color:blue" %)**Downlink:**503 +Downlink: 470 470 471 471 Uplink channels 1-9 (RX1) 472 472 ... ... @@ -473,32 +473,28 @@ 473 473 869.525 - SF9BW125 (RX2 downlink only) 474 474 475 475 510 +1. 511 +11. 512 +111. US902-928(US915) 476 476 477 -=== 2.8.2 US902-928(US915) === 478 - 479 -((( 480 480 Used in USA, Canada and South America. Frequency band as per definition in LoRaWAN 1.0.3 Regional document. 481 -))) 482 482 483 - (((516 + 484 484 To make sure the end node supports all sub band by default. In the OTAA Join process, the end node will use frequency 1 from sub-band1, then frequency 1 from sub-band2, then frequency 1 from sub-band3, etc to process the OTAA join. 485 -))) 486 486 487 - (((519 + 488 488 After Join success, the end node will switch to the correct sub band by: 489 -))) 490 490 491 491 * Check what sub-band the LoRaWAN server ask from the OTAA Join Accept message and switch to that sub-band 492 492 * Use the Join successful sub-band if the server doesn’t include sub-band info in the OTAA Join Accept message ( TTN v2 doesn't include) 493 493 525 +1. 526 +11. 527 +111. CN470-510 (CN470) 494 494 495 - 496 - 497 -=== 2.8.3 CN470-510 (CN470) === 498 - 499 499 Used in China, Default use CHE=1 500 500 501 - (% style="color:blue" %)**Uplink:**531 +Uplink: 502 502 503 503 486.3 - SF7BW125 to SF12BW125 504 504 ... ... @@ -517,7 +517,7 @@ 517 517 487.7 - SF7BW125 to SF12BW125 518 518 519 519 520 - (% style="color:blue" %)**Downlink:**550 +Downlink: 521 521 522 522 506.7 - SF7BW125 to SF12BW125 523 523 ... ... @@ -538,45 +538,38 @@ 538 538 505.3 - SF12BW125 (RX2 downlink only) 539 539 540 540 571 +1. 572 +11. 573 +111. AU915-928(AU915) 541 541 542 -=== 2.8.4 AU915-928(AU915) === 543 - 544 -((( 545 545 Frequency band as per definition in LoRaWAN 1.0.3 Regional document. 546 -))) 547 547 548 - (((577 + 549 549 To make sure the end node supports all sub band by default. In the OTAA Join process, the end node will use frequency 1 from sub-band1, then frequency 1 from sub-band2, then frequency 1 from sub-band3, etc to process the OTAA join. 550 -))) 551 551 552 -((( 553 - 554 -))) 555 555 556 -((( 557 557 After Join success, the end node will switch to the correct sub band by: 558 -))) 559 559 560 560 * Check what sub-band the LoRaWAN server ask from the OTAA Join Accept message and switch to that sub-band 561 561 * 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) 562 562 586 +1. 587 +11. 588 +111. AS920-923 & AS923-925 (AS923) 563 563 564 - ===2.8.5AS920-923 & AS923-925 (AS923) ===590 +**Default Uplink channel:** 565 565 566 -(% style="color:blue" %)**Default Uplink channel:** 567 - 568 568 923.2 - SF7BW125 to SF10BW125 569 569 570 570 923.4 - SF7BW125 to SF10BW125 571 571 572 572 573 - (% style="color:blue" %)**Additional Uplink Channel**:597 +**Additional Uplink Channel**: 574 574 575 575 (OTAA mode, channel added by JoinAccept message) 576 576 601 +**AS920~~AS923 for Japan, Malaysia, Singapore**: 577 577 578 -(% style="color:blue" %)**AS920~~AS923 for Japan, Malaysia, Singapore**: 579 - 580 580 922.2 - SF7BW125 to SF10BW125 581 581 582 582 922.4 - SF7BW125 to SF10BW125 ... ... @@ -590,7 +590,7 @@ 590 590 922.0 - SF7BW125 to SF10BW125 591 591 592 592 593 - (% style="color:blue" %)**AS923 ~~ AS925 for Brunei, Cambodia, Hong Kong, Indonesia, Laos, Taiwan, Thailand, Vietnam**:616 +**AS923 ~~ AS925 for Brunei, Cambodia, Hong Kong, Indonesia, Laos, Taiwan, Thailand, Vietnam**: 594 594 595 595 923.6 - SF7BW125 to SF10BW125 596 596 ... ... @@ -605,18 +605,20 @@ 605 605 924.6 - SF7BW125 to SF10BW125 606 606 607 607 608 -(% style="color:blue" %)**Downlink:** 609 609 632 +**Downlink:** 633 + 610 610 Uplink channels 1-8 (RX1) 611 611 612 612 923.2 - SF10BW125 (RX2) 613 613 614 614 639 +1. 640 +11. 641 +111. KR920-923 (KR920) 615 615 616 - ===2.8.6 KR920-923 (KR920) ===643 +Default channel: 617 617 618 -(% style="color:blue" %)**Default channel:** 619 - 620 620 922.1 - SF7BW125 to SF12BW125 621 621 622 622 922.3 - SF7BW125 to SF12BW125 ... ... @@ -624,7 +624,7 @@ 624 624 922.5 - SF7BW125 to SF12BW125 625 625 626 626 627 - (% style="color:blue" %)**Uplink: (OTAA mode, channel added by JoinAccept message)**652 +Uplink: (OTAA mode, channel added by JoinAccept message) 628 628 629 629 922.1 - SF7BW125 to SF12BW125 630 630 ... ... @@ -641,7 +641,7 @@ 641 641 923.3 - SF7BW125 to SF12BW125 642 642 643 643 644 - (% style="color:blue" %)**Downlink:**669 +Downlink: 645 645 646 646 Uplink channels 1-7(RX1) 647 647 ... ... @@ -648,9 +648,11 @@ 648 648 921.9 - SF12BW125 (RX2 downlink only; SF12BW125 might be changed to SF9BW125) 649 649 650 650 651 -=== 2.8.7 IN865-867 (IN865) === 676 +1. 677 +11. 678 +111. IN865-867 (IN865) 652 652 653 - (% style="color:blue" %)**Uplink:**680 +Uplink: 654 654 655 655 865.0625 - SF7BW125 to SF12BW125 656 656 ... ... @@ -659,7 +659,7 @@ 659 659 865.9850 - SF7BW125 to SF12BW125 660 660 661 661 662 - (% style="color:blue" %)**Downlink:**689 +Downlink: 663 663 664 664 Uplink channels 1-3 (RX1) 665 665 ... ... @@ -666,37 +666,45 @@ 666 666 866.550 - SF10BW125 (RX2) 667 667 668 668 696 +1. 697 +11. LED Indicator 669 669 670 -== 2.9 LED Indicator == 671 - 672 672 The LSPH01 has an internal LED which is to show the status of different state. 673 673 701 + 674 674 * The sensor is detected when the device is turned on, and it will flash 4 times quickly when it is detected. 675 675 * Blink once when device transmit a packet. 676 676 705 +1. 706 +11. Firmware Change Log 677 677 678 -== 2.10 Firmware Change Log == 679 - 680 - 681 681 **Firmware download link:** 682 682 683 683 [[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/]] 684 684 685 685 686 -**Firmware Upgrade Method: [[Firmware Upgrade Instruction>>doc:Main.Firmware Upgrade Instruction for STM32 base products.WebHome]]713 +**Firmware Upgrade Method:** 687 687 715 +[[http:~~/~~/wiki.dragino.com/index.pHp?title=Firmware_Upgrade_Instruction_for_STM32_base_products#Introduction>>url:http://wiki.dragino.com/index.php?title=Firmware_Upgrade_Instruction_for_STM32_base_products#Introduction]] 688 688 689 689 690 -= 3. Configure LSPH01 via AT Command or LoRaWAN Downlink = 691 691 719 + 720 + 721 + 722 +1. Configure LSPH01 via AT Command or LoRaWAN Downlink 723 + 692 692 Use can configure LSPH01 via AT Command or LoRaWAN Downlink. 693 693 694 -* AT Command Connection: See [[FAQ>> ||anchor="H6.FAQ"]].695 -* LoRaWAN Downlink instruction for different platforms: [[IoT LoRaWAN Server>>doc:Main.WebHome]]726 +* AT Command Connection: See [[FAQ>>path:#AT_COMMAND]]. 727 +* LoRaWAN Downlink instruction for different platforms: 696 696 729 +[[http:~~/~~/wiki.dragino.com/index.pHp?title=Main_Page#Use_Note_for_Server>>url:http://wiki.dragino.com/index.php?title=Main_Page#Use_Note_for_Server]] 730 + 731 + 697 697 There are two kinds of commands to configure LSPH01, they are: 698 698 699 -* (% style="color:#4f81bd" %)**734 +* **General Commands**. 700 700 701 701 These commands are to configure: 702 702 ... ... @@ -703,25 +703,25 @@ 703 703 * General system settings like: uplink interval. 704 704 * LoRaWAN protocol & radio related command. 705 705 706 -They are same for all Dragino Device which support DLWS-005 LoRaWAN Stack. These commands can be found on the wiki: [[End Device AT Commands and Downlink Command>>doc:Main.End Device AT Commands and Downlink Command.WebHome]]741 +They are same for all Dragino Device which support DLWS-005 LoRaWAN Stack. These commands can be found on the wiki: 707 707 743 +[[http:~~/~~/wiki.dragino.com/index.pHp?title=End_Device_Downlink_Command>>url:http://wiki.dragino.com/index.php?title=End_Device_Downlink_Command]] 708 708 709 -* (% style="color:#4f81bd" %)** Commands special design for LSPH01** 710 710 746 +* **Commands special design for LSPH01** 747 + 711 711 These commands only valid for LSPH01, as below: 712 712 713 713 751 +1. 752 +11. Set Transmit Interval Time 714 714 715 -== 3.1 Set Transmit Interval Time == 716 - 717 717 Feature: Change LoRaWAN End Node Transmit Interval. 718 718 719 - (% style="color:#037691" %)**AT Command: AT+TDC**756 +**AT Command: AT+TDC** 720 720 721 - 722 -(% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:710px" %) 723 -|(% style="width:154px" %)**Command Example**|(% style="width:223px" %)**Function**|(% style="width:330px" %)**Response** 724 -|(% style="width:154px" %)AT+TDC=?|(% style="width:223px" %)Show current transmit Interval|(% style="width:330px" %)((( 758 +|**Command Example**|**Function**|**Response** 759 +|AT+TDC=?|Show current transmit Interval|((( 725 725 30000 726 726 727 727 OK ... ... @@ -728,13 +728,13 @@ 728 728 729 729 the interval is 30000ms = 30s 730 730 ))) 731 -| (% style="width:154px" %)AT+TDC=60000|(% style="width:223px" %)Set Transmit Interval|(% style="width:330px" %)(((766 +|AT+TDC=60000|Set Transmit Interval|((( 732 732 OK 733 733 734 734 Set transmit interval to 60000ms = 60 seconds 735 735 ))) 736 736 737 - (% style="color:#037691" %)**Downlink Command: 0x01**772 +**Downlink Command: 0x01** 738 738 739 739 Format: Command Code (0x01) followed by 3 bytes time value. 740 740 ... ... @@ -743,17 +743,32 @@ 743 743 * Example 1: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds 744 744 * Example 2: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 745 745 746 -== 3.2 Set Interrupt Mode == 781 +1. 782 +11. Set Interrupt Mode 747 747 748 748 Feature, Set Interrupt mode for GPIO_EXIT. 749 749 750 - (% style="color:#037691" %)**AT Command: AT+INTMOD**786 +**AT Command: AT+INTMOD** 751 751 752 -[[image:image-20220607153759-6.png]] 788 +|**Command Example**|**Function**|**Response** 789 +|AT+INTMOD=?|Show current interrupt mode|((( 790 +0 753 753 792 +OK 754 754 755 -(% style="color:#037691" %)**Downlink Command: 0x06** 794 +the mode is 0 = No interruption 795 +))) 796 +|AT+INTMOD=2|((( 797 +Set Transmit Interval 756 756 799 +1. (Disable Interrupt), 800 +1. (Trigger by rising and falling edge), 801 +1. (Trigger by falling edge) 802 +1. (Trigger by rising edge) 803 +)))|OK 804 + 805 +**Downlink Command: 0x06** 806 + 757 757 Format: Command Code (0x06) followed by 3 bytes. 758 758 759 759 This means that the interrupt mode of the end node is set to 0x000003=3 (rising edge trigger), and the type code is 06. ... ... @@ -761,20 +761,25 @@ 761 761 * Example 1: Downlink Payload: 06000000 ~/~/ Turn off interrupt mode 762 762 * Example 2: Downlink Payload: 06000003 ~/~/ Set the interrupt mode to rising edge trigger 763 763 764 -== 3.3 Calibrate Sensor == 814 +1. 815 +11. Calibrate Sensor 765 765 766 -Detail See [[Calibration Guide>> ||anchor="2.7Calibration"]] for the user of 0x13 and 0x14 downlink commands817 +Detail See [[Calibration Guide>>path:#Calibration]] for the user of 0x13 and 0x14 downlink commands 767 767 768 768 769 769 770 -== 3.4 Get Firmware Version Info == 821 +1. 822 +11. Get Firmware Version Info 771 771 772 772 Feature: use downlink to get firmware version. 773 773 774 -(% style="color:#037691" %)**Downlink Command: 0x26** 775 775 776 - [[image:image-20220607154718-7.png]]827 +**Downlink Command: 0x26** 777 777 829 + 830 +|**Downlink Control Type**|**FPort**|**Type Code**|**Downlink payload size(bytes)** 831 +|Get Firmware Version Info|Any|26|2 832 + 778 778 * Reply to the confirmation package: 26 01 779 779 * Reply to non-confirmed packet: 26 00 780 780 ... ... @@ -782,10 +782,11 @@ 782 782 783 783 Configures info payload: 784 784 785 -(% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:510px" %) 786 -|=((( 787 -**Size(bytes)** 788 -)))|=**1**|=**1**|=**1**|=**1**|=**1**|=**5**|=**1** 840 +|((( 841 +**Size** 842 + 843 +**(bytes)** 844 +)))|**1**|**1**|**1**|**1**|**1**|**5**|**1** 789 789 |**Value**|Software Type|((( 790 790 Frequency 791 791 ... ... @@ -795,7 +795,10 @@ 795 795 796 796 Version 797 797 )))|Sensor Type|Reserve|((( 798 -[[Message Type>>||anchor="H2.3.6MessageType"]] 854 +[[Message>>path:#Message_Type]] 855 + 856 +[[Type>>path:#Message_Type]] 857 + 799 799 Always 0x02 800 800 ))) 801 801 ... ... @@ -849,19 +849,18 @@ 849 849 850 850 851 851 852 -= 4. Battery & How to replace = 853 853 854 -== 4.1 Battery Type == 855 855 856 -((( 913 + 914 +1. Battery & How to replace 915 +11. Battery Type 916 + 857 857 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. 858 -))) 859 859 860 - (((919 + 861 861 The discharge curve is not linear so can’t simply use percentage to show the battery level. Below is the battery performance. 862 -))) 863 863 864 -[[image: 1654588469844-778.png]]922 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image022.png]] 865 865 866 866 867 867 Minimum Working Voltage for the LSPH01: ... ... @@ -869,36 +869,30 @@ 869 869 LSPH01: 2.45v ~~ 3.6v 870 870 871 871 930 +1. 931 +11. Replace Battery 872 872 873 -== 4.2 Replace Battery == 874 - 875 -((( 876 876 Any battery with range 2.45 ~~ 3.6v can be a replacement. We recommend to use Li-SOCl2 Battery. 877 -))) 878 878 879 -((( 880 880 And make sure the positive and negative pins match. 881 -))) 882 882 883 883 884 884 885 -== 4.3 Power Consumption Analyze == 939 +1. 940 +11. Power Consumption Analyze 886 886 887 -((( 888 888 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. 889 -))) 890 890 891 - (((944 + 892 892 Instruction to use as below: 893 -))) 894 894 895 895 896 - **Step 1**: Downlink the up-to-date DRAGINO_Battery_Life_Prediction_Table.xlsx from:948 +Step 1: Downlink the up-to-date DRAGINO_Battery_Life_Prediction_Table.xlsx from: 897 897 898 898 [[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/]] 899 899 900 900 901 - **Step 2**: Open it and choose953 +Step 2: Open it and choose 902 902 903 903 * Product Model 904 904 * Uplink Interval ... ... @@ -906,62 +906,64 @@ 906 906 907 907 And the Life expectation in difference case will be shown on the right. 908 908 909 -[[image: 1654588577573-122.png]]961 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image023.png]] 910 910 911 911 912 912 The battery related documents as below: 913 913 914 -* ((( 915 -[[Battery Dimension>>url:http://www.dragino.com/downloads/index.php?dir=datasheet/Battery/&file=LSN50-Battery-Dimension.pdf]], 966 +* [[Battery Dimension>>url:https://www.dragino.com/downloads/index.php?dir=datasheet/Battery/ER26500/]], 967 +* [[Lithium-Thionyl Chloride Battery>>url:https://www.dragino.com/downloads/index.php?dir=datasheet/Battery/ER26500/]] datasheet 968 +* [[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]] 969 + 970 +|((( 971 +JST-XH-2P connector 916 916 ))) 917 -* ((( 918 -[[Lithium-Thionyl Chloride Battery datasheet>>url:https://www.dragino.com/downloads/downloads/datasheet/Battery/ER26500/ER26500_Datasheet-EN.pdf]], 919 -))) 920 -* ((( 921 -[[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]] 922 -))) 923 923 924 -[[image:image -20220607155856-8.png]]974 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image024.png]] 925 925 926 926 927 927 928 -=== 4.3.1 Battery Note === 978 +1. 979 +11. 980 +111. Battery Note 929 929 930 -((( 931 931 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. 932 -))) 933 933 934 934 985 +1. 986 +11. 987 +111. Replace the battery 935 935 936 -=== 4.3.2 Replace the battery === 937 - 938 938 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. 939 939 991 + 940 940 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) 941 941 942 942 943 943 944 -= 5. Use AT Command = 945 945 946 -== 5.1 Access AT Commands == 947 947 998 + 999 +1. Use AT Command 1000 +11. Access AT Commands 1001 + 948 948 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. 949 949 950 -[[image: 1654589001411-343.png]]1004 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image025.png]] 951 951 952 952 Connection: 953 953 954 - (% style="background-color:yellow" %)**USB TTL GND <~-~-~-~-> GND**1008 +USB TTL GND <~-~-~-~-> GND 955 955 956 - (% style="background-color:yellow" %)**USB TTL TXD**1010 +USB TTL TXD <~-~-~-~-> UART_RXD 957 957 958 - (% style="background-color:yellow" %)**USB TTL RXD**1012 +USB TTL RXD <~-~-~-~-> UART_TXD 959 959 960 960 961 961 In the PC, you need to set the serial baud rate to **9600** to access the serial console for LSPH01. LSPH01 will output system info once power on as below: 962 962 963 963 964 - [[image: 1654589062541-567.png]]1018 + [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image026.png]] 965 965 966 966 Valid AT Command please check [[Configure Device>>path:#Configure_Device]]. 967 967 ... ... @@ -1018,4 +1018,3 @@ 1018 1018 1019 1019 [[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]] 1020 1020 1021 -
- 1654581735133-458.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -42.6 KB - Content
- 1654582541848-906.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -59.2 KB - Content
- 1654583683416-869.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -62.2 KB - Content
- 1654583694084-878.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -66.6 KB - Content
- 1654583711590-413.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -246.2 KB - Content
- 1654583732798-193.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -199.6 KB - Content
- 1654583749683-259.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -129.1 KB - Content
- 1654583770974-935.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -37.7 KB - Content
- 1654583781517-146.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -64.0 KB - Content
- 1654583791351-557.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -11.3 KB - Content
- 1654583805491-713.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -127.1 KB - Content
- 1654584128046-287.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -345.3 KB - Content
- 1654588469844-778.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -75.8 KB - Content
- 1654588577573-122.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -138.2 KB - Content
- 1654589001411-343.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -546.2 KB - Content
- 1654589062541-567.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -144.0 KB - Content
- image-20220607144936-3.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -23.6 KB - Content
- image-20220607145603-4.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -5.8 KB - Content
- image-20220607153237-5.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -12.9 KB - Content
- image-20220607153759-6.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -17.2 KB - Content
- image-20220607154718-7.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -6.0 KB - Content
- image-20220607155856-8.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -83.5 KB - Content