Changes for page LDDS45 - LoRaWAN Distance Detection Sensor User Manual
Last modified by Mengting Qiu on 2025/02/26 15:04
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 6 removed)
Details
- Page properties
-
- Content
-
... ... @@ -51,6 +51,7 @@ 51 51 * 8500mAh Battery for long term use 52 52 53 53 54 + 54 54 == 1.3 Probe Specification == 55 55 56 56 ... ... @@ -72,7 +72,6 @@ 72 72 * Length: 3.5 meters 73 73 74 74 75 - 76 76 == 1.4 Applications == 77 77 78 78 * Smart Agriculture ... ... @@ -80,73 +80,66 @@ 80 80 81 81 == 1.5 Pin mapping and power on == 82 82 83 -[[image:1654580482666-473.png]] 83 +[[image:1654580482666-473.png]][[image:1654580428909-307.png]] 84 84 85 85 86 86 87 87 = 2. Configure LSPH01 to connect to LoRaWAN network = 88 88 89 -== 2.1 How it works == 89 +== 2.1 How it works == 90 90 91 -((( 92 92 The LSPH01 is configured as LoRaWAN OTAA Class A mode by default. It has OTAA keys to join LoRaWAN network. To connect a local LoRaWAN network, you need to input the OTAA keys in the LoRaWAN IoT server and power on the LSPH01. It will automatically join the network via OTAA and start to send the sensor value. The default uplink interval is 20 minutes. 93 -))) 94 94 95 -((( 96 -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. 97 -))) 98 98 94 +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:#_Using_the_AT]]to set the keys in the LSPH01. 99 99 100 -== 2.2 Quick guide to connect to LoRaWAN server (OTAA) == 101 101 102 -((( 97 +1. 98 +11. Quick guide to connect to LoRaWAN server (OTAA) 99 + 103 103 Following is an example for how to join the [[TTN v3 LoRaWAN Network>>url:https://console.cloud.thethings.network/]]. Below is the network structure; we use the [[LG308>>url:http://www.dragino.com/products/lora/item/140-lg308.html]] as a LoRaWAN gateway in this example. 104 -))) 105 105 106 -((( 107 - 108 -))) 109 109 110 -((( 103 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image002.png]] 104 + 105 + 111 111 The LG308 is already set to connected to [[TTN network >>url:https://console.cloud.thethings.network/]], so what we need to now is configure the TTN server. 112 -))) 113 113 114 - (((108 + 115 115 **Step 1**: Create a device in TTN with the OTAA keys from LSPH01. 116 -))) 117 117 118 -((( 119 119 Each LSPH01 is shipped with a sticker with the default device EUI as below: 120 -))) 121 121 122 122 123 -[[image:image -20220607135531-1.jpeg]]114 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image004.png]] 124 124 125 125 117 + 118 + 119 + 126 126 You can enter this key in the LoRaWAN Server portal. Below is TTN screen shot: 127 127 128 128 129 129 **Register the device** 130 130 131 -[[image: 1654581442672-605.png]]125 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image005.png]] 132 132 133 133 134 - 135 135 **Add APP EUI and DEV EUI** 136 136 137 -[[image:1654581465717-368.png]] 138 138 131 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image006.png]] 139 139 140 140 141 141 **Add APP EUI in the application** 142 142 143 -[[image:1654581493871-516.png]] 144 144 137 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image007.png]] 145 145 146 146 147 147 **Add APP KEY** 148 148 149 -[[image: 1654581517630-991.png]]142 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image008.png]] 150 150 151 151 152 152 **Step 2**: Power on LSPH01 ... ... @@ -209,7 +209,7 @@ 209 209 210 210 211 211 1. 212 -11. 205 +11. 213 213 111. Battery Info 214 214 215 215 Check the battery voltage for LSPH01. ... ... @@ -219,8 +219,8 @@ 219 219 Ex2: 0x0B49 = 2889mV 220 220 221 221 222 -1. 223 -11. 215 +1. 216 +11. 224 224 111. DS18B20 Temperature sensor 225 225 226 226 This is optional, user can connect external DS18B20 sensor to the [[+3.3v, 1-wire and GND pin>>path:#DS18B20]] . and this field will report temperature. ... ... @@ -234,8 +234,8 @@ 234 234 235 235 236 236 237 -1. 238 -11. 230 +1. 231 +11. 239 239 111. Soil pH 240 240 241 241 Range: 0 ~~ 14 pH ... ... @@ -245,8 +245,8 @@ 245 245 **0x02B7(H) = 695(D) = 6.95pH** 246 246 247 247 248 -1. 249 -11. 241 +1. 242 +11. 250 250 111. Soil Temperature 251 251 252 252 Get Soil Temperature ... ... @@ -260,8 +260,8 @@ 260 260 261 261 262 262 263 -1. 264 -11. 256 +1. 257 +11. 265 265 111. Interrupt Pin 266 266 267 267 This data field shows if this packet is generated by interrupt or not. [[Click here>>path:#Int_mod]] for the hardware and software set up. ... ... @@ -274,8 +274,8 @@ 274 274 0x01: Interrupt Uplink Packet. 275 275 276 276 277 -1. 278 -11. 270 +1. 271 +11. 279 279 111. Message Type 280 280 281 281 For a normal uplink payload, the message type is always 0x01. ... ... @@ -288,8 +288,8 @@ 288 288 |0x02|Reply configures info|[[Configure Info Payload>>path:#Configure_Info_Payload]] 289 289 |0x03|Reply Calibration Info|[[Calibration Payload>>path:#Calibration_Payload]] 290 290 291 -1. 292 -11. 284 +1. 285 +11. 293 293 111. Decode payload in The Things Network 294 294 295 295 While using TTN network, you can add the payload format to decode the payload. ... ... @@ -302,7 +302,7 @@ 302 302 LSPH01 TTN Payload Decoder: [[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/]] 303 303 304 304 305 -1. 298 +1. 306 306 11. Uplink Interval 307 307 308 308 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: ... ... @@ -311,7 +311,7 @@ 311 311 312 312 313 313 314 -1. 307 +1. 315 315 11. Show Data in DataCake IoT Server 316 316 317 317 [[DATACAKE>>url:https://datacake.co/]] provides a human friendly interface to show the sensor data, once we have data in TTN, we can use [[DATACAKE>>url:https://datacake.co/]] to connect to TTN and see the data in DATACAKE. Below are the steps: ... ... @@ -371,8 +371,8 @@ 371 371 If the LSPH01 has more than 7 days not use or just clean the pH probe. User should put the probe inside pure water for more than 24 hours for activation. If no put in water, user need to put inside soil for more than 24 hours to ensure the measurement accuracy. 372 372 373 373 374 -1. 375 -11. 367 +1. 368 +11. 376 376 111. Measurement 377 377 378 378 **Measurement the soil surface** ... ... @@ -400,8 +400,8 @@ 400 400 Insert the probe inside, method like measure the surface. 401 401 402 402 403 -1. 404 -11. 396 +1. 397 +11. 405 405 111. Maintain Probe 406 406 1111. pH probe electrode is fragile and no strong. User must avoid strong force or hitting it. 407 407 1111. After long time use (3~~ 6 months). The probe electrode needs to be clean; user can use high grade sandpaper to polish it or put in 5% hydrochloric acid for several minutes. After the metal probe looks like new, user can use pure water to wash it. ... ... @@ -410,7 +410,8 @@ 410 410 1111. Avoid the probes to touch oily matter. Which will cause issue in accuracy. 411 411 1111. The probe is IP68 can be put in water. 412 412 413 -1. 406 + 407 +1. 414 414 11. Calibration 415 415 416 416 User can do calibration for the probe. It is limited to use below pH buffer solution to calibrate: 4.00, 6.86, 9.18. When calibration, user need to clean the electrode and put the probe in the pH buffer solution to wait the value stable ( a new clean electrode might need max 24 hours to be stable). ... ... @@ -481,13 +481,13 @@ 481 481 * Reply to the confirmation package: 14 01 482 482 * Reply to non-confirmed packet: 14 00 483 483 484 -1. 478 +1. 485 485 11. Frequency Plans 486 486 487 487 The LSPH01 uses OTAA mode and below frequency plans by default. If user want to use it with different frequency plan, please refer the AT command sets. 488 488 489 -1. 490 -11. 483 +1. 484 +11. 491 491 111. EU863-870 (EU868) 492 492 493 493 Uplink: ... ... @@ -518,8 +518,8 @@ 518 518 869.525 - SF9BW125 (RX2 downlink only) 519 519 520 520 521 -1. 522 -11. 515 +1. 516 +11. 523 523 111. US902-928(US915) 524 524 525 525 Used in USA, Canada and South America. Frequency band as per definition in LoRaWAN 1.0.3 Regional document. ... ... @@ -533,8 +533,8 @@ 533 533 * Check what sub-band the LoRaWAN server ask from the OTAA Join Accept message and switch to that sub-band 534 534 * 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) 535 535 536 -1. 537 -11. 530 +1. 531 +11. 538 538 111. CN470-510 (CN470) 539 539 540 540 Used in China, Default use CHE=1 ... ... @@ -579,8 +579,8 @@ 579 579 505.3 - SF12BW125 (RX2 downlink only) 580 580 581 581 582 -1. 583 -11. 576 +1. 577 +11. 584 584 111. AU915-928(AU915) 585 585 586 586 Frequency band as per definition in LoRaWAN 1.0.3 Regional document. ... ... @@ -594,8 +594,8 @@ 594 594 * Check what sub-band the LoRaWAN server ask from the OTAA Join Accept message and switch to that sub-band 595 595 * 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) 596 596 597 -1. 598 -11. 591 +1. 592 +11. 599 599 111. AS920-923 & AS923-925 (AS923) 600 600 601 601 **Default Uplink channel:** ... ... @@ -647,8 +647,8 @@ 647 647 923.2 - SF10BW125 (RX2) 648 648 649 649 650 -1. 651 -11. 644 +1. 645 +11. 652 652 111. KR920-923 (KR920) 653 653 654 654 Default channel: ... ... @@ -684,8 +684,8 @@ 684 684 921.9 - SF12BW125 (RX2 downlink only; SF12BW125 might be changed to SF9BW125) 685 685 686 686 687 -1. 688 -11. 681 +1. 682 +11. 689 689 111. IN865-867 (IN865) 690 690 691 691 Uplink: ... ... @@ -704,7 +704,7 @@ 704 704 866.550 - SF10BW125 (RX2) 705 705 706 706 707 -1. 701 +1. 708 708 11. LED Indicator 709 709 710 710 The LSPH01 has an internal LED which is to show the status of different state. ... ... @@ -713,7 +713,7 @@ 713 713 * The sensor is detected when the device is turned on, and it will flash 4 times quickly when it is detected. 714 714 * Blink once when device transmit a packet. 715 715 716 -1. 710 +1. 717 717 11. Firmware Change Log 718 718 719 719 **Firmware download link:** ... ... @@ -759,7 +759,7 @@ 759 759 These commands only valid for LSPH01, as below: 760 760 761 761 762 -1. 756 +1. 763 763 11. Set Transmit Interval Time 764 764 765 765 Feature: Change LoRaWAN End Node Transmit Interval. ... ... @@ -789,7 +789,7 @@ 789 789 * Example 1: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds 790 790 * Example 2: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 791 791 792 -1. 786 +1. 793 793 11. Set Interrupt Mode 794 794 795 795 Feature, Set Interrupt mode for GPIO_EXIT. ... ... @@ -822,7 +822,7 @@ 822 822 * Example 1: Downlink Payload: 06000000 ~/~/ Turn off interrupt mode 823 823 * Example 2: Downlink Payload: 06000003 ~/~/ Set the interrupt mode to rising edge trigger 824 824 825 -1. 819 +1. 826 826 11. Calibrate Sensor 827 827 828 828 Detail See [[Calibration Guide>>path:#Calibration]] for the user of 0x13 and 0x14 downlink commands ... ... @@ -829,7 +829,7 @@ 829 829 830 830 831 831 832 -1. 826 +1. 833 833 11. Get Firmware Version Info 834 834 835 835 Feature: use downlink to get firmware version. ... ... @@ -938,7 +938,7 @@ 938 938 LSPH01: 2.45v ~~ 3.6v 939 939 940 940 941 -1. 935 +1. 942 942 11. Replace Battery 943 943 944 944 Any battery with range 2.45 ~~ 3.6v can be a replacement. We recommend to use Li-SOCl2 Battery. ... ... @@ -947,7 +947,7 @@ 947 947 948 948 949 949 950 -1. 944 +1. 951 951 11. Power Consumption Analyze 952 952 953 953 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. ... ... @@ -987,14 +987,14 @@ 987 987 988 988 989 989 1. 990 -11. 984 +11. 991 991 111. Battery Note 992 992 993 993 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. 994 994 995 995 996 -1. 997 -11. 990 +1. 991 +11. 998 998 111. Replace the battery 999 999 1000 1000 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.
- 1654581442672-605.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -59.6 KB - Content
- 1654581465717-368.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -62.1 KB - Content
- 1654581493871-516.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -83.1 KB - Content
- 1654581517630-991.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -65.2 KB - Content
- image-20220607135531-1.jpeg
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -16.5 KB - Content
- image-20220607135918-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -99.6 KB - Content