Changes for page LDDS45 - LoRaWAN Distance Detection Sensor User Manual
Last modified by Mengting Qiu on 2025/02/26 15:04
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -67,6 +67,7 @@ 67 67 68 68 69 69 70 + 70 70 = 1. Introduction = 71 71 72 72 == 1.1 What is LoRaWAN Soil pH Sensor == ... ... @@ -154,7 +154,7 @@ 154 154 ))) 155 155 156 156 ((( 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.158 +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. 158 158 ))) 159 159 160 160 ... ... @@ -245,14 +245,14 @@ 245 245 246 246 **(bytes)** 247 247 )))|**2**|**2**|**2**|**2**|**1**|**1**|**1** 248 -|**Value**|[[BAT>> path:#H2.3.1BatteryInfo]]|(((249 -[[Temperature>> path:#H2.3.2DS18B20Temperaturesensor]]249 +|**Value**|[[BAT>>||anchor="2.3.1BatteryInfo"]]|((( 250 +[[Temperature>>||anchor="H2.3.2DS18B20Temperaturesensor"]] 250 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]]252 +[[(Optional)>>||anchor="H2.3.2DS18B20Temperaturesensor"]] 253 +)))|[[Soil pH>>||anchor="H2.3.3SoilpH"]]|[[Soil Temperature>>||anchor="H2.3.4SoilTemperature"]]|((( 254 +[[Digital Interrupt (Optional)>>||anchor="H2.3.5InterruptPin"]] 254 254 )))|Reserve|((( 255 -[[Message Type>> path:#H2.3.6MessageType]]256 +[[Message Type>>||anchor="H2.3.6MessageType"]] 256 256 ))) 257 257 258 258 [[image:1654592721645-318.png]] ... ... @@ -308,7 +308,7 @@ 308 308 309 309 === 2.3.5 Interrupt Pin === 310 310 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.312 +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. 312 312 313 313 314 314 **Example:** ... ... @@ -332,12 +332,10 @@ 332 332 333 333 (% border="1" cellspacing="10" style="background-color:#ffffcc; width:510px" %) 334 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]]336 +|0x01|Normal Uplink|[[Normal Uplink Payload>>||anchor="H2.3200BUplinkPayload"]] 337 +|0x02|Reply configures info|[[Configure Info Payload>>||anchor="H3.4GetFirmwareVersionInfo"]] 338 +|0x03|Reply Calibration Info|[[Calibration Payload>>||anchor="H2.7Calibration"]] 338 338 339 - 340 - 341 341 === 2.3.7 Decode payload in The Things Network === 342 342 343 343 While using TTN network, you can add the payload format to decode the payload. ... ... @@ -535,7 +535,7 @@ 535 535 536 536 Calibrate value 537 537 )))|Reserve|((( 538 -[[Message Type>> path:#H2.3.6MessageType]]537 +[[Message Type>>||anchor="H2.3.6MessageType"]] 539 539 540 540 Always 0x03 541 541 ))) ... ... @@ -549,7 +549,6 @@ 549 549 * Reply to non-confirmed packet: 14 00 550 550 551 551 552 - 553 553 == 2.8 Frequency Plans == 554 554 555 555 ((( ... ... @@ -635,8 +635,6 @@ 635 635 * 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) 636 636 637 637 638 - 639 - 640 640 === 2.8.3 CN470-510 (CN470) === 641 641 642 642 ((( ... ... @@ -746,7 +746,6 @@ 746 746 * Check what sub-band the LoRaWAN server ask from the OTAA Join Accept message and switch to that sub-band 747 747 * 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) 748 748 749 - 750 750 === 2.8.5 AS920-923 & AS923-925 (AS923) === 751 751 752 752 ((( ... ... @@ -990,7 +990,7 @@ 990 990 ))) 991 991 992 992 * ((( 993 -AT Command Connection: See [[FAQ>> path:#H6.FAQ]].988 +AT Command Connection: See [[FAQ>>||anchor="H6.FAQ"]]. 994 994 ))) 995 995 * ((( 996 996 LoRaWAN Downlink instruction for different platforms: [[IoT LoRaWAN Server>>path:/xwiki/bin/view/Main/]] ... ... @@ -1043,18 +1043,27 @@ 1043 1043 1044 1044 1045 1045 1041 +((( 1046 1046 (% style="color:#037691" %)**Downlink Command: 0x01** 1043 +))) 1047 1047 1045 +((( 1048 1048 Format: Command Code (0x01) followed by 3 bytes time value. 1047 +))) 1049 1049 1050 1050 ((( 1051 1051 If the downlink payload=0100003C, it means set the END Node’s Transmit Interval to 0x00003C=60(S), while type code is 01. 1052 1052 ))) 1053 1053 1054 -* Example 1: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds 1055 -* Example 2: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 1053 +* ((( 1054 +Example 1: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds 1055 +))) 1056 +* ((( 1057 +Example 2: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 1056 1056 1057 1057 1060 + 1061 +))) 1058 1058 1059 1059 == 3.2 Set Interrupt Mode == 1060 1060 ... ... @@ -1065,18 +1065,34 @@ 1065 1065 [[image:image-20220607171716-9.png]] 1066 1066 1067 1067 1072 +((( 1068 1068 (% style="color:#037691" %)**Downlink Command: 0x06** 1074 +))) 1069 1069 1076 +((( 1070 1070 Format: Command Code (0x06) followed by 3 bytes. 1078 +))) 1071 1071 1080 +((( 1072 1072 This means that the interrupt mode of the end node is set to 0x000003=3 (rising edge trigger), and the type code is 06. 1082 +))) 1073 1073 1074 -* Example 1: Downlink Payload: 06000000 ~/~/ Turn off interrupt mode 1075 -* Example 2: Downlink Payload: 06000003 ~/~/ Set the interrupt mode to rising edge trigger 1084 +* ((( 1085 +Example 1: Downlink Payload: 06000000 ~/~/ Turn off interrupt mode 1086 +))) 1087 +* ((( 1088 +Example 2: Downlink Payload: 06000003 ~/~/ Set the interrupt mode to rising edge trigger 1089 +))) 1076 1076 1091 +((( 1092 + 1093 +))) 1094 + 1095 + 1096 + 1077 1077 == 3.3 Calibrate Sensor == 1078 1078 1079 -Detail See [[Calibration Guide>> path:#H2.7Calibration]] for the user of 0x13 and 0x14 downlink commands1099 +Detail See [[Calibration Guide>>||anchor="H2.7Calibration"]] for the user of 0x13 and 0x14 downlink commands 1080 1080 1081 1081 1082 1082 ... ... @@ -1108,7 +1108,7 @@ 1108 1108 1109 1109 Version 1110 1110 )))|Sensor Type|Reserve|((( 1111 -[[Message Type>> path:#H2.3.6MessageType]]1131 +[[Message Type>>||anchor="H2.3.6MessageType"]] 1112 1112 Always 0x02 1113 1113 ))) 1114 1114 ... ... @@ -1248,9 +1248,13 @@ 1248 1248 1249 1249 === 4.3.2 Replace the battery === 1250 1250 1271 +((( 1251 1251 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. 1273 +))) 1252 1252 1275 +((( 1253 1253 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) 1277 +))) 1254 1254 1255 1255 1256 1256 ... ... @@ -1271,24 +1271,24 @@ 1271 1271 (% style="background-color:yellow" %)** USB TTL RXD <~-~-~-~-> UART_TXD** 1272 1272 1273 1273 1298 +((( 1274 1274 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: 1300 +))) 1275 1275 1276 1276 1277 1277 [[image:1654593712276-618.png]] 1278 1278 1279 -Valid AT Command please check [[Configure Device>> path:#H3.ConfigureLSPH01viaATCommandorLoRaWANDownlink]].1305 +Valid AT Command please check [[Configure Device>>||anchor="H3.ConfigureLSPH01viaATCommandorLoRaWANDownlink"]]. 1280 1280 1281 1281 1282 - 1283 1283 = 6. FAQ = 1284 1284 1285 1285 == 6.1 How to change the LoRa Frequency Bands/Region == 1286 1286 1287 -You can follow the instructions for [[how to upgrade image>> path:#H2.10200BFirmwareChangeLog]].1312 +You can follow the instructions for [[how to upgrade image>>||anchor="H2.10200BFirmwareChangeLog"]]. 1288 1288 When downloading the images, choose the required image file for download. 1289 1289 1290 1290 1291 - 1292 1292 = 7. Trouble Shooting = 1293 1293 1294 1294 == 7.1 AT Commands input doesn’t work == ... ... @@ -1296,7 +1296,6 @@ 1296 1296 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. 1297 1297 1298 1298 1299 - 1300 1300 = 8. Order Info = 1301 1301 1302 1302 Part Number: (% style="color:blue" %)**LSPH01-XX**