Changes for page SPH01-LB -- LoRaWAN Soil pH Sensor User Manual
Last modified by Xiaoling on 2024/01/15 09:36
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 1 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Xiaoling1 +XWiki.David - Content
-
... ... @@ -55,7 +55,6 @@ 55 55 * 8500mAh Battery for long term use 56 56 57 57 58 - 59 59 == 1.3 Specification == 60 60 61 61 ... ... @@ -102,7 +102,6 @@ 102 102 * LoRa Transmit Mode: 125mA @ 20dBm, 82mA @ 14dBm 103 103 104 104 105 - 106 106 == 1.4 Applications == 107 107 108 108 ... ... @@ -109,7 +109,6 @@ 109 109 * Smart Agriculture 110 110 111 111 112 - 113 113 == 1.5 Sleep mode and working mode == 114 114 115 115 ... ... @@ -138,7 +138,6 @@ 138 138 |(% style="width:167px" %)Fast press ACT 5 times.|(% style="width:117px" %)Deactivate Device|(% style="width:225px" %)(% style="color:red" %)**Red led**(%%) will solid on for 5 seconds. Means device is in Deep Sleep Mode. 139 139 140 140 141 - 142 142 == 1.7 BLE connection == 143 143 144 144 ... ... @@ -341,7 +341,6 @@ 341 341 |(% style="width:160px" %)0x03|(% style="width:163px" %)Reply Calibration Info|(% style="width:173px" %)[[Calibration Payload>>||anchor="H2.7Calibration"]] 342 342 343 343 344 - 345 345 === 2.3.7 Decode payload in The Things Network === 346 346 347 347 ... ... @@ -412,10 +412,52 @@ 412 412 413 413 (% 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.** 414 414 410 +=== 2.5.4 Datalog Uplink payload (FPORT~=3) === 415 415 416 - ===2.5.4 Poll sensorvalue===412 +The Datalog uplinks will use below payload format. 417 417 414 +**Retrieval data payload:** 418 418 416 +|=**Size(bytes)**|=**2**|=**2**|=**2**|=**1**|=**4** 417 +|Value|PH|((( 418 +Temperature 419 + 420 + 421 +)))|DS18B20_Temperature|Level of PA8|Unix Time Stamp 422 + 423 +**Poll Message Flag**: 1: This message is a poll message reply. 424 + 425 +* Poll Message Flag is set to 1. 426 + 427 +* Each data entry is 11 bytes, to save airtime and battery, devices will send max bytes according to the current DR and Frequency bands. 428 + 429 +For example, in US915 band, the max payload for different DR is: 430 + 431 +**a) DR0:** max is 11 bytes so one entry of data 432 + 433 +**b) DR1:** max is 53 bytes so devices will upload 4 entries of data (total 44 bytes) 434 + 435 +**c) DR2:** total payload includes 11 entries of data 436 + 437 +**d) DR3: **total payload includes 22 entries of data. 438 + 439 +If devise doesn't have any data in the polling time. Device will uplink 11 bytes of 0 440 + 441 +**Example:** 442 + 443 +If SPH01-LB has below data inside Flash: 444 + 445 +[[image:image-20230606170132-1.png]] 446 + 447 +If user sends below downlink command: 31646D84E1646D856C05 448 + 449 +Where : Start time: 646D84E1 = time 23/5/24 03:30:41 450 + 451 + Stop time: 646D856C= time 23/5/24 03:33:00 452 + 453 +=== 2.5.5 Poll sensor value === 454 + 455 + 419 419 Users can poll sensor values based on timestamps. Below is the downlink command. 420 420 421 421 (% border="1" cellspacing="5" style="background-color:#f2f2f2; width:425.818px" %) ... ... @@ -583,7 +583,6 @@ 583 583 * Reply to non-confirmed packet: 14 00 584 584 585 585 586 - 587 587 == 2.8 Frequency Plans == 588 588 589 589 ... ... @@ -606,7 +606,6 @@ 606 606 * LoRaWAN Downlink. Instruction for different platforms: See [[IoT LoRaWAN Server>>http://wiki.dragino.com/xwiki/bin/view/Main/]] section. 607 607 608 608 609 - 610 610 == 3.2 General Commands == 611 611 612 612 ... ... @@ -708,7 +708,6 @@ 708 708 * Example 2: Downlink Payload: 06000003 ~/~/ Set the interrupt mode to rising edge trigger 709 709 710 710 711 - 712 712 === 3.3.3 Calibrate Sensor === 713 713 714 714 ... ... @@ -822,7 +822,6 @@ 822 822 * Update through UART TTL interface. **[[Instruction>>url:http://wiki.dragino.com/xwiki/bin/view/Main/UART%20Access%20for%20LoRa%20ST%20v4%20base%20model/#H1.LoRaSTv4baseHardware]]**. 823 823 824 824 825 - 826 826 = 6. FAQ = 827 827 828 828 == 6.1 AT Commands input doesn't work == ... ... @@ -855,7 +855,6 @@ 855 855 * (% style="color:red" %)**CN470**(%%): LoRaWAN CN470 band 856 856 857 857 858 - 859 859 = 8. Packing Info = 860 860 861 861 ... ... @@ -874,7 +874,6 @@ 874 874 * Weight / pcs : g 875 875 876 876 877 - 878 878 = 9. Support = 879 879 880 880
- image-20230606170132-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.David - Size
-
... ... @@ -1,0 +1,1 @@ 1 +17.4 KB - Content