Changes for page NSPH01-NB-IoT Soil pH Sensor User Manual
Last modified by Bei Jinggeng on 2024/03/30 17:53
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. David1 +XWiki.Xiaoling - Content
-
... ... @@ -1,10 +1,15 @@ 1 1 (% style="text-align:center" %) 2 2 [[image:)YK]Y_LZJIO]J2~~VA}OQJM2.png]] 3 3 4 -= **1. Introduction** = 5 5 6 - == **1.1 Whatis NSPH01 Soil pH Sensor** ==5 +{{toc/}} 7 7 7 + 8 + 9 += 1. Introduction = 10 + 11 +== 1.1 What is NSPH01 Soil pH Sensor == 12 + 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 10 10 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. ... ... @@ -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**28 +== 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**45 +== 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**61 +== 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**80 +== 1.5 Applications == 76 76 77 77 * Smart Agriculture 78 78 79 - **1.6 Pin mapping and power on**84 +== 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**90 += 2. Use NSPH01 to communicate with IoT Server = 86 86 87 - **2.1 How it works**92 +== 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**101 +== 2.2 Configure the NSPH01 == 97 97 98 - **2.2.1 Test Requirement**103 +=== 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**117 +=== 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**126 +=== 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**153 +=== 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)**174 +=== 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**189 +=== 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**209 +=== 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**222 +=== 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**232 +== 2.3 Uplink Payload == 228 228 229 229 In this mode, uplink payload includes 87 bytes in total by default. 230 230 ... ... @@ -234,6 +234,9 @@ 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 242 +|**Size(bytes)**|**8**|**2**|**2**|1|1|1|2|2|4|2|2|4 243 +|**Value**|Device ID|Ver|BAT|Signal Strength|MOD|Interrupt|Soil PH|Soil Temperature|Time stamp|Soil Temperature|Soil PH|Time stamp ..... 244 + 237 237 If we use the MQTT client to subscribe to this MQTT topic, we can see the following information when the NSPH01 uplink data. 238 238 239 239 (% style="text-align:center" %) ... ... @@ -257,9 +257,9 @@ 257 257 * Soil Temperature,Soil PH,Time stamp : 010b0226631550fb 258 258 * 8 sets of recorded data: Temperature,Soil PH,Time stamp : 010e022663154d77,....... 259 259 260 - **2.4 Payload Explanation and Sensor Interface**268 +== 2.4 Payload Explanation and Sensor Interface == 261 261 262 - **2.4.1 Device ID**270 +=== 2.4.1 Device ID === 263 263 264 264 By default, the Device ID equal to the last 15 bits of IMEI. 265 265 ... ... @@ -271,13 +271,13 @@ 271 271 272 272 The Device ID is stored in a none-erase area, Upgrade the firmware or run AT+FDR won't erase Device ID. 273 273 274 - **2.4.2 Version Info**282 +=== 2.4.2 Version Info === 275 275 276 276 Specify the software version: 0x64=100, means firmware version 1.00. 277 277 278 278 For example: 0x00 64 : this device is NSPH01 with firmware version 1.0.0. 279 279 280 - **2.4.3 Battery Info**288 +=== 2.4.3 Battery Info === 281 281 282 282 Check the battery voltage for NSPH01. 283 283 ... ... @@ -285,7 +285,7 @@ 285 285 286 286 Ex2: 0x0B49 = 2889mV 287 287 288 - **2.4.4 Signal Strength**296 +=== 2.4.4 Signal Strength === 289 289 290 290 NB-IoT Network signal Strength. 291 291 ... ... @@ -301,7 +301,7 @@ 301 301 302 302 **99** Not known or not detectable 303 303 304 - **2.4.5 Soil PH**312 +=== 2.4.5 Soil PH === 305 305 306 306 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. 307 307 ... ... @@ -309,7 +309,7 @@ 309 309 310 310 **0229(H) = 549(D) /100 = 5.49.** 311 311 312 - **2.4.6 Soil Temperature**320 +=== 2.4.6 Soil Temperature === 313 313 314 314 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 315 315 ... ... @@ -319,13 +319,13 @@ 319 319 320 320 If payload is FF7EH: ((FF7E & 0x8000)>>15 ===1),temp = (FF7E(H)-FFFF(H))/10 = -12.9 °C 321 321 322 - **2.4.7 Timestamp**330 +=== 2.4.7 Timestamp === 323 323 324 324 Time stamp : 0x6315537b =1662342011 325 325 326 326 Convert Unix timestamp to time 2022-9-5 9:40:11. 327 327 328 - **2.4.8 Digital Interrupt**336 +=== 2.4.8 Digital Interrupt === 329 329 330 330 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. 331 331 ... ... @@ -341,7 +341,7 @@ 341 341 342 342 0x(01): Interrupt Uplink Packet. 343 343 344 - **2.4.9 +5V Output**352 +=== 2.4.9 +5V Output === 345 345 346 346 NSPH01 will enable +5V output before all sampling and disable the +5v after all sampling. 347 347 ... ... @@ -352,7 +352,7 @@ 352 352 Means set 5V valid time to have 1000ms. So the real 5V output will actually have 1000ms + sampling time for other sensors.** ** 353 353 354 354 355 - **2.5 Downlink Payload**363 +== 2.5 Downlink Payload == 356 356 357 357 By default, NSPH01 prints the downlink payload to console port. 358 358 ... ... @@ -383,7 +383,7 @@ 383 383 384 384 Downlink Payload: 06000003, Set AT+INTMOD=3 385 385 386 - **2.6 LED Indicator**394 +== 2.6 LED Indicator == 387 387 388 388 The NSPH01 has an internal LED which is to show the status of different state. 389 389 ... ... @@ -392,13 +392,13 @@ 392 392 * After NSPH01 join NB-IoT network. The LED will be ON for 3 seconds. 393 393 * For each uplink probe, LED will be on for 500ms. 394 394 395 - **2.7 Installation and Maintain**403 +== 2.7 Installation and Maintain == 396 396 397 - **2.7.1 Before measurement**405 +=== 2.7.1 Before measurement === 398 398 399 399 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. 400 400 401 - **2.7.2 Measurement**409 +=== 2.7.2 Measurement === 402 402 403 403 **Measurement the soil surface:** 404 404 ... ... @@ -418,7 +418,7 @@ 418 418 419 419 Insert the probe inside, method like measure the surface. 420 420 421 - **2.7.3 Maintain Probe**429 +=== 2.7.3 Maintain Probe === 422 422 423 423 1. pH probe electrode is fragile and no strong. User must avoid strong force or hitting it. 424 424 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. ... ... @@ -427,7 +427,7 @@ 427 427 1. Avoid the probes to touch oily matter. Which will cause issue in accuracy. 428 428 1. The probe is IP68 can be put in water. 429 429 430 - **2.8 PH and Temperature alarm function**438 +== 2.8 PH and Temperature alarm function == 431 431 432 432 ➢ AT Command: 433 433 ... ... @@ -456,7 +456,7 @@ 456 456 AT+ TEMPALARM=20,30 ~/~/ Alarm when temperature lower than 20. 457 457 458 458 459 - **2.9 Set the number of data to be uploaded and the recording time**467 +== 2.9 Set the number of data to be uploaded and the recording time == 460 460 461 461 ➢ AT Command: 462 462 ... ... @@ -465,7 +465,7 @@ 465 465 466 466 AT+NOUD=8 ~/~/The device uploads 8 sets of recorded data by default. Up to 32 sets of record data can be uploaded. 467 467 468 - **2.10 Read or Clear cached data**476 +== 2.10 Read or Clear cached data == 469 469 470 470 ➢ AT Command: 471 471 ... ... @@ -477,7 +477,7 @@ 477 477 AT+CDP=0 ~/~/ Clear cached data 478 478 479 479 480 - **2.11 Calibration**488 +== 2.11 Calibration == 481 481 482 482 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). 483 483 ... ... @@ -485,15 +485,15 @@ 485 485 486 486 [[image:image-20220907154700-20.png]] 487 487 488 - **2.8Firmware Change Log**496 +== 2.12 Firmware Change Log == 489 489 490 490 Download URL & Firmware Change log: [[https:~~/~~/www.dropbox.com/sh/1zmcakvbkf24f8x/AACmq2dZ3iRB9F1nVWeEB9Moa?dl=0>>url:https://www.dropbox.com/sh/1zmcakvbkf24f8x/AACmq2dZ3iRB9F1nVWeEB9Moa?dl=0]] 491 491 492 492 Upgrade Instruction: [[Upgrade Firmware>>path:#H5.1200BHowtoUpgradeFirmware]] 493 493 494 - **2.9Battery Analysis**502 +== 2.13 Battery Analysis == 495 495 496 - **2.9.1 Battery Type**504 +=== 2.13.1 Battery Type === 497 497 498 498 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. 499 499 ... ... @@ -507,7 +507,7 @@ 507 507 508 508 [[image:image-20220907154700-21.png]] 509 509 510 - **2.9.2 Power consumption Analyze**518 +=== 2.13.2 Power consumption Analyze === 511 511 512 512 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. 513 513 ... ... @@ -528,15 +528,15 @@ 528 528 529 529 530 530 531 - **2.9.3 Battery Note**539 +=== 2.13.3 Battery Note === 532 532 533 533 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. 534 534 535 - **2.9.4 Replace the battery**543 +=== 2.13.4 Replace the battery === 536 536 537 537 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). 538 538 539 - **3. Access NB-IoT Module**547 += 3. Access NB-IoT Module = 540 540 541 541 Users can directly access the AT command set of the NB-IoT module. 542 542 ... ... @@ -547,9 +547,9 @@ 547 547 548 548 549 549 550 - **4. Using the AT Commands**558 += 4. Using the AT Commands = 551 551 552 - **4.1 Access AT Commands**560 +== 4.1 Access AT Commands == 553 553 554 554 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]] 555 555 ... ... @@ -627,9 +627,9 @@ 627 627 628 628 AT+PWORD : Serial Access Password 629 629 630 - **5. FAQ**638 += 5. FAQ = 631 631 632 - **5.1 How to Upgrade Firmware**640 +== 5.1 How to Upgrade Firmware == 633 633 634 634 User can upgrade the firmware for 1) bug fix, 2) new feature release. 635 635 ... ... @@ -637,25 +637,25 @@ 637 637 638 638 **Notice, **NSPH01 **and **NSPH01 **share the same mother board. They use the same connection and method to update.** 639 639 640 - **5.2 Can I calibrate NSPH01 to different soil types?**648 +== 5.2 Can I calibrate NSPH01 to different soil types? == 641 641 642 642 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]]. 643 643 644 - **6. Trouble Shooting**652 += 6. Trouble Shooting = 645 645 646 - **6.1 Connection problem when uploading firmware**654 +== 6.1 Connection problem when uploading firmware == 647 647 648 648 **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]] 649 649 650 - **6.2 AT Command input doesn't work**658 +== 6.2 AT Command input doesn't work == 651 651 652 652 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. 653 653 654 - **7. Order Info**662 += 7. Order Info = 655 655 656 656 Part Number**:** NSPH01 657 657 658 - **8. Packing Info**666 += 8. Packing Info = 659 659 660 660 **Package Includes**: 661 661 ... ... @@ -667,7 +667,7 @@ 667 667 * Size: 195 x 125 x 55 mm 668 668 * Weight: 420g 669 669 670 - **9. Support**678 += 9. Support = 671 671 672 672 * 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. 673 673 * 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]]