Changes for page wiki_test

Last modified by Mengting Qiu on 2024/09/05 17:35

From version 86.6
edited by Xiaoling
on 2023/09/12 10:55
Change comment: There is no comment for this version
To version 84.8
edited by Xiaoling
on 2023/09/11 14:57
Change comment: There is no comment for this version

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,1 @@
1 -DDS45-NB -- NB-IoT Distance Detection Sensor User Manual
1 +DDS20-NB -- NB-IoT Ultrasonic Liquid Level Sensor User Manual
Content
... ... @@ -1,14 +1,7 @@
1 1  (% style="text-align:center" %)
2 -[[image:image-20230912085600-1.png||height="519" width="731"]]
2 +[[image:image-20230911134259-1.png||height="570" width="570"]]
3 3  
4 4  
5 -
6 -
7 -
8 -
9 -
10 -
11 -
12 12  **Table of Contents:**
13 13  
14 14  {{toc/}}
... ... @@ -20,33 +20,36 @@
20 20  
21 21  = 1. Introduction =
22 22  
23 -== 1.1 What is DDS45-NB NB-IoT Distance Detection Sensor ==
16 +== 1.1 What is DDS20-NB NB-IoT Ultrasonic liquid level Sensor ==
24 24  
25 25  
26 -The Dragino DDS45-NB is a (% style="color:blue" %)** NB-IoT Distance Detection Sensor**(%%) for Internet of Things solution. It is used to measure the distance between the sensor and a flat object. The distance detection sensor is a module that uses (% style="color:blue" %)** ultrasonic sensing technology**(%%) for distance measurement, and (% style="color:blue" %)** temperature compensation**(%%) is performed internally to improve the reliability of data. The DDS45-NB can be applied to scenarios such as horizontal distance measurement, liquid level measurement, parking management system, object proximity and presence detection, intelligent trash can management system, robot obstacle avoidance, automatic control, sewer, bottom water level monitoring, etc.
19 +The Dragino DDS20-NB is a **NB-IoT Ultrasonic liquid level sensor** for Internet of Things solution. It uses **none-contact method **to measure the **height of liquid** in a container without opening the container, and send IoT platform via NB-IoT network.
27 27  
28 -It detects the distance (% style="color:blue" %)** between the measured object and the sensor**(%%), and and send IoT platform via NB-IoT network.
21 +The DDS20-NB sensor is installed directly below the container to detect the height of the liquid level. User doesn't need to open a hole on the container to be tested. The none-contact measurement makes the measurement safety, easier and possible for some strict situation. 
29 29  
30 -DDS45-NB supports different uplink methods including (% style="color:blue" %)**MQTT, MQTTs, UDP & TCP**(%%) for different application requirement, and support uplinks to various IoT Servers.
23 +DDS20-NB uses **ultrasonic sensing technology** for distance measurement. DDS20-NB is of high accuracy to measure various liquid such as: **toxic substances**, **strong acids**, **strong alkalis** and **various pure liquids** in high-temperature and high-pressure airtight containers.
31 31  
32 -DDS45-NB (% style="color:blue" %)**supports BLE configure **(%%)and(% style="color:blue" %)** OTA update**(%%) which make user easy to use.
25 +PS-NB-NA supports different uplink methods including **MQTT, MQTTs, UDP & TCP** for different application requirement, and support uplinks to various IoT Servers.
33 33  
34 -DDS45-NB is powered by (% style="color:blue" %)**8500mAh Li-SOCI2 battery**(%%), it is designed for long-term use up to severa years.
27 +PS-NB-NA **supports BLE configure **and** OTA update** which make user easy to use.
35 35  
36 -DDS45-NB has optional built-in SIM card and default IoT server connection version. Which makes it works with simple configuration.
29 +PS-NB-NA is powered by **8500mAh Li-SOCI2 battery**, it is designed for long-term use up to severa years.
37 37  
38 -[[image:image-20230912102813-2.png||height="320" width="923"]]
31 +PS-NB-NA has optional built-in SIM card and default IoT server connection version. Which makes it works with simple configuration.
39 39  
40 40  
34 +[[image:image-20230911140426-2.png||height="320" width="951"]]
35 +
36 +
41 41  == 1.2 ​Features ==
42 42  
43 43  
44 44  * NB-IoT Bands: B1/B2/B3/B4/B5/B8/B12/B13/B17/B18/B19/B20/B25/B28/B66/B70/B85 @H-FDD
45 45  * Ultra-low power consumption
46 -* Distance Detection by Ultrasonic technology
47 -* Flat object range 30mm - 4500mm
48 -* Accuracy: ±(1cm+S*0.3%) (S: Distance)
49 -* Measure Angle: 60°
42 +* Liquid Level Measurement by Ultrasonic technology
43 +* Measure through container, No need to contact Liquid
44 +* Valid level range 20mm - 2000mm
45 +* Accuracy: ±(5mm+S*0.5%) (S: Measure Value)
50 50  * Multiply Sampling and one uplink
51 51  * Support Bluetooth v5.1 remote configure and update firmware
52 52  * Uplink on periodically
... ... @@ -100,64 +100,144 @@
100 100  * STOP Mode: 10uA @ 3.3v
101 101  * Max transmit power: 350mA@3.3v
102 102  
103 -== 1.4 Rated environmental conditions ==
99 +== 1.4 Suitable Container & Liquid ==
104 104  
105 105  
106 -(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:500px" %)
107 -|(% style="background-color:#4f81bd; color:white; width:163px" %)**Item**|(% style="background-color:#4f81bd; color:white; width:90px" %)**Minimum value**|(% style="background-color:#4f81bd; color:white; width:70px" %)**Typical value**|(% style="background-color:#4f81bd; color:white; width:87px" %)**Maximum value**|(% style="background-color:#4f81bd; color:white; width:40px" %)**Unit**|(% style="background-color:#4f81bd; color:white; width:50px" %)**Remarks**
108 -|(% style="width:174px" %)Storage temperature|(% style="width:86px" %)-25|(% style="width:66px" %)25|(% style="width:90px" %)80|(% style="width:48px" %)℃|(% style="width:203px" %)
109 -|(% style="width:174px" %)Storage humidity|(% style="width:86px" %) |(% style="width:66px" %)65%|(% style="width:90px" %)90%|(% style="width:48px" %)RH|(% style="width:203px" %)(1)
110 -|(% style="width:174px" %)Operating temperature|(% style="width:86px" %)-15|(% style="width:66px" %)25|(% style="width:90px" %)60|(% style="width:48px" %)℃|(% style="width:203px" %)
111 -|(% style="width:174px" %)Working humidity|(% style="width:86px" %)(((
112 -
102 +* Solid Wall container such as: steel, iron, glass, ceramics, non-foaming plastics etc.
103 +* Container shape is regular, and surface is smooth.
104 +* Container Thickness:
105 +** Pure metal material.  2~~8mm, best is 3~~5mm
106 +** Pure non metal material: <10 mm
107 +* Pure liquid without irregular deposition.
113 113  
114 -
115 -)))|(% style="width:66px" %)65%|(% style="width:90px" %)80%|(% style="width:48px" %)RH|(% style="width:203px" %)(1)
109 +(% style="display:none" %)
116 116  
111 +== 1.5 Install DDS20-NB ==
112 +
113 +
114 +(% style="color:blue" %)**Step 1**(%%):  ** Choose the installation point.**
115 +
116 +DDS20-NB (% style="color:red" %)**MUST**(%%) be installed on the container bottom middle position.
117 +
118 +[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LDDS20%20-%20LoRaWAN%20Liquid%20Level%20Sensor%20User%20Manual/WebHome/image-20220615091045-3.png?rev=1.1||alt="image-20220615091045-3.png"]]
119 +
120 +
117 117  (((
118 -(% style="color:red" %)**Remarks: (1) a. When the ambient temperature is 0-39 ℃, the maximum humidity is 90% (non-condensing);       **
122 +(% style="color:blue" %)**Step 2**(%%):  **Polish the installation point.**
123 +)))
119 119  
120 -(% style="color:red" %)** b. When the ambient temperature is 40-50 ℃, the highest humidity is the highest humidity in the natural world at the current temperature (no condensation)**
125 +(((
126 +For Metal Surface with paint, it is important to polish the surface, first use crude sand paper to polish the paint level , then use exquisite sand paper to polish the metal level to make it shine & smooth.
127 +)))
121 121  
122 -
129 +[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/DDS20-LB_LoRaWAN_Ultrasonic_Liquid_Level_Sensor_User_Manual/WebHome/image-20230613143052-5.png?rev=1.1||alt="image-20230613143052-5.png"]]
130 +
131 +
132 +No polish needed if the container is shine metal surface without paint or non-metal container.
133 +
134 +[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/DDS20-LB_LoRaWAN_Ultrasonic_Liquid_Level_Sensor_User_Manual/WebHome/image-20230613143125-6.png?rev=1.1||alt="image-20230613143125-6.png"]]
135 +
136 +
137 +(((
138 +(% style="color:blue" %)**Step3:   **(%%)**Test the installation point.**
123 123  )))
124 124  
125 -== 1.5 Effective measurement range Reference beam pattern ==
141 +(((
142 +Power on DDS20-NB, check if the blue LED is on, If the blue LED is on, means the sensor works. Then put ultrasonic coupling paste on the sensor and put it tightly on the installation point.
143 +)))
126 126  
145 +(((
146 +It is necessary to put the coupling paste between the sensor and the container, otherwise DDS20-NB won't detect the liquid level.
147 +)))
127 127  
128 -(% style="color:blue" %)**1. The tested object is a white cylindrical tube made of PVC, with a height of 100cm and a diameter of 7.5cm.**
149 +(((
150 +After paste the DDS20-NB well, power on DDS20-NB. In the first 30 seconds of booting, device will check the sensors status and BLUE LED will show the status as below. After 30 seconds, BLUE LED will be off to save battery life.
151 +)))
129 129  
130 -[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LDDS75%20-%20LoRaWAN%20Distance%20Detection%20Sensor%20User%20Manual/WebHome/1654852253176-749.png?rev=1.1||alt="1654852253176-749.png"]]
131 131  
154 +(((
155 +(% style="color:blue" %)**LED Status:**
156 +)))
132 132  
133 -(% style="color:blue" %)**2. The object to be tested is a "corrugated cardboard box" perpendicular to the central axis of 0 °, and the length * width is 60cm * 50cm.**
158 +* (((
159 +**Onboard LED**: When power on device, the onboard LED will fast blink 4 times which means detect the sensor well.
160 +)))
134 134  
135 -[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LDDS75%20-%20LoRaWAN%20Distance%20Detection%20Sensor%20User%20Manual/WebHome/1654852175653-550.png?rev=1.1||alt="1654852175653-550.png"]]
162 +* (((
163 +(% style="color:blue" %)**BLUE LED**(% style="color:red" %)** always ON**(%%): Sensor is power on but doesn't detect liquid. There is problem in installation point.
164 +)))
165 +* (((
166 +(% style="color:blue" %)**BLUE LED**(% style="color:red" %)** slowly blinking**(%%): Sensor detects Liquid Level, The installation point is good.
167 +)))
136 136  
169 +(((
170 +DDS20-NB will enter into low power mode at 30 seconds after system reset or power on, Blue LED will be off after that.
171 +)))
137 137  
173 +
174 +(((
175 +(% style="color:red" %)**Note :**(%%)** (% style="color:blue" %)Ultrasonic coupling paste(%%)**(% style="color:blue" %) (%%) is subjected in most shipping way. So the default package doesn't include it and user needs to purchase locally.
176 +)))
177 +
178 +
179 +(((
180 +(% style="color:blue" %)**Step4:   **(%%)**Install use Epoxy ab glue.**
181 +)))
182 +
183 +(((
184 +Prepare Eproxy AB glue.
185 +)))
186 +
187 +(((
188 +Put Eproxy AB glue in the sensor and press it hard on the container installation point.
189 +)))
190 +
191 +(((
192 +Reset DDS20-NB and see if the BLUE LED is slowly blinking.
193 +)))
194 +
195 +[[image:image-20230809172509-1.png]]
196 +
197 +(((
198 +(% style="color:red" %)**Note :**(% style="color:red; display:none" %)** **
199 +
200 +(% style="color:red" %)**1:**(%%)** (% style="color:blue" %)Eproxy AB glue(%%)** needs 3~~ 5 minutes to stable attached. we can use other glue material to keep it in the position.
201 +)))
202 +
203 +(((
204 +(% style="color:red" %)**2:**(%%)** (% style="color:blue" %)Eproxy AB glue(%%)** is subjected in most shipping way. So the default package doesn't include it and user needs to purchase locally.
205 +)))
206 +
207 +
138 138  == 1.6 Applications ==
139 139  
140 140  
141 -* Horizontal distance measurement
142 -* Liquid level measurement
143 -* Parking management system
144 -* Object proximity and presence detection
145 -* Intelligent trash can management system
146 -* Robot obstacle avoidance
147 -* Automatic control
148 -* Sewer
149 -* Bottom water level monitoring
211 +* Smart liquid control solution
150 150  
213 +* Smart liquefied gas solution
151 151  
152 -== 1.7 Sleep mode and working mode ==
215 +== 1.7 Precautions ==
153 153  
154 154  
218 +* At room temperature, containers of different materials, such as steel, glass, iron, ceramics, non-foamed plastics and other dense materials, have different detection blind areas and detection limit heights.
219 +
220 +* For containers of the same material at room temperature, the detection blind zone and detection limit height are also different for the thickness of the container.
221 +
222 +* When the detected liquid level exceeds the effective detection value of the sensor, and the liquid level of the liquid to be measured shakes or tilts, the detected liquid height is unstable.
223 +
224 +(% style="display:none" %)
225 +
226 +
227 +
228 +== 1.8 Sleep mode and working mode ==
229 +
230 +
155 155  (% style="color:blue" %)**Deep Sleep Mode: **(%%)Sensor doesn't have any LoRaWAN activate. This mode is used for storage and shipping to save battery life.
156 156  
157 157  (% style="color:blue" %)**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.
158 158  
159 159  
160 -== 1.8 Button & LEDs ==
236 +== 1.9 Button & LEDs ==
161 161  
162 162  
163 163  [[image:Main.User Manual for LoRaWAN End Nodes.D20-LBD22-LBD23-LB_LoRaWAN_Temperature_Sensor_User_Manual.WebHome@1675071855856-879.png]]
... ... @@ -176,7 +176,7 @@
176 176  )))
177 177  |(% style="width:167px" %)Fast press ACT 5 times.|(% style="width:117px" %)Deactivate Device|(% style="width:225px" %)(% style="color:red" %)**Red led**(%%) will solid on for 5 seconds. Means device is in Deep Sleep Mode.
178 178  
179 -== 1.9 BLE connection ==
255 +== 1.10 BLE connection ==
180 180  
181 181  
182 182  DDS20-NB support BLE remote configure and firmware update.
... ... @@ -191,19 +191,19 @@
191 191  If there is no activity connection on BLE in 60 seconds, sensor will shut down BLE module to enter low power mode.
192 192  
193 193  
194 -== 1.10 Pin Definitions & Switch ==
270 +== 1.11 Pin Definitions & Switch ==
195 195  
196 196  
197 197  [[image:image-20230819104805-5.png]]
198 198  
199 199  
200 -=== 1.10.1 Jumper JP2 ===
276 +=== 1.11.1 Jumper JP2 ===
201 201  
202 202  
203 203  Power on Device when put this jumper.
204 204  
205 205  
206 -=== 1.10.2 BOOT MODE / SW1 ===
282 +=== 1.11.2 BOOT MODE / SW1 ===
207 207  
208 208  
209 209  **1)** (% style="color:blue" %)**ISP**(%%): upgrade mode, device won't have any signal in this mode. but ready for upgrade firmware. LED won't work. Firmware won't run.
... ... @@ -211,7 +211,7 @@
211 211  **2)** (% style="color:blue" %)**Flash**(%%): work mode, device starts to work and send out console output for further debug
212 212  
213 213  
214 -=== 1.10.3 Reset Button ===
290 +=== 1.11.3 Reset Button ===
215 215  
216 216  
217 217  Press to reboot the device.
... ... @@ -219,35 +219,20 @@
219 219  (% style="display:none" %)
220 220  
221 221  
222 -== 1.11 Mechanical ==
298 += 2. Use S31-NB to communicate with IoT Server =
223 223  
224 -[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/D20-LBD22-LBD23-LB_LoRaWAN_Temperature_Sensor_User_Manual/WebHome/1675143884058-338.png?rev=1.1||alt="1675143884058-338.png"]]
225 -
226 -[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/D20-LBD22-LBD23-LB_LoRaWAN_Temperature_Sensor_User_Manual/WebHome/1675143899218-599.png?rev=1.1||alt="1675143899218-599.png"]]
227 -
228 -[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/D20-LBD22-LBD23-LB_LoRaWAN_Temperature_Sensor_User_Manual/WebHome/1675143909447-639.png?rev=1.1||alt="1675143909447-639.png"]]
229 -
230 -
231 -(% style="color:blue" %)**Probe Mechanical:**
232 -
233 -[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LDDS45%20-%20LoRaWAN%20Distance%20Detection%20Sensor%20User%20Manual/WebHome/1654915562090-396.png?rev=1.1||alt="1654915562090-396.png"]]
234 -
235 -
236 -
237 -= 2. Use DDS45-NB to communicate with IoT Server =
238 -
239 239  == 2.1 Send data to IoT server via NB-IoT network ==
240 240  
241 241  
242 -The DDS45-NB is equipped with a NB-IoT module, the pre-loaded firmware in DDS45-NB will get environment data from sensors and send the value to local NB-IoT network via the NB-IoT module.  The NB-IoT network will forward this value to IoT server via the protocol defined by DDS45-NB.
303 +The DDS20-NB is equipped with a NB-IoT module, the pre-loaded firmware in DDS20-NB will get environment data from sensors and send the value to local NB-IoT network via the NB-IoT module.  The NB-IoT network will forward this value to IoT server via the protocol defined by DDS20-NB.
243 243  
244 244  
245 245  Below shows the network structure:
246 246  
247 -[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/DDS45-NB_NB-IoT_Distance_Detection_Sensor_User_Manual/WebHome/image-20230912102813-2.png?width=923&height=320&rev=1.1||alt="image-20230912102813-2.png"]]
308 +[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/DDS20-NB_NB-IoT_Ultrasonic_Liquid_Level_Sensor_User_Manual/WebHome/image-20230911140426-2.png?width=951&height=320&rev=1.1||alt="image-20230911140426-2.png"]]
248 248  
249 249  
250 -There are two version: (% style="color:blue" %)**-GE**(%%) and (% style="color:blue" %)**-1D**(%%) version of DDS45-NB.
311 +There are two version: (% style="color:blue" %)**-GE**(%%) and (% style="color:blue" %)**-1D**(%%) version of DDS20-NB.
251 251  
252 252  
253 253  (% style="color:blue" %)**GE Version**(%%): This version doesn't include SIM card or point to any IoT server. User needs to use AT Commands to configure below two steps to set DDS20-NB send data to IoT server.
... ... @@ -389,123 +389,60 @@
389 389  (% style="color:#4472c4" %)**field1=27.9&field2=49.9&field3=3.23&field4=28**
390 390  
391 391  
392 -== 2.3  Uplink Payload ==
453 +== 2.3 Test Uplink and Change Update Interval ==
393 393  
394 394  
395 -(((
396 -DDS20-NB will uplink payload via LoRaWAN with below payload format: 
397 -)))
456 +By default, Sensor will send uplinks (% style="color:blue" %)**every 2 hours**(%%) & AT+NOUD=8
398 398  
399 -(((
400 -Uplink payload includes in total 8 bytes.
401 -)))
458 +User can use below commands to change the (% style="color:blue" %)**uplink interval**.
402 402  
403 -(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:510px" %)
404 -|=(% style="width: 95px; background-color:#4F81BD;color:white" %)Size(bytes)|=(% style="width: 61px; background-color:#4F81BD;color:white" %)2|=(% style="background-color:#4F81BD;color:white" %)2|=(% style="background-color:#4F81BD;color:white" %)1|=(% style="background-color:#4F81BD;color:white" %)2|=(% style="background-color:#4F81BD;color:white" %)1
405 -|(% style="width:95px" %)Value|(% style="width:61px" %)[[BAT>>||anchor="H2.3.1A0BatteryInfo"]]|(((
406 -[[Distance>>||anchor="H2.3.2A0Distance"]]
407 -(unit: mm)
408 -)))|[[Digital Interrupt (Optional)>>||anchor="H2.3.3A0InterruptPin"]]|(((
409 -[[Temperature (Optional)>>||anchor="H2.3.4A0DS18B20Temperaturesensor"]]
410 -)))|[[Sensor Flag>>||anchor="H2.3.5A0SensorFlag"]]
460 +(% style="color:#037691" %)**AT+TDC=600 ** (%%) ~/~/ Set Update Interval to 600s
411 411  
412 -[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/DDS20-LB_LoRaWAN_Ultrasonic_Liquid_Level_Sensor_User_Manual/WebHome/%E5%BE%AE%E4%BF%A1%E6%88%AA%E5%9B%BE_20230702135733.png?width=964&height=215&rev=1.1||alt="微信截图_20230702135733.png"]]
462 +User can also push the button for more than 1 seconds to activate an uplink.
413 413  
414 414  
415 -=== 2.3.1  Battery Info ===
465 +== 2.4 Multi-Samplings and One uplink ==
416 416  
417 417  
418 -Check the battery voltage for DDS20-NB.
468 +To save battery life, DDS20-NB will sample temperature & humidity data every 15 minutes and send one uplink every 2 hours. So each uplink it will include 8 stored data + 1 real-time data. They are defined by:
419 419  
420 -Ex1: 0x0B45 = 2885mV
470 +* (% style="color:#037691" %)**AT+TR=900**   (%%) ~/~/ The unit is seconds, and the default is to record data once every 900 seconds (15 minutes, the minimum can be set to 180 seconds)
421 421  
422 -Ex2: 0x0B49 = 2889mV
472 +* (% style="color:#037691" %)**AT+NOUD=8**     (%%)~/~/  The device uploads 8 sets of recorded data by default. Up to 32 sets of record data can be uploaded.
423 423  
474 +The diagram below explains the relationship between TR, NOUD, and TDC more clearly:
424 424  
425 -=== 2.3.2  Distance ===
476 +[[image:1692424376354-959.png]]
426 426  
427 427  
428 -(((
429 -Get the distance. Flat object range 20mm - 2000mm.
430 -)))
479 +== 2.5 Humidity and Temperature alarm function ==
431 431  
432 -(((
433 -For example, if the data you get from the register is **0x06 0x05**, the distance between the sensor and the measured object is(% style="color:#4472c4" %)** **
434 434  
435 -(% style="color:blue" %)**0605(H) = 1541 (D) = 1541 mm.**
436 -)))
482 +On each sampling define by AT+TR ( default 900s or 15 minutes), when the value exceed the range, it will trigger an Alarm and immediately sends a uplink.
437 437  
438 -* If the sensor value is 0x0000, it means system doesn't detect ultrasonic sensor.
439 439  
440 -* If the sensor value lower than 0x0014 (20mm), the sensor value will be invalid.
485 +(% style="color:blue" %)**AT Commands:**
441 441  
442 -=== 2.3.3  Interrupt Pin ===
487 +(% style="color:#037691" %)**AT+ SHHUM=min,max**
443 443  
489 +Example: AT+ SHHUM=50,80  ~/~/ Alarm when humidity lower than 50 or higher than 80.
444 444  
445 -This data field shows if this packet is generated by interrupt or not.
446 446  
447 -**Example:**
492 +(% style="color:#037691" %)**AT+ SHTEMP=min,max**
448 448  
449 -0x00: Normal uplink packet.
494 +Example: AT+ SHTEMP=20,30  ~/~/ Alarm when temperature lower than 20 or higher than 30
450 450  
451 -0x01: Interrupt Uplink Packet.
452 452  
497 +(% style="color:red" %)**Notice:**
453 453  
454 -=== 2.3.4  DS18B20 Temperature sensor ===
499 +* To disable Alarm, user can set min and max to same value , such as (% style="color:#037691" %)**AT+SHTEMP=0,0.**
455 455  
501 +* If user only want to send only min or max, user can set the alarm to a value that device won’t reach. For example: (% style="color:#037691" %)**AT+SHTEMP=-80,0.**
456 456  
457 -This is optional, user can connect external DS18B20 sensor to the +3.3v, 1-wire and GND pin . and this field will report temperature.
458 -
459 -**Example**:
460 -
461 -If payload is: 0105H:  (0105 & FC00 == 0), temp = 0105H /10 = 26.1 degree
462 -
463 -If payload is: FF3FH :  (FF3F & FC00 == 1) , temp = (FF3FH - 65536)/10 = -19.3 degrees.
464 -
465 -
466 -=== 2.3.5  Sensor Flag ===
467 -
468 -
469 -(((
470 -0x01: Detect Ultrasonic Sensor
471 -)))
472 -
473 -(((
474 -0x00: No Ultrasonic Sensor
475 -
476 -
477 -)))
478 -
479 -== 2.4 Test Uplink and Change Update Interval ==
480 -
481 -
482 -By default, Sensor will send uplinks (% style="color:blue" %)**every 2 hours**(%%) & AT+NOUD=8
483 -
484 -User can use below commands to change the (% style="color:blue" %)**uplink interval**.
485 -
486 -(% style="color:#037691" %)**AT+TDC=600 ** (%%) ~/~/ Set Update Interval to 600s
487 -
488 -User can also push the button for more than 1 seconds to activate an uplink.
489 -
490 -
491 -== 2.5 Multi-Samplings and One uplink ==
492 -
493 -
494 -To save battery life, DDS20-NB will sample temperature & humidity data every 15 minutes and send one uplink every 2 hours. So each uplink it will include 8 stored data + 1 real-time data. They are defined by:
495 -
496 -* (% style="color:#037691" %)**AT+TR=900**   (%%) ~/~/ The unit is seconds, and the default is to record data once every 900 seconds (15 minutes, the minimum can be set to 180 seconds)
497 -
498 -* (% style="color:#037691" %)**AT+NOUD=8**     (%%)~/~/  The device uploads 8 sets of recorded data by default. Up to 32 sets of record data can be uploaded.
499 -
500 -The diagram below explains the relationship between TR, NOUD, and TDC more clearly:
501 -
502 -[[image:1692424376354-959.png]]
503 -
504 -
505 505  == 2.6 Trggier an uplink by external interrupt ==
506 506  
507 507  
508 -DDS20-NB has an external trigger interrupt function. Users can use the PB15 pin to trigger the upload of data packets.
506 +S31-NB has an external trigger interrupt function. Users can use the PB15 pin to trigger the upload of data packets.
509 509  
510 510  (% style="color:blue" %)**AT command:**
511 511  
... ... @@ -519,12 +519,12 @@
519 519  
520 520  * (% style="color:#037691" %)**AT+INTMOD=3  **(%%) ~/~/ Trigger by rising edge
521 521  
522 -= 3. Configure DDS20-NB =
520 += 3. Configure S31x-NB =
523 523  
524 524  == 3.1 Configure Methods ==
525 525  
526 526  
527 -DDS20-NB supports below configure method:
525 +S31x-NB supports below configure method:
528 528  
529 529  * AT Command via Bluetooth Connection (**Recommended**): [[BLE Configure Instruction>>http://wiki.dragino.com/xwiki/bin/view/Main/BLE%20Bluetooth%20Remote%20Configure/]].
530 530  
... ... @@ -613,7 +613,7 @@
613 613  = 4. Battery & Power Consumption =
614 614  
615 615  
616 -DDS20-NB use ER26500 + SPC1520 battery pack. See below link for detail information about the battery info and how to replace.
614 +S31x-NB use ER26500 + SPC1520 battery pack. See below link for detail information about the battery info and how to replace.
617 617  
618 618  [[**Battery Info & Power Consumption Analyze**>>http://wiki.dragino.com/xwiki/bin/view/Main/How%20to%20calculate%20the%20battery%20life%20of%20Dragino%20sensors%3F/]] .
619 619  
... ... @@ -627,7 +627,7 @@
627 627  
628 628  * Fix bugs.
629 629  
630 -Firmware and changelog can be downloaded from : **[[Firmware download link>>https://www.dropbox.com/sh/nyzeu0lf0amcaek/AAC6UZrqyTcAyJgXOH7l9F9Ka?dl=0]]**
628 +Firmware and changelog can be downloaded from : **[[Firmware download link>>https://www.dropbox.com/sh/fhb3uyl4gt6clru/AAAiZVTFcxrfE1JOOyfcgO9ha?dl=0]]**
631 631  
632 632  Methods to Update Firmware:
633 633  
... ... @@ -645,24 +645,11 @@
645 645  [[See BC660K-GL AT Command set>>url:https://www.dropbox.com/sh/5f6ssda5fum8rvs/AABT68l8ZzWOvZ5eg2qwOoFda?dl=0]]
646 646  
647 647  
648 -= 7.  Trouble Shooting =
646 += 7. Order Info =
649 649  
650 -== 7.1  Why i always see 0x0000 or 0 for the distance value? ==
651 651  
649 +Part Number: (% style="color:blue" %)**S31-NB-XX  / S31B-NB-XX**
652 652  
653 -(((
654 -DDS20-NB has a strict [[**installation requirement**>>||anchor="H1.5A0InstallDDS20-NB"]]. Please make sure the installation method exactly follows up with the installation requirement. Otherwise, the reading might be always 0x00.
655 -
656 -If you have followed the instruction requirement exactly but still see the 0x00 reading issue, please. please double-check the decoder, you can check the raw payload to verify.
657 -
658 -
659 -)))
660 -
661 -= 8. Order Info =
662 -
663 -
664 -Part Number: (% style="color:blue" %)**DDS20-NB-XX**
665 -
666 666  (% style="color:red" %)**XX**(%%):
667 667  
668 668  * (% style="color:#037691" %)**GE**(%%): General version ( Exclude SIM card)
... ... @@ -672,12 +672,12 @@
672 672  (% style="color:#037691" %)**1NCE SIM Card NB-IoT network coverage**(%%): Austria, Belgium, Bulgaria, Croatia, Czech Republic, Denmark, Finland, Germany, Great Britain, Greece, Hungary, Ireland, Italy, Latvia, Malta, Netherlands, Norway, Puerto Rico, Russia, Slovak , Republic, Slovenia, Spain, Sweden, Switzerland, Taiwan, USA, US Virgin Islands
673 673  
674 674  
675 -= 9. ​Packing Info =
660 += 8. ​Packing Info =
676 676  
677 677  
678 678  (% style="color:#037691" %)**Package Includes**:
679 679  
680 -* DDS20-NB NB-IoT Ultrasonic liquid level sensor x 1
665 +* S31-NB or S31-NB NB-IoT Sensor Node x 1
681 681  
682 682  * External antenna x 1
683 683  
... ... @@ -691,7 +691,7 @@
691 691  
692 692  * Weight / pcs : 180g
693 693  
694 -= 10. Support =
679 += 9. Support =
695 695  
696 696  
697 697  * 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.
image-20230912085600-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -646.5 KB
Content
image-20230912102813-2.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -110.4 KB
Content