Changes for page LSN50v2-D20-D22-D23 LoRaWAN Temperature Sensor User Manual
Last modified by Xiaoling on 2025/04/24 17:18
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 8 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,5 +1,5 @@ 1 1 (% style="text-align:center" %) 2 -[[image:1654574317295-380.png||height="621" width="576"]] 2 +[[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LSPH01-LoRaWAN%20Soil%20pH%20Sensor%20User%20Manual/WebHome/1654574317295-380.png?width=576&height=621&rev=1.1||alt="1654574317295-380.png" height="621" width="576"]] 3 3 4 4 5 5 ... ... @@ -7,7 +7,60 @@ 7 7 8 8 **Contents:** 9 9 10 -{{toc/}} 10 +* [[1. Introduction>>path:#H1.Introduction]] 11 +** [[1.1 What is LoRaWAN Soil pH Sensor>>path:#H1.1200BWhatisLoRaWANSoilpHSensor]] 12 +** [[1.2 Features>>path:#H200B1.2Features]] 13 +** [[1.3 Probe Specification>>path:#H1.3ProbeSpecification]] 14 +** [[1.4 Applications>>path:#H1.4200BApplications]] 15 +** [[1.5 Pin mapping and power on>>path:#H1.5Pinmappingandpoweron]] 16 +* [[2. Configure LSPH01 to connect to LoRaWAN network>>path:#H2.ConfigureLSPH01toconnecttoLoRaWANnetwork]] 17 +** [[2.1 How it works>>path:#H2.1Howitworks]] 18 +** [[2.2 Quick guide to connect to LoRaWAN server (OTAA)>>path:#H2.2200BQuickguidetoconnecttoLoRaWANserver28OTAA29]] 19 +** [[2.3 Uplink Payload>>path:#H2.3200BUplinkPayload]] 20 +*** [[2.3.1 Battery Info>>path:#H2.3.1BatteryInfo]] 21 +*** [[2.3.2 DS18B20 Temperature sensor>>path:#H2.3.2DS18B20Temperaturesensor]] 22 +*** [[2.3.3 Soil pH>>path:#H2.3.3SoilpH]] 23 +*** [[2.3.4 Soil Temperature>>path:#H2.3.4SoilTemperature]] 24 +*** [[2.3.5 Interrupt Pin>>path:#H2.3.5InterruptPin]] 25 +*** [[2.3.6 Message Type>>path:#H2.3.6MessageType]] 26 +*** [[2.3.7 Decode payload in The Things Network>>path:#H2.3.7DecodepayloadinTheThingsNetwork]] 27 +** [[2.4 Uplink Interval>>path:#H2.4UplinkInterval]] 28 +** [[2.5 Show Data in DataCake IoT Server>>path:#H2.5200BShowDatainDataCakeIoTServer]] 29 +** [[2.6 Installation and Maintain>>path:#H2.6InstallationandMaintain]] 30 +*** [[2.6.1 Before measurement>>path:#H2.6.1Beforemeasurement]] 31 +*** [[2.6.2 Measurement>>path:#H2.6.2Measurement]] 32 +*** [[2.6.3 Maintain Probe>>path:#H2.6.3MaintainProbe]] 33 +** [[2.7 Calibration>>path:#H2.7Calibration]] 34 +** [[2.8 Frequency Plans>>path:#H2.8FrequencyPlans]] 35 +*** [[2.8.1 EU863-870 (EU868)>>path:#H2.8.1EU863-87028EU86829]] 36 +*** [[2.8.2 US902-928(US915)>>path:#H2.8.2US902-92828US91529]] 37 +*** [[2.8.3 CN470-510 (CN470)>>path:#H2.8.3CN470-51028CN47029]] 38 +*** [[2.8.4 AU915-928(AU915)>>path:#H2.8.4AU915-92828AU91529]] 39 +*** [[2.8.5 AS920-923 & AS923-925 (AS923)>>path:#H2.8.5AS920-92326AS923-92528AS92329]] 40 +*** [[2.8.6 KR920-923 (KR920)>>path:#H2.8.6KR920-92328KR92029]] 41 +*** [[2.8.7 IN865-867 (IN865)>>path:#H2.8.7IN865-86728IN86529]] 42 +** [[2.9 LED Indicator>>path:#H2.9LEDIndicator]] 43 +** [[2.10 Firmware Change Log>>path:#H2.10200BFirmwareChangeLog]] 44 +* [[3. Configure LSPH01 via AT Command or LoRaWAN Downlink>>path:#H3.ConfigureLSPH01viaATCommandorLoRaWANDownlink]] 45 +** [[3.1 Set Transmit Interval Time>>path:#H3.1SetTransmitIntervalTime]] 46 +** [[3.2 Set Interrupt Mode>>path:#H3.2SetInterruptMode]] 47 +** [[3.3 Calibrate Sensor>>path:#H3.3CalibrateSensor]] 48 +** [[3.4 Get Firmware Version Info>>path:#H3.4GetFirmwareVersionInfo]] 49 +* [[4. Battery & How to replace>>path:#H4.Battery26Howtoreplace]] 50 +** [[4.1 Battery Type>>path:#H4.1BatteryType]] 51 +** [[4.2 Replace Battery>>path:#H4.2ReplaceBattery]] 52 +** [[4.3 Power Consumption Analyze>>path:#H4.3PowerConsumptionAnalyze]] 53 +*** [[4.3.1 Battery Note>>path:#H4.3.1200BBatteryNote]] 54 +*** [[4.3.2 Replace the battery>>path:#H200B4.3.2Replacethebattery]] 55 +* [[5. Use AT Command>>path:#H5.UseATCommand]] 56 +** [[5.1 Access AT Commands>>path:#H5.1AccessATCommands]] 57 +* [[6. FAQ>>path:#H6.FAQ]] 58 +** [[6.1 How to change the LoRa Frequency Bands/Region>>path:#H6.1HowtochangetheLoRaFrequencyBands2FRegion]] 59 +* [[7. Trouble Shooting>>path:#H7.TroubleShooting]] 60 +** [[7.1 AT Commands input doesn’t work>>path:#H7.1ATCommandsinputdoesn2019twork]] 61 +* [[8. Order Info>>path:#H8.OrderInfo]] 62 +* [[9. Packing Info>>path:#H9.200BPackingInfo]] 63 +* [[10. Support>>path:#H10.A0200BSupport]] 11 11 12 12 13 13 ... ... @@ -35,7 +35,7 @@ 35 35 Each LSPH01 is pre-load with a set of unique keys for LoRaWAN registrations, register these keys to local LoRaWAN server and it will auto connect after power on. 36 36 37 37 38 -[[image:1654580186518-415.png]] 91 +[[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LSPH01-LoRaWAN%20Soil%20pH%20Sensor%20User%20Manual/WebHome/1654580186518-415.png?rev=1.1||alt="1654580186518-415.png"]] 39 39 40 40 41 41 ... ... @@ -55,6 +55,7 @@ 55 55 * IP68 rate for the Sensor Probe 56 56 * 8500mAh Battery for long term use 57 57 111 + 58 58 == 1.3 Probe Specification == 59 59 60 60 ... ... @@ -75,13 +75,15 @@ 75 75 * IP68 Protection 76 76 * Length: 3.5 meters 77 77 132 + 78 78 == 1.4 Applications == 79 79 80 80 * Smart Agriculture 81 81 137 + 82 82 == 1.5 Pin mapping and power on == 83 83 84 -[[image:1654580482666-473.png]] 140 +[[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LSPH01-LoRaWAN%20Soil%20pH%20Sensor%20User%20Manual/WebHome/1654580482666-473.png?rev=1.1||alt="1654580482666-473.png"]] 85 85 86 86 87 87 ... ... @@ -94,7 +94,7 @@ 94 94 ))) 95 95 96 96 ((( 97 -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.200BUseATCommand"]]to set the keys in the LSPH01.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 >>path:#H5.UseATCommand]]to set the keys in the LSPH01. 98 98 ))) 99 99 100 100 ... ... @@ -121,7 +121,7 @@ 121 121 ))) 122 122 123 123 124 -[[image:image-20220607135531-1.jpeg]] 180 +[[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LSPH01-LoRaWAN%20Soil%20pH%20Sensor%20User%20Manual/WebHome/image-20220607135531-1.jpeg?rev=1.1||alt="image-20220607135531-1.jpeg"]] 125 125 126 126 127 127 You can enter this key in the LoRaWAN Server portal. Below is TTN screen shot: ... ... @@ -129,25 +129,25 @@ 129 129 130 130 **Register the device** 131 131 132 -[[image:1654581442672-605.png]] 188 +[[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LSPH01-LoRaWAN%20Soil%20pH%20Sensor%20User%20Manual/WebHome/1654581442672-605.png?rev=1.1||alt="1654581442672-605.png"]] 133 133 134 134 135 135 136 136 **Add APP EUI and DEV EUI** 137 137 138 -[[image:1654581465717-368.png]] 194 +[[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LSPH01-LoRaWAN%20Soil%20pH%20Sensor%20User%20Manual/WebHome/1654581465717-368.png?rev=1.1||alt="1654581465717-368.png"]] 139 139 140 140 141 141 142 142 **Add APP EUI in the application** 143 143 144 -[[image:1654581493871-516.png]] 200 +[[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LSPH01-LoRaWAN%20Soil%20pH%20Sensor%20User%20Manual/WebHome/1654581493871-516.png?rev=1.1||alt="1654581493871-516.png"]] 145 145 146 146 147 147 148 148 **Add APP KEY** 149 149 150 -[[image:1654581517630-991.png]] 206 +[[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LSPH01-LoRaWAN%20Soil%20pH%20Sensor%20User%20Manual/WebHome/1654581517630-991.png?rev=1.1||alt="1654581517630-991.png"]] 151 151 152 152 153 153 (% style="color:blue" %)**Step 2**(%%): Power on LSPH01 ... ... @@ -155,12 +155,12 @@ 155 155 156 156 Put a Jumper on JP2 to power on the device. ( The Switch must be in FLASH position). 157 157 158 -[[image:image-20220607135918-2.png]] 214 +[[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LSPH01-LoRaWAN%20Soil%20pH%20Sensor%20User%20Manual/WebHome/image-20220607135918-2.png?rev=1.1||alt="image-20220607135918-2.png"]] 159 159 160 160 161 161 (% style="color:blue" %)**Step 3**(%%)**:** The LSPH01 will auto join to the TTN network. After join success, it will start to upload messages to TTN and you can see the messages in the panel. 162 162 163 -[[image:1654581590132-631.png]] 219 +[[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LSPH01-LoRaWAN%20Soil%20pH%20Sensor%20User%20Manual/WebHome/1654581590132-631.png?rev=1.1||alt="1654581590132-631.png"]] 164 164 165 165 166 166 ... ... @@ -178,17 +178,17 @@ 178 178 179 179 **(bytes)** 180 180 )))|**2**|**2**|**2**|**2**|**1**|**1**|**1** 181 -|**Value**|[[BAT>> ||anchor="H2.3.1BatteryInfo"]]|(((182 -[[Temperature>> ||anchor="H2.3.2DS18B20Temperaturesensor"]]237 +|**Value**|[[BAT>>path:#H2.3.1BatteryInfo]]|((( 238 +[[Temperature>>path:#H2.3.2DS18B20Temperaturesensor]] 183 183 184 -[[(Optional)>> ||anchor="H2.3.2DS18B20Temperaturesensor"]]185 -)))|[[Soil pH>> ||anchor="H2.3.3SoilpH"]]|[[Soil Temperature>>||anchor="H2.3.4SoilTemperature"]]|(((186 -[[Digital Interrupt (Optional)>> ||anchor="H2.3.5InterruptPin"]]240 +[[(Optional)>>path:#H2.3.2DS18B20Temperaturesensor]] 241 +)))|[[Soil pH>>path:#H2.3.3SoilpH]]|[[Soil Temperature>>path:#H2.3.4SoilTemperature]]|((( 242 +[[Digital Interrupt (Optional)>>path:#H2.3.5InterruptPin]] 187 187 )))|Reserve|((( 188 -[[Message Type>> ||anchor="H2.3.6MessageType"]]244 +[[Message Type>>path:#H2.3.6MessageType]] 189 189 ))) 190 190 191 -[[image:1654581735133-458.png]] 247 +[[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LSPH01-LoRaWAN%20Soil%20pH%20Sensor%20User%20Manual/WebHome/1654581735133-458.png?rev=1.1||alt="1654581735133-458.png"]] 192 192 193 193 194 194 ... ... @@ -241,7 +241,7 @@ 241 241 242 242 === 2.3.5 Interrupt Pin === 243 243 244 -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.300 +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. 245 245 246 246 247 247 **Example:** ... ... @@ -261,9 +261,9 @@ 261 261 262 262 (% border="1" cellspacing="10" style="background-color:#ffffcc; width:510px" %) 263 263 |**Message Type Code**|**Description**|**Payload** 264 -|0x01|Normal Uplink|[[Normal Uplink Payload>> ||anchor="H2.3Uplink"]]265 -|0x02|Reply configures info|[[Configure Info Payload>> ||anchor="H3.4GetFirmwareVersionInfo"]]266 -|0x03|Reply Calibration Info|[[Calibration Payload>> ||anchor="H2.7Calibration"]]320 +|0x01|Normal Uplink|[[Normal Uplink Payload>>path:#H2.3200BUplinkPayload]] 321 +|0x02|Reply configures info|[[Configure Info Payload>>path:#H3.4GetFirmwareVersionInfo]] 322 +|0x03|Reply Calibration Info|[[Calibration Payload>>path:#H2.7Calibration]] 267 267 268 268 === 2.3.7 Decode payload in The Things Network === 269 269 ... ... @@ -270,7 +270,7 @@ 270 270 While using TTN network, you can add the payload format to decode the payload. 271 271 272 272 273 -[[image:1654582541848-906.png]] 329 +[[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LSPH01-LoRaWAN%20Soil%20pH%20Sensor%20User%20Manual/WebHome/1654582541848-906.png?rev=1.1||alt="1654582541848-906.png"]] 274 274 275 275 ((( 276 276 The payload decoder function for TTN is here: ... ... @@ -284,7 +284,7 @@ 284 284 285 285 == 2.4 Uplink Interval == 286 286 287 -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.WebHome||anchor="H4.1ChangeUplinkInterval"]]343 +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>>path:/xwiki/bin/view/Main/End%20Device%20AT%20Commands%20and%20Downlink%20Command/#H4.1ChangeUplinkInterval]] 288 288 289 289 290 290 ... ... @@ -298,10 +298,10 @@ 298 298 (% style="color:blue" %)**Step 2**(%%)**: To configure the Application to forward data to DATACAKE you will need to add integration. To add the DATACAKE integration, perform the following steps:** 299 299 300 300 301 -[[image:1654583683416-869.png]] 357 +[[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LSPH01-LoRaWAN%20Soil%20pH%20Sensor%20User%20Manual/WebHome/1654583683416-869.png?rev=1.1||alt="1654583683416-869.png"]] 302 302 303 303 304 -[[image:1654583694084-878.png]] 360 +[[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LSPH01-LoRaWAN%20Soil%20pH%20Sensor%20User%20Manual/WebHome/1654583694084-878.png?rev=1.1||alt="1654583694084-878.png"]] 305 305 306 306 307 307 (% style="color:blue" %)**Step 3**(%%)**: Create an account or log in Datacake.** ... ... @@ -308,14 +308,14 @@ 308 308 309 309 (% style="color:blue" %)**Step 4**(%%)**: Create LSPH01 product.** 310 310 311 -[[image:1654583711590-413.png]] 367 +[[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LSPH01-LoRaWAN%20Soil%20pH%20Sensor%20User%20Manual/WebHome/1654583711590-413.png?rev=1.1||alt="1654583711590-413.png"]] 312 312 313 313 314 314 315 -[[image:1654583732798-193.png]] 371 +[[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LSPH01-LoRaWAN%20Soil%20pH%20Sensor%20User%20Manual/WebHome/1654583732798-193.png?rev=1.1||alt="1654583732798-193.png"]] 316 316 317 317 318 -[[image:1654583749683-259.png]] 374 +[[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LSPH01-LoRaWAN%20Soil%20pH%20Sensor%20User%20Manual/WebHome/1654583749683-259.png?rev=1.1||alt="1654583749683-259.png"]] 319 319 320 320 321 321 (% style="color:blue" %)**Step 5**(%%)**: add payload decode** ... ... @@ -323,18 +323,18 @@ 323 323 Download Datacake decoder from: [[https:~~/~~/www.dragino.com/downloads/index.pHp?dir=LoRa_End_Node/LSPH01/Decoder/>>url:https://www.dragino.com/downloads/index.php?dir=LoRa_End_Node/LSNPK01/Decoder/]] 324 324 325 325 326 -[[image:1654583770974-935.png]] 382 +[[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LSPH01-LoRaWAN%20Soil%20pH%20Sensor%20User%20Manual/WebHome/1654583770974-935.png?rev=1.1||alt="1654583770974-935.png"]] 327 327 328 -[[image:1654583781517-146.png]] 384 +[[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LSPH01-LoRaWAN%20Soil%20pH%20Sensor%20User%20Manual/WebHome/1654583781517-146.png?rev=1.1||alt="1654583781517-146.png"]] 329 329 330 330 331 -[[image:1654583791351-557.png]] 387 +[[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LSPH01-LoRaWAN%20Soil%20pH%20Sensor%20User%20Manual/WebHome/1654583791351-557.png?rev=1.1||alt="1654583791351-557.png"]] 332 332 333 333 334 334 After added, the sensor data arrive TTN, it will also arrive and show in Mydevices. 335 335 336 336 337 -[[image:1654583805491-713.png]] 393 +[[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LSPH01-LoRaWAN%20Soil%20pH%20Sensor%20User%20Manual/WebHome/1654583805491-713.png?rev=1.1||alt="1654583805491-713.png"]] 338 338 339 339 340 340 ... ... @@ -353,7 +353,7 @@ 353 353 354 354 (% style="color:#4f81bd" %)**Measurement the soil surface:** 355 355 356 -[[image:1654584128046-287.png]] 412 +[[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LSPH01-LoRaWAN%20Soil%20pH%20Sensor%20User%20Manual/WebHome/1654584128046-287.png?rev=1.1||alt="1654584128046-287.png"]] 357 357 358 358 Choose the proper measuring position. Split the surface soil according to the measured deep. 359 359 ... ... @@ -402,7 +402,7 @@ 402 402 403 403 After stable, user can use below command to calibrate. 404 404 405 -[[image:image-20220607144936-3.png]] 461 +[[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LSPH01-LoRaWAN%20Soil%20pH%20Sensor%20User%20Manual/WebHome/image-20220607144936-3.png?rev=1.1||alt="image-20220607144936-3.png"]] 406 406 407 407 408 408 (% style="color:#037691" %)**Calibration Payload** ... ... @@ -422,22 +422,19 @@ 422 422 423 423 Calibrate value 424 424 )))|Reserve|((( 425 -[[Message Type>> ||anchor="H2.3.6MessageType"]]481 +[[Message Type>>path:#H2.3.6MessageType]] 426 426 427 427 Always 0x03 428 428 ))) 429 429 430 - 431 - 432 432 User can also send 0x14 downlink command to poll the current calibration payload. 433 433 434 -[[image:image-20220607145603-4.png]] 488 +[[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LSPH01-LoRaWAN%20Soil%20pH%20Sensor%20User%20Manual/WebHome/image-20220607145603-4.png?rev=1.1||alt="image-20220607145603-4.png"]] 435 435 436 436 * Reply to the confirmation package: 14 01 437 437 * Reply to non-confirmed packet: 14 00 438 438 439 439 440 - 441 441 == 2.8 Frequency Plans == 442 442 443 443 ((( ... ... @@ -494,7 +494,6 @@ 494 494 * 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) 495 495 496 496 497 - 498 498 === 2.8.3 CN470-510 (CN470) === 499 499 500 500 Used in China, Default use CHE=1 ... ... @@ -562,7 +562,6 @@ 562 562 * 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) 563 563 564 564 565 - 566 566 === 2.8.5 AS920-923 & AS923-925 (AS923) === 567 567 568 568 (% style="color:blue" %)**Default Uplink channel:** ... ... @@ -650,6 +650,7 @@ 650 650 921.9 - SF12BW125 (RX2 downlink only; SF12BW125 might be changed to SF9BW125) 651 651 652 652 704 + 653 653 === 2.8.7 IN865-867 (IN865) === 654 654 655 655 (% style="color:blue" %)**Uplink:** ... ... @@ -677,34 +677,28 @@ 677 677 * Blink once when device transmit a packet. 678 678 679 679 680 - 681 681 == 2.10 Firmware Change Log == 682 682 734 + 683 683 **Firmware download link:** 684 684 685 685 [[http:~~/~~/www.dragino.com/downloads/index.pHp?dir=LoRa_End_Node/LSPH01/Firmware/>>url:http://www.dragino.com/downloads/index.php?dir=LoRa_End_Node/LSE01/Firmware/]] 686 686 687 687 688 -**Firmware Upgrade Method: **[[Firmware Upgrade Instruction>> doc:Main.Firmware.WebHome]]740 +**Firmware Upgrade Method: **[[Firmware Upgrade Instruction>>path:/xwiki/bin/view/Main/Firmware%20Upgrade%20Instruction%20for%20STM32%20base%20products/]] 689 689 690 690 691 691 744 += 3. Configure LSPH01 via AT Command or LoRaWAN Downlink = 692 692 693 - 694 - 695 -1. Configure LSPH01 via AT Command or LoRaWAN Downlink 696 - 697 697 Use can configure LSPH01 via AT Command or LoRaWAN Downlink. 698 698 699 -* AT Command Connection: See [[FAQ>>path:#A T_COMMAND]].700 -* LoRaWAN Downlink instruction for different platforms: 748 +* AT Command Connection: See [[FAQ>>path:#H6.FAQ]]. 749 +* LoRaWAN Downlink instruction for different platforms: [[IoT LoRaWAN Server>>path:/xwiki/bin/view/Main/]] 701 701 702 -[[http:~~/~~/wiki.dragino.com/index.pHp?title=Main_Page#Use_Note_for_Server>>url:http://wiki.dragino.com/index.php?title=Main_Page#Use_Note_for_Server]] 703 - 704 - 705 705 There are two kinds of commands to configure LSPH01, they are: 706 706 707 -* **General Commands**. 753 +* (% style="color:#4f81bd" %)** General Commands**. 708 708 709 709 These commands are to configure: 710 710 ... ... @@ -711,25 +711,25 @@ 711 711 * General system settings like: uplink interval. 712 712 * LoRaWAN protocol & radio related command. 713 713 714 -They are same for all Dragino Device which support DLWS-005 LoRaWAN Stack. These commands can be found on the wiki: 760 +They are same for all Dragino Device which support DLWS-005 LoRaWAN Stack. These commands can be found on the wiki:[[End Device AT Commands and Downlink Command>>path:/xwiki/bin/view/Main/End%20Device%20AT%20Commands%20and%20Downlink%20Command/]] 715 715 716 -[[http:~~/~~/wiki.dragino.com/index.pHp?title=End_Device_Downlink_Command>>url:http://wiki.dragino.com/index.php?title=End_Device_Downlink_Command]] 717 717 763 +* (% style="color:#4f81bd" %)** Commands special design for LSPH01** 718 718 719 -* **Commands special design for LSPH01** 720 - 721 721 These commands only valid for LSPH01, as below: 722 722 723 723 724 -1. 725 -11. Set Transmit Interval Time 726 726 769 +== 3.1 Set Transmit Interval Time == 770 + 727 727 Feature: Change LoRaWAN End Node Transmit Interval. 728 728 729 -**AT Command: AT+TDC** 773 +(% style="color:#037691" %)**AT Command: AT+TDC** 730 730 731 -|**Command Example**|**Function**|**Response** 732 -|AT+TDC=?|Show current transmit Interval|((( 775 + 776 +(% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:710px" %) 777 +|(% style="width:154px" %)**Command Example**|(% style="width:223px" %)**Function**|(% style="width:330px" %)**Response** 778 +|(% style="width:154px" %)AT+TDC=?|(% style="width:223px" %)Show current transmit Interval|(% style="width:330px" %)((( 733 733 30000 734 734 735 735 OK ... ... @@ -736,13 +736,13 @@ 736 736 737 737 the interval is 30000ms = 30s 738 738 ))) 739 -|AT+TDC=60000|Set Transmit Interval|((( 785 +|(% style="width:154px" %)AT+TDC=60000|(% style="width:223px" %)Set Transmit Interval|(% style="width:330px" %)((( 740 740 OK 741 741 742 742 Set transmit interval to 60000ms = 60 seconds 743 743 ))) 744 744 745 -**Downlink Command: 0x01** 791 +(% style="color:#037691" %)**Downlink Command: 0x01** 746 746 747 747 Format: Command Code (0x01) followed by 3 bytes time value. 748 748 ... ... @@ -751,32 +751,18 @@ 751 751 * Example 1: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds 752 752 * Example 2: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 753 753 754 -1. 755 -11. Set Interrupt Mode 756 756 801 +== 3.2 Set Interrupt Mode == 802 + 757 757 Feature, Set Interrupt mode for GPIO_EXIT. 758 758 759 -**AT Command: AT+INTMOD** 805 +(% style="color:#037691" %)**AT Command: AT+INTMOD** 760 760 761 -|**Command Example**|**Function**|**Response** 762 -|AT+INTMOD=?|Show current interrupt mode|((( 763 -0 807 +[[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LSPH01-LoRaWAN%20Soil%20pH%20Sensor%20User%20Manual/WebHome/image-20220607153759-6.png?rev=1.1||alt="image-20220607153759-6.png"]] 764 764 765 -OK 766 766 767 -the mode is 0 = No interruption 768 -))) 769 -|AT+INTMOD=2|((( 770 -Set Transmit Interval 810 +(% style="color:#037691" %)**Downlink Command: 0x06** 771 771 772 -1. (Disable Interrupt), 773 -1. (Trigger by rising and falling edge), 774 -1. (Trigger by falling edge) 775 -1. (Trigger by rising edge) 776 -)))|OK 777 - 778 -**Downlink Command: 0x06** 779 - 780 780 Format: Command Code (0x06) followed by 3 bytes. 781 781 782 782 This means that the interrupt mode of the end node is set to 0x000003=3 (rising edge trigger), and the type code is 06. ... ... @@ -784,25 +784,21 @@ 784 784 * Example 1: Downlink Payload: 06000000 ~/~/ Turn off interrupt mode 785 785 * Example 2: Downlink Payload: 06000003 ~/~/ Set the interrupt mode to rising edge trigger 786 786 787 -1. 788 -11. Calibrate Sensor 789 789 790 - DetailSee[[CalibrationGuide>>path:#Calibration]] forthe user of 0x13 and 0x14 downlink commands820 +== 3.3 Calibrate Sensor == 791 791 822 +Detail See [[Calibration Guide>>path:#H2.7Calibration]] for the user of 0x13 and 0x14 downlink commands 792 792 793 793 794 -1. 795 -11. Get Firmware Version Info 796 796 826 +== 3.4 Get Firmware Version Info == 827 + 797 797 Feature: use downlink to get firmware version. 798 798 830 +(% style="color:#037691" %)**Downlink Command: 0x26** 799 799 800 - **Downlink Command:0x26**832 +[[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LSPH01-LoRaWAN%20Soil%20pH%20Sensor%20User%20Manual/WebHome/image-20220607154718-7.png?rev=1.1||alt="image-20220607154718-7.png"]] 801 801 802 - 803 -|**Downlink Control Type**|**FPort**|**Type Code**|**Downlink payload size(bytes)** 804 -|Get Firmware Version Info|Any|26|2 805 - 806 806 * Reply to the confirmation package: 26 01 807 807 * Reply to non-confirmed packet: 26 00 808 808 ... ... @@ -810,11 +810,10 @@ 810 810 811 811 Configures info payload: 812 812 813 -|((( 814 -**Size** 815 - 816 -**(bytes)** 817 -)))|**1**|**1**|**1**|**1**|**1**|**5**|**1** 841 +(% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:510px" %) 842 +|=((( 843 +**Size(bytes)** 844 +)))|=**1**|=**1**|=**1**|=**1**|=**1**|=**5**|=**1** 818 818 |**Value**|Software Type|((( 819 819 Frequency 820 820 ... ... @@ -824,10 +824,7 @@ 824 824 825 825 Version 826 826 )))|Sensor Type|Reserve|((( 827 -[[Message>>path:#Message_Type]] 828 - 829 -[[Type>>path:#Message_Type]] 830 - 854 +[[Message Type>>path:#H2.3.6MessageType]] 831 831 Always 0x02 832 832 ))) 833 833 ... ... @@ -881,18 +881,19 @@ 881 881 882 882 883 883 908 += 4. Battery & How to replace = 884 884 910 +== 4.1 Battery Type == 885 885 886 - 887 -1. Battery & How to replace 888 -11. Battery Type 889 - 912 +((( 890 890 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. 914 +))) 891 891 892 - 916 +((( 893 893 The discharge curve is not linear so can’t simply use percentage to show the battery level. Below is the battery performance. 918 +))) 894 894 895 -[[image: file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image022.png]]920 +[[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LSPH01-LoRaWAN%20Soil%20pH%20Sensor%20User%20Manual/WebHome/1654588469844-778.png?rev=1.1||alt="1654588469844-778.png"]] 896 896 897 897 898 898 Minimum Working Voltage for the LSPH01: ... ... @@ -900,30 +900,36 @@ 900 900 LSPH01: 2.45v ~~ 3.6v 901 901 902 902 903 -1. 904 -11. Replace Battery 905 905 929 +== 4.2 Replace Battery == 930 + 931 +((( 906 906 Any battery with range 2.45 ~~ 3.6v can be a replacement. We recommend to use Li-SOCl2 Battery. 933 +))) 907 907 935 +((( 908 908 And make sure the positive and negative pins match. 937 +))) 909 909 910 910 911 911 912 -1. 913 -11. Power Consumption Analyze 941 +== 4.3 Power Consumption Analyze == 914 914 943 +((( 915 915 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. 945 +))) 916 916 917 - 947 +((( 918 918 Instruction to use as below: 949 +))) 919 919 920 920 921 -Step 1: Downlink the up-to-date DRAGINO_Battery_Life_Prediction_Table.xlsx from: 952 +**Step 1**: Downlink the up-to-date DRAGINO_Battery_Life_Prediction_Table.xlsx from: 922 922 923 923 [[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/]] 924 924 925 925 926 -Step 2: Open it and choose 957 +**Step 2**: Open it and choose 927 927 928 928 * Product Model 929 929 * Uplink Interval ... ... @@ -931,102 +931,104 @@ 931 931 932 932 And the Life expectation in difference case will be shown on the right. 933 933 934 -[[image: file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image023.png]]965 +[[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LSPH01-LoRaWAN%20Soil%20pH%20Sensor%20User%20Manual/WebHome/1654588577573-122.png?rev=1.1||alt="1654588577573-122.png"]] 935 935 936 936 937 937 The battery related documents as below: 938 938 939 -* [[Battery Dimension>>url:https://www.dragino.com/downloads/index.php?dir=datasheet/Battery/ER26500/]], 940 -* [[Lithium-Thionyl Chloride Battery>>url:https://www.dragino.com/downloads/index.php?dir=datasheet/Battery/ER26500/]] datasheet 941 -* [[Lithium-ion Battery-Capacitor datasheet>>url:http://www.dragino.com/downloads/downloads/datasheet/Battery/SPC_1520_datasheet.jpg]], [[Tech Spec>>url:http://www.dragino.com/downloads/downloads/datasheet/Battery/SPC1520%20Technical%20Specification20171123.pdf]] 942 - 943 -|((( 944 -JST-XH-2P connector 970 +* ((( 971 +[[Battery Dimension>>url:http://www.dragino.com/downloads/index.php?dir=datasheet/Battery/&file=LSN50-Battery-Dimension.pdf]], 945 945 ))) 973 +* ((( 974 +[[Lithium-Thionyl Chloride Battery datasheet>>url:https://www.dragino.com/downloads/downloads/datasheet/Battery/ER26500/ER26500_Datasheet-EN.pdf]], 975 +))) 976 +* ((( 977 +[[Lithium-ion Battery-Capacitor datasheet>>url:http://www.dragino.com/downloads/downloads/datasheet/Battery/SPC_1520_datasheet.jpg]], [[Tech Spec>>url:http://www.dragino.com/downloads/downloads/datasheet/Battery/SPC1520%20Technical%20Specification20171123.pdf]] 978 +))) 946 946 947 -[[image: file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image024.png]]980 +[[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LSPH01-LoRaWAN%20Soil%20pH%20Sensor%20User%20Manual/WebHome/image-20220607155856-8.png?rev=1.1||alt="image-20220607155856-8.png"]] 948 948 949 949 950 950 951 -1. 952 -11. 953 -111. Battery Note 984 +=== 4.3.1 Battery Note === 954 954 986 +((( 955 955 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. 988 +))) 956 956 957 957 958 -1. 959 -11. 960 -111. Replace the battery 961 961 992 +=== 4.3.2 Replace the battery === 993 + 962 962 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. 963 963 964 - 965 965 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) 966 966 967 967 968 968 1000 += 5. Use AT Command = 969 969 1002 +== 5.1 Access AT Commands == 970 970 971 - 972 -1. Use AT Command 973 -11. Access AT Commands 974 - 975 975 LSPH01 supports AT Command set in the stock firmware. You can use a USB to TTL adapter to connect to LSPH01 for using AT command, as below. 976 976 977 -[[image: file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image025.png]]1006 +[[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LSPH01-LoRaWAN%20Soil%20pH%20Sensor%20User%20Manual/WebHome/1654589001411-343.png?rev=1.1||alt="1654589001411-343.png"]] 978 978 979 -Connection: 1008 +**Connection:** 980 980 981 -USB TTL GND <~-~-~-~-> GND 1010 +(% style="background-color:yellow" %)** USB TTL GND <~-~-~-~-> GND** 982 982 983 -USB TTL TXD <~-~-~-~-> UART_RXD 1012 +(% style="background-color:yellow" %)** USB TTL TXD <~-~-~-~-> UART_RXD** 984 984 985 -USB TTL RXD <~-~-~-~-> UART_TXD 1014 +(% style="background-color:yellow" %)** USB TTL RXD <~-~-~-~-> UART_TXD** 986 986 987 987 988 -In the PC, you need to set the serial baud rate to **9600** to access the serial console for LSPH01. LSPH01 will output system info once power on as below: 1017 +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: 989 989 990 990 991 - [[image: file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image026.png]]1020 + [[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LSPH01-LoRaWAN%20Soil%20pH%20Sensor%20User%20Manual/WebHome/1654589062541-567.png?rev=1.1||alt="1654589062541-567.png"]] 992 992 993 -Valid AT Command please check [[Configure Device>>path:#Configure _Device]].1022 +Valid AT Command please check [[Configure Device>>path:#H3.ConfigureLSPH01viaATCommandorLoRaWANDownlink]]. 994 994 995 995 996 996 1026 += 6. FAQ = 997 997 998 -1. FAQ 999 -11. How to change the LoRa Frequency Bands/Region 1028 +== 6.1 How to change the LoRa Frequency Bands/Region == 1000 1000 1001 -You can follow the instructions for [[how to upgrade image>>path:# 3ygebqi]].1030 +You can follow the instructions for [[how to upgrade image>>path:#H2.10200BFirmwareChangeLog]]. 1002 1002 When downloading the images, choose the required image file for download. 1003 1003 1004 1004 1005 1005 1006 -1. Trouble Shooting 1007 -11. AT Commands input doesn’t work 1035 += 7. Trouble Shooting = 1008 1008 1009 - Inthe case if user can see the console output but can’t type input to the device.Please check if you already include the **ENTER**while sendingout the command. Someserialtooldoesn’tsend **ENTER**while press the sendkey,user need to add ENTER in their string.1037 +== 7.1 AT Commands input doesn’t work == 1010 1010 1039 +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. 1011 1011 1012 -1. Order Info 1013 1013 1014 -Part Number: **LSPH01-XX** 1015 1015 1043 += 8. Order Info = 1016 1016 1017 - **XX**:Thedefault frequencyband1045 +Part Number: (% style="color:blue" %)**LSPH01-XX** 1018 1018 1019 -* **AS923**: LoRaWAN AS923 band 1020 -* **AU915**: LoRaWAN AU915 band 1021 -* **EU433**: LoRaWAN EU433 band 1022 -* **EU868**: LoRaWAN EU868 band 1023 -* **KR920**: LoRaWAN KR920 band 1024 -* **US915**: LoRaWAN US915 band 1025 -* **IN865**: LoRaWAN IN865 band 1026 -* **CN470**: LoRaWAN CN470 band 1027 1027 1028 - 1.PackingInfo1048 +(% style="color:blue" %)**XX**(%%): The default frequency band 1029 1029 1050 +* (% style="color:red" %)**AS923**(%%): LoRaWAN AS923 band 1051 +* (% style="color:red" %)**AU915**(%%): LoRaWAN AU915 band 1052 +* (% style="color:red" %)**EU433**(%%): LoRaWAN EU433 band 1053 +* (% style="color:red" %)**EU868**(%%): LoRaWAN EU868 band 1054 +* (% style="color:red" %)**KR920**(%%): LoRaWAN KR920 band 1055 +* (% style="color:red" %)**US915**(%%): LoRaWAN US915 band 1056 +* (% style="color:red" %)**IN865**(%%): LoRaWAN IN865 band 1057 +* (% style="color:red" %)**CN470**(%%): LoRaWAN CN470 band 1058 + 1059 + 1060 += 9. Packing Info = 1061 + 1062 + 1030 1030 **Package Includes**: 1031 1031 1032 1032 * LSPH01 LoRaWAN Soil Ph Sensor x 1 ... ... @@ -1038,11 +1038,11 @@ 1038 1038 * Package Size / pcs : cm 1039 1039 * Weight / pcs : g 1040 1040 1074 + 1075 + 1041 1041 = 10. Support = 1042 1042 1043 1043 * 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. 1044 -* 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 1079 +* 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]]. 1045 1045 1046 -[[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]] 1047 - 1048 1048
- 1654588469844-778.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +75.8 KB - Content
- 1654588577573-122.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +138.2 KB - Content
- 1654589001411-343.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +546.2 KB - Content
- 1654589062541-567.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +144.0 KB - Content
- image-20220607153237-5.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +12.9 KB - Content
- image-20220607153759-6.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +17.2 KB - Content
- image-20220607154718-7.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +6.0 KB - Content
- image-20220607155856-8.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +83.5 KB - Content