Last modified by Mengting Qiu on 2023/12/14 11:15

From version 158.1
edited by Mengting Qiu
on 2023/12/09 17:34
Change comment: Uploaded new attachment "image-20231209173457-5.png", version {1}
To version 159.1
edited by Mengting Qiu
on 2023/12/09 18:03
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -118,6 +118,10 @@
118 118  
119 119  Press the button for 5 seconds to activate the DS20L.
120 120  
121 +The switch is switched to (% style="color:blue" %)**E** (%%)and the external power supply is used.
122 +
123 +The switch is switched to (% style="color:blue" %)**I** (%%)and the motherboard battery is used for power supply.
124 +
121 121  (% 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.
122 122  
123 123  After join success, it will start to upload messages to TTN and you can see the messages in the panel.
... ... @@ -197,7 +197,7 @@
197 197  === 2.3.2 Uplink Payload, FPORT~=2 ===
198 198  
199 199  
200 -==== (% style="color:red" %)**MOD~=1**(%%) ====
204 +==== (% style="color:red" %)**AT+MOD~=1**(%%) ====
201 201  
202 202  Regularly detect distance and report. When the distance exceeds the limit, the alarm flag is set to 1, and the report can be triggered by external interrupts.
203 203  
... ... @@ -254,15 +254,24 @@
254 254  
255 255  
256 256  
257 -==== (% style="color:red" %)**MOD~=2**(%%)** ** ====
261 +==== (% style="color:red" %)**AT+MOD~=2**(%%)** ** ====
258 258  
259 -Uninterrupted measurement. When the distance exceeds the limit, the output IO is set high and reports are reported every five minutes. The time can be set and powered by an external power supply.Uplink Payload totals 11bytes.
260 260  
264 +The power consumption of uninterrupted measurement is high, and the device needs to use external power supply.(The switch is switched to E and the external power supply is used.)
265 +
266 +[[image:image-20231128133704-1.png||height="189" width="441"]]
267 +
268 +
269 +* **Set over-limit alarm mode: AT+DOL=3,500,244,**(% style="color:red" %)0(%%)**,120**
270 +
271 +(% class="wikigeneratedid" id="HUninterruptedmeasurement.Whenthedistanceexceedsthelimit2CtheoutputIOissethighandreportsarereportedeveryfiveminutes.Thetimecanbesetandpoweredbyanexternalpowersupply.UplinkPayloadtotals11bytes." %)
272 +Uninterrupted measurement. When the distance exceeds the limit, the output IO high, instant alarm. Uplink Payload totals 9 bytes.
273 +
261 261  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
262 -|(% style="background-color:#4f81bd; color:white; width:70px" %)**Size(bytes)**|(% style="background-color:#4f81bd; color:white; width:40px" %)**2**|(% style="background-color:#4f81bd; color:white; width:130px" %)**1**|(% style="background-color:#4f81bd; color:white; width:130px" %)**4**|(% style="background-color:#4f81bd; color:white; width:70px" %)**2**|(% style="background-color:#4f81bd; color:white; width:70px" %)**2**
263 -|(% style="width:91px" %)Value|(% style="width:41px" %)BAT|(% style="width:176px" %)MOD+Alarm+Do+Limit flag|(% style="width:74px" %)Distance Limit Alarm count|(% style="width:100px" %)Upper limit|(% style="width:119px" %)Lower limit
275 +|(% style="background-color:#4f81bd; color:white; width:70px" %)**Size(bytes)**|(% style="background-color:#4f81bd; color:white; width:40px" %)**2**|(% style="background-color:#4f81bd; color:white; width:130px" %)**1**|(% style="background-color:#4f81bd; color:white; width:130px" %)**2**|(% style="background-color:#4f81bd; color:white; width:70px" %)**2**|(% style="background-color:#4f81bd; color:white; width:70px" %)**2**
276 +|(% style="width:91px" %)Value|(% style="width:41px" %)BAT|(% style="width:176px" %)MOD+Alarm+Do+Limit flag|(% style="width:74px" %)Distance |(% style="width:100px" %)Upper limit|(% style="width:119px" %)Lower limit
264 264  
265 -[[image:image-20231209155616-2.png||height="271" width="1262"]]
278 +[[image:image-20231209171127-3.png||height="374" width="1209"]]
266 266  
267 267  (% style="color:blue" %)**MOD & Alarm & Do & Limit flag:**
268 268  
... ... @@ -294,6 +294,11 @@
294 294  **3: **Greater than the lower limit
295 295  
296 296  
310 +(% style="color:blue" %)**Distance:**
311 +
312 + Actual sampling distance values.
313 +
314 +
297 297  (% style="color:blue" %)**Upper limit:**
298 298  
299 299  The upper limit of the threshold cannot exceed 2000mm.
... ... @@ -304,6 +304,15 @@
304 304  The lower limit of the threshold cannot be less than 3mm.
305 305  
306 306  
325 +* **Set the person or object count mode: AT+DOL=1,500,244,**(% style="color:red" %)1(%%)**,120**
326 +
327 +Continuous measurement, detect and count people or things passing by in distance limit mode.
328 +
329 +[[image:image-20231209173457-5.png||height="277" width="1098"]]
330 +
331 +
332 +
333 +
307 307  == 2.4 Decode payload in The Things Network ==
308 308  
309 309