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 ... ... @@ -91,7 +91,6 @@ 91 91 * Smart Agriculture 92 92 93 93 94 - 95 95 == 1.5 Pin mapping and power on == 96 96 97 97 ... ... @@ -98,8 +98,10 @@ 98 98 [[image:1654592472094-134.png]] 99 99 100 100 101 + 101 101 = 2. Configure LSPH01 to connect to LoRaWAN network = 102 102 104 + 103 103 == 2.1 How it works == 104 104 105 105 ... ... @@ -112,6 +112,7 @@ 112 112 ))) 113 113 114 114 117 + 115 115 == 2.2 Quick guide to connect to LoRaWAN server (OTAA) == 116 116 117 117 ... ... @@ -187,6 +187,7 @@ 187 187 [[image:1654592697690-910.png]] 188 188 189 189 193 + 190 190 == 2.3 Uplink Payload == 191 191 192 192 ... ... @@ -204,8 +204,7 @@ 204 204 205 205 (% border="1" cellspacing="5" style="background-color:#ffffcc; width:470px" %) 206 206 |=(% style="width: 60px;" %)((( 207 -**Size(bytes)** 208 -)))|=(% 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** 211 +**Size (bytes)**)))|=(% 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** 209 209 |(% style="width:62.5px" %)**Value**|(% style="width:62.5px" %)[[BAT>>||anchor="H2.3.1BatteryInfo"]]|(% style="width:62.5px" %)((( 210 210 [[Temperature (Optional)>>||anchor="H2.3.2DS18B20Temperaturesensor"]] 211 211 )))|[[Soil pH>>||anchor="H2.3.3SoilpH"]]|[[Soil Temperature>>||anchor="H2.3.4SoilTemperature"]]|((( ... ... @@ -217,6 +217,7 @@ 217 217 [[image:1654592721645-318.png]] 218 218 219 219 223 + 220 220 === 2.3.1 Battery Info === 221 221 222 222 ... ... @@ -227,6 +227,7 @@ 227 227 Ex2: 0x0B49 = 2889mV 228 228 229 229 234 + 230 230 === 2.3.2 DS18B20 Temperature sensor === 231 231 232 232 ... ... @@ -240,6 +240,7 @@ 240 240 If payload is: FF3FH : (FF3F & FC00 == 1) , temp = (FF3FH - 65536)/10 = -19.3 degrees. 241 241 242 242 248 + 243 243 === 2.3.3 Soil pH === 244 244 245 245 ... ... @@ -250,6 +250,7 @@ 250 250 (% style="color:#037691" %)** 0x02B7(H) = 695(D) = 6.95pH** 251 251 252 252 259 + 253 253 === 2.3.4 Soil Temperature === 254 254 255 255 ... ... @@ -263,6 +263,7 @@ 263 263 If payload is: **FF3FH** : (FF3F & FC00 == 1) , temp = (FF3FH - 65536)/10 = -19.3 degrees. 264 264 265 265 273 + 266 266 === 2.3.5 Interrupt Pin === 267 267 268 268 ... ... @@ -276,6 +276,7 @@ 276 276 0x01: Interrupt Uplink Packet. 277 277 278 278 287 + 279 279 === 2.3.6 Message Type === 280 280 281 281 ... ... @@ -288,7 +288,7 @@ 288 288 ))) 289 289 290 290 291 -(% border="1" cellspacing=" 5" style="background-color:#ffffcc; width:496px" %)300 +(% border="1" cellspacing="10" style="background-color:#ffffcc; width:499px" %) 292 292 |=(% style="width: 160px;" %)**Message Type Code**|=(% style="width: 163px;" %)**Description**|=(% style="width: 173px;" %)**Payload** 293 293 |(% style="width:160px" %)0x01|(% style="width:163px" %)Normal Uplink|(% style="width:173px" %)[[Normal Uplink Payload>>||anchor="H2.3200BUplinkPayload"]] 294 294 |(% style="width:160px" %)0x02|(% style="width:163px" %)Reply configures info|(% style="width:173px" %)[[Configure Info Payload>>||anchor="H3.4GetFirmwareVersionInfo"]] ... ... @@ -298,7 +298,6 @@ 298 298 299 299 === 2.3.7 Decode payload in The Things Network === 300 300 301 - 302 302 While using TTN network, you can add the payload format to decode the payload. 303 303 304 304 ... ... @@ -313,6 +313,7 @@ 313 313 ))) 314 314 315 315 324 + 316 316 == 2.4 Uplink Interval == 317 317 318 318 ... ... @@ -319,6 +319,7 @@ 319 319 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"]] 320 320 321 321 331 + 322 322 == 2.5 Show Data in DataCake IoT Server == 323 323 324 324 ... ... @@ -352,6 +352,7 @@ 352 352 [[image:1654592819047-535.png]] 353 353 354 354 365 + 355 355 [[image:1654592833877-762.png]] 356 356 357 357 ... ... @@ -381,8 +381,10 @@ 381 381 [[image:1654592917530-261.png]] 382 382 383 383 395 + 384 384 == 2.6 Installation and Maintain == 385 385 398 + 386 386 === 2.6.1 Before measurement === 387 387 388 388 ... ... @@ -393,6 +393,7 @@ 393 393 ))) 394 394 395 395 409 + 396 396 === 2.6.2 Measurement === 397 397 398 398 ... ... @@ -439,6 +439,7 @@ 439 439 ))) 440 440 441 441 456 + 442 442 === 2.6.3 Maintain Probe === 443 443 444 444 ... ... @@ -480,16 +480,21 @@ 480 480 481 481 (% style="color:#037691" %)**Calibration Payload** 482 482 483 -(% border="1" cellspacing=" 5" style="background-color:#ffffcc; color:green; width:500px" %)484 -|=(% style="width: 6 0px;" %)(((498 +(% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:510px" %) 499 +|=(% style="width: 62.5px;" %)((( 485 485 **Size (bytes)** 486 -)))|=(% style="width: 100px;" %)**1**|=(% style="width:100px;" %)**1**|=(% style="width:100px;" %)**1**|=(% style="width:50px;" %)**7**|=(% style="width: 90px;" %)**1**501 +)))|=(% style="width: 89px;" %)**1**|=(% style="width: 89px;" %)**1**|=(% style="width: 89px;" %)**1**|=(% style="width: 89px;" %)**7**|=(% style="width: 89px;" %)**1** 487 487 |**Value**|((( 488 -PH4 Calibrate value 503 +PH4 504 + 505 +Calibrate value 489 489 )))|PH6.86 Calibrate value|((( 490 -PH9.18 Calibrate value 507 +PH9.18 508 + 509 +Calibrate value 491 491 )))|Reserve|((( 492 492 [[Message Type>>||anchor="H2.3.6MessageType"]] 512 + 493 493 Always 0x03 494 494 ))) 495 495 ... ... @@ -502,7 +502,6 @@ 502 502 * Reply to non-confirmed packet: 14 00 503 503 504 504 505 - 506 506 == 2.8 Frequency Plans == 507 507 508 508 ... ... @@ -511,6 +511,7 @@ 511 511 ))) 512 512 513 513 533 + 514 514 === 2.8.1 EU863-870 (EU868) === 515 515 516 516 ... ... @@ -571,6 +571,7 @@ 571 571 ))) 572 572 573 573 594 + 574 574 === 2.8.2 US902-928(US915) === 575 575 576 576 ... ... @@ -679,6 +679,7 @@ 679 679 ))) 680 680 681 681 703 + 682 682 === 2.8.4 AU915-928(AU915) === 683 683 684 684 ... ... @@ -811,6 +811,7 @@ 811 811 ))) 812 812 813 813 836 + 814 814 === 2.8.6 KR920-923 (KR920) === 815 815 816 816 ... ... @@ -883,6 +883,7 @@ 883 883 ))) 884 884 885 885 909 + 886 886 === 2.8.7 IN865-867 (IN865) === 887 887 888 888 ... ... @@ -919,6 +919,7 @@ 919 919 ))) 920 920 921 921 946 + 922 922 == 2.9 LED Indicator == 923 923 924 924 ... ... @@ -934,9 +934,11 @@ 934 934 935 935 **Firmware download link: **[[https:~~/~~/www.dropbox.com/sh/xtm5tw37mewaw99/AAD0uy06odmreQQ7vMzZYVIGa?dl=0>>https://www.dropbox.com/sh/xtm5tw37mewaw99/AAD0uy06odmreQQ7vMzZYVIGa?dl=0]] 936 936 962 + 937 937 **Firmware Upgrade Method: **[[Firmware Upgrade Instruction>>path:/xwiki/bin/view/Main/Firmware%20Upgrade%20Instruction%20for%20STM32%20base%20products/]] 938 938 939 939 966 + 940 940 = 3. Configure LSPH01 via AT Command or LoRaWAN Downlink = 941 941 942 942 ... ... @@ -987,6 +987,7 @@ 987 987 ))) 988 988 989 989 1017 + 990 990 == 3.1 Set Transmit Interval Time == 991 991 992 992 ... ... @@ -1006,16 +1006,17 @@ 1006 1006 ))) 1007 1007 1008 1008 ((( 1009 -If the downlink payload=0100003C, it means set the END Node 's Transmit Interval to 0x00003C=60(S), while type code is 01.1037 +If the downlink payload=0100003C, it means set the END Node’s Transmit Interval to 0x00003C=60(S), while type code is 01. 1010 1010 ))) 1011 1011 1012 1012 * ((( 1013 -Example 1: Downlink Payload: 0100001E 1041 +Example 1: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds 1014 1014 ))) 1015 1015 * ((( 1016 -Example 2: Downlink Payload: 0100003C 1044 +Example 2: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 1017 1017 1018 1018 1047 + 1019 1019 1020 1020 ))) 1021 1021 ... ... @@ -1042,10 +1042,10 @@ 1042 1042 ))) 1043 1043 1044 1044 * ((( 1045 -Example 1: Downlink Payload: 06000000 1074 +Example 1: Downlink Payload: 06000000 ~/~/ Turn off interrupt mode 1046 1046 ))) 1047 1047 * ((( 1048 -Example 2: Downlink Payload: 06000003 1077 +Example 2: Downlink Payload: 06000003 ~/~/ Set the interrupt mode to rising edge trigger 1049 1049 ))) 1050 1050 1051 1051 ((( ... ... @@ -1060,6 +1060,7 @@ 1060 1060 Detail See [[Calibration Guide>>||anchor="H2.7Calibration"]] for the user of 0x13 and 0x14 downlink commands 1061 1061 1062 1062 1092 + 1063 1063 == 3.4 Get Firmware Version Info == 1064 1064 1065 1065 ... ... @@ -1082,9 +1082,11 @@ 1082 1082 )))|=**1**|=**1**|=**1**|=**1**|=**1**|=**5**|=**1** 1083 1083 |**Value**|Software Type|((( 1084 1084 Frequency 1115 + 1085 1085 Band 1086 1086 )))|Sub-band|((( 1087 1087 Firmware 1119 + 1088 1088 Version 1089 1089 )))|Sensor Type|Reserve|((( 1090 1090 [[Message Type>>||anchor="H2.3.6MessageType"]] ... ... @@ -1140,16 +1140,114 @@ 1140 1140 0x07: LDDS12 1141 1141 1142 1142 1143 -= 4. Battery & Power Consumption = 1144 1144 1176 += 4. Battery & How to replace = 1145 1145 1146 -LSPH01 uses ER26500 + SPC1520 battery pack. See below link for detail information about the battery info and how to replace. 1147 1147 1148 - [[**BatteryInfo & Power Consumption Analyze**>>url:http://wiki.dragino.com/xwiki/bin/view/Main/How%20to%20calculate%20the%20battery%20life%20of%20Dragino%20sensors%3F/]].1179 +== 4.1 Battery Type == 1149 1149 1150 1150 1182 +((( 1183 +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. 1184 +))) 1185 + 1186 +((( 1187 +The discharge curve is not linear so can't simply use percentage to show the battery level. Below is the battery performance. 1188 + 1189 + 1190 +))) 1191 + 1192 +[[image:1654593587246-335.png]] 1193 + 1194 + 1195 +Minimum Working Voltage for the LSPH01: 1196 + 1197 +LSPH01: 2.45v ~~ 3.6v 1198 + 1199 + 1200 + 1201 +== 4.2 Replace Battery == 1202 + 1203 + 1204 +((( 1205 +Any battery with range 2.45 ~~ 3.6v can be a replacement. We recommend to use Li-SOCl2 Battery. 1206 +))) 1207 + 1208 +((( 1209 +And make sure the positive and negative pins match. 1210 +))) 1211 + 1212 + 1213 + 1214 +== 4.3 Power Consumption Analyze == 1215 + 1216 + 1217 +((( 1218 +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. 1219 +))) 1220 + 1221 +((( 1222 +Instruction to use as below: 1223 +))) 1224 + 1225 + 1226 +(% style="color:#037691" %)**Step 1**(%%): Downlink the up-to-date DRAGINO_Battery_Life_Prediction_Table.xlsx from: 1227 + 1228 +[[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/]] 1229 + 1230 + 1231 +(% style="color:#037691" %)**Step 2**(%%): Open it and choose 1232 + 1233 +* Product Model 1234 +* Uplink Interval 1235 +* Working Mode 1236 + 1237 +And the Life expectation in difference case will be shown on the right. 1238 + 1239 +[[image:1654593605679-189.png]] 1240 + 1241 + 1242 +The battery related documents as below: 1243 + 1244 +* ((( 1245 +[[Battery Dimension>>https://www.dragino.com/downloads/index.php?dir=datasheet/Battery/]], 1246 +))) 1247 +* ((( 1248 +[[Lithium-Thionyl Chloride Battery datasheet>>url:https://www.dragino.com/downloads/downloads/datasheet/Battery/ER26500/ER26500_Datasheet-EN.pdf]], 1249 +))) 1250 +* ((( 1251 +[[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/]] 1252 +))) 1253 + 1254 +[[image:image-20220607172042-11.png]] 1255 + 1256 + 1257 + 1258 +=== 4.3.1 Battery Note === 1259 + 1260 + 1261 +((( 1262 +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. 1263 +))) 1264 + 1265 + 1266 + 1267 +=== 4.3.2 Replace the battery === 1268 + 1269 + 1270 +((( 1271 +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. 1272 +))) 1273 + 1274 +((( 1275 +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) 1276 +))) 1277 + 1278 + 1279 + 1151 1151 = 5. Use AT Command = 1152 1152 1282 + 1153 1153 == 5.1 Access AT Commands == 1154 1154 1155 1155 ... ... @@ -1180,6 +1180,7 @@ 1180 1180 1181 1181 = 6. FAQ = 1182 1182 1313 + 1183 1183 == 6.1 How to change the LoRa Frequency Bands/Region == 1184 1184 1185 1185 ... ... @@ -1187,8 +1187,10 @@ 1187 1187 When downloading the images, choose the required image file for download. 1188 1188 1189 1189 1321 + 1190 1190 = 7. Trouble Shooting = 1191 1191 1324 + 1192 1192 == 7.1 AT Commands input doesn't work == 1193 1193 1194 1194 ... ... @@ -1195,6 +1195,7 @@ 1195 1195 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. 1196 1196 1197 1197 1331 + 1198 1198 = 8. Order Info = 1199 1199 1200 1200 ... ... @@ -1213,7 +1213,6 @@ 1213 1213 * (% style="color:red" %)**CN470**(%%): LoRaWAN CN470 band 1214 1214 1215 1215 1216 - 1217 1217 = 9. Packing Info = 1218 1218 1219 1219 ... ... @@ -1229,7 +1229,6 @@ 1229 1229 * Weight / pcs : g 1230 1230 1231 1231 1232 - 1233 1233 = 10. Support = 1234 1234 1235 1235
- image-20230426084737-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -190.0 KB - Content