Changes for page LSN50v2-D20-D22-D23 LoRaWAN Temperature Sensor User Manual
Last modified by Mengting Qiu on 2025/04/07 16:25
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -66,6 +66,7 @@ 66 66 67 67 68 68 69 + 69 69 = 1. Introduction = 70 70 71 71 == 1.1 What is LoRaWAN Soil pH Sensor == ... ... @@ -95,7 +95,6 @@ 95 95 96 96 97 97 98 - 99 99 == 1.2 Features == 100 100 101 101 * LoRaWAN 1.0.3 Class A ... ... @@ -112,6 +112,7 @@ 112 112 * IP68 rate for the Sensor Probe 113 113 * 8500mAh Battery for long term use 114 114 115 + 115 115 == 1.3 Probe Specification == 116 116 117 117 ... ... @@ -132,10 +132,12 @@ 132 132 * IP68 Protection 133 133 * Length: 3.5 meters 134 134 136 + 135 135 == 1.4 Applications == 136 136 137 137 * Smart Agriculture 138 138 141 + 139 139 == 1.5 Pin mapping and power on == 140 140 141 141 [[image:1654592472094-134.png]] ... ... @@ -151,7 +151,7 @@ 151 151 ))) 152 152 153 153 ((( 154 -In case you can’t set the OTAA keys in the LoRaWAN OTAA server, and you have to use the keys from the server, you can [[use AT Commands >> ||anchor="H5.UseATCommand"]]to set the keys in the LSPH01.157 +In case you can’t set the OTAA keys in the LoRaWAN OTAA server, and you have to use the keys from the server, you can [[use AT Commands >>path:#H5.UseATCommand]]to set the keys in the LSPH01. 155 155 ))) 156 156 157 157 ... ... @@ -242,14 +242,14 @@ 242 242 243 243 **(bytes)** 244 244 )))|**2**|**2**|**2**|**2**|**1**|**1**|**1** 245 -|**Value**|[[BAT>> ||anchor="H2.3.1BatteryInfo"]]|(((246 -[[Temperature>> ||anchor="H2.3.2DS18B20Temperaturesensor"]]248 +|**Value**|[[BAT>>path:#H2.3.1BatteryInfo]]|((( 249 +[[Temperature>>path:#H2.3.2DS18B20Temperaturesensor]] 247 247 248 -[[(Optional)>> ||anchor="H2.3.2DS18B20Temperaturesensor"]]249 -)))|[[Soil pH>> ||anchor="H2.3.3SoilpH"]]|[[Soil Temperature>>||anchor="H2.3.4SoilTemperature"]]|(((250 -[[Digital Interrupt (Optional)>> ||anchor="H2.3.5InterruptPin"]]251 +[[(Optional)>>path:#H2.3.2DS18B20Temperaturesensor]] 252 +)))|[[Soil pH>>path:#H2.3.3SoilpH]]|[[Soil Temperature>>path:#H2.3.4SoilTemperature]]|((( 253 +[[Digital Interrupt (Optional)>>path:#H2.3.5InterruptPin]] 251 251 )))|Reserve|((( 252 -[[Message Type>> ||anchor="H2.3.6MessageType"]]255 +[[Message Type>>path:#H2.3.6MessageType]] 253 253 ))) 254 254 255 255 [[image:1654592721645-318.png]] ... ... @@ -305,7 +305,7 @@ 305 305 306 306 === 2.3.5 Interrupt Pin === 307 307 308 -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.311 +This data field shows if this packet is generated by interrupt or not. [[Click here>>path:#H3.2SetInterruptMode]] for the hardware and software set up. 309 309 310 310 311 311 **Example:** ... ... @@ -329,10 +329,12 @@ 329 329 330 330 (% border="1" cellspacing="10" style="background-color:#ffffcc; width:510px" %) 331 331 |=**Message Type Code**|=**Description**|=**Payload** 332 -|0x01|Normal Uplink|[[Normal Uplink Payload>> ||anchor="H2.3200BUplinkPayload"]]333 -|0x02|Reply configures info|[[Configure Info Payload>> ||anchor="H3.4GetFirmwareVersionInfo"]]334 -|0x03|Reply Calibration Info|[[Calibration Payload>> ||anchor="H2.7Calibration"]]335 +|0x01|Normal Uplink|[[Normal Uplink Payload>>path:#H2.3200BUplinkPayload]] 336 +|0x02|Reply configures info|[[Configure Info Payload>>path:#H3.4GetFirmwareVersionInfo]] 337 +|0x03|Reply Calibration Info|[[Calibration Payload>>path:#H2.7Calibration]] 335 335 339 + 340 + 336 336 === 2.3.7 Decode payload in The Things Network === 337 337 338 338 While using TTN network, you can add the payload format to decode the payload. ... ... @@ -530,7 +530,7 @@ 530 530 531 531 Calibrate value 532 532 )))|Reserve|((( 533 -[[Message Type>> ||anchor="H2.3.6MessageType"]]538 +[[Message Type>>path:#H2.3.6MessageType]] 534 534 535 535 Always 0x03 536 536 ))) ... ... @@ -543,6 +543,8 @@ 543 543 * Reply to the confirmation package: 14 01 544 544 * Reply to non-confirmed packet: 14 00 545 545 551 + 552 + 546 546 == 2.8 Frequency Plans == 547 547 548 548 ((( ... ... @@ -627,91 +627,51 @@ 627 627 * Check what sub-band the LoRaWAN server ask from the OTAA Join Accept message and switch to that sub-band 628 628 * 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) 629 629 637 + 638 + 639 + 630 630 === 2.8.3 CN470-510 (CN470) === 631 631 632 -((( 633 633 Used in China, Default use CHE=1 634 -))) 635 635 636 -((( 637 637 (% style="color:blue" %)**Uplink:** 638 -))) 639 639 640 -((( 641 641 486.3 - SF7BW125 to SF12BW125 642 -))) 643 643 644 -((( 645 645 486.5 - SF7BW125 to SF12BW125 646 -))) 647 647 648 -((( 649 649 486.7 - SF7BW125 to SF12BW125 650 -))) 651 651 652 -((( 653 653 486.9 - SF7BW125 to SF12BW125 654 -))) 655 655 656 -((( 657 657 487.1 - SF7BW125 to SF12BW125 658 -))) 659 659 660 -((( 661 661 487.3 - SF7BW125 to SF12BW125 662 -))) 663 663 664 -((( 665 665 487.5 - SF7BW125 to SF12BW125 666 -))) 667 667 668 -((( 669 669 487.7 - SF7BW125 to SF12BW125 670 -))) 671 671 672 -((( 673 - 674 -))) 675 675 676 -((( 677 677 (% style="color:blue" %)**Downlink:** 678 -))) 679 679 680 -((( 681 681 506.7 - SF7BW125 to SF12BW125 682 -))) 683 683 684 -((( 685 685 506.9 - SF7BW125 to SF12BW125 686 -))) 687 687 688 -((( 689 689 507.1 - SF7BW125 to SF12BW125 690 -))) 691 691 692 -((( 693 693 507.3 - SF7BW125 to SF12BW125 694 -))) 695 695 696 -((( 697 697 507.5 - SF7BW125 to SF12BW125 698 -))) 699 699 700 -((( 701 701 507.7 - SF7BW125 to SF12BW125 702 -))) 703 703 704 -((( 705 705 507.9 - SF7BW125 to SF12BW125 706 -))) 707 707 708 -((( 709 709 508.1 - SF7BW125 to SF12BW125 710 -))) 711 711 712 -((( 713 713 505.3 - SF12BW125 (RX2 downlink only) 714 -))) 715 715 716 716 717 717 ... ... @@ -736,6 +736,7 @@ 736 736 * Check what sub-band the LoRaWAN server ask from the OTAA Join Accept message and switch to that sub-band 737 737 * 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) 738 738 706 + 739 739 === 2.8.5 AS920-923 & AS923-925 (AS923) === 740 740 741 741 ((( ... ... @@ -846,109 +846,56 @@ 846 846 847 847 === 2.8.6 KR920-923 (KR920) === 848 848 849 -((( 850 850 (% style="color:blue" %)**Default channel:** 851 -))) 852 852 853 -((( 854 854 922.1 - SF7BW125 to SF12BW125 855 -))) 856 856 857 -((( 858 858 922.3 - SF7BW125 to SF12BW125 859 -))) 860 860 861 -((( 862 862 922.5 - SF7BW125 to SF12BW125 863 -))) 864 864 865 -((( 866 - 867 -))) 868 868 869 -((( 870 870 (% style="color:blue" %)**Uplink: (OTAA mode, channel added by JoinAccept message)** 871 -))) 872 872 873 -((( 874 874 922.1 - SF7BW125 to SF12BW125 875 -))) 876 876 877 -((( 878 878 922.3 - SF7BW125 to SF12BW125 879 -))) 880 880 881 -((( 882 882 922.5 - SF7BW125 to SF12BW125 883 -))) 884 884 885 -((( 886 886 922.7 - SF7BW125 to SF12BW125 887 -))) 888 888 889 -((( 890 890 922.9 - SF7BW125 to SF12BW125 891 -))) 892 892 893 -((( 894 894 923.1 - SF7BW125 to SF12BW125 895 -))) 896 896 897 -((( 898 898 923.3 - SF7BW125 to SF12BW125 899 -))) 900 900 901 -((( 902 - 903 -))) 904 904 905 -((( 906 906 (% style="color:blue" %)**Downlink:** 907 -))) 908 908 909 -((( 910 910 Uplink channels 1-7(RX1) 911 -))) 912 912 913 -((( 914 914 921.9 - SF12BW125 (RX2 downlink only; SF12BW125 might be changed to SF9BW125) 915 -))) 916 916 917 917 918 918 919 919 === 2.8.7 IN865-867 (IN865) === 920 920 921 -((( 922 922 (% style="color:blue" %)**Uplink:** 923 -))) 924 924 925 -((( 926 926 865.0625 - SF7BW125 to SF12BW125 927 -))) 928 928 929 -((( 930 930 865.4025 - SF7BW125 to SF12BW125 931 -))) 932 932 933 -((( 934 934 865.9850 - SF7BW125 to SF12BW125 935 -))) 936 936 937 -((( 938 - 939 -))) 940 940 941 -((( 942 942 (% style="color:blue" %)**Downlink:** 943 -))) 944 944 945 -((( 946 946 Uplink channels 1-3 (RX1) 947 -))) 948 948 949 -((( 950 950 866.550 - SF10BW125 (RX2) 951 -))) 952 952 953 953 954 954 ... ... @@ -959,6 +959,7 @@ 959 959 * The sensor is detected when the device is turned on, and it will flash 4 times quickly when it is detected. 960 960 * Blink once when device transmit a packet. 961 961 877 + 962 962 == 2.10 Firmware Change Log == 963 963 964 964 ... ... @@ -973,51 +973,26 @@ 973 973 974 974 = 3. Configure LSPH01 via AT Command or LoRaWAN Downlink = 975 975 976 -((( 977 977 Use can configure LSPH01 via AT Command or LoRaWAN Downlink. 978 -))) 979 979 980 -* ((( 981 -AT Command Connection: See [[FAQ>>||anchor="H6.FAQ"]]. 982 -))) 983 -* ((( 984 -LoRaWAN Downlink instruction for different platforms: [[IoT LoRaWAN Server>>path:/xwiki/bin/view/Main/]] 985 -))) 894 +* AT Command Connection: See [[FAQ>>path:#H6.FAQ]]. 895 +* LoRaWAN Downlink instruction for different platforms: [[IoT LoRaWAN Server>>path:/xwiki/bin/view/Main/]] 986 986 987 -((( 988 988 There are two kinds of commands to configure LSPH01, they are: 989 -))) 990 990 991 -* ((( 992 -(% style="color:#4f81bd" %)** General Commands**. 993 -))) 899 +* (% style="color:#4f81bd" %)** General Commands**. 994 994 995 -((( 996 996 These commands are to configure: 997 -))) 998 998 999 -* ((( 1000 -General system settings like: uplink interval. 1001 -))) 1002 -* ((( 1003 -LoRaWAN protocol & radio related command. 1004 -))) 903 +* General system settings like: uplink interval. 904 +* LoRaWAN protocol & radio related command. 1005 1005 1006 -((( 1007 1007 They are same for all Dragino Device which support DLWS-005 LoRaWAN Stack. These commands can be found on the wiki:[[End Device AT Commands and Downlink Command>>path:/xwiki/bin/view/Main/End%20Device%20AT%20Commands%20and%20Downlink%20Command/]] 1008 -))) 1009 1009 1010 -((( 1011 - 1012 -))) 1013 1013 1014 -* ((( 1015 -(% style="color:#4f81bd" %)** Commands special design for LSPH01** 1016 -))) 909 +* (% style="color:#4f81bd" %)** Commands special design for LSPH01** 1017 1017 1018 -((( 1019 1019 These commands only valid for LSPH01, as below: 1020 -))) 1021 1021 1022 1022 1023 1023 ... ... @@ -1031,27 +1031,16 @@ 1031 1031 1032 1032 1033 1033 1034 -((( 1035 1035 (% style="color:#037691" %)**Downlink Command: 0x01** 1036 -))) 1037 1037 1038 -((( 1039 1039 Format: Command Code (0x01) followed by 3 bytes time value. 1040 -))) 1041 1041 1042 -((( 1043 1043 If the downlink payload=0100003C, it means set the END Node’s Transmit Interval to 0x00003C=60(S), while type code is 01. 1044 -))) 1045 1045 1046 -* ((( 1047 -Example 1: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds 1048 -))) 1049 -* ((( 1050 -Example 2: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 931 +* Example 1: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds 932 +* Example 2: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 1051 1051 1052 1052 1053 - 1054 -))) 1055 1055 1056 1056 == 3.2 Set Interrupt Mode == 1057 1057 ... ... @@ -1062,34 +1062,18 @@ 1062 1062 [[image:image-20220607171716-9.png]] 1063 1063 1064 1064 1065 -((( 1066 1066 (% style="color:#037691" %)**Downlink Command: 0x06** 1067 -))) 1068 1068 1069 -((( 1070 1070 Format: Command Code (0x06) followed by 3 bytes. 1071 -))) 1072 1072 1073 -((( 1074 1074 This means that the interrupt mode of the end node is set to 0x000003=3 (rising edge trigger), and the type code is 06. 1075 -))) 1076 1076 1077 -* ((( 1078 -Example 1: Downlink Payload: 06000000 ~/~/ Turn off interrupt mode 1079 -))) 1080 -* ((( 1081 -Example 2: Downlink Payload: 06000003 ~/~/ Set the interrupt mode to rising edge trigger 1082 -))) 951 +* Example 1: Downlink Payload: 06000000 ~/~/ Turn off interrupt mode 952 +* Example 2: Downlink Payload: 06000003 ~/~/ Set the interrupt mode to rising edge trigger 1083 1083 1084 -((( 1085 - 1086 -))) 1087 - 1088 - 1089 - 1090 1090 == 3.3 Calibrate Sensor == 1091 1091 1092 -Detail See [[Calibration Guide>> ||anchor="H2.7Calibration"]] for the user of 0x13 and 0x14 downlink commands956 +Detail See [[Calibration Guide>>path:#H2.7Calibration]] for the user of 0x13 and 0x14 downlink commands 1093 1093 1094 1094 1095 1095 ... ... @@ -1121,7 +1121,7 @@ 1121 1121 1122 1122 Version 1123 1123 )))|Sensor Type|Reserve|((( 1124 -[[Message Type>> ||anchor="H2.3.6MessageType"]]988 +[[Message Type>>path:#H2.3.6MessageType]] 1125 1125 Always 0x02 1126 1126 ))) 1127 1127 ... ... @@ -1261,13 +1261,9 @@ 1261 1261 1262 1262 === 4.3.2 Replace the battery === 1263 1263 1264 -((( 1265 1265 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. 1266 -))) 1267 1267 1268 -((( 1269 1269 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) 1270 -))) 1271 1271 1272 1272 1273 1273 ... ... @@ -1288,24 +1288,24 @@ 1288 1288 (% style="background-color:yellow" %)** USB TTL RXD <~-~-~-~-> UART_TXD** 1289 1289 1290 1290 1291 -((( 1292 1292 In the PC, you need to set the serial baud rate to (% style="color:green" %)**9600**(%%) to access the serial console for LSPH01. LSPH01 will output system info once power on as below: 1293 -))) 1294 1294 1295 1295 1296 1296 [[image:1654593712276-618.png]] 1297 1297 1298 -Valid AT Command please check [[Configure Device>> ||anchor="H3.ConfigureLSPH01viaATCommandorLoRaWANDownlink"]].1156 +Valid AT Command please check [[Configure Device>>path:#H3.ConfigureLSPH01viaATCommandorLoRaWANDownlink]]. 1299 1299 1300 1300 1159 + 1301 1301 = 6. FAQ = 1302 1302 1303 1303 == 6.1 How to change the LoRa Frequency Bands/Region == 1304 1304 1305 -You can follow the instructions for [[how to upgrade image>> ||anchor="H2.10200BFirmwareChangeLog"]].1164 +You can follow the instructions for [[how to upgrade image>>path:#H2.10200BFirmwareChangeLog]]. 1306 1306 When downloading the images, choose the required image file for download. 1307 1307 1308 1308 1168 + 1309 1309 = 7. Trouble Shooting = 1310 1310 1311 1311 == 7.1 AT Commands input doesn’t work == ... ... @@ -1313,6 +1313,7 @@ 1313 1313 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. 1314 1314 1315 1315 1176 + 1316 1316 = 8. Order Info = 1317 1317 1318 1318 Part Number: (% style="color:blue" %)**LSPH01-XX**