Changes for page LSN50v2-D20-D22-D23 LoRaWAN Temperature Sensor User Manual
Last modified by Xiaoling on 2024/01/17 16:19
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 4 removed)
Details
- Page properties
-
- Content
-
... ... @@ -55,6 +55,7 @@ 55 55 * IP68 rate for the Sensor Probe 56 56 * 8500mAh Battery for long term use 57 57 58 + 58 58 == 1.3 Probe Specification == 59 59 60 60 ... ... @@ -75,10 +75,12 @@ 75 75 * IP68 Protection 76 76 * Length: 3.5 meters 77 77 79 + 78 78 == 1.4 Applications == 79 79 80 80 * Smart Agriculture 81 81 84 + 82 82 == 1.5 Pin mapping and power on == 83 83 84 84 [[image:1654580482666-473.png]] ... ... @@ -265,6 +265,7 @@ 265 265 |0x02|Reply configures info|[[Configure Info Payload>>||anchor="H3.4GetFirmwareVersionInfo"]] 266 266 |0x03|Reply Calibration Info|[[Calibration Payload>>||anchor="H2.7Calibration"]] 267 267 271 + 268 268 === 2.3.7 Decode payload in The Things Network === 269 269 270 270 While using TTN network, you can add the payload format to decode the payload. ... ... @@ -338,76 +338,95 @@ 338 338 339 339 340 340 341 -== 2.6 Installation and Maintain == 342 342 343 -=== 2.6.1 Before measurement === 344 344 345 -((( 347 +1. 348 +11. Installation and Maintain 349 +111. Before measurement 350 + 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 354 +1. 355 +11. 356 +111. Measurement 350 350 351 - === 2.6.2Measurement===358 +**Measurement the soil surface** 352 352 353 353 354 - (%style="color:#4f81bd"%)**Measurement the soil surface:**361 +[[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 366 + 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 369 + 364 364 Put soil over the probe after insert. And start to measure. 365 365 366 366 367 - (% style="color:#4f81bd" %)**Measurement inside soil:**373 +**Measurement inside soil** 368 368 375 + 376 + 369 369 Dig a hole with diameter > 20CM. 370 370 379 + 371 371 Insert the probe inside, method like measure the surface. 372 372 373 373 383 +1. 384 +11. 385 +111. Maintain Probe 386 +1111. pH probe electrode is fragile and no strong. User must avoid strong force or hitting it. 387 +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. 388 +1111. Probe reference electrode is also no strong, need to avoid strong force or hitting. 389 +1111. User should keep reference electrode wet while not use. 390 +1111. Avoid the probes to touch oily matter. Which will cause issue in accuracy. 391 +1111. The probe is IP68 can be put in water. 374 374 375 -=== 2.6.3 Maintain Probe === 393 +1. 394 +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. 396 +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 -))) 399 +**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). 402 +|**pH buffer solution**|**AT Command to calibrate**|**Downlink Command**|**Read Cal Value** 403 +|**4.00**|**AT+PHCAL=4**|((( 404 +**0x13 04** 402 402 403 -After stable, user can use below command to calibrate. 406 +**Reply with Calibrate payload** 407 +)))|((( 408 +**AT+PHCAL=?** 404 404 405 -[[image:image-20220607144936-3.png]] 410 +**Example 41,61,91** 411 +))) 412 +|**6.86**|**AT+PHCAL=6**|((( 413 +**0x13 06** 406 406 415 +**Reply with Calibrate payload** 416 +)))|**AT+PHCAL=?** 417 +|**9.18**|**AT+PHCAL=9**|((( 418 +**0x13 09** 407 407 408 -(% style="color:#037691" %)**Calibration Payload** 420 +**Reply with Calibrate payload** 421 +)))|**AT+PHCAL=?** 422 +|**Factory Default**|**AT+PHCAL=15**|((( 423 +**0x13 15** 409 409 410 -(% border="1" cellspacing="10" style="background-color:#ffffcc; width:510px" %) 425 +**Reply with Calibrate payload** 426 +)))|((( 427 +**AT+PHCAL=?** 428 + 429 +**Example 151** 430 +))) 431 + 432 +Calibration Payload 433 + 411 411 |((( 412 412 **Size** 413 413 ... ... @@ -422,29 +422,33 @@ 422 422 423 423 Calibrate value 424 424 )))|Reserve|((( 425 -[[Message Type>>||anchor="H2.3.6MessageType"]]448 +[[Message>>path:#Message_Type]] 426 426 450 +[[Type>>path:#Message_Type]] 451 + 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 458 +|**Downlink Control Type**|**FPort**|**Type Code**|**Downlink payload size(bytes)** 459 +|Get Calibration Version Info|Any|14|2 460 + 434 434 * Reply to the confirmation package: 14 01 435 435 * Reply to non-confirmed packet: 14 00 436 436 437 -== 2.8 Frequency Plans == 464 +1. 465 +11. Frequency Plans 438 438 439 -((( 440 440 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. 441 -))) 442 442 469 +1. 470 +11. 471 +111. EU863-870 (EU868) 443 443 444 - === 2.8.1 EU863-870 (EU868) ===473 +Uplink: 445 445 446 -(% style="color:blue" %)**Uplink:** 447 - 448 448 868.1 - SF7BW125 to SF12BW125 449 449 450 450 868.3 - SF7BW125 to SF12BW125 and SF7BW250 ... ... @@ -464,7 +464,7 @@ 464 464 868.8 - FSK 465 465 466 466 467 - (% style="color:blue" %)**Downlink:**494 +Downlink: 468 468 469 469 Uplink channels 1-9 (RX1) 470 470 ... ... @@ -471,29 +471,28 @@ 471 471 869.525 - SF9BW125 (RX2 downlink only) 472 472 473 473 501 +1. 502 +11. 503 +111. US902-928(US915) 474 474 475 -=== 2.8.2 US902-928(US915) === 476 - 477 -((( 478 478 Used in USA, Canada and South America. Frequency band as per definition in LoRaWAN 1.0.3 Regional document. 479 -))) 480 480 481 - (((507 + 482 482 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. 483 -))) 484 484 485 - (((510 + 486 486 After Join success, the end node will switch to the correct sub band by: 487 -))) 488 488 489 489 * Check what sub-band the LoRaWAN server ask from the OTAA Join Accept message and switch to that sub-band 490 490 * 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) 491 491 492 -=== 2.8.3 CN470-510 (CN470) === 516 +1. 517 +11. 518 +111. CN470-510 (CN470) 493 493 494 494 Used in China, Default use CHE=1 495 495 496 - (% style="color:blue" %)**Uplink:**522 +Uplink: 497 497 498 498 486.3 - SF7BW125 to SF12BW125 499 499 ... ... @@ -512,7 +512,7 @@ 512 512 487.7 - SF7BW125 to SF12BW125 513 513 514 514 515 - (% style="color:blue" %)**Downlink:**541 +Downlink: 516 516 517 517 506.7 - SF7BW125 to SF12BW125 518 518 ... ... @@ -533,45 +533,38 @@ 533 533 505.3 - SF12BW125 (RX2 downlink only) 534 534 535 535 562 +1. 563 +11. 564 +111. AU915-928(AU915) 536 536 537 -=== 2.8.4 AU915-928(AU915) === 538 - 539 -((( 540 540 Frequency band as per definition in LoRaWAN 1.0.3 Regional document. 541 -))) 542 542 543 - (((568 + 544 544 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. 545 -))) 546 546 547 -((( 548 - 549 -))) 550 550 551 -((( 552 552 After Join success, the end node will switch to the correct sub band by: 553 -))) 554 554 555 555 * Check what sub-band the LoRaWAN server ask from the OTAA Join Accept message and switch to that sub-band 556 556 * 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) 557 557 577 +1. 578 +11. 579 +111. AS920-923 & AS923-925 (AS923) 558 558 559 - ===2.8.5AS920-923 & AS923-925 (AS923) ===581 +**Default Uplink channel:** 560 560 561 -(% style="color:blue" %)**Default Uplink channel:** 562 - 563 563 923.2 - SF7BW125 to SF10BW125 564 564 565 565 923.4 - SF7BW125 to SF10BW125 566 566 567 567 568 - (% style="color:blue" %)**Additional Uplink Channel**:588 +**Additional Uplink Channel**: 569 569 570 570 (OTAA mode, channel added by JoinAccept message) 571 571 592 +**AS920~~AS923 for Japan, Malaysia, Singapore**: 572 572 573 -(% style="color:blue" %)**AS920~~AS923 for Japan, Malaysia, Singapore**: 574 - 575 575 922.2 - SF7BW125 to SF10BW125 576 576 577 577 922.4 - SF7BW125 to SF10BW125 ... ... @@ -585,7 +585,7 @@ 585 585 922.0 - SF7BW125 to SF10BW125 586 586 587 587 588 - (% style="color:blue" %)**AS923 ~~ AS925 for Brunei, Cambodia, Hong Kong, Indonesia, Laos, Taiwan, Thailand, Vietnam**:607 +**AS923 ~~ AS925 for Brunei, Cambodia, Hong Kong, Indonesia, Laos, Taiwan, Thailand, Vietnam**: 589 589 590 590 923.6 - SF7BW125 to SF10BW125 591 591 ... ... @@ -600,18 +600,20 @@ 600 600 924.6 - SF7BW125 to SF10BW125 601 601 602 602 603 -(% style="color:blue" %)**Downlink:** 604 604 623 +**Downlink:** 624 + 605 605 Uplink channels 1-8 (RX1) 606 606 607 607 923.2 - SF10BW125 (RX2) 608 608 609 609 630 +1. 631 +11. 632 +111. KR920-923 (KR920) 610 610 611 - ===2.8.6 KR920-923 (KR920) ===634 +Default channel: 612 612 613 -(% style="color:blue" %)**Default channel:** 614 - 615 615 922.1 - SF7BW125 to SF12BW125 616 616 617 617 922.3 - SF7BW125 to SF12BW125 ... ... @@ -619,7 +619,7 @@ 619 619 922.5 - SF7BW125 to SF12BW125 620 620 621 621 622 - (% style="color:blue" %)**Uplink: (OTAA mode, channel added by JoinAccept message)**643 +Uplink: (OTAA mode, channel added by JoinAccept message) 623 623 624 624 922.1 - SF7BW125 to SF12BW125 625 625 ... ... @@ -636,7 +636,7 @@ 636 636 923.3 - SF7BW125 to SF12BW125 637 637 638 638 639 - (% style="color:blue" %)**Downlink:**660 +Downlink: 640 640 641 641 Uplink channels 1-7(RX1) 642 642 ... ... @@ -643,9 +643,11 @@ 643 643 921.9 - SF12BW125 (RX2 downlink only; SF12BW125 might be changed to SF9BW125) 644 644 645 645 646 -=== 2.8.7 IN865-867 (IN865) === 667 +1. 668 +11. 669 +111. IN865-867 (IN865) 647 647 648 - (% style="color:blue" %)**Uplink:**671 +Uplink: 649 649 650 650 865.0625 - SF7BW125 to SF12BW125 651 651 ... ... @@ -654,7 +654,7 @@ 654 654 865.9850 - SF7BW125 to SF12BW125 655 655 656 656 657 - (% style="color:blue" %)**Downlink:**680 +Downlink: 658 658 659 659 Uplink channels 1-3 (RX1) 660 660 ... ... @@ -661,36 +661,45 @@ 661 661 866.550 - SF10BW125 (RX2) 662 662 663 663 687 +1. 688 +11. LED Indicator 664 664 665 -== 2.9 LED Indicator == 666 - 667 667 The LSPH01 has an internal LED which is to show the status of different state. 668 668 692 + 669 669 * The sensor is detected when the device is turned on, and it will flash 4 times quickly when it is detected. 670 670 * Blink once when device transmit a packet. 671 671 672 -== 2.10 Firmware Change Log == 696 +1. 697 +11. Firmware Change Log 673 673 674 - 675 675 **Firmware download link:** 676 676 677 677 [[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/]] 678 678 679 679 680 -**Firmware Upgrade Method: [[Firmware Upgrade Instruction>>doc:Main.Firmware Upgrade Instruction for STM32 base products.WebHome]]704 +**Firmware Upgrade Method:** 681 681 706 +[[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]] 682 682 683 683 684 -= 3. Configure LSPH01 via AT Command or LoRaWAN Downlink = 685 685 710 + 711 + 712 + 713 +1. Configure LSPH01 via AT Command or LoRaWAN Downlink 714 + 686 686 Use can configure LSPH01 via AT Command or LoRaWAN Downlink. 687 687 688 -* AT Command Connection: See [[FAQ>> ||anchor="H6.FAQ"]].689 -* LoRaWAN Downlink instruction for different platforms: [[IoT LoRaWAN Server>>doc:Main.WebHome]]717 +* AT Command Connection: See [[FAQ>>path:#AT_COMMAND]]. 718 +* LoRaWAN Downlink instruction for different platforms: 690 690 720 +[[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]] 721 + 722 + 691 691 There are two kinds of commands to configure LSPH01, they are: 692 692 693 -* (% style="color:#4f81bd" %)**725 +* **General Commands**. 694 694 695 695 These commands are to configure: 696 696 ... ... @@ -697,25 +697,25 @@ 697 697 * General system settings like: uplink interval. 698 698 * LoRaWAN protocol & radio related command. 699 699 700 -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]]732 +They are same for all Dragino Device which support DLWS-005 LoRaWAN Stack. These commands can be found on the wiki: 701 701 734 +[[http:~~/~~/wiki.dragino.com/index.pHp?title=End_Device_Downlink_Command>>url:http://wiki.dragino.com/index.php?title=End_Device_Downlink_Command]] 702 702 703 -* (% style="color:#4f81bd" %)** Commands special design for LSPH01** 704 704 737 +* **Commands special design for LSPH01** 738 + 705 705 These commands only valid for LSPH01, as below: 706 706 707 707 742 +1. 743 +11. Set Transmit Interval Time 708 708 709 -== 3.1 Set Transmit Interval Time == 710 - 711 711 Feature: Change LoRaWAN End Node Transmit Interval. 712 712 713 - (% style="color:#037691" %)**AT Command: AT+TDC**747 +**AT Command: AT+TDC** 714 714 715 - 716 -(% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:710px" %) 717 -|(% style="width:154px" %)**Command Example**|(% style="width:223px" %)**Function**|(% style="width:330px" %)**Response** 718 -|(% style="width:154px" %)AT+TDC=?|(% style="width:223px" %)Show current transmit Interval|(% style="width:330px" %)((( 749 +|**Command Example**|**Function**|**Response** 750 +|AT+TDC=?|Show current transmit Interval|((( 719 719 30000 720 720 721 721 OK ... ... @@ -722,13 +722,13 @@ 722 722 723 723 the interval is 30000ms = 30s 724 724 ))) 725 -| (% style="width:154px" %)AT+TDC=60000|(% style="width:223px" %)Set Transmit Interval|(% style="width:330px" %)(((757 +|AT+TDC=60000|Set Transmit Interval|((( 726 726 OK 727 727 728 728 Set transmit interval to 60000ms = 60 seconds 729 729 ))) 730 730 731 - (% style="color:#037691" %)**Downlink Command: 0x01**763 +**Downlink Command: 0x01** 732 732 733 733 Format: Command Code (0x01) followed by 3 bytes time value. 734 734 ... ... @@ -737,18 +737,31 @@ 737 737 * Example 1: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds 738 738 * Example 2: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 739 739 772 +1. 773 +11. Set Interrupt Mode 740 740 775 +Feature, Set Interrupt mode for GPIO_EXIT. 741 741 742 - ==3.2 Set Interrupt Mode==777 +**AT Command: AT+INTMOD** 743 743 744 -Feature, Set Interrupt mode for GPIO_EXIT. 779 +|**Command Example**|**Function**|**Response** 780 +|AT+INTMOD=?|Show current interrupt mode|((( 781 +0 745 745 746 - (% style="color:#037691" %)**AT Command: AT+INTMOD**783 +OK 747 747 748 -[[image:image-20220607153759-6.png]] 785 +the mode is 0 = No interruption 786 +))) 787 +|AT+INTMOD=2|((( 788 +Set Transmit Interval 749 749 790 +1. (Disable Interrupt), 791 +1. (Trigger by rising and falling edge), 792 +1. (Trigger by falling edge) 793 +1. (Trigger by rising edge) 794 +)))|OK 750 750 751 - (% style="color:#037691" %)**Downlink Command: 0x06**796 +**Downlink Command: 0x06** 752 752 753 753 Format: Command Code (0x06) followed by 3 bytes. 754 754 ... ... @@ -757,20 +757,20 @@ 757 757 * Example 1: Downlink Payload: 06000000 ~/~/ Turn off interrupt mode 758 758 * Example 2: Downlink Payload: 06000003 ~/~/ Set the interrupt mode to rising edge trigger 759 759 805 +1. 806 +11. Calibrate Sensor 760 760 808 +Detail See [[Calibration Guide>>path:#Calibration]] for the user of 0x13 and 0x14 downlink commands 761 761 762 -== 3.3 Calibrate Sensor == 763 763 764 -Detail See [[Calibration Guide>>||anchor="2.7Calibration"]] for the user of 0x13 and 0x14 downlink commands 765 765 812 +1. 813 +11. Get Firmware Version Info 766 766 767 - 768 -== 3.4 Get Firmware Version Info == 769 - 770 770 Feature: use downlink to get firmware version. 771 771 772 772 773 - (% style="color:#037691" %)**Downlink Command: 0x26**818 +**Downlink Command: 0x26** 774 774 775 775 776 776 |**Downlink Control Type**|**FPort**|**Type Code**|**Downlink payload size(bytes)**
- 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