Changes for page SE01-LB/LS -- LoRaWAN Soil Moisture & EC Sensor User Manual
Last modified by Edwin Chen on 2024/02/07 10:40
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -136,7 +136,7 @@ 136 136 == 1.7 BLE connection == 137 137 138 138 139 - CPL03-LB support BLE remote configure.139 +SE01-LB support BLE remote configure. 140 140 141 141 142 142 BLE can be used to configure the parameter of sensor or see the console output from sensor. BLE will be only activate on below case: ... ... @@ -169,7 +169,7 @@ 169 169 170 170 [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LSE01-LoRaWAN%20Soil%20Moisture%20%26%20EC%20Sensor%20User%20Manual/WebHome/image-20221008135912-1.png?rev=1.1||alt="image-20221008135912-1.png"]] 171 171 172 -= 2. Configure CPL03-LB to connect to LoRaWAN network =172 += 2. Configure SE01-LB to connect to LoRaWAN network = 173 173 174 174 == 2.1 How it works == 175 175 ... ... @@ -234,7 +234,7 @@ 234 234 === 2.3.1 MOD~=0(Default Mode)(% style="display:none" %) (%%) === 235 235 236 236 237 - LSE01 will uplink payload via LoRaWAN with below payload format:237 +SE01-LB will uplink payload via LoRaWAN with below payload format: 238 238 239 239 ((( 240 240 Uplink payload includes in total 11 bytes. ... ... @@ -267,7 +267,7 @@ 267 267 268 268 269 269 ((( 270 -Check the battery voltage for LSE01.270 +Check the battery voltage for SE01-LB. 271 271 ))) 272 272 273 273 ((( ... ... @@ -420,7 +420,7 @@ 420 420 ))) 421 421 422 422 ((( 423 -If payload = 0x04FF, it will reset the LSE01423 +If payload = 0x04FF, it will reset the SE01-LB 424 424 ))) 425 425 426 426 ... ... @@ -433,19 +433,19 @@ 433 433 == 2.6 Datalog Feature == 434 434 435 435 436 -Datalog Feature is to ensure IoT Server can get all sampling data from Sensor even if the LoRaWAN network is down. For each sampling, CPL03-LB will store the reading for future retrieving purposes.436 +Datalog Feature is to ensure IoT Server can get all sampling data from Sensor even if the LoRaWAN network is down. For each sampling, SE01-LB will store the reading for future retrieving purposes. 437 437 438 438 439 439 === 2.6.1 Ways to get datalog via LoRaWAN === 440 440 441 441 442 -Set PNACKMD=1, CPL03-LB will wait for ACK for every uplink, when there is no LoRaWAN network,CPL03-LB will mark these records with non-ack messages and store the sensor data, and it will send all messages (10s interval) after the network recovery.442 +Set PNACKMD=1, SE01-LB will wait for ACK for every uplink, when there is no LoRaWAN network,SE01-LB will mark these records with non-ack messages and store the sensor data, and it will send all messages (10s interval) after the network recovery. 443 443 444 444 * ((( 445 -a) CPL03-LB will do an ACK check for data records sending to make sure every data arrive server.445 +a) SE01-LB will do an ACK check for data records sending to make sure every data arrive server. 446 446 ))) 447 447 * ((( 448 -b) CPL03-LB will send data in **CONFIRMED Mode** when PNACKMD=1, butCPL03-LB won't re-transmit the packet if it doesn't get ACK, it will just mark it as a NONE-ACK message. In a future uplink ifCPL03-LB gets a ACK,CPL03-LB will consider there is a network connection and resend all NONE-ACK messages.448 +b) SE01-LB will send data in **CONFIRMED Mode** when PNACKMD=1, but SE01-LB won't re-transmit the packet if it doesn't get ACK, it will just mark it as a NONE-ACK message. In a future uplink if SE01-LB gets a ACK, SE01-LB will consider there is a network connection and resend all NONE-ACK messages. 449 449 ))) 450 450 451 451 Below is the typical case for the auto-update datalog feature (Set PNACKMD=1) ... ... @@ -456,7 +456,7 @@ 456 456 === 2.6.2 Unix TimeStamp === 457 457 458 458 459 - CPL03-LB uses Unix TimeStamp format based on459 +SE01-LB uses Unix TimeStamp format based on 460 460 461 461 [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/WebHome/image-20220523001219-11.png?width=627&height=97&rev=1.1||alt="图片-20220523001219-11.png" height="97" width="627"]] 462 462 ... ... @@ -475,7 +475,7 @@ 475 475 476 476 User need to set (% style="color:blue" %)**SYNCMOD=1**(%%) to enable sync time via MAC command. 477 477 478 -Once CPL03-LB Joined LoRaWAN network, it will send the MAC command (DeviceTimeReq) and the server will reply with (DeviceTimeAns) to send the current time toCPL03-LB. IfCPL03-LB fails to get the time from the server,CPL03-LB will use the internal time and wait for next time request (AT+SYNCTDC to set the time request period, default is 10 days).478 +Once SE01-LB Joined LoRaWAN network, it will send the MAC command (DeviceTimeReq) and the server will reply with (DeviceTimeAns) to send the current time to SE01-LB. If SE01-LB fails to get the time from the server, SE01-LB will use the internal time and wait for next time request (AT+SYNCTDC to set the time request period, default is 10 days). 479 479 480 480 (% style="color:red" %)**Note: LoRaWAN Server need to support LoRaWAN v1.0.3(MAC v1.0.3) or higher to support this MAC command feature, Chirpstack,TTN V3 v3 and loriot support but TTN V3 v2 doesn't support. If server doesn't support this command, it will through away uplink packet with this command, so user will lose the packet with time request for TTN V3 v2 if SYNCMOD=1.** 481 481 ... ... @@ -503,7 +503,7 @@ 503 503 ))) 504 504 505 505 ((( 506 -Uplink Internal =5s,means CPL03-LB will send one packet every 5s. range 5~~255s.506 +Uplink Internal =5s,means SE01-LB will send one packet every 5s. range 5~~255s. 507 507 ))) 508 508 509 509 ... ... @@ -510,7 +510,7 @@ 510 510 == 2.7 Frequency Plans == 511 511 512 512 513 -The CPL03-LB 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.513 +The SE01-LB 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. 514 514 515 515 [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20Frequency%20Band/>>http://wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20Frequency%20Band/]] 516 516 ... ... @@ -546,7 +546,7 @@ 546 546 == 3.1 Configure Methods == 547 547 548 548 549 - CPL03-LB supports below configure method:549 +SE01-LB supports below configure method: 550 550 551 551 * AT Command via Bluetooth Connection (**Recommended**): [[BLE Configure Instruction>>http://wiki.dragino.com/xwiki/bin/view/Main/BLE%20Bluetooth%20Remote%20Configure/]]. 552 552 ... ... @@ -636,204 +636,9 @@ 636 636 No downlink command for this feature. 637 637 638 638 639 -=== 3.3.3 GetDevice Status===639 +=== 3.3.3 Set Interrupt Mode === 640 640 641 641 642 -Send a LoRaWAN downlink to ask device send Alarm settings. 643 - 644 -(% style="color:blue" %)**Downlink Payload: **(%%)0x26 01 645 - 646 -Sensor will upload Device Status via FPORT=5. See payload section for detail. 647 - 648 - 649 -=== 3.3.4 Enable / Disable Alarm === 650 - 651 - 652 -Feature: Enable/Disable Alarm for open/close event. Default value 0. 653 - 654 -(% style="color:blue" %)**AT Command:** 655 - 656 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %) 657 -|(% style="background-color:#d9e2f3; color:#0070c0; width:154px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#0070c0; width:278px" %)**Function**|(% style="background-color:#d9e2f3; color:#0070c0; width:88px" %)**Response** 658 -|(% style="width:154px" %)AT+DISALARM=1|(% style="width:278px" %)End node will only send packets in TDC time.|OK 659 -|(% style="width:154px" %)AT+DISALARM=0|(% style="width:278px" %)End node will send packets in TDC time or status change for door sensor|OK 660 - 661 -(% style="color:blue" %)**Downlink Command:** 662 - 663 -**0xA7 01** ~/~/ Same As AT+DISALARM=1 664 - 665 -**0xA7 00 ** ~/~/ Same As AT+DISALARM=0 666 - 667 - 668 -=== 3.3.5 Alarm Base on Timeout === 669 - 670 - 671 -((( 672 -CPL03-LB can monitor the timeout for a status change, this feature can be used to monitor some events such as door opening too long etc. Related Parameters are: 673 -))) 674 - 675 - 676 -((( 677 -(% style="color:#4f81bd" %)**1. Keep Status: Status to be monitor** 678 -))) 679 - 680 -((( 681 -**Keep Status = 1**: Monitor Close to Open event 682 -))) 683 - 684 -((( 685 -**Keep Status = 0**: Monitor Open to Close event 686 -))) 687 - 688 - 689 -((( 690 -(% style="color:#4f81bd" %)**2. Keep Time: Timeout to send an Alarm** 691 -))) 692 - 693 -((( 694 -Range 0 ~~ 65535(0xFFFF) seconds. 695 -))) 696 - 697 -((( 698 -If** keep time = 0**, Disable Alarm Base on Timeout feature. 699 -))) 700 - 701 -((( 702 -If **keep time > 0**, device will monitor the keep status event and send an alarm when status doesn’t change after timeout. 703 -))) 704 - 705 - 706 -((( 707 -(% style="color:#4f81bd" %)**AT Command**(%%) to configure: 708 -))) 709 - 710 -((( 711 -(% style="color:blue" %)**AT+TTRIG=1,30**(%%) ~-~-> When the **Keep Status** change from connect to disconnect, and device remains in disconnect status for more than 30 seconds. CPL03-LB will send an uplink packet, the [[Alarm bit>>||anchor="H2.3.3Real-TimeOpen2FCloseStatus2CUplinkFPORT3D2"]] (the second bit of 1^^st^^ byte of payload) on this uplink packet is set to 1. 712 -))) 713 - 714 -((( 715 -(% style="color:blue" %)**AT+TTIG=0,0 **(%%) ~-~-> Default Value, disable timeout Alarm. 716 -))) 717 - 718 - 719 -((( 720 -(% style="color:#4f81bd" %)**Downlink Command**(%%) to configure: 721 -))) 722 - 723 -((( 724 -**Command: 0xA9 aa bb cc** 725 -))) 726 - 727 -((( 728 -**A9: **Command Type Code 729 -))) 730 - 731 -((( 732 -**aa: **status to be monitored 733 -))) 734 - 735 -((( 736 -**bb cc: **timeout. 737 -))) 738 - 739 - 740 -((( 741 -If user send 0xA9 01 00 1E: equal to AT+TTRIG=1,30 742 -))) 743 - 744 -((( 745 -Or 746 -))) 747 - 748 -((( 749 -0xA9 00 00 00: Equal to AT+TTRIG=0,0. Disable timeout Alarm. 750 -))) 751 - 752 - 753 -=== 3.3.6 Clear Flash Record === 754 - 755 - 756 -Feature: Clear flash storage for data log feature. 757 - 758 -(% style="color:blue" %)**AT Command: AT+CLRDTA** 759 - 760 -(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:500px" %) 761 -|=(% style="width: 157px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 169px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 174px;background-color:#D9E2F3;color:#0070C0" %)**Response** 762 -|(% style="width:157px" %)AT+CLRDTA|(% style="width:169px" %)Clear flash storage for data log feature.|Clear all stored sensor data… OK 763 - 764 -((( 765 -(% style="color:blue" %)**Downlink Command:** 766 -))) 767 - 768 -((( 769 -* **Example**: 0xA301 ~/~/ Same as AT+CLRDTA 770 -))) 771 - 772 - 773 - 774 -=== 3.3.7 Set trigger mode === 775 - 776 - 777 -Feature: Set the trigger interrupt mode. 778 - 779 -(% style="color:blue" %)**AT Command: AT+TTRMOD** 780 - 781 -(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:495px" %) 782 -|=(% style="width: 157px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 246px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 92px;background-color:#D9E2F3;color:#0070C0" %)**Response** 783 -|(% style="width:157px" %)((( 784 -AT+TTRMOD=1 785 -)))|(% style="width:156px" %)Count and trigger from open to close (rising edge)|(% style="width:89px" %)((( 786 -((( 787 -OK 788 -))) 789 -))) 790 -|(% style="width:157px" %)((( 791 -AT+TTRMOD=0 792 -)))|(% style="width:156px" %)Count and trigger from close to open (falling edge)|(% style="width:89px" %)((( 793 -OK 794 -))) 795 - 796 -(% style="color:blue" %)**Downlink Command:** 797 - 798 -* **Example**: 0xA401 ~/~/ Same as AT+ TTRMOD =1 799 - 800 -=== 3.3.8 Set the calculate flag === 801 - 802 - 803 -Feature: Set the calculate flag 804 - 805 -(% style="color:blue" %)**AT Command: AT+CALCFLAG** 806 - 807 -(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:461px" %) 808 -|=(% style="width: 158px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 193px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 110px;background-color:#D9E2F3;color:#0070C0" %)**Response** 809 -|(% style="width:158px" %)AT+CALCFLAG =1|(% style="width:192px" %)Set the calculate flag to 1.|(% style="width:109px" %)OK 810 -|(% style="width:158px" %)AT+CALCFLAG =2|(% style="width:192px" %)Set the calculate flag to 2.|(% style="width:109px" %)OK 811 - 812 -(% style="color:blue" %)**Downlink Command:** 813 - 814 -* **Example**: 0XA501 ~/~/ Same as AT+CALCFLAG =1 815 - 816 -=== 3.3.9 Set count number === 817 - 818 - 819 -Feature: Manually set the count number 820 - 821 -(% style="color:blue" %)**AT Command: AT+SETCNT** 822 - 823 -(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:479px" %) 824 -|=(% style="width: 160px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 223px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 96px;background-color:#D9E2F3;color:#0070C0" %)**Response** 825 -|(% style="width:160px" %)AT+ SETCNT =0|(% style="width:221px" %)Set the count number to 0.|(% style="width:95px" %)OK 826 -|(% style="width:160px" %)AT+ SETCNT =100|(% style="width:221px" %)Set the count number to 100.|(% style="width:95px" %)OK 827 - 828 -(% style="color:blue" %)**Downlink Command:** 829 - 830 -* **Example**: 0xA6000001 ~/~/ Same as AT+ SETCNT =1 831 - 832 -* **Example**: 0xA6000064 ~/~/ Same as AT+ SETCNT =100 833 - 834 -=== 3.3.10 Set Interrupt Mode === 835 - 836 - 837 837 Feature, Set Interrupt mode for PA8 of pin. 838 838 839 839 When AT+INTMOD=0 is set, PA8 is used as a digital input port. ... ... @@ -865,7 +865,7 @@ 865 865 866 866 * Example 2: Downlink Payload: 06000003 ~/~/ Set the interrupt mode to rising edge trigger 867 867 868 -=== 3.3. 11Set Power Output Duration ===673 +=== 3.3.4 Set Power Output Duration === 869 869 870 870 871 871 Control the output duration 5V . Before each sampling, device will ... ... @@ -897,7 +897,7 @@ 897 897 = 4. Battery & Power Consumption = 898 898 899 899 900 - CPL03-LB use ER26500 + SPC1520 battery pack. See below link for detail information about the battery info and how to replace.705 +SE01-LB use ER26500 + SPC1520 battery pack. See below link for detail information about the battery info and how to replace. 901 901 902 902 [[**Battery Info & Power Consumption Analyze**>>http://wiki.dragino.com/xwiki/bin/view/Main/How%20to%20calculate%20the%20battery%20life%20of%20Dragino%20sensors%3F/]] . 903 903 ... ... @@ -906,7 +906,7 @@ 906 906 907 907 908 908 (% class="wikigeneratedid" %) 909 -User can change firmware CPL03-LB to:714 +User can change firmware SE01-LB to: 910 910 911 911 * Change Frequency band/ region. 912 912 ... ... @@ -930,10 +930,24 @@ 930 930 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. 931 931 932 932 738 +== 6.2 Can I calibrate SE01-LB to different soil types? == 739 + 740 + 741 +((( 742 +SE01-LB is calibrated for saline-alkali soil and loamy soil. If users want to use it for other soil, they can calibrate the value in the IoT platform base on the value measured by saline-alkali soil and loamy soil. The formula can be found at [[this link>>https://www.dragino.com/downloads/downloads/LoRa_End_Node/LSE01/Calibrate_to_other_Soil_20230522.pdf]]. 743 +))) 744 + 745 + 746 +== 6.3 Why I can't join TTN in US915 / AU915 bands? == 747 + 748 + 749 +It is due to channel mapping. Please see the [[Eight Channel Mode>>doc:Main.End Device AT Commands and Downlink Command.WebHome||anchor="H7.19EightChannelMode"]] section above for details. 750 + 751 + 933 933 = 7. Order Info = 934 934 935 935 936 -Part Number: (% style="color:blue" %)** CPL03-LB-XXX**755 +Part Number: (% style="color:blue" %)**SE01-LB-XXX** 937 937 938 938 (% style="color:red" %)**XXX**(%%): The default frequency band 939 939 ... ... @@ -953,12 +953,15 @@ 953 953 954 954 * (% style="color:red" %)**CN470**(%%): LoRaWAN CN470 band 955 955 775 + 776 + 777 + 956 956 = 8. Packing Info = 957 957 958 958 959 959 (% style="color:#037691" %)**Package Includes**: 960 960 961 -* CPL03-LB LoRaWANPulse/ContactSensor783 +* SE01-LB LoRaWAN Soil Moisture & EC Sensor 962 962 963 963 (% style="color:#037691" %)**Dimension and weight**: 964 964