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
-
... ... @@ -62,6 +62,11 @@ 62 62 * [[10. Support>>path:#H10.A0200BSupport]] 63 63 64 64 65 + 66 + 67 + 68 + 69 + 65 65 = 1. Introduction = 66 66 67 67 == 1.1 What is LoRaWAN Soil pH Sensor == ... ... @@ -91,7 +91,6 @@ 91 91 92 92 93 93 94 - 95 95 == 1.2 Features == 96 96 97 97 * LoRaWAN 1.0.3 Class A ... ... @@ -109,8 +109,6 @@ 109 109 * 8500mAh Battery for long term use 110 110 111 111 112 - 113 - 114 114 == 1.3 Probe Specification == 115 115 116 116 ... ... @@ -131,10 +131,12 @@ 131 131 * IP68 Protection 132 132 * Length: 3.5 meters 133 133 136 + 134 134 == 1.4 Applications == 135 135 136 136 * Smart Agriculture 137 137 141 + 138 138 == 1.5 Pin mapping and power on == 139 139 140 140 [[image:1654592472094-134.png]] ... ... @@ -150,7 +150,7 @@ 150 150 ))) 151 151 152 152 ((( 153 -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. 154 154 ))) 155 155 156 156 ... ... @@ -236,17 +236,19 @@ 236 236 ))) 237 237 238 238 (% border="1" cellspacing="10" style="background-color:#ffffcc; width:510px" %) 239 -|=(% style="width: 62.5px;" %)((( 240 -**Size (bytes)** 241 -)))|=(% style="width: 62.5px;" %)**2**|=(% style="width: 62.5px;" %)**2**|=**2**|=**2**|=**1**|=**1**|=**1** 242 -|(% style="width:62.5px" %)**Value**|(% style="width:62.5px" %)[[BAT>>||anchor="H2.3.1BatteryInfo"]]|(% style="width:62.5px" %)((( 243 -[[Temperature>>||anchor="H2.3.2DS18B20Temperaturesensor"]] 243 +|((( 244 +**Size** 244 244 245 -[[(Optional)>>||anchor="H2.3.2DS18B20Temperaturesensor"]] 246 -)))|[[Soil pH>>||anchor="H2.3.3SoilpH"]]|[[Soil Temperature>>||anchor="H2.3.4SoilTemperature"]]|((( 247 -[[Digital Interrupt (Optional)>>||anchor="H2.3.5InterruptPin"]] 246 +**(bytes)** 247 +)))|**2**|**2**|**2**|**2**|**1**|**1**|**1** 248 +|**Value**|[[BAT>>path:#H2.3.1BatteryInfo]]|((( 249 +[[Temperature>>path:#H2.3.2DS18B20Temperaturesensor]] 250 + 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]] 248 248 )))|Reserve|((( 249 -[[Message Type>> ||anchor="H2.3.6MessageType"]]255 +[[Message Type>>path:#H2.3.6MessageType]] 250 250 ))) 251 251 252 252 [[image:1654592721645-318.png]] ... ... @@ -302,7 +302,7 @@ 302 302 303 303 === 2.3.5 Interrupt Pin === 304 304 305 -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. 306 306 307 307 308 308 **Example:** ... ... @@ -324,12 +324,14 @@ 324 324 ))) 325 325 326 326 327 -(% border="1" cellspacing="10" style="background-color:#ffffcc; width: 499px" %)328 -|= (% style="width: 160px;" %)**Message Type Code**|=(% style="width: 163px;" %)**Description**|=(% style="width: 173px;" %)**Payload**329 -| (% style="width:160px" %)0x01|(% style="width:163px" %)Normal Uplink|(% style="width:173px" %)[[Normal Uplink Payload>>||anchor="H2.3200BUplinkPayload"]]330 -| (% style="width:160px" %)0x02|(% style="width:163px" %)Reply configures info|(% style="width:173px" %)[[Configure Info Payload>>||anchor="H3.4GetFirmwareVersionInfo"]]331 -| (% style="width:160px" %)0x03|(% style="width:163px" %)Reply Calibration Info|(% style="width:173px" %)[[Calibration Payload>>||anchor="H2.7Calibration"]]333 +(% border="1" cellspacing="10" style="background-color:#ffffcc; width:510px" %) 334 +|=**Message Type Code**|=**Description**|=**Payload** 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]] 332 332 339 + 340 + 333 333 === 2.3.7 Decode payload in The Things Network === 334 334 335 335 While using TTN network, you can add the payload format to decode the payload. ... ... @@ -513,9 +513,11 @@ 513 513 (% style="color:#037691" %)**Calibration Payload** 514 514 515 515 (% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:510px" %) 516 -|=(% style="width: 62.5px;" %)((( 517 -**Size (bytes)** 518 -)))|=(% style="width: 89px;" %)**1**|=(% style="width: 89px;" %)**1**|=(% style="width: 89px;" %)**1**|=(% style="width: 89px;" %)**7**|=(% style="width: 89px;" %)**1** 524 +|((( 525 +**Size** 526 + 527 +**(bytes)** 528 +)))|**1**|**1**|**1**|**7**|**1** 519 519 |**Value**|((( 520 520 PH4 521 521 ... ... @@ -525,7 +525,7 @@ 525 525 526 526 Calibrate value 527 527 )))|Reserve|((( 528 -[[Message Type>> ||anchor="H2.3.6MessageType"]]538 +[[Message Type>>path:#H2.3.6MessageType]] 529 529 530 530 Always 0x03 531 531 ))) ... ... @@ -624,6 +624,9 @@ 624 624 * Check what sub-band the LoRaWAN server ask from the OTAA Join Accept message and switch to that sub-band 625 625 * 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) 626 626 637 + 638 + 639 + 627 627 === 2.8.3 CN470-510 (CN470) === 628 628 629 629 ((( ... ... @@ -733,6 +733,7 @@ 733 733 * Check what sub-band the LoRaWAN server ask from the OTAA Join Accept message and switch to that sub-band 734 734 * 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) 735 735 749 + 736 736 === 2.8.5 AS920-923 & AS923-925 (AS923) === 737 737 738 738 ((( ... ... @@ -956,6 +956,7 @@ 956 956 * The sensor is detected when the device is turned on, and it will flash 4 times quickly when it is detected. 957 957 * Blink once when device transmit a packet. 958 958 973 + 959 959 == 2.10 Firmware Change Log == 960 960 961 961 ... ... @@ -975,7 +975,7 @@ 975 975 ))) 976 976 977 977 * ((( 978 -AT Command Connection: See [[FAQ>> ||anchor="H6.FAQ"]].993 +AT Command Connection: See [[FAQ>>path:#H6.FAQ]]. 979 979 ))) 980 980 * ((( 981 981 LoRaWAN Downlink instruction for different platforms: [[IoT LoRaWAN Server>>path:/xwiki/bin/view/Main/]] ... ... @@ -1028,27 +1028,18 @@ 1028 1028 1029 1029 1030 1030 1031 -((( 1032 1032 (% style="color:#037691" %)**Downlink Command: 0x01** 1033 -))) 1034 1034 1035 -((( 1036 1036 Format: Command Code (0x01) followed by 3 bytes time value. 1037 -))) 1038 1038 1039 1039 ((( 1040 1040 If the downlink payload=0100003C, it means set the END Node’s Transmit Interval to 0x00003C=60(S), while type code is 01. 1041 1041 ))) 1042 1042 1043 -* ((( 1044 -Example 1: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds 1045 -))) 1046 -* ((( 1047 -Example 2: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 1054 +* Example 1: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds 1055 +* Example 2: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 1048 1048 1049 1049 1050 - 1051 -))) 1052 1052 1053 1053 == 3.2 Set Interrupt Mode == 1054 1054 ... ... @@ -1059,34 +1059,18 @@ 1059 1059 [[image:image-20220607171716-9.png]] 1060 1060 1061 1061 1062 -((( 1063 1063 (% style="color:#037691" %)**Downlink Command: 0x06** 1064 -))) 1065 1065 1066 -((( 1067 1067 Format: Command Code (0x06) followed by 3 bytes. 1068 -))) 1069 1069 1070 -((( 1071 1071 This means that the interrupt mode of the end node is set to 0x000003=3 (rising edge trigger), and the type code is 06. 1072 -))) 1073 1073 1074 -* ((( 1075 -Example 1: Downlink Payload: 06000000 ~/~/ Turn off interrupt mode 1076 -))) 1077 -* ((( 1078 -Example 2: Downlink Payload: 06000003 ~/~/ Set the interrupt mode to rising edge trigger 1079 -))) 1074 +* Example 1: Downlink Payload: 06000000 ~/~/ Turn off interrupt mode 1075 +* Example 2: Downlink Payload: 06000003 ~/~/ Set the interrupt mode to rising edge trigger 1080 1080 1081 -((( 1082 - 1083 -))) 1084 - 1085 - 1086 - 1087 1087 == 3.3 Calibrate Sensor == 1088 1088 1089 -Detail See [[Calibration Guide>> ||anchor="H2.7Calibration"]] for the user of 0x13 and 0x14 downlink commands1079 +Detail See [[Calibration Guide>>path:#H2.7Calibration]] for the user of 0x13 and 0x14 downlink commands 1090 1090 1091 1091 1092 1092 ... ... @@ -1118,7 +1118,7 @@ 1118 1118 1119 1119 Version 1120 1120 )))|Sensor Type|Reserve|((( 1121 -[[Message Type>> ||anchor="H2.3.6MessageType"]]1111 +[[Message Type>>path:#H2.3.6MessageType]] 1122 1122 Always 0x02 1123 1123 ))) 1124 1124 ... ... @@ -1258,13 +1258,9 @@ 1258 1258 1259 1259 === 4.3.2 Replace the battery === 1260 1260 1261 -((( 1262 1262 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. 1263 -))) 1264 1264 1265 -((( 1266 1266 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) 1267 -))) 1268 1268 1269 1269 1270 1270 ... ... @@ -1285,24 +1285,24 @@ 1285 1285 (% style="background-color:yellow" %)** USB TTL RXD <~-~-~-~-> UART_TXD** 1286 1286 1287 1287 1288 -((( 1289 1289 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: 1290 -))) 1291 1291 1292 1292 1293 1293 [[image:1654593712276-618.png]] 1294 1294 1295 -Valid AT Command please check [[Configure Device>> ||anchor="H3.ConfigureLSPH01viaATCommandorLoRaWANDownlink"]].1279 +Valid AT Command please check [[Configure Device>>path:#H3.ConfigureLSPH01viaATCommandorLoRaWANDownlink]]. 1296 1296 1297 1297 1282 + 1298 1298 = 6. FAQ = 1299 1299 1300 1300 == 6.1 How to change the LoRa Frequency Bands/Region == 1301 1301 1302 -You can follow the instructions for [[how to upgrade image>> ||anchor="H2.10200BFirmwareChangeLog"]].1287 +You can follow the instructions for [[how to upgrade image>>path:#H2.10200BFirmwareChangeLog]]. 1303 1303 When downloading the images, choose the required image file for download. 1304 1304 1305 1305 1291 + 1306 1306 = 7. Trouble Shooting = 1307 1307 1308 1308 == 7.1 AT Commands input doesn’t work == ... ... @@ -1310,6 +1310,7 @@ 1310 1310 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. 1311 1311 1312 1312 1299 + 1313 1313 = 8. Order Info = 1314 1314 1315 1315 Part Number: (% style="color:blue" %)**LSPH01-XX**