<
From version < 44.1 >
edited by David Huang
on 2022/09/07 17:50
To version < 43.1 >
edited by David Huang
on 2022/09/07 17:05
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,9 +1,9 @@
1 1  (% style="text-align:center" %)
2 2  [[image:)YK]Y_LZJIO]J2~~VA}OQJM2.png]]
3 3  
4 -= 1. Introduction =
4 += **1. Introduction** =
5 5  
6 -== 1.1 ​What is NSPH01 Soil pH Sensor ==
6 +== **1.1 ​What is NSPH01 Soil pH Sensor** ==
7 7  
8 8  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.
9 9  
... ... @@ -20,7 +20,7 @@
20 20  (% style="text-align:center" %)
21 21  [[image:M_K`YF9`CAYAE\@}3T]FHT$9.png]]
22 22  
23 -== 1.2 Features ==
23 +**1.2 Features**
24 24  
25 25  * NB-IoT Bands: B1/B3/B8/B5/B20/B28 @H-FDD
26 26  * Monitor soil pH with temperature compensation.
... ... @@ -37,7 +37,7 @@
37 37  * Micro SIM card slot for NB-IoT SIM
38 38  * 8500mAh Battery for long term use
39 39  
40 -== 1.3  Specification ==
40 +**1.3  Specification**
41 41  
42 42  **Common DC Characteristics:**
43 43  
... ... @@ -53,7 +53,7 @@
53 53  * - B20 @H-FDD: 800MHz
54 54  * - B28 @H-FDD: 700MHz
55 55  
56 -== 1.4 Probe Specification ==
56 +**1.4 Probe Specification**
57 57  
58 58  **Soil pH:**
59 59  
... ... @@ -72,19 +72,19 @@
72 72  * IP68 Protection
73 73  * Length: 3.5 meters
74 74  
75 -== 1.5 ​Applications ==
75 +**1.5 ​Applications**
76 76  
77 77  * Smart Agriculture
78 78  
79 -== 1.6 Pin mapping and power on ==
79 +**1.6 Pin mapping and power on**
80 80  
81 81  (% style="text-align:center" %)
82 82  [[image:image-20220907153300-2.png]]
83 83  
84 84  
85 -= 2.  Use NSPH01 to communicate with IoT Server =
85 +**2.  Use NSPH01 to communicate with IoT Server**
86 86  
87 -== 2.1  How it works ==
87 +**2.1  How it works**
88 88  
89 89  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.
90 90  
... ... @@ -93,9 +93,9 @@
93 93  (% style="text-align:center" %)
94 94  [[image:image-20220907153416-3.png]]
95 95  
96 -== 2.2 ​ Configure the NSPH01 ==
96 +**2.2 ​ Configure the NSPH01**
97 97  
98 -=== 2.2.1 Test Requirement ===
98 +**2.2.1 Test Requirement**
99 99  
100 100  To use NSPH01 in your city, make sure meet below requirements:
101 101  
... ... @@ -109,7 +109,7 @@
109 109  [[image:image-20220907153445-4.png]]
110 110  
111 111  
112 -=== 2.2.2 Insert SIM card ===
112 +**2.2.2 Insert SIM card**
113 113  
114 114  Insert the NB-IoT Card get from your provider.
115 115  
... ... @@ -118,7 +118,7 @@
118 118  (% style="text-align:center" %)
119 119  [[image:image-20220907153505-5.png]]
120 120  
121 -=== 2.2.3 Connect USB – TTL to NSPH01 to configure it ===
121 +**2.2.3 Connect USB – TTL to NSPH01 to configure it**
122 122  
123 123  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.
124 124  
... ... @@ -145,7 +145,7 @@
145 145  
146 146  **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]]
147 147  
148 -=== 2.2.4 Use CoAP protocol to uplink data ===
148 +**2.2.4 Use CoAP protocol to uplink data**
149 149  
150 150  **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/]]
151 151  
... ... @@ -166,7 +166,7 @@
166 166  [[image:image-20220907153612-8.png||height="529" width="729"]]
167 167  
168 168  
169 -=== 2.2.5 Use UDP protocol to uplink data(Default protocol) ===
169 +**2.2.5 Use UDP protocol to uplink data(Default protocol)**
170 170  
171 171  This feature is supported since firmware version v1.0.1
172 172  
... ... @@ -181,7 +181,7 @@
181 181  [[image:image-20220907153703-10.png||height="309" width="738"]]
182 182  
183 183  
184 -=== 2.2.6 Use MQTT protocol to uplink data ===
184 +**2.2.6 Use MQTT protocol to uplink data**
185 185  
186 186  This feature is supported since firmware version v110
187 187  
... ... @@ -201,7 +201,7 @@
201 201  
202 202  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.
203 203  
204 -=== 2.2.7 Use TCP protocol to uplink data ===
204 +**2.2.7 Use TCP protocol to uplink data**
205 205  
206 206  This feature is supported since firmware version v110
207 207  
... ... @@ -214,7 +214,7 @@
214 214  (% style="text-align:center" %)
215 215  [[image:image-20220907153827-14.png||height="236" width="684"]]
216 216  
217 -=== 2.2.8 Change Update Interval ===
217 +**2.2.8 Change Update Interval**
218 218  
219 219  User can use below command to change the **uplink interval**.
220 220  
... ... @@ -224,7 +224,7 @@
224 224  
225 225  **~1. By default, the device will send an uplink message every 2 hour.**
226 226  
227 -== 2.3  Uplink Payload ==
227 +**2.3  Uplink Payload**
228 228  
229 229  In this mode, uplink payload includes 87 bytes in total by default.
230 230  
... ... @@ -234,9 +234,6 @@
234 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 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  .....
236 236  
237 -|**Size(bytes)**|**8**|**2**|**2**|1|1|1|2|2|4|2|2|4
238 -|**Value**|Device ID|Ver|BAT|Signal Strength|MOD|Interrupt|Soil PH|Soil Temperature|Time stamp|Soil Temperature|Soil PH|Time stamp  .....
239 -
240 240  If we use the MQTT client to subscribe to this MQTT topic, we can see the following information when the NSPH01 uplink data.
241 241  
242 242  (% style="text-align:center" %)
... ... @@ -260,9 +260,9 @@
260 260  * Soil Temperature,Soil PH,Time stamp : 010b0226631550fb
261 261  * 8 sets of recorded data: Temperature,Soil PH,Time stamp : 010e022663154d77,.......
262 262  
263 -== 2.4  Payload Explanation and Sensor Interface ==
260 +**2.4  Payload Explanation and Sensor Interface**
264 264  
265 -=== 2.4.1  Device ID ===
262 +**2.4.1  Device ID**
266 266  
267 267  By default, the Device ID equal to the last 15 bits of IMEI.
268 268  
... ... @@ -274,13 +274,13 @@
274 274  
275 275  The Device ID is stored in a none-erase area, Upgrade the firmware or run AT+FDR won't erase Device ID.
276 276  
277 -=== 2.4.2  Version Info ===
274 +**2.4.2  Version Info**
278 278  
279 279  Specify the software version: 0x64=100, means firmware version 1.00.
280 280  
281 281  For example: 0x00 64 : this device is NSPH01 with firmware version 1.0.0.
282 282  
283 -=== 2.4.3  Battery Info ===
280 +**2.4.3  Battery Info**
284 284  
285 285  Check the battery voltage for NSPH01.
286 286  
... ... @@ -288,7 +288,7 @@
288 288  
289 289  Ex2: 0x0B49 = 2889mV
290 290  
291 -=== 2.4.4  Signal Strength ===
288 +**2.4.4  Signal Strength**
292 292  
293 293  NB-IoT Network signal Strength.
294 294  
... ... @@ -304,7 +304,7 @@
304 304  
305 305  **99**    Not known or not detectable
306 306  
307 -=== 2.4.5  Soil PH ===
304 +**2.4.5  Soil PH**
308 308  
309 309  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.
310 310  
... ... @@ -312,7 +312,7 @@
312 312  
313 313  **0229(H) = 549(D) /100 = 5.49.**
314 314  
315 -=== 2.4.6  Soil Temperature ===
312 +**2.4.6  Soil Temperature**
316 316  
317 317  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
318 318  
... ... @@ -322,13 +322,13 @@
322 322  
323 323  If payload is FF7EH: ((FF7E & 0x8000)>>15 ===1),temp = (FF7E(H)-FFFF(H))/10 = -12.9 °C
324 324  
325 -=== 2.4.7  Timestamp ===
322 +**2.4.7  Timestamp**
326 326  
327 327  Time stamp : 0x6315537b =1662342011
328 328  
329 329  Convert Unix timestamp to time 2022-9-5 9:40:11.
330 330  
331 -=== 2.4.8  Digital Interrupt ===
328 +**2.4.8  Digital Interrupt**
332 332  
333 333  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.
334 334  
... ... @@ -344,7 +344,7 @@
344 344  
345 345  0x(01): Interrupt Uplink Packet.
346 346  
347 -=== 2.4.9  ​+5V Output ===
344 +**2.4.9  ​+5V Output**
348 348  
349 349  NSPH01 will enable +5V output before all sampling and disable the +5v after all sampling. 
350 350  
... ... @@ -355,7 +355,7 @@
355 355  Means set 5V valid time to have 1000ms. So the real 5V output will actually have 1000ms + sampling time for other sensors.** **
356 356  
357 357  
358 -== 2.5  Downlink Payload ==
355 +**2.5  Downlink Payload**
359 359  
360 360  By default, NSPH01 prints the downlink payload to console port.
361 361  
... ... @@ -386,7 +386,7 @@
386 386  
387 387  Downlink Payload: 06000003, Set AT+INTMOD=3
388 388  
389 -== 2.6  ​LED Indicator ==
386 +**2.6  ​LED Indicator**
390 390  
391 391  The NSPH01 has an internal LED which is to show the status of different state.
392 392  
... ... @@ -395,13 +395,13 @@
395 395  * After NSPH01 join NB-IoT network. The LED will be ON for 3 seconds.
396 396  * For each uplink probe, LED will be on for 500ms.
397 397  
398 -== 2.7 Installation and Maintain ==
395 +**2.7 Installation and Maintain**
399 399  
400 -=== 2.7.1 Before measurement ===
397 +**2.7.1 Before measurement**
401 401  
402 402  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. 
403 403  
404 -=== 2.7.2 Measurement ===
401 +**2.7.2 Measurement**
405 405  
406 406  **Measurement the soil surface:**
407 407  
... ... @@ -421,7 +421,7 @@
421 421  
422 422  Insert the probe inside, method like measure the surface.
423 423  
424 -=== 2.7.3 Maintain Probe ===
421 +**2.7.3 Maintain Probe**
425 425  
426 426  1. pH probe electrode is fragile and no strong. User must avoid strong force or hitting it.
427 427  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.
... ... @@ -430,7 +430,7 @@
430 430  1. Avoid the probes to touch oily matter. Which will cause issue in accuracy.
431 431  1. The probe is IP68 can be put in water.
432 432  
433 -== 2.8 PH and Temperature alarm function ==
430 +**2.8 PH and Temperature alarm function**
434 434  
435 435  ➢ AT Command:
436 436  
... ... @@ -459,7 +459,7 @@
459 459  AT+ TEMPALARM=20,30 ~/~/ Alarm when temperature lower than 20.
460 460  
461 461  
462 -== 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**
463 463  
464 464  ➢ AT Command:
465 465  
... ... @@ -468,7 +468,7 @@
468 468  
469 469  AT+NOUD=8  ~/~/The device uploads 8 sets of recorded data by default. Up to 32 sets of record data can be uploaded.
470 470  
471 -== 2.10 Read or Clear cached data ==
468 +**2.10 Read or Clear cached data**
472 472  
473 473  ➢ AT Command:
474 474  
... ... @@ -480,7 +480,7 @@
480 480  AT+CDP=0 ~/~/ Clear cached data
481 481  
482 482  
483 -== 2.11 Calibration ==
480 +**2.11 Calibration**
484 484  
485 485  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).
486 486  
... ... @@ -488,15 +488,15 @@
488 488  
489 489  [[image:image-20220907154700-20.png]] ​
490 490  
491 -== 2.12  ​Firmware Change Log ==
488 +**2.8  ​Firmware Change Log**
492 492  
493 493  Download URL & Firmware Change log: [[https:~~/~~/www.dropbox.com/sh/1zmcakvbkf24f8x/AACmq2dZ3iRB9F1nVWeEB9Moa?dl=0>>url:https://www.dropbox.com/sh/1zmcakvbkf24f8x/AACmq2dZ3iRB9F1nVWeEB9Moa?dl=0]]
494 494  
495 495  Upgrade Instruction: [[Upgrade Firmware>>path:#H5.1200BHowtoUpgradeFirmware]]
496 496  
497 -== 2.13  ​Battery Analysis ==
494 +**2.9  ​Battery Analysis**
498 498  
499 -=== 2.13.1  ​Battery Type ===
496 +**2.9.1  ​Battery Type**
500 500  
501 501  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.
502 502  
... ... @@ -510,7 +510,7 @@
510 510  
511 511  [[image:image-20220907154700-21.png]] ​
512 512  
513 -=== 2.13.2  Power consumption Analyze ===
510 +**2.9.2  Power consumption Analyze**
514 514  
515 515  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.
516 516  
... ... @@ -531,15 +531,15 @@
531 531  
532 532  ​
533 533  
534 -=== 2.13.3  ​Battery Note ===
531 +**2.9.3  ​Battery Note**
535 535  
536 536  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.
537 537  
538 -=== 2.13.4  Replace the battery ===
535 +**2.9.4  Replace the battery**
539 539  
540 540  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).
541 541  
542 -= 3. ​ Access NB-IoT Module =
539 +**3. ​ Access NB-IoT Module**
543 543  
544 544  Users can directly access the AT command set of the NB-IoT module.
545 545  
... ... @@ -550,9 +550,9 @@
550 550  
551 551  ​
552 552  
553 -= 4.  Using the AT Commands =
550 +**4.  Using the AT Commands**
554 554  
555 -== 4.1  Access AT Commands ==
552 +**4.1  Access AT Commands**
556 556  
557 557  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]]
558 558  
... ... @@ -630,9 +630,9 @@
630 630  
631 631  AT+PWORD  : Serial Access Password
632 632  
633 -= ​5.  FAQ =
630 +**​5.  FAQ**
634 634  
635 -== 5.1 ​ How to Upgrade Firmware ==
632 +**5.1 ​ How to Upgrade Firmware**
636 636  
637 637  User can upgrade the firmware for 1) bug fix, 2) new feature release.
638 638  
... ... @@ -640,25 +640,25 @@
640 640  
641 641  **Notice, **NSPH01 **and **NSPH01 **share the same mother board. They use the same connection and method to update.**
642 642  
643 -== 5.2  Can I calibrate NSPH01 to different soil types? ==
640 +**5.2  Can I calibrate NSPH01 to different soil types?**
644 644  
645 645  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]].
646 646  
647 -= 6.  Trouble Shooting =
644 +**6.  Trouble Shooting**
648 648  
649 -== 6.1  ​Connection problem when uploading firmware ==
646 +**6.1  ​Connection problem when uploading firmware**
650 650  
651 651  **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]]
652 652  
653 -== 6.2  AT Command input doesn't work ==
650 +**6.2  AT Command input doesn't work**
654 654  
655 655  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.
656 656  
657 -= 7. ​ Order Info =
654 +**7. ​ Order Info**
658 658  
659 659  Part Number**:** NSPH01
660 660  
661 -= 8.  Packing Info =
658 +**8.  Packing Info**
662 662  
663 663  **Package Includes**:
664 664  
... ... @@ -670,7 +670,7 @@
670 670  * Size: 195 x 125 x 55 mm
671 671  * Weight:   420g
672 672  
673 -= 9.  Support =
670 +**9.  Support**
674 674  
675 675  * 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.
676 676  * 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