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, 5 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,46 +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 581 +**Default Uplink channel:** 559 559 560 -=== 2.8.5 AS920-923 & AS923-925 (AS923) === 561 - 562 -(% style="color:blue" %)**Default Uplink channel:** 563 - 564 564 923.2 - SF7BW125 to SF10BW125 565 565 566 566 923.4 - SF7BW125 to SF10BW125 567 567 568 568 569 - (% style="color:blue" %)**Additional Uplink Channel**:588 +**Additional Uplink Channel**: 570 570 571 571 (OTAA mode, channel added by JoinAccept message) 572 572 592 +**AS920~~AS923 for Japan, Malaysia, Singapore**: 573 573 574 -(% style="color:blue" %)**AS920~~AS923 for Japan, Malaysia, Singapore**: 575 - 576 576 922.2 - SF7BW125 to SF10BW125 577 577 578 578 922.4 - SF7BW125 to SF10BW125 ... ... @@ -586,7 +586,7 @@ 586 586 922.0 - SF7BW125 to SF10BW125 587 587 588 588 589 - (% 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**: 590 590 591 591 923.6 - SF7BW125 to SF10BW125 592 592 ... ... @@ -601,18 +601,20 @@ 601 601 924.6 - SF7BW125 to SF10BW125 602 602 603 603 604 -(% style="color:blue" %)**Downlink:** 605 605 623 +**Downlink:** 624 + 606 606 Uplink channels 1-8 (RX1) 607 607 608 608 923.2 - SF10BW125 (RX2) 609 609 610 610 630 +1. 631 +11. 632 +111. KR920-923 (KR920) 611 611 612 - ===2.8.6 KR920-923 (KR920) ===634 +Default channel: 613 613 614 -(% style="color:blue" %)**Default channel:** 615 - 616 616 922.1 - SF7BW125 to SF12BW125 617 617 618 618 922.3 - SF7BW125 to SF12BW125 ... ... @@ -620,7 +620,7 @@ 620 620 922.5 - SF7BW125 to SF12BW125 621 621 622 622 623 - (% style="color:blue" %)**Uplink: (OTAA mode, channel added by JoinAccept message)**643 +Uplink: (OTAA mode, channel added by JoinAccept message) 624 624 625 625 922.1 - SF7BW125 to SF12BW125 626 626 ... ... @@ -637,7 +637,7 @@ 637 637 923.3 - SF7BW125 to SF12BW125 638 638 639 639 640 - (% style="color:blue" %)**Downlink:**660 +Downlink: 641 641 642 642 Uplink channels 1-7(RX1) 643 643 ... ... @@ -644,9 +644,11 @@ 644 644 921.9 - SF12BW125 (RX2 downlink only; SF12BW125 might be changed to SF9BW125) 645 645 646 646 647 -=== 2.8.7 IN865-867 (IN865) === 667 +1. 668 +11. 669 +111. IN865-867 (IN865) 648 648 649 - (% style="color:blue" %)**Uplink:**671 +Uplink: 650 650 651 651 865.0625 - SF7BW125 to SF12BW125 652 652 ... ... @@ -655,7 +655,7 @@ 655 655 865.9850 - SF7BW125 to SF12BW125 656 656 657 657 658 - (% style="color:blue" %)**Downlink:**680 +Downlink: 659 659 660 660 Uplink channels 1-3 (RX1) 661 661 ... ... @@ -662,36 +662,45 @@ 662 662 866.550 - SF10BW125 (RX2) 663 663 664 664 687 +1. 688 +11. LED Indicator 665 665 666 -== 2.9 LED Indicator == 667 - 668 668 The LSPH01 has an internal LED which is to show the status of different state. 669 669 692 + 670 670 * The sensor is detected when the device is turned on, and it will flash 4 times quickly when it is detected. 671 671 * Blink once when device transmit a packet. 672 672 673 -== 2.10 Firmware Change Log == 696 +1. 697 +11. Firmware Change Log 674 674 675 - 676 676 **Firmware download link:** 677 677 678 678 [[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/]] 679 679 680 680 681 -**Firmware Upgrade Method: [[Firmware Upgrade Instruction>>doc:Main.Firmware Upgrade Instruction for STM32 base products.WebHome]]704 +**Firmware Upgrade Method:** 682 682 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]] 683 683 684 684 685 -= 3. Configure LSPH01 via AT Command or LoRaWAN Downlink = 686 686 710 + 711 + 712 + 713 +1. Configure LSPH01 via AT Command or LoRaWAN Downlink 714 + 687 687 Use can configure LSPH01 via AT Command or LoRaWAN Downlink. 688 688 689 -* AT Command Connection: See [[FAQ>> ||anchor="H6.FAQ"]].690 -* 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: 691 691 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 + 692 692 There are two kinds of commands to configure LSPH01, they are: 693 693 694 -* (% style="color:#4f81bd" %)**725 +* **General Commands**. 695 695 696 696 These commands are to configure: 697 697 ... ... @@ -698,25 +698,25 @@ 698 698 * General system settings like: uplink interval. 699 699 * LoRaWAN protocol & radio related command. 700 700 701 -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: 702 702 734 +[[http:~~/~~/wiki.dragino.com/index.pHp?title=End_Device_Downlink_Command>>url:http://wiki.dragino.com/index.php?title=End_Device_Downlink_Command]] 703 703 704 -* (% style="color:#4f81bd" %)** Commands special design for LSPH01** 705 705 737 +* **Commands special design for LSPH01** 738 + 706 706 These commands only valid for LSPH01, as below: 707 707 708 708 742 +1. 743 +11. Set Transmit Interval Time 709 709 710 -== 3.1 Set Transmit Interval Time == 711 - 712 712 Feature: Change LoRaWAN End Node Transmit Interval. 713 713 714 - (% style="color:#037691" %)**AT Command: AT+TDC**747 +**AT Command: AT+TDC** 715 715 716 - 717 -(% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:710px" %) 718 -|(% style="width:154px" %)**Command Example**|(% style="width:223px" %)**Function**|(% style="width:330px" %)**Response** 719 -|(% 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|((( 720 720 30000 721 721 722 722 OK ... ... @@ -723,13 +723,13 @@ 723 723 724 724 the interval is 30000ms = 30s 725 725 ))) 726 -| (% style="width:154px" %)AT+TDC=60000|(% style="width:223px" %)Set Transmit Interval|(% style="width:330px" %)(((757 +|AT+TDC=60000|Set Transmit Interval|((( 727 727 OK 728 728 729 729 Set transmit interval to 60000ms = 60 seconds 730 730 ))) 731 731 732 - (% style="color:#037691" %)**Downlink Command: 0x01**763 +**Downlink Command: 0x01** 733 733 734 734 Format: Command Code (0x01) followed by 3 bytes time value. 735 735 ... ... @@ -738,18 +738,32 @@ 738 738 * Example 1: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds 739 739 * Example 2: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 740 740 772 +1. 773 +11. Set Interrupt Mode 741 741 742 -== 3.2 Set Interrupt Mode == 743 - 744 744 Feature, Set Interrupt mode for GPIO_EXIT. 745 745 746 - (% style="color:#037691" %)**AT Command: AT+INTMOD**777 +**AT Command: AT+INTMOD** 747 747 748 -[[image:image-20220607153759-6.png]] 779 +|**Command Example**|**Function**|**Response** 780 +|AT+INTMOD=?|Show current interrupt mode|((( 781 +0 749 749 783 +OK 750 750 751 -(% style="color:#037691" %)**Downlink Command: 0x06** 785 +the mode is 0 = No interruption 786 +))) 787 +|AT+INTMOD=2|((( 788 +Set Transmit Interval 752 752 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 795 + 796 +**Downlink Command: 0x06** 797 + 753 753 Format: Command Code (0x06) followed by 3 bytes. 754 754 755 755 This means that the interrupt mode of the end node is set to 0x000003=3 (rising edge trigger), and the type code is 06. ... ... @@ -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 761 -== 3.3 Calibrate Sensor == 762 - 763 763 Detail See [[Calibration Guide>>path:#Calibration]] for the user of 0x13 and 0x14 downlink commands 764 764 765 765 766 766 767 -1. 812 +1. 768 768 11. Get Firmware Version Info 769 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)** ... ... @@ -873,7 +873,7 @@ 873 873 LSPH01: 2.45v ~~ 3.6v 874 874 875 875 876 -1. 921 +1. 877 877 11. Replace Battery 878 878 879 879 Any battery with range 2.45 ~~ 3.6v can be a replacement. We recommend to use Li-SOCl2 Battery. ... ... @@ -882,7 +882,7 @@ 882 882 883 883 884 884 885 -1. 930 +1. 886 886 11. Power Consumption Analyze 887 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. ... ... @@ -922,14 +922,14 @@ 922 922 923 923 924 924 1. 925 -11. 970 +11. 926 926 111. Battery Note 927 927 928 928 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. 929 929 930 930 931 -1. 932 -11. 976 +1. 977 +11. 933 933 111. Replace the battery 934 934 935 935 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.
- 1654584128046-287.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -345.3 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