<
From version < 6.1 >
edited by Xiaoling
on 2023/01/30 16:22
To version < 9.1 >
edited by Xiaoling
on 2023/01/30 17:38
>
Change comment: Uploaded new attachment "1675071521308-426.png", version {1}

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,1 @@
1 -PS-LB -- LoRaWAN Pressure Sensor User Manual
1 +PS-LB -- LoRaWAN Air Water Pressure Sensor User Manual
Content
... ... @@ -1,0 +1,1047 @@
1 +[[image:image-20230130161957-1.jpeg||height="493" width="493"]] [[image:image-20230130162222-3.png||height="495" width="477"]]​​​​​​​
2 +
3 +
4 +
5 +
6 +**Table of Contents:**
7 +
8 +
9 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image001.png]] [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image002.png]]
10 +
11 +
12 +
13 +
14 +
15 +
16 +
17 +
18 +
19 +
20 +
21 +
22 +
23 +
24 +1. Introduction
25 +11. ​What is LoRaWAN Pressure Sensor
26 +
27 +The Dragino PS-LB series sensors are **LoRaWAN Pressure Sensor** for Internet of Things solution. PS-LB can measure Air, Water pressure and liquid level and upload the sensor data via wireless to LoRaWAN IoT server.
28 +
29 +
30 +The PS-LB series sensors include **Thread Installation Type** and **Immersion Type**, it supports different pressure range which can be used for different measurement requirement.
31 +
32 +
33 +The LoRa wireless technology used in PS-LB allows device to send data and reach extremely long ranges at low data-rates. It provides ultra-long range spread spectrum communication and high interference immunity whilst minimizing current consumption.
34 +
35 +
36 +PS-LB supports BLE configure and wireless OTA update which make user easy to use.
37 +
38 +
39 +PS-LB is powered by **8500mAh Li-SOCI2 battery**, it is designed for long term use up to 5 years.
40 +
41 +
42 +Each PS-LB is pre-load with a set of unique keys for LoRaWAN registrations, register these keys to local LoRaWAN server and it will auto connect after power on.
43 +
44 +
45 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image003.png]]
46 +
47 +
48 +
49 +
50 +
51 +*
52 +*1. ​Features
53 +* LoRaWAN 1.0.3 Class A
54 +* Ultra-low power consumption
55 +* Measure air / gas or water pressure
56 +* Different pressure range available
57 +* Thread Installation Type or Immersion Type
58 +* Monitor Battery Level
59 +* Bands: CN470/EU433/KR920/US915/EU868/AS923/AU915/IN865
60 +* Support Bluetooth v5.1 and LoRaWAN remote configure
61 +* Support wireless OTA update firmware
62 +* Uplink on periodically
63 +* Downlink to change configure
64 +* 8500mAh Battery for long term use
65 +
66 +
67 +1.
68 +11. Specification
69 +
70 +**Micro Controller:**
71 +
72 +* MCU: 48Mhz ARM
73 +* Flash: 256KB
74 +* RAM: 64KB
75 +
76 +**Common DC Characteristics:**
77 +
78 +* Supply Voltage: 2.5v ~~ 3.6v
79 +* Operating Temperature: -40 ~~ 85°C
80 +
81 +**LoRa Spec:**
82 +
83 +* Frequency Range,  Band 1 (HF): 862 ~~ 1020 Mhz
84 +* Max +22 dBm constant RF output vs.
85 +* RX sensitivity: down to -139 dBm.
86 +* Excellent blocking immunity
87 +
88 +
89 +**Current Input Measuring :**
90 +
91 +* Range: 0 ~~ 20mA
92 +* Accuracy: 0.02mA
93 +* Resolution: 0.001mA
94 +
95 +
96 +**Voltage Input Measuring:**
97 +
98 +* Range: 0 ~~ 30v
99 +* Accuracy: 0.02v
100 +* Resolution: 0.001v
101 +
102 +
103 +**Battery:**
104 +
105 +* Li/SOCI2 un-chargeable battery
106 +* Capacity: 8500mAh
107 +* Self-Discharge: <1% / Year @ 25°C
108 +* Max continuously current: 130mA
109 +* Max boost current: 2A, 1 second
110 +
111 +
112 +**Power Consumption**
113 +
114 +* Sleep Mode: 5uA @ 3.3v
115 +* LoRa Transmit Mode: 125mA @ 20dBm, 82mA @ 14dBm
116 +
117 +
118 +
119 +
120 +1.
121 +11. Probe Types
122 +111. Thread Installation Type
123 +
124 +
125 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image004.png]]
126 +
127 +
128 +* **Hersman Pressure Transmitter**
129 +* **Measuring Range: -0.1 ~~ 0 ~~ 60MPa, see order info.**
130 +* **Accuracy: 0.2% F.S**
131 +* **Long-Term Stability: 0.2% F.S ±0.05%**
132 +* **Overload 200% F.S**
133 +* **Zero Temperature Drift: 0.03% FS/℃(≤100Kpa), 0.02%FS/℃(>100Kpa)**
134 +* **FS Temperature Drift: 0.003% FS/℃(≤100Kpa), 0.002%FS/℃(>100Kpa)**
135 +* **Storage temperature: -30℃~~80℃**
136 +* **Operating temperature: -20℃~~60℃**
137 +* **Connector Type: Various Types, see order info**
138 +
139 +
140 +1.
141 +11.
142 +111. Immersion Type
143 +
144 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image005.png]]
145 +
146 +
147 +* **Immersion Type, Probe IP Level: IP68**
148 +* **Measuring Range: Measure range can be customized, up to 100m.**
149 +* **Accuracy: 0.2% F.S**
150 +* **Long-Term Stability: ±0.2% F.S / Year**
151 +* **Overload 200% F.S**
152 +* **Zero Temperature Drift: ±2% F.S)**
153 +* **FS Temperature Drift: ±2% F.S**
154 +* **Storage temperature: -30℃~~80℃**
155 +* **Operating temperature: -40℃~~85℃**
156 +* **Material: 316 stainless steels**
157 +
158 +
159 +1.
160 +11. Probe Dimension
161 +
162 +
163 +
164 +
165 +1.
166 +11. Application and Installation
167 +111. Thread Installation Type
168 +
169 +**Application:**
170 +
171 +* Hydraulic Pressure
172 +* Petrochemical Industry
173 +* Health and Medical
174 +* Food & Beverage Processing
175 +* Auto-controlling house
176 +* Constant Pressure Water Supply
177 +* Liquid Pressure measuring
178 +
179 +
180 +
181 +Order the suitable thread size and install to measure the air / liquid pressure
182 +
183 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image006.png]]
184 +
185 +
186 +
187 +1.
188 +11.
189 +111. Immersion Type
190 +
191 +**Application:**
192 +
193 +Liquid & Water Pressure / Level detect.
194 +
195 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image007.png]]
196 +
197 +
198 +The Immersion Type pressure sensor is shipped with the probe and device separately. When user got the device, below is the wiring to for connect the probe to the device.
199 +
200 +
201 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image008.png]]
202 +
203 +
204 +
205 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image009.png]]
206 +
207 +
208 +
209 +1.
210 +11. Sleep mode and working mode
211 +
212 +
213 +**Deep Sleep Mode: Sensor doesn’t have any LoRaWAN activate. This mode is used for storage and shipping to save battery life.**
214 +
215 +
216 +**Working Mode: In this mode, Sensor will work as LoRaWAN Sensor to Join LoRaWAN network and send out sensor data to server. Between each sampling/tx/rx periodically, sensor will be in IDLE mode), in IDLE mode, sensor has the same power consumption as Deep Sleep mode.**
217 +
218 +
219 +
220 +
221 +1.
222 +11. Button & LEDs
223 +
224 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image010.png]]
225 +
226 +
227 +
228 +|**Behavior on ACT**|**Function**|**Action**
229 +|Pressing ACT between 1s < time < 3s|Send an uplink|(((
230 +If sensor is already Joined to LoRaWAN network, sensor will send an uplink packet, **blue led** will blink once.
231 +
232 +Meanwhile, BLE module will be active and user can connect via BLE to configure device.
233 +)))
234 +|Pressing ACT for more than 3s|Active Device|(((
235 +**Green led** will fast blink 5 times, device will enter **OTA mode** for 3 seconds. And then start to JOIN LoRaWAN network.
236 +
237 +**Green led** will solidly turn on for 5 seconds after joined in network.
238 +
239 +Once sensor is active, BLE module will be active and user can connect via BLE to configure device, no matter if device join or not join LoRaWAN network.
240 +)))
241 +|Fast press ACT 5 times.|Deactivate Device|red led will solid on for 5 seconds. Means PS-LB is in Deep Sleep Mode.
242 +
243 +
244 +
245 +
246 +
247 +1.
248 +11. Pin Mapping
249 +
250 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image011.png]]
251 +
252 +
253 +
254 +1.
255 +11. BLE connection
256 +
257 +PS-LB support BLE remote configure.
258 +
259 +
260 +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:
261 +
262 +* Press button to send an uplink
263 +* Press button to active device.
264 +* Device Power on or reset.
265 +
266 +If there is no activity connection on BLE in 60 seconds, sensor will shut down BLE module to enter low power mode.
267 +
268 +
269 +
270 +
271 +1.
272 +11. Mechanical
273 +
274 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image012.png]]
275 +
276 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image013.png]]
277 +
278 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image014.png]]
279 +
280 +
281 +
282 +
283 +1. Configure PS-LB to connect to LoRaWAN network
284 +11. How it works
285 +
286 +The PS-LB 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 activate the PS-LB. It will automatically join the network via OTAA and start to send the sensor value. The default uplink interval is 20 minutes.
287 +
288 +
289 +1.
290 +11. ​Quick guide to connect to LoRaWAN server (OTAA)
291 +
292 +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 [[LPS8v2>>url:https://www.dragino.com/products/lora-lorawan-gateway/item/228-lps8v2.html]] as a LoRaWAN gateway in this example.
293 +
294 +
295 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image003.png]]
296 +
297 +
298 +The LPS8V2 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.
299 +
300 +
301 +**Step 1**: Create a device in TTN with the OTAA keys from PS-LB.
302 +
303 +Each PS-LB is shipped with a sticker with the default device EUI as below:
304 +
305 +
306 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image015.png]]
307 +
308 +
309 +
310 +
311 +
312 +You can enter this key in the LoRaWAN Server portal. Below is TTN screen shot:
313 +
314 +
315 +**Register the device**
316 +
317 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image016.png]]
318 +
319 +
320 +**Add APP EUI and DEV EUI**
321 +
322 +
323 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image017.png]]
324 +
325 +
326 +**Add APP EUI in the application**
327 +
328 +
329 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image018.png]]
330 +
331 +
332 +**Add APP KEY**
333 +
334 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image019.png]]
335 +
336 +
337 +**Step 2**: Activate on PS-LB
338 +
339 +
340 +Press the button for 5 seconds to activate the PS-LB.
341 +
342 +
343 +**Green led** will fast blink 5 times, device will enter **OTA mode** for 3 seconds. And then start to JOIN LoRaWAN network. **Green led** will solidly turn on for 5 seconds after joined in network.
344 +
345 +
346 +After join success, it will start to upload messages to TTN and you can see the messages in the panel.
347 +
348 +
349 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image020.png]]
350 +
351 +
352 +
353 +
354 +1.
355 +11. ​Uplink Payload
356 +
357 +
358 +Uplink payloads have two types:
359 +
360 +* Distance Value: Use FPORT=2
361 +* Other control commands: Use other FPORT fields.
362 +
363 +The application server should parse the correct value based on FPORT settings.
364 +
365 +
366 +
367 +1.
368 +11.
369 +111. Device Status, FPORT=5
370 +
371 +Include device configure status. Once PS-LB Joined the network, it will uplink this message to the server.
372 +
373 +
374 +Users can also use the downlink command(0x26 01) to ask PS-LB to resend this uplink.
375 +
376 +
377 +|(% colspan="6" %)**Device Status (FPORT=5)**
378 +|**Size (bytes)**|**1**|**2**|**1**|**1**|**2**
379 +|**Value**|Sensor Model|Firmware Version|Frequency Band|Sub-band|BAT
380 +
381 +
382 +Example parse in TTNv3
383 +
384 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image021.png]]
385 +
386 +
387 +
388 +**Sensor Model**: For PS-LB, this value is 0x16
389 +
390 +**Firmware Version**: 0x0100, Means: v1.0.0 version
391 +
392 +**Frequency Band**:
393 +
394 +*0x01: EU868
395 +
396 +*0x02: US915
397 +
398 +*0x03: IN865
399 +
400 +*0x04: AU915
401 +
402 +*0x05: KZ865
403 +
404 +*0x06: RU864
405 +
406 +*0x07: AS923
407 +
408 +*0x08: AS923-1
409 +
410 +*0x09: AS923-2
411 +
412 +*0x0a: AS923-3
413 +
414 +*0x0b: CN470
415 +
416 +*0x0c: EU433
417 +
418 +*0x0d: KR920
419 +
420 +*0x0e: MA869
421 +
422 +
423 +**Sub-Band**:
424 +
425 +AU915 and US915:value 0x00 ~~ 0x08
426 +
427 +CN470: value 0x0B ~~ 0x0C
428 +
429 +Other Bands: Always 0x00
430 +
431 +
432 +**Battery Info**:
433 +
434 +Check the battery voltage.
435 +
436 +Ex1: 0x0B45 = 2885mV
437 +
438 +Ex2: 0x0B49 = 2889mV
439 +
440 +
441 +
442 +1.
443 +11.
444 +111. Sensor value, FPORT=2
445 +
446 +
447 +
448 +Uplink payload includes in total 9 bytes.
449 +
450 +
451 +|(((
452 +**Size**
453 +
454 +**(bytes)**
455 +)))|**2**|**2**|**2**|**2**|**1**
456 +|**Value**|[[BAT>>path:#bat]]|[[Probe Model>>path:#Probe_Model]]|0 ~~ 20mA value|[[0 ~~~~ 30v value>>path:#Voltage_30v]]|[[IN1 &IN2 Interrupt  flag>>path:#Int_pin]]
457 +
458 +
459 +
460 +
461 +
462 +
463 +
464 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image020.png]]
465 +
466 +
467 +
468 +1.
469 +11.
470 +111. Battery Info
471 +
472 +Check the battery voltage for PS-LB.
473 +
474 +Ex1: 0x0B45 = 2885mV
475 +
476 +Ex2: 0x0B49 = 2889mV
477 +
478 +
479 +1.
480 +11.
481 +111. Probe Model
482 +
483 +PS-LB has different kind of probe, 0~~20mA represent the full scale of the measuring range. So a 15mA output means different meaning for different probe.
484 +
485 +
486 +For example.
487 +
488 +|**Part Number**|**Probe Used**|**0~~20mA scale**|**Example: 10mA meaning**
489 +|PS-LB-I3|immersion type with 3 meters cable|0~~3 meters|1.5 meters pure water
490 +|PS-LB-I5|immersion type with 5 meters cable|0~~5 meters|2.5 meters pure water
491 +
492 +
493 +The probe model field provides the convenient for server to identical how it should parse the 0~~20mA sensor value and get the correct value.
494 +
495 +
496 +1.
497 +11.
498 +111. 0~~20mA value (IDC_IN)
499 +
500 +
501 +The output value from Pressure Probe, use together with Probe Model to get the pressure value or water level.
502 +
503 +
504 +**Example**:
505 +
506 +27AE(H) = 10158 (D)/1000 = 10.158mA.
507 +
508 +
509 +1.
510 +11.
511 +111. 0~~30V value ( pin VDC_IN)
512 +
513 +
514 +Measure the voltage value. The range is 0 to 30V.
515 +
516 +
517 +**Example**:
518 +
519 +138E(H) = 5006(D)/1000= 5.006V
520 +
521 +
522 +1.
523 +11.
524 +111. IN1&IN2&INT pin
525 +
526 +
527 +
528 +IN1 and IN2 are used as digital input pins.
529 +
530 +**Example**:
531 +
532 +09 (H) :(0x09&0x08)>>3=1    IN1 pin is high level.
533 +
534 +09 (H) :(0x09&0x04)>>2=0    IN2 pin is low level.
535 +
536 +
537 +
538 +This data field shows if this packet is generated by **Interrupt Pin** or not. [[Click here>>path:#Int_mod]] for the hardware and software set up. Note: The Internet Pin is a separate pin in the screw terminal.
539 +
540 +
541 +**Example:**
542 +
543 +09 (H) : (0x09&0x02)>>1=1    The level of the interrupt pin.
544 +
545 +09 (H) : 0x09&0x01=1              0x00: Normal uplink packet.
546 +
547 +0x01: Interrupt Uplink Packet.
548 +
549 +
550 +
551 +
552 +
553 +
554 +
555 +1.
556 +11.
557 +111. ​Decode payload in The Things Network
558 +
559 +While using TTN network, you can add the payload format to decode the payload.
560 +
561 +
562 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image022.png]]
563 +
564 +PS-LB TTN Payload Decoder:
565 +
566 +[[https:~~/~~/github.com/dragino/dragino-end-node-decoder>>url:https://github.com/dragino/dragino-end-node-decoder]]
567 +
568 +
569 +1.
570 +11. Uplink Interval
571 +
572 +The PS-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:
573 +
574 +[[http:~~/~~/wiki.dragino.com/index.php?title=End_Device_AT_Commands_and_Downlink_Commands#Change_Uplink_Interval>>url:http://wiki.dragino.com/index.php?title=End_Device_AT_Commands_and_Downlink_Commands#Change_Uplink_Interval]]
575 +
576 +
577 +
578 +1.
579 +11. ​Show Data in DataCake IoT Server
580 +
581 +[[DATACAKE>>url:https://datacake.co/]] provides a human friendly interface to show the sensor data, once we have data in TTN, we can use [[DATACAKE>>url:https://datacake.co/]] to connect to TTN and see the data in DATACAKE. Below are the steps:
582 +
583 +
584 +**Step 1**: Be sure that your device is programmed and properly connected to the network at this time.
585 +
586 +**Step 2**: To configure the Application to forward data to DATACAKE you will need to add integration. To add the DATACAKE integration, perform the following steps:
587 +
588 +
589 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image023.png]]
590 +
591 +
592 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image024.png]]
593 +
594 +
595 +Step 3: Create an account or log in Datacake.
596 +
597 +Step 4: Create PS-LB product.
598 +
599 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image025.png]]
600 +
601 +
602 +
603 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image026.png]]
604 +
605 +
606 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image027.png]]
607 +
608 +
609 +Step 5: add payload decode
610 +
611 +
612 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image028.png]]
613 +
614 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image029.png]]
615 +
616 +
617 +
618 +After added, the sensor data arrive TTN, it will also arrive and show in Datacake.
619 +
620 +
621 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image030.png]]
622 +
623 +
624 +
625 +
626 +
627 +
628 +
629 +
630 +
631 +
632 +
633 +
634 +
635 +
636 +
637 +
638 +
639 +1.
640 +11. Frequency Plans
641 +
642 +The PS-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.
643 +
644 +
645 +[[https:~~/~~/wiki.dragino.com/index.php?title=End_Device_Frequency_Band>>url:https://wiki.dragino.com/index.php?title=End_Device_Frequency_Band]]
646 +
647 +
648 +
649 +
650 +1.
651 +11. ​Firmware Change Log
652 +
653 +**Firmware download link:**
654 +
655 +[[https:~~/~~/www.dropbox.com/sh/gf1glloczbzz19h/AABbuYI4WY6VdAmpXo6o1V2Ka?dl=0>>url:https://www.dropbox.com/sh/gf1glloczbzz19h/AABbuYI4WY6VdAmpXo6o1V2Ka?dl=0]]
656 +
657 +
658 +
659 +1. Configure PS-LB via AT Command or LoRaWAN Downlink
660 +
661 +Use can configure PS-LB via AT Command or LoRaWAN Downlink.
662 +
663 +* AT Command Connection: See [[FAQ>>path:#AT_COMMAND]].
664 +* LoRaWAN Downlink instruction for different platforms:
665 +
666 +[[http:~~/~~/wiki.dragino.com/index.php?title=Main_Page#Use_Note_for_Server>>url:http://wiki.dragino.com/index.php?title=Main_Page#Use_Note_for_Server]]
667 +
668 +
669 +There are two kinds of commands to configure PS-LB, they are:
670 +
671 +* **General Commands**.
672 +
673 +These commands are to configure:
674 +
675 +* General system settings like: uplink interval.
676 +* LoRaWAN protocol & radio related command.
677 +
678 +They are same for all Dragino Device which support DLWS-005 LoRaWAN Stack. These commands can be found on the wiki:
679 +
680 +[[http:~~/~~/wiki.dragino.com/index.php?title=End_Device_Downlink_Command>>url:http://wiki.dragino.com/index.php?title=End_Device_Downlink_Command]]
681 +
682 +
683 +* **Commands special design for PS-LB**
684 +
685 +These commands only valid for PS-LB, as below:
686 +
687 +
688 +1.
689 +11. Set Transmit Interval Time
690 +
691 +Feature: Change LoRaWAN End Node Transmit Interval.
692 +
693 +**AT Command: AT+TDC**
694 +
695 +|**Command Example**|**Function**|**Response**
696 +|AT+TDC=?|Show current transmit Interval|(((
697 +30000
698 +
699 +OK
700 +
701 +the interval is 30000ms = 30s
702 +)))
703 +|AT+TDC=60000|Set Transmit Interval|(((
704 +OK
705 +
706 +Set transmit interval to 60000ms = 60 seconds
707 +)))
708 +
709 +
710 +**Downlink Command: 0x01**
711 +
712 +Format: Command Code (0x01) followed by 3 bytes time value.
713 +
714 +If the downlink payload=0100003C, it means set the END Node’s Transmit Interval to 0x00003C=60(S), while type code is 01.
715 +
716 +* Example 1: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds
717 +* Example 2: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds
718 +
719 +
720 +
721 +
722 +1.
723 +11. Set Interrupt Mode
724 +
725 +Feature, Set Interrupt mode for GPIO_EXIT.
726 +
727 +**AT Command: AT+INTMOD**
728 +
729 +|**Command Example**|**Function**|**Response**
730 +|AT+INTMOD=?|Show current interrupt mode|(((
731 +0
732 +
733 +OK
734 +
735 +the mode is 0 = No interruption
736 +)))
737 +|AT+INTMOD=2|(((
738 +Set Transmit Interval
739 +
740 +1. (Disable Interrupt),
741 +1. (Trigger by rising and falling edge),
742 +1. (Trigger by falling edge)
743 +1. (Trigger by rising edge)
744 +)))|OK
745 +
746 +
747 +**Downlink Command: 0x06**
748 +
749 +Format: Command Code (0x06) followed by 3 bytes.
750 +
751 +This means that the interrupt mode of the end node is set to 0x000003=3 (rising edge trigger), and the type code is 06.
752 +
753 +* Example 1: Downlink Payload: 06000000 ~/~/ Turn off interrupt mode
754 +* Example 2: Downlink Payload: 06000003 ~/~/ Set the interrupt mode to rising edge trigger
755 +
756 +
757 +1.
758 +11. Set the output time
759 +
760 +Feature, Control the output 3V3 , 5V or 12V.
761 +
762 +**AT Command: AT+3V3T**
763 +
764 +|**Command Example**|**Function**|**Response**
765 +|AT+3V3T=?|Show 3V3 open time.|(((
766 +0
767 +
768 +OK
769 +)))
770 +|AT+3V3T=0|Normally open 3V3 power supply.|(((
771 +OK
772 +
773 +default setting
774 +)))
775 +|AT+3V3T=1000|Close after a delay of 1000 milliseconds.|(((
776 +OK
777 +
778 +
779 +)))
780 +|AT+3V3T=65535|Normally closed 3V3 power supply.|(((
781 +OK
782 +
783 +
784 +)))
785 +
786 +
787 +**AT Command: AT+5VT**
788 +
789 +|**Command Example**|**Function**|**Response**
790 +|AT+5VT=?|Show 5V open time.|(((
791 +0
792 +
793 +OK
794 +)))
795 +|AT+5VT=0|Normally closed 5V power supply.|(((
796 +OK
797 +
798 +default setting
799 +)))
800 +|AT+5VT=1000|Close after a delay of 1000 milliseconds.|(((
801 +OK
802 +
803 +
804 +)))
805 +|AT+5VT=65535|Normally open 5V power supply.|(((
806 +OK
807 +
808 +
809 +)))
810 +
811 +
812 +**AT Command: AT+12VT**
813 +
814 +|**Command Example**|**Function**|**Response**
815 +|AT+12VT=?|Show 12V open time.|(((
816 +0
817 +
818 +OK
819 +)))
820 +|AT+12VT=0|Normally closed 12V power supply.|OK
821 +|AT+12VT=500|Close after a delay of 500 milliseconds.|(((
822 +OK
823 +
824 +
825 +)))
826 +
827 +
828 +**Downlink Command: 0x07**
829 +
830 +Format: Command Code (0x07) followed by 3 bytes.
831 +
832 +The first byte is which power, the second and third bytes are the time to turn on.
833 +
834 +* Example 1: Downlink Payload: 070101F4  -> AT+3V3T=500
835 +* Example 2: Downlink Payload: 0701FFFF   -> AT+3V3T=65535
836 +* Example 3: Downlink Payload: 070203E8  -> AT+5VT=1000
837 +* Example 4: Downlink Payload: 07020000  -> AT+5VT=0
838 +* Example 5: Downlink Payload: 070301F4  -> AT+12VT=500
839 +* Example 6: Downlink Payload: 07030000  -> AT+12VT=0
840 +
841 +
842 +1.
843 +11. Set the Probe Model
844 +
845 +**AT Command: AT** **+PROBE**
846 +
847 +|**Command Example**|**Function**|**Response**
848 +|AT +PROBE =?|Get or Set the probe model.|(((
849 +0
850 +
851 +OK
852 +)))
853 +|AT +PROBE =0003|Set water depth sensor mode, 3m type.|OK
854 +|AT +PROBE =0101|Set pressure transmitters mode, first type.|(((
855 +OK
856 +
857 +
858 +)))
859 +|AT +PROBE =0000|Initial state, no settings.|(((
860 +OK
861 +
862 +
863 +)))
864 +
865 +
866 +**Downlink Command: 0x08**
867 +
868 +Format: Command Code (0x08) followed by 2 bytes.
869 +
870 +* Example 1: Downlink Payload: 080003  -> AT+PROBE=0003
871 +* Example 2: Downlink Payload: 080101  -> AT+PROBE=0101
872 +
873 +
874 +
875 +
876 +
877 +1. Battery & how to replace
878 +11. Battery Type
879 +
880 +PS-LB is equipped with a [[8500mAH ER26500 Li-SOCI2 battery>>url:https://www.dragino.com/downloads/index.php?dir=datasheet/Battery/ER26500/]]. The battery is un-rechargeable battery with low discharge rate targeting for 8~~10 years use. This type of battery is commonly used in IoT target for long-term running, such as water meter.
881 +
882 +
883 +The discharge curve is not linear so can’t simply use percentage to show the battery level. Below is the battery performance.
884 +
885 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image031.png]]
886 +
887 +
888 +Minimum Working Voltage for the PS-LB:
889 +
890 +PS-LB:  2.45v ~~ 3.6v
891 +
892 +
893 +1.
894 +11. Replace Battery
895 +
896 +Any battery with range 2.45 ~~ 3.6v can be a replacement. We recommend to use Li-SOCl2 Battery.
897 +
898 +And make sure the positive and negative pins match.
899 +
900 +
901 +
902 +1.
903 +11. Power Consumption Analyze
904 +
905 +
906 +Dragino Battery powered product are all runs in Low Power mode. We have an update battery calculator which base on the measurement of the real device. User can use this calculator to check the battery life and calculate the battery life if want to use different transmit interval.
907 +
908 +
909 +Instruction to use as below:
910 +
911 +
912 +Step 1: Downlink the up-to-date DRAGINO_Battery_Life_Prediction_Table.xlsx from:
913 +
914 +[[https:~~/~~/www.dragino.com/downloads/index.php?dir=LoRa_End_Node/Battery_Analyze/>>url:https://www.dragino.com/downloads/index.php?dir=LoRa_End_Node/Battery_Analyze/]]
915 +
916 +
917 +Step 2: Open it and choose
918 +
919 +* Product Model
920 +* Uplink Interval
921 +* Working Mode
922 +
923 +And the Life expectation in difference case will be shown on the right.
924 +
925 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image032.png]]
926 +
927 +
928 +The battery related documents as below:
929 +
930 +* [[Battery Dimension>>url:http://www.dragino.com/downloads/index.php?dir=datasheet/Battery/&file=LSN50-Battery-Dimension.pdf]],
931 +* [[Lithium-Thionyl Chloride Battery>>url:http://www.dragino.com/downloads/downloads/datasheet/Battery/ER18505_datasheet-EN.pdf]] datasheet, [[Tech Spec>>url:http://www.dragino.com/downloads/downloads/datasheet/Battery/ER18505_datasheet_PM-ER18505-S-02-LF_EN.pdf]]
932 +* [[Lithium-ion Battery-Capacitor datasheet>>url:http://www.dragino.com/downloads/downloads/datasheet/Battery/SPC_1520_datasheet.jpg]], [[Tech Spec>>url:http://www.dragino.com/downloads/downloads/datasheet/Battery/SPC1520%20Technical%20Specification20171123.pdf]]
933 +
934 +
935 +
936 +|(((
937 +JST-XH-2P connector
938 +)))
939 +
940 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image033.png]]
941 +
942 +
943 +
944 +1.
945 +11.
946 +111. ​Battery Note
947 +
948 +The Li-SICO battery is designed for small current / long period application. It is not good to use a high current, short period transmit method. The recommended minimum period for use of this battery is 5 minutes. If you use a shorter period time to transmit LoRa, then the battery life may be decreased.
949 +
950 +
951 +1.
952 +11.
953 +111. ​Replace the battery
954 +
955 +You can change the battery in the PS-LB.The type of battery is not limited as long as the output is between 3v to 3.6v. On the main board, there is a diode (D1) between the battery and the main circuit. If you need to use a battery with less than 3.3v, please remove the D1 and shortcut the two pads of it so there won’t be voltage drop between battery and main board.
956 +
957 +
958 +The default battery pack of PS-LB includes a ER26500 plus super capacitor. If user can’t find this pack locally, they can find ER26500 or equivalence, which will also work in most case. The SPC can enlarge the battery life for high frequency use (update period below 5 minutes)
959 +
960 +
961 +
962 +
963 +
964 +
965 +1. Remote Configure device
966 +11. Connect via BLE
967 +
968 +
969 +Please see this instruction for how to configure via BLE:
970 +
971 +[[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/BLE%20Bluetooth%20Remote%20Configure/>>url:http://wiki.dragino.com/xwiki/bin/view/Main/BLE%20Bluetooth%20Remote%20Configure/]]
972 +
973 +
974 +1.
975 +11. AT Command Set
976 +
977 +
978 +
979 +1. OTA firmware update
980 +
981 +Please see this link for how to do OTA firmware update.
982 +
983 +[[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/Firmware%20OTA%20Update%20for%20Sensors/>>url:http://wiki.dragino.com/xwiki/bin/view/Main/Firmware%20OTA%20Update%20for%20Sensors/]]
984 +
985 +
986 +
987 +
988 +
989 +1. FAQ
990 +11. How to use AT Command to access device?
991 +
992 +See: [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/UART%20Access%20for%20LoRa%20ST%20v4%20base%20model/#H1.LoRaSTv4baseHardware>>url:http://wiki.dragino.com/xwiki/bin/view/Main/UART%20Access%20for%20LoRa%20ST%20v4%20base%20model/#H1.LoRaSTv4baseHardware]]
993 +
994 +
995 +1.
996 +11. How to update firmware via UART port?
997 +
998 +See:
999 +
1000 +[[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/UART%20Access%20for%20LoRa%20ST%20v4%20base%20model/#H1.LoRaSTv4baseHardware>>url:http://wiki.dragino.com/xwiki/bin/view/Main/UART%20Access%20for%20LoRa%20ST%20v4%20base%20model/#H1.LoRaSTv4baseHardware]]
1001 +
1002 +
1003 +1.
1004 +11. How to change the LoRa Frequency Bands/Region
1005 +
1006 +
1007 +You can follow the instructions for [[how to upgrade image>>path:#3ygebqi]].
1008 +When downloading the images, choose the required image file for download. ​
1009 +
1010 +
1011 +
1012 +
1013 +
1014 +1. Order Info
1015 +
1016 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image034.png]]
1017 +
1018 +
1019 +
1020 +
1021 +
1022 +1. ​Packing Info
1023 +
1024 +**Package Includes**:
1025 +
1026 +* PS-LB LoRaWAN Pressure Sensor
1027 +
1028 +
1029 +**Dimension and weight**:
1030 +
1031 +* Device Size: cm
1032 +* Device Weight: g
1033 +* Package Size / pcs : cm
1034 +* Weight / pcs : g
1035 +
1036 +
1037 +
1038 +
1039 +
1040 +1. ​Support
1041 +
1042 +* Support is provided Monday to Friday, from 09:00 to 18:00 GMT+8. Due to different timezones we cannot offer live support. However, your questions will be answered as soon as possible in the before-mentioned schedule.
1043 +* Provide as much information as possible regarding your enquiry (product models, accurately describe your problem and steps to replicate it etc) and send a mail to
1044 +
1045 +[[support@dragino.com>>url:http://../../../../../../D:%5C%E5%B8%82%E5%9C%BA%E8%B5%84%E6%96%99%5C%E8%AF%B4%E6%98%8E%E4%B9%A6%5CLoRa%5CLT%E7%B3%BB%E5%88%97%5Csupport@dragino.com]]
1046 +
1047 +
1675071321348-194.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +88.6 KB
Content
1675071448299-229.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +23.2 KB
Content
1675071521308-426.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +57.3 KB
Content
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0