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 ... ... @@ -19,7 +19,6 @@ 19 19 20 20 21 21 22 - 23 23 = 1. Introduction = 24 24 25 25 == 1.1 What is LoRaWAN Soil pH Sensor == ... ... @@ -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]] 90 +[[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,8 @@ 55 55 * IP68 rate for the Sensor Probe 56 56 * 8500mAh Battery for long term use 57 57 110 + 111 + 58 58 == 1.3 Probe Specification == 59 59 60 60 ... ... @@ -75,13 +75,17 @@ 75 75 * IP68 Protection 76 76 * Length: 3.5 meters 77 77 132 + 133 + 78 78 == 1.4 Applications == 79 79 80 80 * Smart Agriculture 81 81 138 + 139 + 82 82 == 1.5 Pin mapping and power on == 83 83 84 -[[image:1654580482666-473.png]] 142 +[[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.155 +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]] 182 +[[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]] 190 +[[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]] 196 +[[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]] 202 +[[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]] 208 +[[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]] 216 +[[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]] 221 +[[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"]]239 +|**Value**|[[BAT>>path:#H2.3.1BatteryInfo]]|((( 240 +[[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"]]242 +[[(Optional)>>path:#H2.3.2DS18B20Temperaturesensor]] 243 +)))|[[Soil pH>>path:#H2.3.3SoilpH]]|[[Soil Temperature>>path:#H2.3.4SoilTemperature]]|((( 244 +[[Digital Interrupt (Optional)>>path:#H2.3.5InterruptPin]] 187 187 )))|Reserve|((( 188 -[[Message Type>> ||anchor="H2.3.6MessageType"]]246 +[[Message Type>>path:#H2.3.6MessageType]] 189 189 ))) 190 190 191 -[[image:1654581735133-458.png]] 249 +[[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.302 +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"]]322 +|0x01|Normal Uplink|[[Normal Uplink Payload>>path:#H2.3200BUplinkPayload]] 323 +|0x02|Reply configures info|[[Configure Info Payload>>path:#H3.4GetFirmwareVersionInfo]] 324 +|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]] 331 +[[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"]]345 +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]] 359 +[[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]] 362 +[[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]] 369 +[[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]] 373 +[[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]] 376 +[[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]] 384 +[[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]] 386 +[[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]] 389 +[[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]] 395 +[[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]] 414 +[[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]] 463 +[[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,16 +422,14 @@ 422 422 423 423 Calibrate value 424 424 )))|Reserve|((( 425 -[[Message Type>> ||anchor="H2.3.6MessageType"]]483 +[[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]] 490 +[[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 ... ... @@ -644,6 +644,7 @@ 644 644 921.9 - SF12BW125 (RX2 downlink only; SF12BW125 might be changed to SF9BW125) 645 645 646 646 703 + 647 647 === 2.8.7 IN865-867 (IN865) === 648 648 649 649 (% style="color:blue" %)**Uplink:** ... ... @@ -672,33 +672,26 @@ 672 672 673 673 == 2.10 Firmware Change Log == 674 674 732 + 675 675 **Firmware download link:** 676 676 677 677 [[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/]] 678 678 679 679 680 -**Firmware Upgrade Method:[[Firmware Upgrade Instruction>> doc:Main.Firmware.WebHome]]**738 +**Firmware Upgrade Method: **[[Firmware Upgrade Instruction>>path:/xwiki/bin/view/Main/Firmware%20Upgrade%20Instruction%20for%20STM32%20base%20products/]] 681 681 682 -[[http:~~/~~/wiki.dragino.com/index.pHp?title=Firmware_Upgrade_Instruction_for_STM32_base_products#Introduction>>url:http://wiki.dragino.com/index.php?title=Firmware_Upgrade_Instruction_for_STM32_base_products#Introduction]] 683 683 684 684 742 += 3. Configure LSPH01 via AT Command or LoRaWAN Downlink = 685 685 686 - 687 - 688 - 689 -1. Configure LSPH01 via AT Command or LoRaWAN Downlink 690 - 691 691 Use can configure LSPH01 via AT Command or LoRaWAN Downlink. 692 692 693 -* AT Command Connection: See [[FAQ>>path:#A T_COMMAND]].694 -* LoRaWAN Downlink instruction for different platforms: 746 +* AT Command Connection: See [[FAQ>>path:#H6.FAQ]]. 747 +* LoRaWAN Downlink instruction for different platforms: [[IoT LoRaWAN Server>>path:/xwiki/bin/view/Main/]] 695 695 696 -[[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]] 697 - 698 - 699 699 There are two kinds of commands to configure LSPH01, they are: 700 700 701 -* **General Commands**. 751 +* (% style="color:#4f81bd" %)** General Commands**. 702 702 703 703 These commands are to configure: 704 704 ... ... @@ -705,25 +705,25 @@ 705 705 * General system settings like: uplink interval. 706 706 * LoRaWAN protocol & radio related command. 707 707 708 -They are same for all Dragino Device which support DLWS-005 LoRaWAN Stack. These commands can be found on the wiki: 758 +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/]] 709 709 710 -[[http:~~/~~/wiki.dragino.com/index.pHp?title=End_Device_Downlink_Command>>url:http://wiki.dragino.com/index.php?title=End_Device_Downlink_Command]] 711 711 761 +* (% style="color:#4f81bd" %)** Commands special design for LSPH01** 712 712 713 -* **Commands special design for LSPH01** 714 - 715 715 These commands only valid for LSPH01, as below: 716 716 717 717 718 -1. 719 -11. Set Transmit Interval Time 720 720 767 +== 3.1 Set Transmit Interval Time == 768 + 721 721 Feature: Change LoRaWAN End Node Transmit Interval. 722 722 723 -**AT Command: AT+TDC** 771 +(% style="color:#037691" %)**AT Command: AT+TDC** 724 724 725 -|**Command Example**|**Function**|**Response** 726 -|AT+TDC=?|Show current transmit Interval|((( 773 + 774 +(% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:710px" %) 775 +|(% style="width:154px" %)**Command Example**|(% style="width:223px" %)**Function**|(% style="width:330px" %)**Response** 776 +|(% style="width:154px" %)AT+TDC=?|(% style="width:223px" %)Show current transmit Interval|(% style="width:330px" %)((( 727 727 30000 728 728 729 729 OK ... ... @@ -730,13 +730,13 @@ 730 730 731 731 the interval is 30000ms = 30s 732 732 ))) 733 -|AT+TDC=60000|Set Transmit Interval|((( 783 +|(% style="width:154px" %)AT+TDC=60000|(% style="width:223px" %)Set Transmit Interval|(% style="width:330px" %)((( 734 734 OK 735 735 736 736 Set transmit interval to 60000ms = 60 seconds 737 737 ))) 738 738 739 -**Downlink Command: 0x01** 789 +(% style="color:#037691" %)**Downlink Command: 0x01** 740 740 741 741 Format: Command Code (0x01) followed by 3 bytes time value. 742 742 ... ... @@ -745,32 +745,17 @@ 745 745 * Example 1: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds 746 746 * Example 2: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 747 747 748 -1. 749 -11. Set Interrupt Mode 798 +== 3.2 Set Interrupt Mode == 750 750 751 751 Feature, Set Interrupt mode for GPIO_EXIT. 752 752 753 -**AT Command: AT+INTMOD** 802 +(% style="color:#037691" %)**AT Command: AT+INTMOD** 754 754 755 -|**Command Example**|**Function**|**Response** 756 -|AT+INTMOD=?|Show current interrupt mode|((( 757 -0 804 +[[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"]] 758 758 759 -OK 760 760 761 -the mode is 0 = No interruption 762 -))) 763 -|AT+INTMOD=2|((( 764 -Set Transmit Interval 807 +(% style="color:#037691" %)**Downlink Command: 0x06** 765 765 766 -1. (Disable Interrupt), 767 -1. (Trigger by rising and falling edge), 768 -1. (Trigger by falling edge) 769 -1. (Trigger by rising edge) 770 -)))|OK 771 - 772 -**Downlink Command: 0x06** 773 - 774 774 Format: Command Code (0x06) followed by 3 bytes. 775 775 776 776 This means that the interrupt mode of the end node is set to 0x000003=3 (rising edge trigger), and the type code is 06. ... ... @@ -778,25 +778,20 @@ 778 778 * Example 1: Downlink Payload: 06000000 ~/~/ Turn off interrupt mode 779 779 * Example 2: Downlink Payload: 06000003 ~/~/ Set the interrupt mode to rising edge trigger 780 780 781 -1. 782 -11. Calibrate Sensor 816 +== 3.3 Calibrate Sensor == 783 783 784 -Detail See [[Calibration Guide>>path:#Calibration]] for the user of 0x13 and 0x14 downlink commands 818 +Detail See [[Calibration Guide>>path:#H2.7Calibration]] for the user of 0x13 and 0x14 downlink commands 785 785 786 786 787 787 788 -1. 789 -11. Get Firmware Version Info 822 +== 3.4 Get Firmware Version Info == 790 790 791 791 Feature: use downlink to get firmware version. 792 792 826 +(% style="color:#037691" %)**Downlink Command: 0x26** 793 793 794 - **Downlink Command:0x26**828 +[[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"]] 795 795 796 - 797 -|**Downlink Control Type**|**FPort**|**Type Code**|**Downlink payload size(bytes)** 798 -|Get Firmware Version Info|Any|26|2 799 - 800 800 * Reply to the confirmation package: 26 01 801 801 * Reply to non-confirmed packet: 26 00 802 802 ... ... @@ -804,11 +804,10 @@ 804 804 805 805 Configures info payload: 806 806 807 -|((( 808 -**Size** 809 - 810 -**(bytes)** 811 -)))|**1**|**1**|**1**|**1**|**1**|**5**|**1** 837 +(% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:510px" %) 838 +|=((( 839 +**Size(bytes)** 840 +)))|=**1**|=**1**|=**1**|=**1**|=**1**|=**5**|=**1** 812 812 |**Value**|Software Type|((( 813 813 Frequency 814 814 ... ... @@ -818,10 +818,7 @@ 818 818 819 819 Version 820 820 )))|Sensor Type|Reserve|((( 821 -[[Message>>path:#Message_Type]] 822 - 823 -[[Type>>path:#Message_Type]] 824 - 850 +[[Message Type>>path:#H2.3.6MessageType]] 825 825 Always 0x02 826 826 ))) 827 827 ... ... @@ -875,18 +875,19 @@ 875 875 876 876 877 877 904 += 4. Battery & How to replace = 878 878 906 +== 4.1 Battery Type == 879 879 880 - 881 -1. Battery & How to replace 882 -11. Battery Type 883 - 908 +((( 884 884 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. 910 +))) 885 885 886 - 912 +((( 887 887 The discharge curve is not linear so can’t simply use percentage to show the battery level. Below is the battery performance. 914 +))) 888 888 889 -[[image: file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image022.png]]916 +[[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"]] 890 890 891 891 892 892 Minimum Working Voltage for the LSPH01: ... ... @@ -894,30 +894,36 @@ 894 894 LSPH01: 2.45v ~~ 3.6v 895 895 896 896 897 -1. 898 -11. Replace Battery 899 899 925 +== 4.2 Replace Battery == 926 + 927 +((( 900 900 Any battery with range 2.45 ~~ 3.6v can be a replacement. We recommend to use Li-SOCl2 Battery. 929 +))) 901 901 931 +((( 902 902 And make sure the positive and negative pins match. 933 +))) 903 903 904 904 905 905 906 -1. 907 -11. Power Consumption Analyze 937 +== 4.3 Power Consumption Analyze == 908 908 939 +((( 909 909 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. 941 +))) 910 910 911 - 943 +((( 912 912 Instruction to use as below: 945 +))) 913 913 914 914 915 -Step 1: Downlink the up-to-date DRAGINO_Battery_Life_Prediction_Table.xlsx from: 948 +**Step 1**: Downlink the up-to-date DRAGINO_Battery_Life_Prediction_Table.xlsx from: 916 916 917 917 [[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/]] 918 918 919 919 920 -Step 2: Open it and choose 953 +**Step 2**: Open it and choose 921 921 922 922 * Product Model 923 923 * Uplink Interval ... ... @@ -925,102 +925,103 @@ 925 925 926 926 And the Life expectation in difference case will be shown on the right. 927 927 928 -[[image: file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image023.png]]961 +[[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"]] 929 929 930 930 931 931 The battery related documents as below: 932 932 933 -* [[Battery Dimension>>url:https://www.dragino.com/downloads/index.php?dir=datasheet/Battery/ER26500/]], 934 -* [[Lithium-Thionyl Chloride Battery>>url:https://www.dragino.com/downloads/index.php?dir=datasheet/Battery/ER26500/]] datasheet 935 -* [[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]] 936 - 937 -|((( 938 -JST-XH-2P connector 966 +* ((( 967 +[[Battery Dimension>>url:http://www.dragino.com/downloads/index.php?dir=datasheet/Battery/&file=LSN50-Battery-Dimension.pdf]], 939 939 ))) 969 +* ((( 970 +[[Lithium-Thionyl Chloride Battery datasheet>>url:https://www.dragino.com/downloads/downloads/datasheet/Battery/ER26500/ER26500_Datasheet-EN.pdf]], 971 +))) 972 +* ((( 973 +[[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]] 974 +))) 940 940 941 -[[image: file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image024.png]]976 +[[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"]] 942 942 943 943 944 944 945 -1. 946 -11. 947 -111. Battery Note 980 +=== 4.3.1 Battery Note === 948 948 982 +((( 949 949 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. 984 +))) 950 950 951 951 952 -1. 953 -11. 954 -111. Replace the battery 955 955 988 +=== 4.3.2 Replace the battery === 989 + 956 956 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. 957 957 958 - 959 959 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) 960 960 961 961 962 962 996 += 5. Use AT Command = 963 963 998 +== 5.1 Access AT Commands == 964 964 965 - 966 -1. Use AT Command 967 -11. Access AT Commands 968 - 969 969 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. 970 970 971 -[[image: file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image025.png]]1002 +[[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"]] 972 972 973 -Connection: 1004 +**Connection:** 974 974 975 -USB TTL GND <~-~-~-~-> GND 1006 +(% style="background-color:yellow" %)** USB TTL GND <~-~-~-~-> GND** 976 976 977 -USB TTL TXD <~-~-~-~-> UART_RXD 1008 +(% style="background-color:yellow" %)** USB TTL TXD <~-~-~-~-> UART_RXD** 978 978 979 -USB TTL RXD <~-~-~-~-> UART_TXD 1010 +(% style="background-color:yellow" %)** USB TTL RXD <~-~-~-~-> UART_TXD** 980 980 981 981 982 -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: 1013 +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: 983 983 984 984 985 - [[image: file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image026.png]]1016 + [[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"]] 986 986 987 -Valid AT Command please check [[Configure Device>>path:#Configure _Device]].1018 +Valid AT Command please check [[Configure Device>>path:#H3.ConfigureLSPH01viaATCommandorLoRaWANDownlink]]. 988 988 989 989 990 990 1022 += 6. FAQ = 991 991 992 -1. FAQ 993 -11. How to change the LoRa Frequency Bands/Region 1024 +== 6.1 How to change the LoRa Frequency Bands/Region == 994 994 995 -You can follow the instructions for [[how to upgrade image>>path:# 3ygebqi]].1026 +You can follow the instructions for [[how to upgrade image>>path:#H2.10200BFirmwareChangeLog]]. 996 996 When downloading the images, choose the required image file for download. 997 997 998 998 999 999 1000 -1. Trouble Shooting 1001 -11. AT Commands input doesn’t work 1031 += 7. Trouble Shooting = 1002 1002 1003 - 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.1033 +== 7.1 AT Commands input doesn’t work == 1004 1004 1035 +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. 1005 1005 1006 -1. Order Info 1007 1007 1008 -Part Number: **LSPH01-XX** 1009 1009 1039 += 8. Order Info = 1010 1010 1011 - **XX**:Thedefault frequencyband1041 +Part Number: (% style="color:blue" %)**LSPH01-XX** 1012 1012 1013 -* **AS923**: LoRaWAN AS923 band 1014 -* **AU915**: LoRaWAN AU915 band 1015 -* **EU433**: LoRaWAN EU433 band 1016 -* **EU868**: LoRaWAN EU868 band 1017 -* **KR920**: LoRaWAN KR920 band 1018 -* **US915**: LoRaWAN US915 band 1019 -* **IN865**: LoRaWAN IN865 band 1020 -* **CN470**: LoRaWAN CN470 band 1021 1021 1022 - 1.PackingInfo1044 +(% style="color:blue" %)**XX**(%%): The default frequency band 1023 1023 1046 +* (% style="color:red" %)**AS923**(%%): LoRaWAN AS923 band 1047 +* (% style="color:red" %)**AU915**(%%): LoRaWAN AU915 band 1048 +* (% style="color:red" %)**EU433**(%%): LoRaWAN EU433 band 1049 +* (% style="color:red" %)**EU868**(%%): LoRaWAN EU868 band 1050 +* (% style="color:red" %)**KR920**(%%): LoRaWAN KR920 band 1051 +* (% style="color:red" %)**US915**(%%): LoRaWAN US915 band 1052 +* (% style="color:red" %)**IN865**(%%): LoRaWAN IN865 band 1053 +* (% style="color:red" %)**CN470**(%%): LoRaWAN CN470 band 1054 + 1055 += 9. Packing Info = 1056 + 1057 + 1024 1024 **Package Includes**: 1025 1025 1026 1026 * LSPH01 LoRaWAN Soil Ph Sensor x 1 ... ... @@ -1032,11 +1032,10 @@ 1032 1032 * Package Size / pcs : cm 1033 1033 * Weight / pcs : g 1034 1034 1069 + 1035 1035 = 10. Support = 1036 1036 1037 1037 * 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. 1038 -* 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 1073 +* 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]]. 1039 1039 1040 -[[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]] 1041 - 1042 1042
- 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