<
From version < 13.4 >
edited by Xiaoling
on 2022/06/07 14:10
To version < 3.2 >
edited by Xiaoling
on 2022/06/07 13:37
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -50,99 +50,94 @@
50 50  * IP68 rate for the Sensor Probe
51 51  * 8500mAh Battery for long term use
52 52  
53 -== 1.3 Probe Specification ==
53 +1.
54 +11. Probe Specification
54 54  
56 +Soil pH:
55 55  
56 -(% style="color:#4f81bd" %)**Soil pH:**
57 -
58 -* Range: 3 ~~ 10 pH
59 -* Resolution: 0.01 pH
60 -* Accuracy: ±2% under (0~~50 ℃, Accuracy will poor under 0 due to frozen)
61 -* Temperature Compensation Range: 0 ~~ 50℃
58 +* **Range: 3 ~~ 10 pH **
59 +* **Resolution: 0.01 pH**
60 +* **Accuracy: ±2% under (0~~50 ℃, Accuracy will poor under 0 due to frozen)**
61 +* **Temperature Compensation Range: 0 ~~ 50℃**
62 62  * IP68 Protection
63 63  * Length: 3.5 meters
64 64  
65 -(% style="color:#4f81bd" %)**Soil Temperature:**
65 +Soil Temperature:
66 66  
67 -* Range -40℃~85℃
68 -* Resolution: 0.1℃
69 -* Accuracy: <±0.5℃(-10℃~40℃),<±0.8℃ (others)
67 +* **Range** -40℃~8**5**
68 +* **Resolution: 0.1℃**
69 +* **Accuracy:** <±0.5℃(-10℃~40℃),<±0.8℃ (others)
70 70  * IP68 Protection
71 71  * Length: 3.5 meters
72 72  
73 -== 1.4 ​Applications ==
74 -
73 +*
74 +*1. ​Applications
75 75  * Smart Agriculture
76 76  
77 -== 1.5 Pin mapping and power on ==
77 +1.
78 +11. Pin mapping and power on
78 78  
79 -[[image:1654580482666-473.png]]
80 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image003.png]]
80 80  
81 81  
82 82  
83 -= 2. Configure LSPH01 to connect to LoRaWAN network =
84 84  
85 -== 2.1 How it works ==
86 86  
87 -(((
86 +1. Configure LSPH01 to connect to LoRaWAN network
87 +11. How it works
88 +
88 88  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.
89 -)))
90 90  
91 -(((
92 -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.
93 -)))
94 94  
92 +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.
95 95  
96 -== 2.2 ​Quick guide to connect to LoRaWAN server (OTAA) ==
97 97  
98 -(((
95 +1.
96 +11. ​Quick guide to connect to LoRaWAN server (OTAA)
97 +
99 99  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.
100 -)))
101 101  
102 -(((
103 -
104 -)))
105 105  
106 -(((
101 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image002.png]]
102 +
103 +
107 107  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.
108 -)))
109 109  
110 -(((
106 +
111 111  **Step 1**: Create a device in TTN with the OTAA keys from LSPH01.
112 -)))
113 113  
114 -(((
115 115  Each LSPH01 is shipped with a sticker with the default device EUI as below:
116 -)))
117 117  
118 118  
119 -[[image:image-20220607135531-1.jpeg]]
112 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image004.png]]
120 120  
121 121  
115 +
116 +
117 +
122 122  You can enter this key in the LoRaWAN Server portal. Below is TTN screen shot:
123 123  
124 124  
125 125  **Register the device**
126 126  
127 -[[image:1654581442672-605.png]]
123 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image005.png]]
128 128  
129 129  
130 -
131 131  **Add APP EUI and DEV EUI**
132 132  
133 -[[image:1654581465717-368.png]]
134 134  
129 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image006.png]]
135 135  
136 136  
137 137  **Add APP EUI in the application**
138 138  
139 -[[image:1654581493871-516.png]]
140 140  
135 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image007.png]]
141 141  
142 142  
143 143  **Add APP KEY**
144 144  
145 -[[image:1654581517630-991.png]]
140 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image008.png]]
146 146  
147 147  
148 148  **Step 2**: Power on LSPH01
... ... @@ -150,24 +150,37 @@
150 150  
151 151  Put a Jumper on JP2 to power on the device. ( The Switch must be in FLASH position).
152 152  
153 -[[image:image-20220607135918-2.png]]
154 154  
155 155  
150 +|(((
151 +
152 +)))
153 +
154 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image009.png]]
155 +
156 +
157 +
158 +
156 156  **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.
157 157  
158 -[[image:1654581590132-631.png]]
159 159  
160 160  
161 161  
162 -== 2.3 ​Uplink Payload ==
164 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image010.png]]
163 163  
166 +
167 +
168 +1.
169 +11. ​Uplink Payload
170 +
164 164  LSPH01 will uplink payload via LoRaWAN with below payload format: 
165 165  
173 +
166 166  Uplink payload includes in total 11 bytes.
175 +
167 167  
168 168  Normal uplink payload:
169 169  
170 -(% border="1" cellspacing="10" style="background-color:#ffffcc; width:510px" %)
171 171  |(((
172 172  **Size**
173 173  
... ... @@ -187,12 +187,14 @@
187 187  [[Type>>path:#Message_Type]]
188 188  )))
189 189  
190 -[[image:1654581735133-458.png]]
191 191  
199 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image010.png]]
192 192  
193 193  
194 -=== 2.3.1 Battery Info ===
195 195  
203 +1.
204 +11.
205 +111. Battery Info
196 196  
197 197  Check the battery voltage for LSPH01.
198 198  
... ... @@ -201,12 +201,13 @@
201 201  Ex2: 0x0B49 = 2889mV
202 202  
203 203  
214 +1.
215 +11.
216 +111. DS18B20 Temperature sensor
204 204  
205 -=== 2.3.2 DS18B20 Temperature sensor ===
218 +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.
206 206  
207 -This is optional, user can connect external DS18B20 sensor to the +3.3v, 1-wire and GND pin . and this field will report temperature.
208 208  
209 -
210 210  **Example**:
211 211  
212 212  If payload is: 0105H:  (0105 & FC00 == 0), temp = 0105H /10 = 26.1 degree
... ... @@ -215,35 +215,40 @@
215 215  
216 216  
217 217  
218 -=== 2.3.3 Soil pH ===
229 +1.
230 +11.
231 +111. Soil pH
219 219  
220 220  Range: 0 ~~ 14 pH
221 221  
222 -**Example:**
235 +Example:
223 223  
224 -(% style="color:#037691" %)** 0x02B7(H) = 695(D) = 6.95pH**
237 +**0x02B7(H) = 695(D) = 6.95pH**
225 225  
226 226  
240 +1.
241 +11.
242 +111. Soil Temperature
227 227  
228 -=== 2.3.4 Soil Temperature ===
229 -
230 230  Get Soil Temperature 
231 231  
232 232  
233 233  **Example**:
234 234  
235 -If payload is: **0105H**:  (0105 & FC00 == 0), temp = 0105H /10 = 26.1 degree
249 +If payload is: 0105H:  (0105 & FC00 == 0), temp = 0105H /10 = 26.1 degree
236 236  
237 -If payload is: **FF3FH** :  (FF3F & FC00 == 1) , temp = (FF3FH - 65536)/10 = -19.3 degrees.
251 +If payload is: FF3FH :  (FF3F & FC00 == 1) , temp = (FF3FH - 65536)/10 = -19.3 degrees.
238 238  
239 239  
240 240  
241 -=== 2.3.5 Interrupt Pin ===
255 +1.
256 +11.
257 +111. Interrupt Pin
242 242  
243 -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.
259 +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.
244 244  
245 245  
246 -**Example:**
262 +Example:
247 247  
248 248  0x00: Normal uplink packet.
249 249  
... ... @@ -250,16 +250,16 @@
250 250  0x01: Interrupt Uplink Packet.
251 251  
252 252  
269 +1.
270 +11.
271 +111. Message Type
253 253  
254 -=== 2.3.6 Message Type ===
255 -
256 256  For a normal uplink payload, the message type is always 0x01.
257 257  
258 258  Valid Message Type:
259 259  
260 260  
261 -(% border="1" cellspacing="10" style="background-color:#ffffcc; width:510px" %)
262 -|**Message Type Code**|**Description**|**Payload**
278 +|Message Type Code|Description|Payload
263 263  |0x01|Normal Uplink|[[Normal Uplink Payload>>path:#Normal_Uplink]]
264 264  |0x02|Reply configures info|[[Configure Info Payload>>path:#Configure_Info_Payload]]
265 265  |0x03|Reply Calibration Info|[[Calibration Payload>>path:#Calibration_Payload]]
... ... @@ -386,6 +386,8 @@
386 386  1111. Avoid the probes to touch oily matter. Which will cause issue in accuracy.
387 387  1111. The probe is IP68 can be put in water.
388 388  
405 +
406 +
389 389  1.
390 390  11. Calibration
391 391  
... ... @@ -457,6 +457,7 @@
457 457  * Reply to the confirmation package: 14 01
458 458  * Reply to non-confirmed packet: 14 00
459 459  
478 +
460 460  1.
461 461  11. Frequency Plans
462 462  
... ... @@ -689,6 +689,7 @@
689 689  * The sensor is detected when the device is turned on, and it will flash 4 times quickly when it is detected.
690 690  * Blink once when device transmit a packet.
691 691  
711 +
692 692  1.
693 693  11. ​Firmware Change Log
694 694  
... ... @@ -765,6 +765,7 @@
765 765  * Example 1: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds
766 766  * Example 2: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds
767 767  
788 +
768 768  1.
769 769  11. Set Interrupt Mode
770 770  
1654580428909-307.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -492.6 KB
Content
1654580482666-473.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -492.6 KB
Content
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
1654581590132-631.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -42.6 KB
Content
1654581735133-458.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -42.6 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
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0