<
From version < 45.1 >
edited by David Huang
on 2022/09/07 17:57
To version < 34.1 >
edited by David Huang
on 2022/09/07 15:48
>
Change comment: There is no comment for this version

Summary

Details

Page properties
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  
... ... @@ -228,16 +228,17 @@
228 228  
229 229  **NOTE:**
230 230  
231 -**~1. By default, the device will send an uplink message every 2 hour.**
225 +**~1. By default, the device will send an uplink message every 1 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  
237 237  Each time the device uploads a data package, 8 sets of recorded data will be attached. Up to 32 sets of recorded data can be uploaded.
238 238  
239 -|**Size(bytes)**|**8**|**2**|**2**|1|1|1|2|2|4|2|2|4
240 -|**Value**|Device ID|Ver|BAT|Signal Strength|MOD|Interrupt|Soil PH|Soil Temperature|Time stamp|Soil Temperature|Soil PH|Time stamp  .....
233 +(% style="width:934px" %)
234 +|(% 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 
235 +|(% 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  .....
241 241  
242 242  If we use the MQTT client to subscribe to this MQTT topic, we can see the following information when the NSPH01 uplink data.
243 243  
... ... @@ -259,12 +259,12 @@
259 259  * Soil PH: 0x0225= 549 = 5.49
260 260  * Soil Temperature:0x010B =267=26.7 °C
261 261  * Time stamp : 0x6315537b =1662342011
262 -* Soil Temperature,Soil PH,Time stamp : 010b0226631550fb
257 +* Soil Temperature,Soil PH,Time stamp : 010b0226631550fb,Soil
263 263  * 8 sets of recorded data: Temperature,Soil PH,Time stamp : 010e022663154d77,.......
264 264  
265 -== 2.4  Payload Explanation and Sensor Interface ==
260 +**2.4  Payload Explanation and Sensor Interface**
266 266  
267 -=== 2.4.1  Device ID ===
262 +**2.4.1  Device ID**
268 268  
269 269  By default, the Device ID equal to the last 15 bits of IMEI.
270 270  
... ... @@ -276,13 +276,13 @@
276 276  
277 277  The Device ID is stored in a none-erase area, Upgrade the firmware or run AT+FDR won't erase Device ID.
278 278  
279 -=== 2.4.2  Version Info ===
274 +**2.4.2  Version Info**
280 280  
281 281  Specify the software version: 0x64=100, means firmware version 1.00.
282 282  
283 283  For example: 0x00 64 : this device is NSPH01 with firmware version 1.0.0.
284 284  
285 -=== 2.4.3  Battery Info ===
280 +**2.4.3  Battery Info**
286 286  
287 287  Check the battery voltage for NSPH01.
288 288  
... ... @@ -290,7 +290,7 @@
290 290  
291 291  Ex2: 0x0B49 = 2889mV
292 292  
293 -=== 2.4.4  Signal Strength ===
288 +**2.4.4  Signal Strength**
294 294  
295 295  NB-IoT Network signal Strength.
296 296  
... ... @@ -306,7 +306,7 @@
306 306  
307 307  **99**    Not known or not detectable
308 308  
309 -=== 2.4.5  Soil PH ===
304 +**2.4.5  Soil PH**
310 310  
311 311  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.
312 312  
... ... @@ -314,23 +314,23 @@
314 314  
315 315  **0229(H) = 549(D) /100 = 5.49.**
316 316  
317 -=== 2.4.6  Soil Temperature ===
312 +**2.4.6  Soil Temperature**
318 318  
319 319  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
320 320  
321 321  **Example**:
322 322  
323 -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
324 324  
325 -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
326 326  
327 -=== 2.4.7  Timestamp ===
322 +**2.4.7  Timestamp**
328 328  
329 329  Time stamp : 0x6315537b =1662342011
330 330  
331 331  Convert Unix timestamp to time 2022-9-5 9:40:11.
332 332  
333 -=== 2.4.8  Digital Interrupt ===
328 +**2.4.8  Digital Interrupt**
334 334  
335 335  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.
336 336  
... ... @@ -346,7 +346,7 @@
346 346  
347 347  0x(01): Interrupt Uplink Packet.
348 348  
349 -=== 2.4.9  ​+5V Output ===
344 +**2.4.9  ​+5V Output**
350 350  
351 351  NSPH01 will enable +5V output before all sampling and disable the +5v after all sampling. 
352 352  
... ... @@ -357,12 +357,11 @@
357 357  Means set 5V valid time to have 1000ms. So the real 5V output will actually have 1000ms + sampling time for other sensors.** **
358 358  
359 359  
360 -== 2.5  Downlink Payload ==
355 +**2.5  Downlink Payload**
361 361  
362 -By default, NSPH01 prints the downlink payload to console port.
357 +By default, NSE01 prints the downlink payload to console port.
363 363  
364 -(% style="text-align:center" %)
365 -[[image:image-20220907154636-17.png]]
359 +[[image:image-20220907154636-17.png||style="float:left"]]
366 366  
367 367  
368 368  
... ... @@ -369,7 +369,6 @@
369 369  
370 370  
371 371  
372 -
373 373  **Examples:**
374 374  
375 375  * **Set TDC**
... ... @@ -382,13 +382,13 @@
382 382  
383 383  * **Reset**
384 384  
385 -If payload = 0x04FF, it will reset the NSPH01
378 +If payload = 0x04FF, it will reset the NSE01
386 386  
387 387  * **INTMOD**
388 388  
389 389  Downlink Payload: 06000003, Set AT+INTMOD=3
390 390  
391 -== 2.6  ​LED Indicator ==
384 +**2.6  ​LED Indicator**
392 392  
393 393  The NSPH01 has an internal LED which is to show the status of different state.
394 394  
... ... @@ -397,13 +397,13 @@
397 397  * After NSPH01 join NB-IoT network. The LED will be ON for 3 seconds.
398 398  * For each uplink probe, LED will be on for 500ms.
399 399  
400 -== 2.7 Installation and Maintain ==
393 +**2.7 Installation and Maintain**
401 401  
402 -=== 2.7.1 Before measurement ===
395 +**2.7.1 Before measurement**
403 403  
404 404  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. 
405 405  
406 -=== 2.7.2 Measurement ===
399 +**2.7.2 Measurement**
407 407  
408 408  **Measurement the soil surface:**
409 409  
... ... @@ -423,7 +423,7 @@
423 423  
424 424  Insert the probe inside, method like measure the surface.
425 425  
426 -=== 2.7.3 Maintain Probe ===
419 +**2.7.3 Maintain Probe**
427 427  
428 428  1. pH probe electrode is fragile and no strong. User must avoid strong force or hitting it.
429 429  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.
... ... @@ -432,8 +432,9 @@
432 432  1. Avoid the probes to touch oily matter. Which will cause issue in accuracy.
433 433  1. The probe is IP68 can be put in water.
434 434  
435 -== 2.8 PH and Temperature alarm function ==
436 436  
429 +**2.8 PH and Temperature alarm function**
430 +
437 437  ➢ AT Command:
438 438  
439 439  AT+ PHALARM=min,max
... ... @@ -446,7 +446,7 @@
446 446  
447 447  Example:
448 448  
449 -AT+ PHALARM =5,8 ~/~/ Alarm when PH lower than 5.
443 +AT+ PHALARM =3,5 ~/~/ Alarm when PH lower than 5.
450 450  
451 451  AT+ TEMPALARM=min,max
452 452  
... ... @@ -458,10 +458,10 @@
458 458  
459 459  Example:
460 460  
461 -AT+ TEMPALARM=20,30 ~/~/ Alarm when temperature lower than 20.
455 +AT+ TEMPALARM=0,20 ~/~/ Alarm when temperature lower than 20.
462 462  
463 463  
464 -== 2.9 Set the number of data to be uploaded and the recording time ==
458 +**2.9 Set the number of data to be uploaded and the recording time**
465 465  
466 466  ➢ AT Command:
467 467  
... ... @@ -470,7 +470,7 @@
470 470  
471 471  AT+NOUD=8  ~/~/The device uploads 8 sets of recorded data by default. Up to 32 sets of record data can be uploaded.
472 472  
473 -== 2.10 Read or Clear cached data ==
467 +**2.10 Read or Clear cached data**
474 474  
475 475  ➢ AT Command:
476 476  
... ... @@ -482,7 +482,7 @@
482 482  AT+CDP=0 ~/~/ Clear cached data
483 483  
484 484  
485 -== 2.11 Calibration ==
479 +**2.11 Calibration**
486 486  
487 487  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).
488 488  
... ... @@ -490,15 +490,15 @@
490 490  
491 491  [[image:image-20220907154700-20.png]] ​
492 492  
493 -== 2.12  ​Firmware Change Log ==
487 +**2.8  ​Firmware Change Log**
494 494  
495 495  Download URL & Firmware Change log: [[https:~~/~~/www.dropbox.com/sh/1zmcakvbkf24f8x/AACmq2dZ3iRB9F1nVWeEB9Moa?dl=0>>url:https://www.dropbox.com/sh/1zmcakvbkf24f8x/AACmq2dZ3iRB9F1nVWeEB9Moa?dl=0]]
496 496  
497 497  Upgrade Instruction: [[Upgrade Firmware>>path:#H5.1200BHowtoUpgradeFirmware]]
498 498  
499 -== 2.13  ​Battery Analysis ==
493 +**2.9  ​Battery Analysis**
500 500  
501 -=== 2.13.1  ​Battery Type ===
495 +**2.9.1  ​Battery Type**
502 502  
503 503  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.
504 504  
... ... @@ -512,7 +512,7 @@
512 512  
513 513  [[image:image-20220907154700-21.png]] ​
514 514  
515 -=== 2.13.2  Power consumption Analyze ===
509 +**2.9.2  Power consumption Analyze**
516 516  
517 517  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.
518 518  
... ... @@ -533,15 +533,15 @@
533 533  
534 534  ​
535 535  
536 -=== 2.13.3  ​Battery Note ===
530 +**2.9.3  ​Battery Note**
537 537  
538 538  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.
539 539  
540 -=== 2.13.4  Replace the battery ===
534 +**2.9.4  Replace the battery**
541 541  
542 542  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).
543 543  
544 -= 3. ​ Access NB-IoT Module =
538 +**3. ​ Access NB-IoT Module**
545 545  
546 546  Users can directly access the AT command set of the NB-IoT module.
547 547  
... ... @@ -552,9 +552,9 @@
552 552  
553 553  ​
554 554  
555 -= 4.  Using the AT Commands =
549 +**4.  Using the AT Commands**
556 556  
557 -== 4.1  Access AT Commands ==
551 +**4.1  Access AT Commands**
558 558  
559 559  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]]
560 560  
... ... @@ -632,9 +632,9 @@
632 632  
633 633  AT+PWORD  : Serial Access Password
634 634  
635 -= ​5.  FAQ =
629 +**​5.  FAQ**
636 636  
637 -== 5.1 ​ How to Upgrade Firmware ==
631 +**5.1 ​ How to Upgrade Firmware**
638 638  
639 639  User can upgrade the firmware for 1) bug fix, 2) new feature release.
640 640  
... ... @@ -642,25 +642,25 @@
642 642  
643 643  **Notice, **NSPH01 **and **NSPH01 **share the same mother board. They use the same connection and method to update.**
644 644  
645 -== 5.2  Can I calibrate NSPH01 to different soil types? ==
639 +**5.2  Can I calibrate NSPH01 to different soil types?**
646 646  
647 647  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]].
648 648  
649 -= 6.  Trouble Shooting =
643 +**6.  Trouble Shooting**
650 650  
651 -== 6.1  ​Connection problem when uploading firmware ==
645 +**6.1  ​Connection problem when uploading firmware**
652 652  
653 653  **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]]
654 654  
655 -== 6.2  AT Command input doesn't work ==
649 +**6.2  AT Command input doesn't work**
656 656  
657 657  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.
658 658  
659 -= 7. ​ Order Info =
653 +**7. ​ Order Info**
660 660  
661 661  Part Number**:** NSPH01
662 662  
663 -= 8.  Packing Info =
657 +**8.  Packing Info**
664 664  
665 665  **Package Includes**:
666 666  
... ... @@ -672,9 +672,10 @@
672 672  * Size: 195 x 125 x 55 mm
673 673  * Weight:   420g
674 674  
675 -= 9.  Support =
669 +**9.  Support**
676 676  
677 677  * 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.
678 678  * 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]]
679 679  
680 680  ​
675 +
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0