Changes for page SPH01-LB -- LoRaWAN Soil pH Sensor User Manual
Last modified by Xiaoling on 2024/01/15 09:36
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -138,7 +138,7 @@ 138 138 == 1.7 BLE connection == 139 139 140 140 141 -SPH01-LB support BLE remote configure. 141 +SPH01-LB/LS support BLE remote configure. 142 142 143 143 144 144 BLE can be used to configure the parameter of sensor or see the console output from sensor. BLE will be only activate on below case: ... ... @@ -162,12 +162,12 @@ 162 162 [[image:Main.User Manual for LoRaWAN End Nodes.D20-LBD22-LBD23-LB_LoRaWAN_Temperature_Sensor_User_Manual.WebHome@1675143909447-639.png]] 163 163 164 164 165 -= 2. Configure SPH01-LB to connect to LoRaWAN network = 165 += 2. Configure SPH01-LB/LS to connect to LoRaWAN network = 166 166 167 167 == 2.1 How it works == 168 168 169 169 170 -The SPH01-LB is configured as (% style="color:#037691" %)**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 press the button to activate the SPH01-LB. It will automatically join the network via OTAA and start to send the sensor value. The default uplink interval is 20 minutes. 170 +The SPH01-LB/LS is configured as (% style="color:#037691" %)**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 press the button to activate the SPH01-LB/LS. It will automatically join the network via OTAA and start to send the sensor value. The default uplink interval is 20 minutes. 171 171 172 172 (% style="display:none" %) (%%) 173 173 ... ... @@ -183,9 +183,9 @@ 183 183 (% style="display:none" %) 184 184 185 185 186 -(% style="color:blue" %)**Step 1:**(%%) Create a device in TTN with the OTAA keys from SPH01-LB. 186 +(% style="color:blue" %)**Step 1:**(%%) Create a device in TTN with the OTAA keys from SPH01-LB/LS. 187 187 188 -Each SPH01-LB is shipped with a sticker with the default device EUI as below: 188 +Each SPH01-LB/LS is shipped with a sticker with the default device EUI as below: 189 189 190 190 [[image:image-20230426084152-1.png||alt="图片-20230426084152-1.png" height="233" width="502"]] 191 191 ... ... @@ -214,10 +214,10 @@ 214 214 [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LSN50v2-S31-S31B%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20User%20Manual/WebHome/image-20220611161308-6.png?width=744&height=485&rev=1.1||alt="图片-20220611161308-6.png"]] 215 215 216 216 217 -(% style="color:blue" %)**Step 2:**(%%) Activate on SPH01-LB 217 +(% style="color:blue" %)**Step 2:**(%%) Activate on SPH01-LB/LS 218 218 219 219 220 -Press the button for 5 seconds to activate the SPH01-LB. 220 +Press the button for 5 seconds to activate the SPH01-LB/LS. 221 221 222 222 (% style="color:green" %)**Green led**(%%) will fast blink 5 times, device will enter (% style="color:blue" %)**OTA mode**(%%) for 3 seconds. And then start to JOIN LoRaWAN network. (% style="color:green" %)**Green led**(%%) will solidly turn on for 5 seconds after joined in network. 223 223 ... ... @@ -228,7 +228,7 @@ 228 228 229 229 230 230 ((( 231 -SPH01-LB will uplink payload via LoRaWAN with below payload format: 231 +SPH01-LB/LS will uplink payload via LoRaWAN with below payload format: 232 232 ))) 233 233 234 234 ((( ... ... @@ -257,7 +257,7 @@ 257 257 === 2.3.1 Battery Info === 258 258 259 259 260 -Check the battery voltage for SPH01-LB. 260 +Check the battery voltage for SPH01-LB/LS. 261 261 262 262 Ex1: 0x0B45 = 2885mV 263 263 ... ... @@ -348,36 +348,33 @@ 348 348 == 2.4 Uplink Interval == 349 349 350 350 351 -The SPH01-LB by default uplink the sensor data every 20 minutes. User can change this interval by AT Command or LoRaWAN Downlink Command. See this link: [[Change Uplink Interval>>doc:Main.End Device AT Commands and Downlink Command.WebHome||anchor="H4.1ChangeUplinkInterval"]] 351 +The SPH01-LB/LS by default uplink the sensor data every 20 minutes. User can change this interval by AT Command or LoRaWAN Downlink Command. See this link: [[Change Uplink Interval>>doc:Main.End Device AT Commands and Downlink Command.WebHome||anchor="H4.1ChangeUplinkInterval"]] 352 352 353 353 354 354 == 2.5 Datalog Feature == 355 355 356 356 357 -Datalog Feature is to ensure IoT Server can get all sampling data from Sensor even if the LoRaWAN network is down. For each sampling, SPH01-LB will store the reading for future retrieving purposes. 357 +Datalog Feature is to ensure IoT Server can get all sampling data from Sensor even if the LoRaWAN network is down. For each sampling, SPH01-LB/LS will store the reading for future retrieving purposes. 358 358 359 359 360 360 === 2.5.1 Ways to get datalog via LoRaWAN === 361 361 362 362 363 -Set PNACKMD=1, SPH01-LB will wait for ACK for every uplink, when there is no LoRaWAN network,SPH01-LB will mark these records with non-ack messages and store the sensor data, and it will send all messages (10s interval) after the network recovery. 363 +Set PNACKMD=1, SPH01-LB/LS will wait for ACK for every uplink, when there is no LoRaWAN network, SPH01-LB/LS will mark these records with non-ack messages and store the sensor data, and it will send all messages (10s interval) after the network recovery. 364 364 365 365 * ((( 366 -a) SPH01-LB will do an ACK check for data records sending to make sure every data arrive server. 366 +a) SPH01-LB/LS will do an ACK check for data records sending to make sure every data arrive server. 367 367 ))) 368 368 * ((( 369 -b) SPH01-LB will send data in **CONFIRMED Mode** when PNACKMD=1, but SPH01-LB won't re-transmit the packet if it doesn't get ACK, it will just mark it as a NONE-ACK message. In a future uplink if SPH01-LB gets a ACK, SPH01-LB will consider there is a network connection and resend all NONE-ACK messages. 369 +b) SPH01-LB/LS will send data in **CONFIRMED Mode** when PNACKMD=1, but SPH01-LB/LS won't re-transmit the packet if it doesn't get ACK, it will just mark it as a NONE-ACK message. In a future uplink if SPH01-LB/LS gets a ACK, SPH01-LB/LS will consider there is a network connection and resend all NONE-ACK messages. 370 370 ))) 371 371 372 -Below is the typical case for the auto-update datalog feature (Set PNACKMD=1) 373 373 374 -[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/WebHome/image-20220703111700-2.png?width=1119&height=381&rev=1.1||alt="图片-20220703111700-2.png" height="381" width="1119"]] 375 375 376 - 377 377 === 2.5.2 Unix TimeStamp === 378 378 379 379 380 -SPH01-LB uses Unix TimeStamp format based on 377 +SPH01-LB/LS uses Unix TimeStamp format based on 381 381 382 382 [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/WebHome/image-20220523001219-11.png?width=627&height=97&rev=1.1||alt="图片-20220523001219-11.png" height="97" width="627"]] 383 383 ... ... @@ -396,7 +396,7 @@ 396 396 397 397 User need to set (% style="color:blue" %)**SYNCMOD=1**(%%) to enable sync time via MAC command. 398 398 399 -Once SPH01-LB Joined LoRaWAN network, it will send the MAC command (DeviceTimeReq) and the server will reply with (DeviceTimeAns) to send the current time to SPH01-LB. If SPH01-LB fails to get the time from the server, SPH01-LB will use the internal time and wait for next time request (AT+SYNCTDC to set the time request period, default is 10 days). 396 +Once SPH01-LB/LS Joined LoRaWAN network, it will send the MAC command (DeviceTimeReq) and the server will reply with (DeviceTimeAns) to send the current time to SPH01-LB/LS. If SPH01-LB/LS fails to get the time from the server, SPH01-LB/LS will use the internal time and wait for next time request (AT+SYNCTDC to set the time request period, default is 10 days). 400 400 401 401 (% style="color:red" %)**Note: LoRaWAN Server need to support LoRaWAN v1.0.3(MAC v1.0.3) or higher to support this MAC command feature, Chirpstack,TTN V3 v3 and loriot support but TTN V3 v2 doesn't support. If server doesn't support this command, it will through away uplink packet with this command, so user will lose the packet with time request for TTN V3 v2 if SYNCMOD=1.** 402 402 ... ... @@ -435,7 +435,7 @@ 435 435 436 436 **Example:** 437 437 438 -If SPH01-LB has below data inside Flash: 435 +If SPH01-LB/LS has below data inside Flash: 439 439 440 440 [[image:image-20230606170132-1.png]] 441 441 ... ... @@ -469,7 +469,7 @@ 469 469 ))) 470 470 471 471 ((( 472 -Uplink Internal =5s,means SPH01-LB will send one packet every 5s. range 5~~255s. 469 +Uplink Internal =5s,means SPH01-LB/LS will send one packet every 5s. range 5~~255s. 473 473 ))) 474 474 475 475 ... ... @@ -479,7 +479,7 @@ 479 479 480 480 481 481 ((( 482 -If the SPH01-LB 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. 479 +If the SPH01-LB/LS 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. 483 483 ))) 484 484 485 485 ... ... @@ -648,17 +648,17 @@ 648 648 == 2.8 Frequency Plans == 649 649 650 650 651 -The SPH01-LB 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. 648 +The SPH01-LB/LS 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. 652 652 653 653 [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20Frequency%20Band/>>http://wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20Frequency%20Band/]] 654 654 655 655 656 -= 3. Configure SPH01-LB = 653 += 3. Configure SPH01-LB/LS = 657 657 658 658 == 3.1 Configure Methods == 659 659 660 660 661 -SPH01-LB supports below configure method: 658 +SPH01-LB/LS supports below configure method: 662 662 663 663 * AT Command via Bluetooth Connection (**Recommended**): [[BLE Configure Instruction>>http://wiki.dragino.com/xwiki/bin/view/Main/BLE%20Bluetooth%20Remote%20Configure/]]. 664 664 ... ... @@ -681,10 +681,10 @@ 681 681 [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20AT%20Commands%20and%20Downlink%20Command/>>http://wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20AT%20Commands%20and%20Downlink%20Command/]] 682 682 683 683 684 -== 3.3 Commands special design for SPH01-LB == 681 +== 3.3 Commands special design for SPH01-LB/LS == 685 685 686 686 687 -These commands only valid for SPH01-LB, as below: 684 +These commands only valid for SPH01-LB/LS, as below: 688 688 689 689 690 690 === 3.3.1 Set Transmit Interval Time === ... ... @@ -797,7 +797,7 @@ 797 797 |(% style="background-color:#d9e2f3; color:#0070c0; width:70px" %)**Size(bytes)**|(% style="background-color:#d9e2f3; color:#0070c0; width:70px" %)**1**|(% style="background-color:#d9e2f3; color:#0070c0; width:100px" %)**2**|(% style="background-color:#d9e2f3; color:#0070c0; width:100px" %)**1**|(% style="background-color:#d9e2f3; color:#0070c0; width:70px" %)**1**|(% style="background-color:#d9e2f3; color:#0070c0; width:60px" %)**2** 798 798 |Value|Sensor Model|Firmware Version|Frequency Band|Sub-band|BAT 799 799 800 -(% style="color:#037691" %)**Software Type**(%%): Always 0x2C for SPH01-LB 797 +(% style="color:#037691" %)**Software Type**(%%): Always 0x2C for SPH01-LB/LS 801 801 802 802 (% style="color:#037691" %)**Firmware Version**(%%): 0x0100, Means: v1.0.0 version 803 803 ... ... @@ -853,7 +853,7 @@ 853 853 = 4. Battery & Power Consumption = 854 854 855 855 856 -SPH01-LB use ER26500 + SPC1520 battery pack. See below link for detail information about the battery info and how to replace. 853 +SPH01-LB/LS use ER26500 + SPC1520 battery pack. See below link for detail information about the battery info and how to replace. 857 857 858 858 [[**Battery Info & Power Consumption Analyze**>>http://wiki.dragino.com/xwiki/bin/view/Main/How%20to%20calculate%20the%20battery%20life%20of%20Dragino%20sensors%3F/]] . 859 859 ... ... @@ -862,7 +862,7 @@ 862 862 863 863 864 864 (% class="wikigeneratedid" %) 865 -User can change firmware SPH01-LB to: 862 +User can change firmware SPH01-LB/LS to: 866 866 867 867 * Change Frequency band/ region. 868 868 ... ... @@ -890,9 +890,9 @@ 890 890 = 7. Order Info = 891 891 892 892 893 -Part Number: (% style="color:blue" %)**SPH01-LB-XXX** 890 +Part Number: (% style="color:blue" %)**SPH01-LB-XX or SPH01-LS-XX** 894 894 895 -(% style="color:red" %)**XX X**(%%): The default frequency band892 +(% style="color:red" %)**XX**(%%): The default frequency band 896 896 897 897 * (% style="color:red" %)**AS923**(%%): LoRaWAN AS923 band 898 898 ... ... @@ -916,7 +916,7 @@ 916 916 917 917 (% style="color:#037691" %)**Package Includes**: 918 918 919 -* SPH01-LB LoRaWAN Soil Ph Sensor x 1 916 +* SPH01-LB or SPH01-LS LoRaWAN Soil Ph Sensor x 1 920 920 921 921 (% style="color:#037691" %)**Dimension and weight**: 922 922