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