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,14 @@ 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 + 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 101 + 95 95 = 2. Configure LSPH01 to connect to LoRaWAN network = 96 96 104 + 97 97 == 2.1 How it works == 98 98 99 99 ... ... @@ -106,6 +106,7 @@ 106 106 ))) 107 107 108 108 117 + 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" %)145 +[[image:image-20220607170145-1.jpeg]] 137 137 138 -(% style="display:none" %) (%%) 139 139 148 + 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 193 + 184 184 == 2.3 Uplink Payload == 185 185 186 186 ... ... @@ -196,10 +196,9 @@ 196 196 Normal uplink payload: 197 197 ))) 198 198 199 -(% border="1" cellspacing="5" style="background-color:#f 2f2f2; width:470px" %)209 +(% border="1" cellspacing="5" style="background-color:#ffffcc; width:470px" %) 200 200 |=(% style="width: 60px;" %)((( 201 -**Size(bytes)** 202 -)))|=(% 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** 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 223 + 214 214 === 2.3.1 Battery Info === 215 215 216 216 ... ... @@ -221,6 +221,7 @@ 221 221 Ex2: 0x0B49 = 2889mV 222 222 223 223 234 + 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 248 + 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 259 + 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 273 + 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 287 + 273 273 === 2.3.6 Message Type === 274 274 275 275 ... ... @@ -288,9 +288,10 @@ 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 291 -=== 2.3.7 Decode payload in The Things Network === 292 292 293 293 308 +=== 2.3.7 Decode payload in The Things Network === 309 + 294 294 While using TTN network, you can add the payload format to decode the payload. 295 295 296 296 ... ... @@ -305,6 +305,7 @@ 305 305 ))) 306 306 307 307 324 + 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 331 + 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 365 + 347 347 [[image:1654592833877-762.png]] 348 348 349 349 ... ... @@ -373,8 +373,10 @@ 373 373 [[image:1654592917530-261.png]] 374 374 375 375 395 + 376 376 == 2.6 Installation and Maintain == 377 377 398 + 378 378 === 2.6.1 Before measurement === 379 379 380 380 ... ... @@ -385,6 +385,7 @@ 385 385 ))) 386 386 387 387 409 + 388 388 === 2.6.2 Measurement === 389 389 390 390 ... ... @@ -431,6 +431,7 @@ 431 431 ))) 432 432 433 433 456 + 434 434 === 2.6.3 Maintain Probe === 435 435 436 436 ... ... @@ -475,7 +475,7 @@ 475 475 (% border="1" cellspacing="5" style="background-color:#ffffcc; color:green; width:500px" %) 476 476 |=(% style="width: 60px;" %)((( 477 477 **Size (bytes)** 478 -)))|=(% style="width: 10 0px;" %)**1**|=(% style="width:100px;" %)**1**|=(% style="width: 100px;" %)**1**|=(% style="width: 50px;" %)**7**|=(% style="width: 90px;" %)**1**501 +)))|=(% style="width: 110px;" %)**1**|=(% style="width: 90px;" %)**1**|=(% style="width: 100px;" %)**1**|=(% style="width: 50px;" %)**7**|=(% style="width: 90px;" %)**1** 479 479 |**Value**|((( 480 480 PH4 Calibrate value 481 481 )))|PH6.86 Calibrate value|((( ... ... @@ -493,6 +493,7 @@ 493 493 * Reply to the confirmation package: 14 01 494 494 * Reply to non-confirmed packet: 14 00 495 495 519 + 496 496 == 2.8 Frequency Plans == 497 497 498 498 ... ... @@ -501,6 +501,7 @@ 501 501 ))) 502 502 503 503 528 + 504 504 === 2.8.1 EU863-870 (EU868) === 505 505 506 506 ... ... @@ -561,6 +561,7 @@ 561 561 ))) 562 562 563 563 589 + 564 564 === 2.8.2 US902-928(US915) === 565 565 566 566 ... ... @@ -579,6 +579,8 @@ 579 579 * Check what sub-band the LoRaWAN server ask from the OTAA Join Accept message and switch to that sub-band 580 580 * 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) 581 581 608 + 609 + 582 582 === 2.8.3 CN470-510 (CN470) === 583 583 584 584 ... ... @@ -667,6 +667,7 @@ 667 667 ))) 668 668 669 669 698 + 670 670 === 2.8.4 AU915-928(AU915) === 671 671 672 672 ... ... @@ -689,6 +689,8 @@ 689 689 * Check what sub-band the LoRaWAN server ask from the OTAA Join Accept message and switch to that sub-band 690 690 * 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) 691 691 721 + 722 + 692 692 === 2.8.5 AS920-923 & AS923-925 (AS923) === 693 693 694 694 ... ... @@ -797,6 +797,7 @@ 797 797 ))) 798 798 799 799 831 + 800 800 === 2.8.6 KR920-923 (KR920) === 801 801 802 802 ... ... @@ -869,6 +869,7 @@ 869 869 ))) 870 870 871 871 904 + 872 872 === 2.8.7 IN865-867 (IN865) === 873 873 874 874 ... ... @@ -905,6 +905,7 @@ 905 905 ))) 906 906 907 907 941 + 908 908 == 2.9 LED Indicator == 909 909 910 910 ... ... @@ -913,14 +913,18 @@ 913 913 * The sensor is detected when the device is turned on, and it will flash 4 times quickly when it is detected. 914 914 * Blink once when device transmit a packet. 915 915 950 + 951 + 916 916 == 2.10 Firmware Change Log == 917 917 918 918 919 919 **Firmware download link: **[[https:~~/~~/www.dropbox.com/sh/xtm5tw37mewaw99/AAD0uy06odmreQQ7vMzZYVIGa?dl=0>>https://www.dropbox.com/sh/xtm5tw37mewaw99/AAD0uy06odmreQQ7vMzZYVIGa?dl=0]] 920 920 957 + 921 921 **Firmware Upgrade Method: **[[Firmware Upgrade Instruction>>path:/xwiki/bin/view/Main/Firmware%20Upgrade%20Instruction%20for%20STM32%20base%20products/]] 922 922 923 923 961 + 924 924 = 3. Configure LSPH01 via AT Command or LoRaWAN Downlink = 925 925 926 926 ... ... @@ -971,6 +971,7 @@ 971 971 ))) 972 972 973 973 1012 + 974 974 == 3.1 Set Transmit Interval Time == 975 975 976 976 ... ... @@ -990,16 +990,17 @@ 990 990 ))) 991 991 992 992 ((( 993 -If the downlink payload=0100003C, it means set the END Node 's Transmit Interval to 0x00003C=60(S), while type code is 01.1032 +If the downlink payload=0100003C, it means set the END Node’s Transmit Interval to 0x00003C=60(S), while type code is 01. 994 994 ))) 995 995 996 996 * ((( 997 -Example 1: Downlink Payload: 0100001E 1036 +Example 1: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds 998 998 ))) 999 999 * ((( 1000 -Example 2: Downlink Payload: 0100003C 1039 +Example 2: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 1001 1001 1002 1002 1042 + 1003 1003 1004 1004 ))) 1005 1005 ... ... @@ -1026,10 +1026,10 @@ 1026 1026 ))) 1027 1027 1028 1028 * ((( 1029 -Example 1: Downlink Payload: 06000000 1069 +Example 1: Downlink Payload: 06000000 ~/~/ Turn off interrupt mode 1030 1030 ))) 1031 1031 * ((( 1032 -Example 2: Downlink Payload: 06000003 1072 +Example 2: Downlink Payload: 06000003 ~/~/ Set the interrupt mode to rising edge trigger 1033 1033 ))) 1034 1034 1035 1035 ((( ... ... @@ -1044,6 +1044,7 @@ 1044 1044 Detail See [[Calibration Guide>>||anchor="H2.7Calibration"]] for the user of 0x13 and 0x14 downlink commands 1045 1045 1046 1046 1087 + 1047 1047 == 3.4 Get Firmware Version Info == 1048 1048 1049 1049 ... ... @@ -1066,9 +1066,11 @@ 1066 1066 )))|=**1**|=**1**|=**1**|=**1**|=**1**|=**5**|=**1** 1067 1067 |**Value**|Software Type|((( 1068 1068 Frequency 1110 + 1069 1069 Band 1070 1070 )))|Sub-band|((( 1071 1071 Firmware 1114 + 1072 1072 Version 1073 1073 )))|Sensor Type|Reserve|((( 1074 1074 [[Message Type>>||anchor="H2.3.6MessageType"]] ... ... @@ -1124,16 +1124,114 @@ 1124 1124 0x07: LDDS12 1125 1125 1126 1126 1127 -= 4. Battery & Power Consumption = 1128 1128 1171 += 4. Battery & How to replace = 1129 1129 1130 -LSPH01 uses ER26500 + SPC1520 battery pack. See below link for detail information about the battery info and how to replace. 1131 1131 1132 - [[**BatteryInfo & Power Consumption Analyze**>>url:http://wiki.dragino.com/xwiki/bin/view/Main/How%20to%20calculate%20the%20battery%20life%20of%20Dragino%20sensors%3F/]].1174 +== 4.1 Battery Type == 1133 1133 1134 1134 1177 +((( 1178 +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. 1179 +))) 1180 + 1181 +((( 1182 +The discharge curve is not linear so can't simply use percentage to show the battery level. Below is the battery performance. 1183 + 1184 + 1185 +))) 1186 + 1187 +[[image:1654593587246-335.png]] 1188 + 1189 + 1190 +Minimum Working Voltage for the LSPH01: 1191 + 1192 +LSPH01: 2.45v ~~ 3.6v 1193 + 1194 + 1195 + 1196 +== 4.2 Replace Battery == 1197 + 1198 + 1199 +((( 1200 +Any battery with range 2.45 ~~ 3.6v can be a replacement. We recommend to use Li-SOCl2 Battery. 1201 +))) 1202 + 1203 +((( 1204 +And make sure the positive and negative pins match. 1205 +))) 1206 + 1207 + 1208 + 1209 +== 4.3 Power Consumption Analyze == 1210 + 1211 + 1212 +((( 1213 +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. 1214 +))) 1215 + 1216 +((( 1217 +Instruction to use as below: 1218 +))) 1219 + 1220 + 1221 +(% style="color:#037691" %)**Step 1**(%%): Downlink the up-to-date DRAGINO_Battery_Life_Prediction_Table.xlsx from: 1222 + 1223 +[[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/]] 1224 + 1225 + 1226 +(% style="color:#037691" %)**Step 2**(%%): Open it and choose 1227 + 1228 +* Product Model 1229 +* Uplink Interval 1230 +* Working Mode 1231 + 1232 +And the Life expectation in difference case will be shown on the right. 1233 + 1234 +[[image:1654593605679-189.png]] 1235 + 1236 + 1237 +The battery related documents as below: 1238 + 1239 +* ((( 1240 +[[Battery Dimension>>https://www.dragino.com/downloads/index.php?dir=datasheet/Battery/]], 1241 +))) 1242 +* ((( 1243 +[[Lithium-Thionyl Chloride Battery datasheet>>url:https://www.dragino.com/downloads/downloads/datasheet/Battery/ER26500/ER26500_Datasheet-EN.pdf]], 1244 +))) 1245 +* ((( 1246 +[[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/]] 1247 +))) 1248 + 1249 +[[image:image-20220607172042-11.png]] 1250 + 1251 + 1252 + 1253 +=== 4.3.1 Battery Note === 1254 + 1255 + 1256 +((( 1257 +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. 1258 +))) 1259 + 1260 + 1261 + 1262 +=== 4.3.2 Replace the battery === 1263 + 1264 + 1265 +((( 1266 +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. 1267 +))) 1268 + 1269 +((( 1270 +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) 1271 +))) 1272 + 1273 + 1274 + 1135 1135 = 5. Use AT Command = 1136 1136 1277 + 1137 1137 == 5.1 Access AT Commands == 1138 1138 1139 1139 ... ... @@ -1164,6 +1164,7 @@ 1164 1164 1165 1165 = 6. FAQ = 1166 1166 1308 + 1167 1167 == 6.1 How to change the LoRa Frequency Bands/Region == 1168 1168 1169 1169 ... ... @@ -1171,8 +1171,10 @@ 1171 1171 When downloading the images, choose the required image file for download. 1172 1172 1173 1173 1316 + 1174 1174 = 7. Trouble Shooting = 1175 1175 1319 + 1176 1176 == 7.1 AT Commands input doesn't work == 1177 1177 1178 1178 ... ... @@ -1179,6 +1179,7 @@ 1179 1179 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. 1180 1180 1181 1181 1326 + 1182 1182 = 8. Order Info = 1183 1183 1184 1184 ... ... @@ -1196,6 +1196,7 @@ 1196 1196 * (% style="color:red" %)**IN865**(%%): LoRaWAN IN865 band 1197 1197 * (% style="color:red" %)**CN470**(%%): LoRaWAN CN470 band 1198 1198 1344 + 1199 1199 = 9. Packing Info = 1200 1200 1201 1201 ... ... @@ -1210,8 +1210,11 @@ 1210 1210 * Package Size / pcs : cm 1211 1211 * Weight / pcs : g 1212 1212 1359 + 1213 1213 = 10. Support = 1214 1214 1215 1215 1216 1216 * 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. 1217 1217 * 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]]. 1365 + 1366 +
- image-20230426084737-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -190.0 KB - Content