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)
-
Attachments (0 modified, 1 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -54,8 +54,6 @@ 54 54 * Downlink to change configure 55 55 * 8500mAh Battery for long term use 56 56 57 - 58 - 59 59 == 1.3 Specification == 60 60 61 61 ... ... @@ -101,15 +101,11 @@ 101 101 * Sleep Mode: 5uA @ 3.3v 102 102 * LoRa Transmit Mode: 125mA @ 20dBm, 82mA @ 14dBm 103 103 104 - 105 - 106 106 == 1.4 Applications == 107 107 108 108 109 109 * Smart Agriculture 110 110 111 - 112 - 113 113 == 1.5 Sleep mode and working mode == 114 114 115 115 ... ... @@ -137,8 +137,6 @@ 137 137 ))) 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 - 141 - 142 142 == 1.7 BLE connection == 143 143 144 144 ... ... @@ -340,8 +340,6 @@ 340 340 |(% style="width:160px" %)0x02|(% style="width:163px" %)Reply configures info|(% style="width:173px" %)[[Configure Info Payload>>||anchor="H3.4GetFirmwareVersionInfo"]] 341 341 |(% style="width:160px" %)0x03|(% style="width:163px" %)Reply Calibration Info|(% style="width:173px" %)[[Calibration Payload>>||anchor="H2.7Calibration"]] 342 342 343 - 344 - 345 345 === 2.3.7 Decode payload in The Things Network === 346 346 347 347 ... ... @@ -412,10 +412,53 @@ 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 405 +=== 2.5.4 Datalog Uplink payload (FPORT~=3) === 415 415 416 - ===2.5.4 Poll sensorvalue===407 +The Datalog uplinks will use below payload format. 417 417 409 +**Retrieval data payload:** 418 418 411 +(% border="1" cellspacing="4" style="background-color:#f2f2f2" %) 412 +|=(% style="width: 60px;style="background-color:#D9E2F3;color:#0070C0"" %)**Size(bytes)**|=(% style="width: 30px;style="background-color:#D9E2F3;color:#0070C0"" %)**2**|=(% style="width: 80px;style="background-color:#D9E2F3;color:#0070C0"" %)**2**|=(% style="width: 120px;style="background-color:#D9E2F3;color:#0070C0"" %)**2**|=(% style="width: 80px;style="background-color:#D9E2F3;color:#0070C0"" %)**1**|=(% style="width: 110px;style="background-color:#D9E2F3;color:#0070C0"" %)**4** 413 +|(% style="width:95px" %)Value|(% style="width:220px" %)PH|((( 414 +Temperature 415 + 416 + 417 +)))|DS18B20_Temperature|Level of PA8|Unix Time Stamp 418 + 419 +**Poll Message Flag**: 1: This message is a poll message reply. 420 + 421 +* Poll Message Flag is set to 1. 422 + 423 +* Each data entry is 11 bytes, to save airtime and battery, devices will send max bytes according to the current DR and Frequency bands. 424 + 425 +For example, in US915 band, the max payload for different DR is: 426 + 427 +**a) DR0:** max is 11 bytes so one entry of data 428 + 429 +**b) DR1:** max is 53 bytes so devices will upload 4 entries of data (total 44 bytes) 430 + 431 +**c) DR2:** total payload includes 11 entries of data 432 + 433 +**d) DR3: **total payload includes 22 entries of data. 434 + 435 +If devise doesn't have any data in the polling time. Device will uplink 11 bytes of 0 436 + 437 +**Example:** 438 + 439 +If SPH01-LB has below data inside Flash: 440 + 441 +[[image:image-20230606170132-1.png]] 442 + 443 +If user sends below downlink command: 31646D84E1646D856C05 444 + 445 +Where : Start time: 646D84E1 = time 23/5/24 03:30:41 446 + 447 + Stop time: 646D856C= time 23/5/24 03:33:00 448 + 449 +=== 2.5.5 Poll sensor value === 450 + 451 + 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" %) ... ... @@ -582,8 +582,6 @@ 582 582 583 583 * Reply to non-confirmed packet: 14 00 584 584 585 - 586 - 587 587 == 2.8 Frequency Plans == 588 588 589 589 ... ... @@ -605,8 +605,6 @@ 605 605 606 606 * LoRaWAN Downlink. Instruction for different platforms: See [[IoT LoRaWAN Server>>http://wiki.dragino.com/xwiki/bin/view/Main/]] section. 607 607 608 - 609 - 610 610 == 3.2 General Commands == 611 611 612 612 ... ... @@ -707,8 +707,6 @@ 707 707 708 708 * Example 2: Downlink Payload: 06000003 ~/~/ Set the interrupt mode to rising edge trigger 709 709 710 - 711 - 712 712 === 3.3.3 Calibrate Sensor === 713 713 714 714 ... ... @@ -821,8 +821,6 @@ 821 821 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 - 825 - 826 826 = 6. FAQ = 827 827 828 828 == 6.1 AT Commands input doesn't work == ... ... @@ -854,8 +854,6 @@ 854 854 855 855 * (% style="color:red" %)**CN470**(%%): LoRaWAN CN470 band 856 856 857 - 858 - 859 859 = 8. Packing Info = 860 860 861 861 ... ... @@ -873,8 +873,6 @@ 873 873 874 874 * Weight / pcs : g 875 875 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