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,7 +422,7 @@ 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,11 +429,12 @@ 429 429 430 430 User can also send 0x14 downlink command to poll the current calibration payload. 431 431 432 -[[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"]] 433 433 434 434 * Reply to the confirmation package: 14 01 435 435 * Reply to non-confirmed packet: 14 00 436 436 493 + 437 437 == 2.8 Frequency Plans == 438 438 439 439 ((( ... ... @@ -644,6 +644,7 @@ 644 644 921.9 - SF12BW125 (RX2 downlink only; SF12BW125 might be changed to SF9BW125) 645 645 646 646 704 + 647 647 === 2.8.7 IN865-867 (IN865) === 648 648 649 649 (% style="color:blue" %)**Uplink:** ... ... @@ -671,35 +671,28 @@ 671 671 * Blink once when device transmit a packet. 672 672 673 673 674 - 1. Firmware Change Log732 +== 2.10 Firmware Change Log == 675 675 734 + 676 676 **Firmware download link:** 677 677 678 678 [[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/]] 679 679 680 680 681 -**Firmware Upgrade Method:** 740 +**Firmware Upgrade Method: **[[Firmware Upgrade Instruction>>path:/xwiki/bin/view/Main/Firmware%20Upgrade%20Instruction%20for%20STM32%20base%20products/]] 682 682 683 -[[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]] 684 684 685 685 744 += 3. Configure LSPH01 via AT Command or LoRaWAN Downlink = 686 686 687 - 688 - 689 - 690 -1. Configure LSPH01 via AT Command or LoRaWAN Downlink 691 - 692 692 Use can configure LSPH01 via AT Command or LoRaWAN Downlink. 693 693 694 -* AT Command Connection: See [[FAQ>>path:#A T_COMMAND]].695 -* 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/]] 696 696 697 -[[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]] 698 - 699 - 700 700 There are two kinds of commands to configure LSPH01, they are: 701 701 702 -* **General Commands**. 753 +* (% style="color:#4f81bd" %)** General Commands**. 703 703 704 704 These commands are to configure: 705 705 ... ... @@ -706,25 +706,25 @@ 706 706 * General system settings like: uplink interval. 707 707 * LoRaWAN protocol & radio related command. 708 708 709 -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/]] 710 710 711 -[[http:~~/~~/wiki.dragino.com/index.pHp?title=End_Device_Downlink_Command>>url:http://wiki.dragino.com/index.php?title=End_Device_Downlink_Command]] 712 712 763 +* (% style="color:#4f81bd" %)** Commands special design for LSPH01** 713 713 714 -* **Commands special design for LSPH01** 715 - 716 716 These commands only valid for LSPH01, as below: 717 717 718 718 719 -1. 720 -11. Set Transmit Interval Time 721 721 769 +== 3.1 Set Transmit Interval Time == 770 + 722 722 Feature: Change LoRaWAN End Node Transmit Interval. 723 723 724 -**AT Command: AT+TDC** 773 +(% style="color:#037691" %)**AT Command: AT+TDC** 725 725 726 -|**Command Example**|**Function**|**Response** 727 -|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" %)((( 728 728 30000 729 729 730 730 OK ... ... @@ -731,13 +731,13 @@ 731 731 732 732 the interval is 30000ms = 30s 733 733 ))) 734 -|AT+TDC=60000|Set Transmit Interval|((( 785 +|(% style="width:154px" %)AT+TDC=60000|(% style="width:223px" %)Set Transmit Interval|(% style="width:330px" %)((( 735 735 OK 736 736 737 737 Set transmit interval to 60000ms = 60 seconds 738 738 ))) 739 739 740 -**Downlink Command: 0x01** 791 +(% style="color:#037691" %)**Downlink Command: 0x01** 741 741 742 742 Format: Command Code (0x01) followed by 3 bytes time value. 743 743 ... ... @@ -746,32 +746,18 @@ 746 746 * Example 1: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds 747 747 * Example 2: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 748 748 749 -1. 750 -11. Set Interrupt Mode 751 751 801 +== 3.2 Set Interrupt Mode == 802 + 752 752 Feature, Set Interrupt mode for GPIO_EXIT. 753 753 754 -**AT Command: AT+INTMOD** 805 +(% style="color:#037691" %)**AT Command: AT+INTMOD** 755 755 756 -|**Command Example**|**Function**|**Response** 757 -|AT+INTMOD=?|Show current interrupt mode|((( 758 -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"]] 759 759 760 -OK 761 761 762 -the mode is 0 = No interruption 763 -))) 764 -|AT+INTMOD=2|((( 765 -Set Transmit Interval 810 +(% style="color:#037691" %)**Downlink Command: 0x06** 766 766 767 -1. (Disable Interrupt), 768 -1. (Trigger by rising and falling edge), 769 -1. (Trigger by falling edge) 770 -1. (Trigger by rising edge) 771 -)))|OK 772 - 773 -**Downlink Command: 0x06** 774 - 775 775 Format: Command Code (0x06) followed by 3 bytes. 776 776 777 777 This means that the interrupt mode of the end node is set to 0x000003=3 (rising edge trigger), and the type code is 06. ... ... @@ -779,25 +779,21 @@ 779 779 * Example 1: Downlink Payload: 06000000 ~/~/ Turn off interrupt mode 780 780 * Example 2: Downlink Payload: 06000003 ~/~/ Set the interrupt mode to rising edge trigger 781 781 782 -1. 783 -11. Calibrate Sensor 784 784 785 - DetailSee[[CalibrationGuide>>path:#Calibration]] forthe user of 0x13 and 0x14 downlink commands820 +== 3.3 Calibrate Sensor == 786 786 822 +Detail See [[Calibration Guide>>path:#H2.7Calibration]] for the user of 0x13 and 0x14 downlink commands 787 787 788 788 789 -1. 790 -11. Get Firmware Version Info 791 791 826 +== 3.4 Get Firmware Version Info == 827 + 792 792 Feature: use downlink to get firmware version. 793 793 830 +(% style="color:#037691" %)**Downlink Command: 0x26** 794 794 795 - **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"]] 796 796 797 - 798 -|**Downlink Control Type**|**FPort**|**Type Code**|**Downlink payload size(bytes)** 799 -|Get Firmware Version Info|Any|26|2 800 - 801 801 * Reply to the confirmation package: 26 01 802 802 * Reply to non-confirmed packet: 26 00 803 803 ... ... @@ -805,11 +805,10 @@ 805 805 806 806 Configures info payload: 807 807 808 -|((( 809 -**Size** 810 - 811 -**(bytes)** 812 -)))|**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** 813 813 |**Value**|Software Type|((( 814 814 Frequency 815 815 ... ... @@ -819,10 +819,7 @@ 819 819 820 820 Version 821 821 )))|Sensor Type|Reserve|((( 822 -[[Message>>path:#Message_Type]] 823 - 824 -[[Type>>path:#Message_Type]] 825 - 854 +[[Message Type>>path:#H2.3.6MessageType]] 826 826 Always 0x02 827 827 ))) 828 828 ... ... @@ -876,18 +876,19 @@ 876 876 877 877 878 878 908 += 4. Battery & How to replace = 879 879 910 +== 4.1 Battery Type == 880 880 881 - 882 -1. Battery & How to replace 883 -11. Battery Type 884 - 912 +((( 885 885 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 +))) 886 886 887 - 916 +((( 888 888 The discharge curve is not linear so can’t simply use percentage to show the battery level. Below is the battery performance. 918 +))) 889 889 890 -[[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"]] 891 891 892 892 893 893 Minimum Working Voltage for the LSPH01: ... ... @@ -895,30 +895,36 @@ 895 895 LSPH01: 2.45v ~~ 3.6v 896 896 897 897 898 -1. 899 -11. Replace Battery 900 900 929 +== 4.2 Replace Battery == 930 + 931 +((( 901 901 Any battery with range 2.45 ~~ 3.6v can be a replacement. We recommend to use Li-SOCl2 Battery. 933 +))) 902 902 935 +((( 903 903 And make sure the positive and negative pins match. 937 +))) 904 904 905 905 906 906 907 -1. 908 -11. Power Consumption Analyze 941 +== 4.3 Power Consumption Analyze == 909 909 943 +((( 910 910 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 +))) 911 911 912 - 947 +((( 913 913 Instruction to use as below: 949 +))) 914 914 915 915 916 -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: 917 917 918 918 [[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/]] 919 919 920 920 921 -Step 2: Open it and choose 957 +**Step 2**: Open it and choose 922 922 923 923 * Product Model 924 924 * Uplink Interval ... ... @@ -926,102 +926,104 @@ 926 926 927 927 And the Life expectation in difference case will be shown on the right. 928 928 929 -[[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"]] 930 930 931 931 932 932 The battery related documents as below: 933 933 934 -* [[Battery Dimension>>url:https://www.dragino.com/downloads/index.php?dir=datasheet/Battery/ER26500/]], 935 -* [[Lithium-Thionyl Chloride Battery>>url:https://www.dragino.com/downloads/index.php?dir=datasheet/Battery/ER26500/]] datasheet 936 -* [[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]] 937 - 938 -|((( 939 -JST-XH-2P connector 970 +* ((( 971 +[[Battery Dimension>>url:http://www.dragino.com/downloads/index.php?dir=datasheet/Battery/&file=LSN50-Battery-Dimension.pdf]], 940 940 ))) 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 +))) 941 941 942 -[[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"]] 943 943 944 944 945 945 946 -1. 947 -11. 948 -111. Battery Note 984 +=== 4.3.1 Battery Note === 949 949 986 +((( 950 950 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 +))) 951 951 952 952 953 -1. 954 -11. 955 -111. Replace the battery 956 956 992 +=== 4.3.2 Replace the battery === 993 + 957 957 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. 958 958 959 - 960 960 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) 961 961 962 962 963 963 1000 += 5. Use AT Command = 964 964 1002 +== 5.1 Access AT Commands == 965 965 966 - 967 -1. Use AT Command 968 -11. Access AT Commands 969 - 970 970 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. 971 971 972 -[[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"]] 973 973 974 -Connection: 1008 +**Connection:** 975 975 976 -USB TTL GND <~-~-~-~-> GND 1010 +(% style="background-color:yellow" %)** USB TTL GND <~-~-~-~-> GND** 977 977 978 -USB TTL TXD <~-~-~-~-> UART_RXD 1012 +(% style="background-color:yellow" %)** USB TTL TXD <~-~-~-~-> UART_RXD** 979 979 980 -USB TTL RXD <~-~-~-~-> UART_TXD 1014 +(% style="background-color:yellow" %)** USB TTL RXD <~-~-~-~-> UART_TXD** 981 981 982 982 983 -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: 984 984 985 985 986 - [[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"]] 987 987 988 -Valid AT Command please check [[Configure Device>>path:#Configure _Device]].1022 +Valid AT Command please check [[Configure Device>>path:#H3.ConfigureLSPH01viaATCommandorLoRaWANDownlink]]. 989 989 990 990 991 991 1026 += 6. FAQ = 992 992 993 -1. FAQ 994 -11. How to change the LoRa Frequency Bands/Region 1028 +== 6.1 How to change the LoRa Frequency Bands/Region == 995 995 996 -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]]. 997 997 When downloading the images, choose the required image file for download. 998 998 999 999 1000 1000 1001 -1. Trouble Shooting 1002 -11. AT Commands input doesn’t work 1035 += 7. Trouble Shooting = 1003 1003 1004 - 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 == 1005 1005 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. 1006 1006 1007 -1. Order Info 1008 1008 1009 -Part Number: **LSPH01-XX** 1010 1010 1043 += 8. Order Info = 1011 1011 1012 - **XX**:Thedefault frequencyband1045 +Part Number: (% style="color:blue" %)**LSPH01-XX** 1013 1013 1014 -* **AS923**: LoRaWAN AS923 band 1015 -* **AU915**: LoRaWAN AU915 band 1016 -* **EU433**: LoRaWAN EU433 band 1017 -* **EU868**: LoRaWAN EU868 band 1018 -* **KR920**: LoRaWAN KR920 band 1019 -* **US915**: LoRaWAN US915 band 1020 -* **IN865**: LoRaWAN IN865 band 1021 -* **CN470**: LoRaWAN CN470 band 1022 1022 1023 - 1.PackingInfo1048 +(% style="color:blue" %)**XX**(%%): The default frequency band 1024 1024 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 + 1025 1025 **Package Includes**: 1026 1026 1027 1027 * LSPH01 LoRaWAN Soil Ph Sensor x 1 ... ... @@ -1033,11 +1033,11 @@ 1033 1033 * Package Size / pcs : cm 1034 1034 * Weight / pcs : g 1035 1035 1074 + 1075 + 1036 1036 = 10. Support = 1037 1037 1038 1038 * 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. 1039 -* 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]]. 1040 1040 1041 -[[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]] 1042 - 1043 1043
- 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