<
From version < 6.1 >
edited by Xiaoling
on 2023/01/30 16:22
To version < 9.2 >
edited by Xiaoling
on 2023/01/30 17:38
>
Change comment: There is no comment for this version

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