Changes for page LSPH01 -- LoRaWAN Soil pH Sensor User Manual
Last modified by Bei Jinggeng on 2024/08/02 17:52
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 1 removed)
Details
- Page properties
-
- Content
-
... ... @@ -16,6 +16,7 @@ 16 16 17 17 = 1. Introduction = 18 18 19 + 19 19 == 1.1 What is LoRaWAN Soil pH Sensor == 20 20 21 21 ... ... @@ -61,6 +61,8 @@ 61 61 * IP68 rate for the Sensor Probe 62 62 * 8500mAh Battery for long term use 63 63 65 + 66 + 64 64 == 1.3 Probe Specification == 65 65 66 66 ... ... @@ -81,11 +81,15 @@ 81 81 * IP68 Protection 82 82 * Length: 3.5 meters 83 83 87 + 88 + 84 84 == 1.4 Applications == 85 85 86 86 87 87 * Smart Agriculture 88 88 94 + 95 + 89 89 == 1.5 Pin mapping and power on == 90 90 91 91 ... ... @@ -92,8 +92,10 @@ 92 92 [[image:1654592472094-134.png]] 93 93 94 94 102 + 95 95 = 2. Configure LSPH01 to connect to LoRaWAN network = 96 96 105 + 97 97 == 2.1 How it works == 98 98 99 99 ... ... @@ -106,6 +106,7 @@ 106 106 ))) 107 107 108 108 118 + 109 109 == 2.2 Quick guide to connect to LoRaWAN server (OTAA) == 110 110 111 111 ... ... @@ -133,10 +133,10 @@ 133 133 Each LSPH01 is shipped with a sticker with the default device EUI as below: 134 134 ))) 135 135 136 -[[image:image-202 30426084737-1.png||height="246" width="530"]](% style="display:none" %)146 +[[image:image-20220607170145-1.jpeg]] 137 137 138 -(% style="display:none" %) (%%) 139 139 149 + 140 140 You can enter this key in the LoRaWAN Server portal. Below is TTN screen shot: 141 141 142 142 ... ... @@ -181,6 +181,7 @@ 181 181 [[image:1654592697690-910.png]] 182 182 183 183 194 + 184 184 == 2.3 Uplink Payload == 185 185 186 186 ... ... @@ -196,10 +196,10 @@ 196 196 Normal uplink payload: 197 197 ))) 198 198 199 -(% border="1" cellspacing="5" style="background-color:#f 2f2f2; width:470px" %)200 -|=(% style="width: 60px; background-color:#D9E2F3;color:#0070C0" %)(((210 +(% border="1" cellspacing="5" style="background-color:#ffffcc; width:470px" %) 211 +|=(% style="width: 60px;" %)((( 201 201 **Size(bytes)** 202 -)))|=(% style="width: 30px; background-color:#D9E2F3;color:#0070C0" %)**2**|=(% style="width: 70px;background-color:#D9E2F3;color:#0070C0" %)**2**|=(% style="width: 50px;background-color:#D9E2F3;color:#0070C0" %)**2**|=(% style="width: 60px;background-color:#D9E2F3;color:#0070C0" %)**2**|=(% style="width: 70px;background-color:#D9E2F3;color:#0070C0" %)**1**|=(% style="width: 50px;background-color:#D9E2F3;color:#0070C0" %)**1**|=(% style="width: 80px;background-color:#D9E2F3;color:#0070C0" %)**1**213 +)))|=(% style="width: 30px;" %)**2**|=(% style="width: 70px;" %)**2**|=(% style="width: 50px;" %)**2**|=(% style="width: 60px;" %)**2**|=(% style="width: 70px;" %)**1**|=(% style="width: 50px;" %)**1**|=(% style="width: 80px;" %)**1** 203 203 |(% style="width:62.5px" %)**Value**|(% style="width:62.5px" %)[[BAT>>||anchor="H2.3.1BatteryInfo"]]|(% style="width:62.5px" %)((( 204 204 [[Temperature (Optional)>>||anchor="H2.3.2DS18B20Temperaturesensor"]] 205 205 )))|[[Soil pH>>||anchor="H2.3.3SoilpH"]]|[[Soil Temperature>>||anchor="H2.3.4SoilTemperature"]]|((( ... ... @@ -211,6 +211,7 @@ 211 211 [[image:1654592721645-318.png]] 212 212 213 213 225 + 214 214 === 2.3.1 Battery Info === 215 215 216 216 ... ... @@ -221,6 +221,7 @@ 221 221 Ex2: 0x0B49 = 2889mV 222 222 223 223 236 + 224 224 === 2.3.2 DS18B20 Temperature sensor === 225 225 226 226 ... ... @@ -234,6 +234,7 @@ 234 234 If payload is: FF3FH : (FF3F & FC00 == 1) , temp = (FF3FH - 65536)/10 = -19.3 degrees. 235 235 236 236 250 + 237 237 === 2.3.3 Soil pH === 238 238 239 239 ... ... @@ -244,6 +244,7 @@ 244 244 (% style="color:#037691" %)** 0x02B7(H) = 695(D) = 6.95pH** 245 245 246 246 261 + 247 247 === 2.3.4 Soil Temperature === 248 248 249 249 ... ... @@ -257,6 +257,7 @@ 257 257 If payload is: **FF3FH** : (FF3F & FC00 == 1) , temp = (FF3FH - 65536)/10 = -19.3 degrees. 258 258 259 259 275 + 260 260 === 2.3.5 Interrupt Pin === 261 261 262 262 ... ... @@ -270,6 +270,7 @@ 270 270 0x01: Interrupt Uplink Packet. 271 271 272 272 289 + 273 273 === 2.3.6 Message Type === 274 274 275 275 ... ... @@ -282,12 +282,14 @@ 282 282 ))) 283 283 284 284 285 -(% border="1" cellspacing="5" style="background-color:#f 2f2f2; width:496px" %)286 -|=(% style="width: 160px; background-color:#D9E2F3;color:#0070C0" %)**Message Type Code**|=(% style="width: 163px;background-color:#D9E2F3;color:#0070C0" %)**Description**|=(% style="width: 173px;background-color:#D9E2F3;color:#0070C0" %)**Payload**302 +(% border="1" cellspacing="5" style="background-color:#ffffcc; width:496px" %) 303 +|=(% style="width: 160px;" %)**Message Type Code**|=(% style="width: 163px;" %)**Description**|=(% style="width: 173px;" %)**Payload** 287 287 |(% style="width:160px" %)0x01|(% style="width:163px" %)Normal Uplink|(% style="width:173px" %)[[Normal Uplink Payload>>||anchor="H2.3200BUplinkPayload"]] 288 288 |(% style="width:160px" %)0x02|(% style="width:163px" %)Reply configures info|(% style="width:173px" %)[[Configure Info Payload>>||anchor="H3.4GetFirmwareVersionInfo"]] 289 289 |(% style="width:160px" %)0x03|(% style="width:163px" %)Reply Calibration Info|(% style="width:173px" %)[[Calibration Payload>>||anchor="H2.7Calibration"]] 290 290 308 + 309 + 291 291 === 2.3.7 Decode payload in The Things Network === 292 292 293 293 ... ... @@ -305,6 +305,7 @@ 305 305 ))) 306 306 307 307 327 + 308 308 == 2.4 Uplink Interval == 309 309 310 310 ... ... @@ -311,6 +311,7 @@ 311 311 The LSPH01 by default uplink the sensor data every 20 minutes. User can change this interval by AT Command or LoRaWAN Downlink Command. See this link: [[Change Uplink Interval>>doc:Main.End Device AT Commands and Downlink Command.WebHome||anchor="H4.1ChangeUplinkInterval"]] 312 312 313 313 334 + 314 314 == 2.5 Show Data in DataCake IoT Server == 315 315 316 316 ... ... @@ -344,6 +344,7 @@ 344 344 [[image:1654592819047-535.png]] 345 345 346 346 368 + 347 347 [[image:1654592833877-762.png]] 348 348 349 349 ... ... @@ -373,8 +373,10 @@ 373 373 [[image:1654592917530-261.png]] 374 374 375 375 398 + 376 376 == 2.6 Installation and Maintain == 377 377 401 + 378 378 === 2.6.1 Before measurement === 379 379 380 380 ... ... @@ -385,6 +385,7 @@ 385 385 ))) 386 386 387 387 412 + 388 388 === 2.6.2 Measurement === 389 389 390 390 ... ... @@ -431,6 +431,7 @@ 431 431 ))) 432 432 433 433 459 + 434 434 === 2.6.3 Maintain Probe === 435 435 436 436 ... ... @@ -465,32 +465,7 @@ 465 465 466 466 ((( 467 467 After stable, user can use below command to calibrate. 468 - 469 -(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:520px" %) 470 -|(% style="width:149px;background-color:#D9E2F3;color:#0070C0" %)**pH buffer solution**|(% style="width:197px;background-color:#D9E2F3;color:#0070C0" %)**AT Command to calibrate**|(% style="width:206px;background-color:#D9E2F3;color:#0070C0" %)**Downlink Command**|(% style="width:136px;background-color:#D9E2F3;color:#0070C0" %)**Read Cal Value** 471 -|(% style="width:149px" %)4.00|(% style="width:197px" %)AT+PHCAL=4|(% style="width:206px" %)((( 472 -0x13 04 473 -Reply with Calibrate payload 474 -)))|(% style="width:136px" %)((( 475 -AT+PHCAL=? 476 -Example 41,61,91 477 477 ))) 478 -|(% style="width:149px" %)6.86|(% style="width:197px" %)AT+PHCAL=6|(% style="width:206px" %)((( 479 -0x13 06 480 -Reply with Calibrate payload 481 -)))|(% style="width:136px" %)AT+PHCAL=? 482 -|(% style="width:149px" %)9.18|(% style="width:197px" %)AT+PHCAL=9|(% style="width:206px" %)((( 483 -0x13 09 484 -Reply with Calibrate payload 485 -)))|(% style="width:136px" %)AT+PHCAL=? 486 -|(% style="width:149px" %)Factory Default|(% style="width:197px" %)AT+PHCAL=15|(% style="width:206px" %)((( 487 -0x13 15 488 -Reply with Calibrate payload 489 -)))|(% style="width:136px" %)((( 490 -AT+PHCAL=? 491 -Example 151 492 -))) 493 -))) 494 494 495 495 [[image:image-20220607171149-4.png]] 496 496 ... ... @@ -518,6 +518,8 @@ 518 518 * Reply to the confirmation package: 14 01 519 519 * Reply to non-confirmed packet: 14 00 520 520 522 + 523 + 521 521 == 2.8 Frequency Plans == 522 522 523 523 ... ... @@ -526,6 +526,7 @@ 526 526 ))) 527 527 528 528 532 + 529 529 === 2.8.1 EU863-870 (EU868) === 530 530 531 531 ... ... @@ -586,6 +586,7 @@ 586 586 ))) 587 587 588 588 593 + 589 589 === 2.8.2 US902-928(US915) === 590 590 591 591 ... ... @@ -604,6 +604,8 @@ 604 604 * Check what sub-band the LoRaWAN server ask from the OTAA Join Accept message and switch to that sub-band 605 605 * 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) 606 606 612 + 613 + 607 607 === 2.8.3 CN470-510 (CN470) === 608 608 609 609 ... ... @@ -692,6 +692,7 @@ 692 692 ))) 693 693 694 694 702 + 695 695 === 2.8.4 AU915-928(AU915) === 696 696 697 697 ... ... @@ -714,6 +714,8 @@ 714 714 * Check what sub-band the LoRaWAN server ask from the OTAA Join Accept message and switch to that sub-band 715 715 * 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) 716 716 725 + 726 + 717 717 === 2.8.5 AS920-923 & AS923-925 (AS923) === 718 718 719 719 ... ... @@ -822,6 +822,7 @@ 822 822 ))) 823 823 824 824 835 + 825 825 === 2.8.6 KR920-923 (KR920) === 826 826 827 827 ... ... @@ -894,6 +894,7 @@ 894 894 ))) 895 895 896 896 908 + 897 897 === 2.8.7 IN865-867 (IN865) === 898 898 899 899 ... ... @@ -930,6 +930,7 @@ 930 930 ))) 931 931 932 932 945 + 933 933 == 2.9 LED Indicator == 934 934 935 935 ... ... @@ -938,14 +938,18 @@ 938 938 * The sensor is detected when the device is turned on, and it will flash 4 times quickly when it is detected. 939 939 * Blink once when device transmit a packet. 940 940 954 + 955 + 941 941 == 2.10 Firmware Change Log == 942 942 943 943 944 944 **Firmware download link: **[[https:~~/~~/www.dropbox.com/sh/xtm5tw37mewaw99/AAD0uy06odmreQQ7vMzZYVIGa?dl=0>>https://www.dropbox.com/sh/xtm5tw37mewaw99/AAD0uy06odmreQQ7vMzZYVIGa?dl=0]] 945 945 961 + 946 946 **Firmware Upgrade Method: **[[Firmware Upgrade Instruction>>path:/xwiki/bin/view/Main/Firmware%20Upgrade%20Instruction%20for%20STM32%20base%20products/]] 947 947 948 948 965 + 949 949 = 3. Configure LSPH01 via AT Command or LoRaWAN Downlink = 950 950 951 951 ... ... @@ -996,6 +996,7 @@ 996 996 ))) 997 997 998 998 1016 + 999 999 == 3.1 Set Transmit Interval Time == 1000 1000 1001 1001 ... ... @@ -1015,16 +1015,17 @@ 1015 1015 ))) 1016 1016 1017 1017 ((( 1018 -If the downlink payload=0100003C, it means set the END Node 's Transmit Interval to 0x00003C=60(S), while type code is 01.1036 +If the downlink payload=0100003C, it means set the END Node’s Transmit Interval to 0x00003C=60(S), while type code is 01. 1019 1019 ))) 1020 1020 1021 1021 * ((( 1022 -Example 1: Downlink Payload: 0100001E 1040 +Example 1: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds 1023 1023 ))) 1024 1024 * ((( 1025 -Example 2: Downlink Payload: 0100003C 1043 +Example 2: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 1026 1026 1027 1027 1046 + 1028 1028 1029 1029 ))) 1030 1030 ... ... @@ -1051,10 +1051,10 @@ 1051 1051 ))) 1052 1052 1053 1053 * ((( 1054 -Example 1: Downlink Payload: 06000000 1073 +Example 1: Downlink Payload: 06000000 ~/~/ Turn off interrupt mode 1055 1055 ))) 1056 1056 * ((( 1057 -Example 2: Downlink Payload: 06000003 1076 +Example 2: Downlink Payload: 06000003 ~/~/ Set the interrupt mode to rising edge trigger 1058 1058 ))) 1059 1059 1060 1060 ((( ... ... @@ -1069,6 +1069,7 @@ 1069 1069 Detail See [[Calibration Guide>>||anchor="H2.7Calibration"]] for the user of 0x13 and 0x14 downlink commands 1070 1070 1071 1071 1091 + 1072 1072 == 3.4 Get Firmware Version Info == 1073 1073 1074 1074 ... ... @@ -1100,6 +1100,8 @@ 1100 1100 Always 0x02 1101 1101 ))) 1102 1102 1123 + 1124 + 1103 1103 (% style="color:#037691" %)**Software Type**(%%): Always 0x03 for LSPH01 1104 1104 1105 1105 ... ... @@ -1149,16 +1149,114 @@ 1149 1149 0x07: LDDS12 1150 1150 1151 1151 1152 -= 4. Battery & Power Consumption = 1153 1153 1175 += 4. Battery & How to replace = 1154 1154 1155 -LSPH01 uses ER26500 + SPC1520 battery pack. See below link for detail information about the battery info and how to replace. 1156 1156 1157 - [[**BatteryInfo & Power Consumption Analyze**>>url:http://wiki.dragino.com/xwiki/bin/view/Main/How%20to%20calculate%20the%20battery%20life%20of%20Dragino%20sensors%3F/]].1178 +== 4.1 Battery Type == 1158 1158 1159 1159 1181 +((( 1182 +LSPH01 is equipped with a [[8500mAH ER26500 Li-SOCI2 battery>>url:https://www.dragino.com/downloads/index.php?dir=datasheet/Battery/ER26500/]]. The battery is un-rechargeable battery with low discharge rate targeting for 8~~10 years use. This type of battery is commonly used in IoT target for long-term running, such as water meter. 1183 +))) 1184 + 1185 +((( 1186 +The discharge curve is not linear so can't simply use percentage to show the battery level. Below is the battery performance. 1187 + 1188 + 1189 +))) 1190 + 1191 +[[image:1654593587246-335.png]] 1192 + 1193 + 1194 +Minimum Working Voltage for the LSPH01: 1195 + 1196 +LSPH01: 2.45v ~~ 3.6v 1197 + 1198 + 1199 + 1200 +== 4.2 Replace Battery == 1201 + 1202 + 1203 +((( 1204 +Any battery with range 2.45 ~~ 3.6v can be a replacement. We recommend to use Li-SOCl2 Battery. 1205 +))) 1206 + 1207 +((( 1208 +And make sure the positive and negative pins match. 1209 +))) 1210 + 1211 + 1212 + 1213 +== 4.3 Power Consumption Analyze == 1214 + 1215 + 1216 +((( 1217 +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. 1218 +))) 1219 + 1220 +((( 1221 +Instruction to use as below: 1222 +))) 1223 + 1224 + 1225 +(% style="color:#037691" %)**Step 1**(%%): Downlink the up-to-date DRAGINO_Battery_Life_Prediction_Table.xlsx from: 1226 + 1227 +[[https:~~/~~/www.dragino.com/downloads/index.pHp?dir=LoRa_End_Node/Battery_Analyze/>>url:https://www.dragino.com/downloads/index.php?dir=LoRa_End_Node/Battery_Analyze/]] 1228 + 1229 + 1230 +(% style="color:#037691" %)**Step 2**(%%): Open it and choose 1231 + 1232 +* Product Model 1233 +* Uplink Interval 1234 +* Working Mode 1235 + 1236 +And the Life expectation in difference case will be shown on the right. 1237 + 1238 +[[image:1654593605679-189.png]] 1239 + 1240 + 1241 +The battery related documents as below: 1242 + 1243 +* ((( 1244 +[[Battery Dimension>>https://www.dragino.com/downloads/index.php?dir=datasheet/Battery/]], 1245 +))) 1246 +* ((( 1247 +[[Lithium-Thionyl Chloride Battery datasheet>>url:https://www.dragino.com/downloads/downloads/datasheet/Battery/ER26500/ER26500_Datasheet-EN.pdf]], 1248 +))) 1249 +* ((( 1250 +[[Lithium-ion Battery-Capacitor datasheet>>https://www.dragino.com/downloads/index.php?dir=datasheet/Battery/]], [[Tech Spec>>https://www.dragino.com/downloads/index.php?dir=datasheet/Battery/]] 1251 +))) 1252 + 1253 +[[image:image-20220607172042-11.png]] 1254 + 1255 + 1256 + 1257 +=== 4.3.1 Battery Note === 1258 + 1259 + 1260 +((( 1261 +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. 1262 +))) 1263 + 1264 + 1265 + 1266 +=== 4.3.2 Replace the battery === 1267 + 1268 + 1269 +((( 1270 +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. 1271 +))) 1272 + 1273 +((( 1274 +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) 1275 +))) 1276 + 1277 + 1278 + 1160 1160 = 5. Use AT Command = 1161 1161 1281 + 1162 1162 == 5.1 Access AT Commands == 1163 1163 1164 1164 ... ... @@ -1189,6 +1189,7 @@ 1189 1189 1190 1190 = 6. FAQ = 1191 1191 1312 + 1192 1192 == 6.1 How to change the LoRa Frequency Bands/Region == 1193 1193 1194 1194 ... ... @@ -1196,8 +1196,10 @@ 1196 1196 When downloading the images, choose the required image file for download. 1197 1197 1198 1198 1320 + 1199 1199 = 7. Trouble Shooting = 1200 1200 1323 + 1201 1201 == 7.1 AT Commands input doesn't work == 1202 1202 1203 1203 ... ... @@ -1204,6 +1204,7 @@ 1204 1204 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. 1205 1205 1206 1206 1330 + 1207 1207 = 8. Order Info = 1208 1208 1209 1209 ... ... @@ -1221,6 +1221,8 @@ 1221 1221 * (% style="color:red" %)**IN865**(%%): LoRaWAN IN865 band 1222 1222 * (% style="color:red" %)**CN470**(%%): LoRaWAN CN470 band 1223 1223 1348 + 1349 + 1224 1224 = 9. Packing Info = 1225 1225 1226 1226 ... ... @@ -1235,8 +1235,12 @@ 1235 1235 * Package Size / pcs : cm 1236 1236 * Weight / pcs : g 1237 1237 1364 + 1365 + 1238 1238 = 10. Support = 1239 1239 1240 1240 1241 1241 * Support is provided Monday to Friday, from 09:00 to 18:00 GMT+8. Due to different timezones we cannot offer live support. However, your questions will be answered as soon as possible in the before-mentioned schedule. 1242 1242 * Provide as much information as possible regarding your enquiry (product models, accurately describe your problem and steps to replicate it etc) and send a mail to [[support@dragino.com>>url:http://../../../../../../D:%5C%E5%B8%82%E5%9C%BA%E8%B5%84%E6%96%99%5C%E8%AF%B4%E6%98%8E%E4%B9%A6%5CLoRa%5CLT%E7%B3%BB%E5%88%97%5Csupport@dragino.com]]. 1371 + 1372 +
- image-20230426084737-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -190.0 KB - Content