<
From version < 44.3 >
edited by Xiaoling
on 2022/09/07 17:56
To version < 38.1 >
edited by David Huang
on 2022/09/07 16:26
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Xiaoling
1 +XWiki.David
Content
... ... @@ -1,16 +1,10 @@
1 1  (% style="text-align:center" %)
2 2  [[image:)YK]Y_LZJIO]J2~~VA}OQJM2.png]]
3 3  
4 -**Table of Contents:**
4 += **1. Introduction** =
5 5  
6 -{{toc/}}
6 +== **1.1 ​What is NSPH01 Soil pH Sensor** ==
7 7  
8 -
9 -
10 -= 1. Introduction =
11 -
12 -== 1.1 ​What is NSPH01 Soil pH Sensor ==
13 -
14 14  The Dragino NSPH01 is a **NB-IOT soil ph sensor** for IoT of Agriculture. It is designed to measure the soil PH and soil temperature, so to send to the platform to analyze the soil acid or alkali level. The probe is IP68 waterproof.
15 15  
16 16  NSPH01 probe is made by Solid AgCl reference electrode and Pure metal pH sensitive electrode. It can detect soil's** pH **with high accuracy and stable value. The NSPH01 probe can be buried into soil for long time use.
... ... @@ -26,7 +26,7 @@
26 26  (% style="text-align:center" %)
27 27  [[image:M_K`YF9`CAYAE\@}3T]FHT$9.png]]
28 28  
29 -== 1.2 Features ==
23 +**1.2 Features**
30 30  
31 31  * NB-IoT Bands: B1/B3/B8/B5/B20/B28 @H-FDD
32 32  * Monitor soil pH with temperature compensation.
... ... @@ -43,7 +43,7 @@
43 43  * Micro SIM card slot for NB-IoT SIM
44 44  * 8500mAh Battery for long term use
45 45  
46 -== 1.3  Specification ==
40 +**1.3  Specification**
47 47  
48 48  **Common DC Characteristics:**
49 49  
... ... @@ -59,7 +59,7 @@
59 59  * - B20 @H-FDD: 800MHz
60 60  * - B28 @H-FDD: 700MHz
61 61  
62 -== 1.4 Probe Specification ==
56 +**1.4 Probe Specification**
63 63  
64 64  **Soil pH:**
65 65  
... ... @@ -78,19 +78,19 @@
78 78  * IP68 Protection
79 79  * Length: 3.5 meters
80 80  
81 -== 1.5 ​Applications ==
75 +**1.5 ​Applications**
82 82  
83 83  * Smart Agriculture
84 84  
85 -== 1.6 Pin mapping and power on ==
79 +**1.6 Pin mapping and power on**
86 86  
87 87  (% style="text-align:center" %)
88 88  [[image:image-20220907153300-2.png]]
89 89  
90 90  
91 -= 2.  Use NSPH01 to communicate with IoT Server =
85 +**2.  Use NSPH01 to communicate with IoT Server**
92 92  
93 -== 2.1  How it works ==
87 +**2.1  How it works**
94 94  
95 95  The NSPH01 is equipped with a NB-IoT module, the pre-loaded firmware in NSPH01 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 NSPH01.
96 96  
... ... @@ -99,9 +99,9 @@
99 99  (% style="text-align:center" %)
100 100  [[image:image-20220907153416-3.png]]
101 101  
102 -== 2.2 ​ Configure the NSPH01 ==
96 +**2.2 ​ Configure the NSPH01**
103 103  
104 -=== 2.2.1 Test Requirement ===
98 +**2.2.1 Test Requirement**
105 105  
106 106  To use NSPH01 in your city, make sure meet below requirements:
107 107  
... ... @@ -115,7 +115,7 @@
115 115  [[image:image-20220907153445-4.png]]
116 116  
117 117  
118 -=== 2.2.2 Insert SIM card ===
112 +**2.2.2 Insert SIM card**
119 119  
120 120  Insert the NB-IoT Card get from your provider.
121 121  
... ... @@ -124,7 +124,7 @@
124 124  (% style="text-align:center" %)
125 125  [[image:image-20220907153505-5.png]]
126 126  
127 -=== 2.2.3 Connect USB – TTL to NSPH01 to configure it ===
121 +**2.2.3 Connect USB – TTL to NSPH01 to configure it**
128 128  
129 129  User need to configure NSPH01 via serial port to set the **Server Address** / **Uplink Topic** to define where and how-to uplink packets. NSPH01 support AT Commands, user can use a USB to TTL adapter to connect to NSPH01 and use AT Commands to configure it, as below.
130 130  
... ... @@ -151,7 +151,7 @@
151 151  
152 152  **Note: the valid AT Commands can be found at:  **[[**https:~~/~~/www.dropbox.com/sh/351dwor6joz8nwh/AADn1BQaAAxLF_QMyU8NkW47a?dl=0**>>url:https://www.dropbox.com/sh/351dwor6joz8nwh/AADn1BQaAAxLF_QMyU8NkW47a?dl=0]]
153 153  
154 -=== 2.2.4 Use CoAP protocol to uplink data ===
148 +**2.2.4 Use CoAP protocol to uplink data**
155 155  
156 156  **Note: if you don't have CoAP server, you can refer this link to set up one: **[[**http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/Set%20up%20CoAP%20Server/**>>url:http://wiki.dragino.com/xwiki/bin/view/Main/Set%20up%20CoAP%20Server/]]
157 157  
... ... @@ -172,7 +172,7 @@
172 172  [[image:image-20220907153612-8.png||height="529" width="729"]]
173 173  
174 174  
175 -=== 2.2.5 Use UDP protocol to uplink data(Default protocol) ===
169 +**2.2.5 Use UDP protocol to uplink data(Default protocol)**
176 176  
177 177  This feature is supported since firmware version v1.0.1
178 178  
... ... @@ -187,7 +187,7 @@
187 187  [[image:image-20220907153703-10.png||height="309" width="738"]]
188 188  
189 189  
190 -=== 2.2.6 Use MQTT protocol to uplink data ===
184 +**2.2.6 Use MQTT protocol to uplink data**
191 191  
192 192  This feature is supported since firmware version v110
193 193  
... ... @@ -207,7 +207,7 @@
207 207  
208 208  MQTT protocol has a much higher power consumption compare vs UDP / CoAP protocol. Please check the power analyze document and adjust the uplink period to a suitable interval.
209 209  
210 -=== 2.2.7 Use TCP protocol to uplink data ===
204 +**2.2.7 Use TCP protocol to uplink data**
211 211  
212 212  This feature is supported since firmware version v110
213 213  
... ... @@ -220,7 +220,7 @@
220 220  (% style="text-align:center" %)
221 221  [[image:image-20220907153827-14.png||height="236" width="684"]]
222 222  
223 -=== 2.2.8 Change Update Interval ===
217 +**2.2.8 Change Update Interval**
224 224  
225 225  User can use below command to change the **uplink interval**.
226 226  
... ... @@ -230,7 +230,7 @@
230 230  
231 231  **~1. By default, the device will send an uplink message every 2 hour.**
232 232  
233 -== 2.3  Uplink Payload ==
227 +**2.3  Uplink Payload**
234 234  
235 235  In this mode, uplink payload includes 87 bytes in total by default.
236 236  
... ... @@ -240,9 +240,6 @@
240 240  |(% style="width:93px" %)**Size(bytes)**|(% style="width:82px" %)**8**|(% style="width:43px" %)**2**|(% style="width:41px" %)**2**|(% style="width:126px" %)**1**|(% style="width:54px" %)**1**|(% style="width:84px" %)1|(% style="width:75px" %)2|(% style="width:133px" %)2|(% style="width:70px" %)2|(% style="width:127px" %)4   
241 241  |(% style="width:93px" %)**Value**|(% style="width:82px" %)Device ID|(% style="width:43px" %)Ver|(% style="width:41px" %)BAT|(% style="width:126px" %)Signal Strength|(% style="width:54px" %)MOD|(% style="width:84px" %)Interrupt|(% style="width:75px" %)Soil PH|(% style="width:133px" %)Soil Temperature|(% style="width:70px" %)Soil PH|(% style="width:127px" %)Time stamp  .....
242 242  
243 -|**Size(bytes)**|**8**|**2**|**2**|1|1|1|2|2|4|2|2|4
244 -|**Value**|Device ID|Ver|BAT|Signal Strength|MOD|Interrupt|Soil PH|Soil Temperature|Time stamp|Soil Temperature|Soil PH|Time stamp  .....
245 -
246 246  If we use the MQTT client to subscribe to this MQTT topic, we can see the following information when the NSPH01 uplink data.
247 247  
248 248  (% style="text-align:center" %)
... ... @@ -263,12 +263,12 @@
263 263  * Soil PH: 0x0225= 549 = 5.49
264 264  * Soil Temperature:0x010B =267=26.7 °C
265 265  * Time stamp : 0x6315537b =1662342011
266 -* Soil Temperature,Soil PH,Time stamp : 010b0226631550fb
257 +* Soil Temperature,Soil PH,Time stamp : 010b0226631550fb,Soil
267 267  * 8 sets of recorded data: Temperature,Soil PH,Time stamp : 010e022663154d77,.......
268 268  
269 -== 2.4  Payload Explanation and Sensor Interface ==
260 +**2.4  Payload Explanation and Sensor Interface**
270 270  
271 -=== 2.4.1  Device ID ===
262 +**2.4.1  Device ID**
272 272  
273 273  By default, the Device ID equal to the last 15 bits of IMEI.
274 274  
... ... @@ -280,13 +280,13 @@
280 280  
281 281  The Device ID is stored in a none-erase area, Upgrade the firmware or run AT+FDR won't erase Device ID.
282 282  
283 -=== 2.4.2  Version Info ===
274 +**2.4.2  Version Info**
284 284  
285 285  Specify the software version: 0x64=100, means firmware version 1.00.
286 286  
287 287  For example: 0x00 64 : this device is NSPH01 with firmware version 1.0.0.
288 288  
289 -=== 2.4.3  Battery Info ===
280 +**2.4.3  Battery Info**
290 290  
291 291  Check the battery voltage for NSPH01.
292 292  
... ... @@ -294,7 +294,7 @@
294 294  
295 295  Ex2: 0x0B49 = 2889mV
296 296  
297 -=== 2.4.4  Signal Strength ===
288 +**2.4.4  Signal Strength**
298 298  
299 299  NB-IoT Network signal Strength.
300 300  
... ... @@ -310,7 +310,7 @@
310 310  
311 311  **99**    Not known or not detectable
312 312  
313 -=== 2.4.5  Soil PH ===
304 +**2.4.5  Soil PH**
314 314  
315 315  Get the PH content of the soil. The value range of the register is 300-1000(Decimal), divide this value by 100 to get the percentage of PH in the soil.
316 316  
... ... @@ -318,23 +318,23 @@
318 318  
319 319  **0229(H) = 549(D) /100 = 5.49.**
320 320  
321 -=== 2.4.6  Soil Temperature ===
312 +**2.4.6  Soil Temperature**
322 322  
323 323  Get the temperature in the soil. The value range of the register is -4000 - +800(Decimal), divide this value by 100 to get the temperature in the soil. For example, if the data you get from the register is **__0x09 0xEC__**, the temperature content in the soil is
324 324  
325 325  **Example**:
326 326  
327 -If payload is 0105H: ((0x0105 & 0x8000)>>15 === 0),temp = 0105(H)/10 = 26.1 °C
318 +If payload is 0105H: ((0x0105 & 0x8000)>>15 === 0),temp = 0105(H)/100 = 2.61 °C
328 328  
329 -If payload is FF7EH: ((FF7E & 0x8000)>>15 ===1),temp = (FF7E(H)-FFFF(H))/10 = -12.9 °C
320 +If payload is FF7EH: ((FF7E & 0x8000)>>15 ===1),temp = (FF7E(H)-FFFF(H))/100 = -1.29 °C
330 330  
331 -=== 2.4.7  Timestamp ===
322 +**2.4.7  Timestamp**
332 332  
333 333  Time stamp : 0x6315537b =1662342011
334 334  
335 335  Convert Unix timestamp to time 2022-9-5 9:40:11.
336 336  
337 -=== 2.4.8  Digital Interrupt ===
328 +**2.4.8  Digital Interrupt**
338 338  
339 339  Digital Interrupt refers to pin **GPIO_EXTI**, and there are different trigger methods. When there is a trigger, the NSPH01 will send a packet to the server.
340 340  
... ... @@ -350,7 +350,7 @@
350 350  
351 351  0x(01): Interrupt Uplink Packet.
352 352  
353 -=== 2.4.9  ​+5V Output ===
344 +**2.4.9  ​+5V Output**
354 354  
355 355  NSPH01 will enable +5V output before all sampling and disable the +5v after all sampling. 
356 356  
... ... @@ -361,9 +361,9 @@
361 361  Means set 5V valid time to have 1000ms. So the real 5V output will actually have 1000ms + sampling time for other sensors.** **
362 362  
363 363  
364 -== 2.5  Downlink Payload ==
355 +**2.5  Downlink Payload**
365 365  
366 -By default, NSPH01 prints the downlink payload to console port.
357 +By default, NSE01 prints the downlink payload to console port.
367 367  
368 368  (% style="text-align:center" %)
369 369  [[image:image-20220907154636-17.png]]
... ... @@ -386,13 +386,13 @@
386 386  
387 387  * **Reset**
388 388  
389 -If payload = 0x04FF, it will reset the NSPH01
380 +If payload = 0x04FF, it will reset the NSE01
390 390  
391 391  * **INTMOD**
392 392  
393 393  Downlink Payload: 06000003, Set AT+INTMOD=3
394 394  
395 -== 2.6  ​LED Indicator ==
386 +**2.6  ​LED Indicator**
396 396  
397 397  The NSPH01 has an internal LED which is to show the status of different state.
398 398  
... ... @@ -401,13 +401,13 @@
401 401  * After NSPH01 join NB-IoT network. The LED will be ON for 3 seconds.
402 402  * For each uplink probe, LED will be on for 500ms.
403 403  
404 -== 2.7 Installation and Maintain ==
395 +**2.7 Installation and Maintain**
405 405  
406 -=== 2.7.1 Before measurement ===
397 +**2.7.1 Before measurement**
407 407  
408 408  If the NSPH01 has more than 7 days not use or just clean the pH probe. User should put the probe inside pure water for more than 24 hours for activation. If no put in water, user need to put inside soil for more than 24 hours to ensure the measurement accuracy. 
409 409  
410 -=== 2.7.2 Measurement ===
401 +**2.7.2 Measurement**
411 411  
412 412  **Measurement the soil surface:**
413 413  
... ... @@ -427,7 +427,7 @@
427 427  
428 428  Insert the probe inside, method like measure the surface.
429 429  
430 -=== 2.7.3 Maintain Probe ===
421 +**2.7.3 Maintain Probe**
431 431  
432 432  1. pH probe electrode is fragile and no strong. User must avoid strong force or hitting it.
433 433  1. After long time use (3~~ 6  months). The probe electrode needs to be clean; user can use high grade sandpaper to polish it or put in 5% hydrochloric acid for several minutes. After the metal probe looks like new, user can use pure water to wash it.
... ... @@ -436,7 +436,7 @@
436 436  1. Avoid the probes to touch oily matter. Which will cause issue in accuracy.
437 437  1. The probe is IP68 can be put in water.
438 438  
439 -== 2.8 PH and Temperature alarm function ==
430 +**2.8 PH and Temperature alarm function**
440 440  
441 441  ➢ AT Command:
442 442  
... ... @@ -450,7 +450,7 @@
450 450  
451 451  Example:
452 452  
453 -AT+ PHALARM =5,8 ~/~/ Alarm when PH lower than 5.
444 +AT+ PHALARM =3,5 ~/~/ Alarm when PH lower than 5.
454 454  
455 455  AT+ TEMPALARM=min,max
456 456  
... ... @@ -462,10 +462,10 @@
462 462  
463 463  Example:
464 464  
465 -AT+ TEMPALARM=20,30 ~/~/ Alarm when temperature lower than 20.
456 +AT+ TEMPALARM=0,20 ~/~/ Alarm when temperature lower than 20.
466 466  
467 467  
468 -== 2.9 Set the number of data to be uploaded and the recording time ==
459 +**2.9 Set the number of data to be uploaded and the recording time**
469 469  
470 470  ➢ AT Command:
471 471  
... ... @@ -474,7 +474,7 @@
474 474  
475 475  AT+NOUD=8  ~/~/The device uploads 8 sets of recorded data by default. Up to 32 sets of record data can be uploaded.
476 476  
477 -== 2.10 Read or Clear cached data ==
468 +**2.10 Read or Clear cached data**
478 478  
479 479  ➢ AT Command:
480 480  
... ... @@ -486,7 +486,7 @@
486 486  AT+CDP=0 ~/~/ Clear cached data
487 487  
488 488  
489 -== 2.11 Calibration ==
480 +**2.11 Calibration**
490 490  
491 491  User can do calibration for the probe. It is limited to use below pH buffer solution to calibrate: 4.00, 6.86, 9.18. When calibration, user need to clean the electrode and put the probe in the pH buffer solution to wait the value stable ( a new clean electrode might need max 24 hours to be stable).
492 492  
... ... @@ -494,15 +494,15 @@
494 494  
495 495  [[image:image-20220907154700-20.png]] ​
496 496  
497 -== 2.12  ​Firmware Change Log ==
488 +**2.8  ​Firmware Change Log**
498 498  
499 499  Download URL & Firmware Change log: [[https:~~/~~/www.dropbox.com/sh/1zmcakvbkf24f8x/AACmq2dZ3iRB9F1nVWeEB9Moa?dl=0>>url:https://www.dropbox.com/sh/1zmcakvbkf24f8x/AACmq2dZ3iRB9F1nVWeEB9Moa?dl=0]]
500 500  
501 501  Upgrade Instruction: [[Upgrade Firmware>>path:#H5.1200BHowtoUpgradeFirmware]]
502 502  
503 -== 2.13  ​Battery Analysis ==
494 +**2.9  ​Battery Analysis**
504 504  
505 -=== 2.13.1  ​Battery Type ===
496 +**2.9.1  ​Battery Type**
506 506  
507 507  The NSPH01 battery is a combination of an 8500mAh Li/SOCI2 Battery and a Super Capacitor. The battery is none-rechargeable battery type with a low discharge rate (<2% per year). This type of battery is commonly used in IoT devices such as water meter.
508 508  
... ... @@ -516,7 +516,7 @@
516 516  
517 517  [[image:image-20220907154700-21.png]] ​
518 518  
519 -=== 2.13.2  Power consumption Analyze ===
510 +**2.9.2  Power consumption Analyze**
520 520  
521 521  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.
522 522  
... ... @@ -537,15 +537,15 @@
537 537  
538 538  ​
539 539  
540 -=== 2.13.3  ​Battery Note ===
531 +**2.9.3  ​Battery Note**
541 541  
542 542  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.
543 543  
544 -=== 2.13.4  Replace the battery ===
535 +**2.9.4  Replace the battery**
545 545  
546 546  The default battery pack of NSPH01 includes a ER26500 plus super capacitor. If user can't find this pack locally, they can find ER26500 or equivalence without the SPC1520 capacitor, which will also work in most case. The SPC can enlarge the battery life for high frequency use (update period below 5 minutes).
547 547  
548 -= 3. ​ Access NB-IoT Module =
539 +**3. ​ Access NB-IoT Module**
549 549  
550 550  Users can directly access the AT command set of the NB-IoT module.
551 551  
... ... @@ -556,9 +556,9 @@
556 556  
557 557  ​
558 558  
559 -= 4.  Using the AT Commands =
550 +**4.  Using the AT Commands**
560 560  
561 -== 4.1  Access AT Commands ==
552 +**4.1  Access AT Commands**
562 562  
563 563  See this link for detail:  [[https:~~/~~/www.dropbox.com/sh/351dwor6joz8nwh/AADn1BQaAAxLF_QMyU8NkW47a?dl=0>>url:https://www.dropbox.com/sh/351dwor6joz8nwh/AADn1BQaAAxLF_QMyU8NkW47a?dl=0]]
564 564  
... ... @@ -636,9 +636,9 @@
636 636  
637 637  AT+PWORD  : Serial Access Password
638 638  
639 -= ​5.  FAQ =
630 +**​5.  FAQ**
640 640  
641 -== 5.1 ​ How to Upgrade Firmware ==
632 +**5.1 ​ How to Upgrade Firmware**
642 642  
643 643  User can upgrade the firmware for 1) bug fix, 2) new feature release.
644 644  
... ... @@ -646,25 +646,25 @@
646 646  
647 647  **Notice, **NSPH01 **and **NSPH01 **share the same mother board. They use the same connection and method to update.**
648 648  
649 -== 5.2  Can I calibrate NSPH01 to different soil types? ==
640 +**5.2  Can I calibrate NSPH01 to different soil types?**
650 650  
651 651  NSPH01 is calibrated for saline-alkali soil and loamy soil. If users want to use it for other soil, they can calibrate the value in the IoT platform base on the value measured by saline-alkali soil and loamy soil. The formula can be found at [[this link>>url:https://www.dragino.com/downloads/downloads/LoRa_End_Node/LSE01/Calibrate_to_other_Soil_20220605.pdf]].
652 652  
653 -= 6.  Trouble Shooting =
644 +**6.  Trouble Shooting**
654 654  
655 -== 6.1  ​Connection problem when uploading firmware ==
646 +**6.1  ​Connection problem when uploading firmware**
656 656  
657 657  **Please see: **[[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/Firmware%20Upgrade%20Instruction%20for%20STM32%20base%20products/#H3.3Troubleshooting>>url:http://wiki.dragino.com/xwiki/bin/view/Main/Firmware%20Upgrade%20Instruction%20for%20STM32%20base%20products/#H3.3Troubleshooting]]
658 658  
659 -== 6.2  AT Command input doesn't work ==
650 +**6.2  AT Command input doesn't work**
660 660  
661 661  In the case if user can see the console output but can't type input to the device. Please check if you already include the **ENTER** while sending out the command. Some serial tool doesn't send **ENTER** while press the send key, user need to add ENTER in their string.
662 662  
663 -= 7. ​ Order Info =
654 +**7. ​ Order Info**
664 664  
665 665  Part Number**:** NSPH01
666 666  
667 -= 8.  Packing Info =
658 +**8.  Packing Info**
668 668  
669 669  **Package Includes**:
670 670  
... ... @@ -676,7 +676,7 @@
676 676  * Size: 195 x 125 x 55 mm
677 677  * Weight:   420g
678 678  
679 -= 9.  Support =
670 +**9.  Support**
680 680  
681 681  * 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.
682 682  * 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 [[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]]
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0