Changes for page NSPH01-NB-IoT Soil pH Sensor User Manual
Last modified by Bei Jinggeng on 2024/03/30 17:53
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 2 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -48,6 +48,8 @@ 48 48 * Micro SIM card slot 49 49 * 8500mAh Battery for long term use 50 50 51 + 52 + 51 51 == 1.3 Specification == 52 52 53 53 ... ... @@ -65,6 +65,8 @@ 65 65 * - B20 @H-FDD: 800MHz 66 66 * - B28 @H-FDD: 700MHz 67 67 70 + 71 + 68 68 == 1.4 Probe Specification == 69 69 70 70 ... ... @@ -85,13 +85,18 @@ 85 85 * IP68 Protection 86 86 * Length: 3.5 meters 87 87 88 -== 1.5 Applications == 89 89 93 + 94 +== 1.5 Applications == 95 + 96 + 90 90 * Smart Agriculture 91 91 92 -== 1.6 Pin mapping and power on == 93 93 94 94 101 +== 1.6 Pin mapping and power on == 102 + 103 + 95 95 [[image:image-20220907153300-2.png]] 96 96 97 97 ... ... @@ -123,7 +123,7 @@ 123 123 * The local NB-IoT network used the band that NSPH01 supports. 124 124 * Your operator is able to distribute the data received in their NB-IoT network to your IoT server. 125 125 126 -Below figure shows our testing structure. Here we have NB-IoT network coverage by China Mobile, the band they use is B8. The NSPH01 will use 135 +Below figure shows our testing structure. Here we have NB-IoT network coverage by China Mobile, the band they use is B8. The NSPH01 will use** CoAP(120.24.4.116:5683) **or raw **UDP(120.24.4.116:5601)** or **MQTT(120.24.4.116:1883)**or **TCP(120.24.4.116:5600)**protocol to send data to the test server. 127 127 128 128 129 129 [[image:image-20220907153445-4.png]] ... ... @@ -135,6 +135,7 @@ 135 135 136 136 User need to take out the NB-IoT module and insert the SIM card like below. ((% style="color:red" %) Pay attention to the direction(%%)) 137 137 147 + 138 138 [[image:image-20220907153505-5.png]] 139 139 140 140 ... ... @@ -161,7 +161,6 @@ 161 161 * Stop bits: (% style="color:green" %)**1** 162 162 * Parity: (% style="color:green" %)**None** 163 163 * Flow Control: (% style="color:green" %)**None** 164 -* 165 165 166 166 Make sure the switch is in FLASH position, then power on device by connecting the jumper on NSPH01. NSPH01 will output system info once power on as below, we can enter the (% style="color:green" %)**password: 12345678**(%%) to access AT Command input. 167 167 ... ... @@ -207,7 +207,6 @@ 207 207 * (% style="color:blue" %)**AT+SERVADDR=120.24.4.116,5601 ** (%%) ~/~/ to set UDP server address and port 208 208 * (% style="color:blue" %)**AT+CFM=1 ** (%%) ~/~/ If the server does not respond, this command is unnecessar 209 209 210 - 211 211 [[image:image-20220907153643-9.png||height="401" width="734"]] 212 212 213 213 ... ... @@ -228,7 +228,6 @@ 228 228 * (% style="color:blue" %)**AT+PUBTOPIC=NSE01_PUB **(%%)~/~/ Set the sending topic of MQTT 229 229 * (% style="color:blue" %)**AT+SUBTOPIC=NSE01_SUB ** (%%) ~/~/ Set the subscription topic of MQTT 230 230 231 - 232 232 [[image:image-20220907153739-11.png||height="491" width="764"]] 233 233 234 234 ... ... @@ -248,7 +248,6 @@ 248 248 * (% style="color:blue" %)**AT+PRO=4 ** (%%) ~/~/ Set to use TCP protocol to uplink 249 249 * (% style="color:blue" %)**AT+SERVADDR=120.24.4.116,5600 ** (%%) ~/~/ to set TCP server address and port 250 250 251 - 252 252 [[image:image-20220907153818-13.png||height="486" width="668"]] 253 253 254 254 ... ... @@ -263,7 +263,6 @@ 263 263 264 264 * (% style="color:blue" %)**AT+TDC=7200 ** (%%) ~/~/ Set Update Interval to 7200s (2 hour) 265 265 266 - 267 267 (% style="color:red" %)**NOTE: By default, the device will send an uplink message every 2 hours. Each Uplink Include 8 set of records in this 2 hour (15 minute interval / record).** 268 268 269 269 ... ... @@ -284,25 +284,48 @@ 284 284 [[image:image-20220907153902-15.png||height="581" width="804"]] 285 285 286 286 292 +((( 287 287 The payload is ASCII string, representative same HEX: 294 +))) 288 288 289 -0x(% style="color:red" %)f868411056754138(% style="color:blue" %)0064(% style="color:green" %)0c78(% style="color:red" %)17(% style="color:blue" %)01(% style="color:green" %)00(% style="color:red" %)**//0225010b6315537b//**010b0226631550fb//**010e022663154d77**//01110225631549f1//**011502246315466b**//01190223631542e5//**011d022163153f62**//011e022163153bde//**011e022163153859**//(%%) where: 296 +((( 297 + 298 +))) 290 290 291 -* (% style="color:red" %)Device ID: 0xf868411056754138 = f868411056754138 292 -* (% style="color:blue" %)Version: 0x0064=100=1.0.0 293 -* (% style="color:green" %)BAT: 0x0c78 = 3192 mV = 3.192V 294 -* (% style="color:red" %)Singal: 0x17 = 23 295 -* (% style="color:blue" %)Mod: 0x01 = 1 296 -* (% style="color:green" %)Interrupt: 0x00= 0 297 -* Soil PH: 0x0225= 549 = 5.49 298 -* Soil Temperature: 0x010B =267=26.7 °C 299 -* Time stamp : 0x6315537b =1662342011 ([[Unix Epoch Time>>url:http://www.epochconverter.com/]]) 300 -* Soil Temperature,Soil PH,Time stamp : 010b0226631550fb 301 -* (% style="color:red" %)8 sets of recorded data: Temperature,Soil PH,Time stamp : 010e022663154d77,....... 300 +((( 301 +**0x (% style="color:red" %)__f868411056754138__ (% style="color:blue" %)__0064 __ (% style="color:green" %)__0c78__ (% style="color:#00b0f0" %)__17__ (% style="color:#7030a0" %)__01__ (% style="color:#d60093" %)__00__ (% style="color:#a14d07" %)__0225 __ (% style="color:#0020b0" %) __010b__ (% style="color:#420042" %)__6315537b__ (% style="color:#663300" %)//__010b0226631550fb__ __010e022663154d77 01110225631549f1 011502246315466b 01190223631542e5 011d022163153f62 011e022163153bde 011e022163153859__//(%%)** 302 +))) 302 302 304 +((( 305 + 303 303 307 +**where:** 308 +))) 304 304 310 +* (% style="color:#037691" %)**Device ID:**(%%)** **0xf868411056754138 = f868411056754138 305 305 312 +* (% style="color:#037691" %)**Version:** (%%) 0x0064=100=1.0.0 313 + 314 +* (% style="color:#037691" %)**BAT:** (%%) 0x0c78 = 3192 mV = 3.192V 315 + 316 +* (% style="color:#037691" %)**Singal:** (%%)0x17 = 23 317 + 318 +* (% style="color:#037691" %)**Mod:** (%%) 0x01 = 1 319 + 320 +* (% style="color:#037691" %)**Interrupt:**(%%) 0x00= 0 321 + 322 +* (% style="color:#037691" %)**Soil PH:** (%%) 0x0225= 549 = 5.49 323 + 324 +* (% style="color:#037691" %)**Soil Temperature:**(%%) 0x010b =267=26.7 °C 325 + 326 +* (% style="color:#037691" %)**Time stamp :** (%%) 0x6315537b =1662342011 ([[Unix Epoch Time>>url:http://www.epochconverter.com/]]) 327 + 328 +* (% style="color:#037691" %)**Soil Temperature,Soil PH,Time stamp : **(%%) 010b0226631550fb 329 + 330 +* (% style="color:#037691" %)**8 sets of recorded data:**(%%) Temperature,Soil PH,Time stamp : 010e022663154d77,....... 331 + 332 + 333 + 306 306 == 2.4 Payload Explanation and Sensor Interface == 307 307 308 308 ... ... @@ -366,9 +366,9 @@ 366 366 367 367 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. 368 368 369 -For example, if the data you get from the register is **__0x05 0xDC__**, the PH content in the soil is 397 +For example, if the data you get from the register is (% style="color:blue" %)**__0x05 0xDC__**(%%), the PH content in the soil is 370 370 371 -**0229(H) = 549(D) /100 = 5.49.** 399 +(% style="color:blue" %)**0229(H) = 549(D) /100 = 5.49.** 372 372 373 373 374 374 ... ... @@ -375,8 +375,9 @@ 375 375 === 2.4.6 Soil Temperature === 376 376 377 377 378 -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 406 +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 (% style="color:blue" %)**__0x09 0xEC__**(%%), the temperature content in the soil is 379 379 408 + 380 380 **Example**: 381 381 382 382 If payload is 0105H: ((0x0105 & 0x8000)>>15 === 0),temp = 0105(H)/10 = 26.1 °C ... ... @@ -405,8 +405,9 @@ 405 405 406 406 The lower four bits of this data field shows if this packet is generated by interrupt or not. Click here for the hardware and software set up. 407 407 408 -Example: 409 409 438 +**Example:** 439 + 410 410 0x(00): Normal uplink packet. 411 411 412 412 0x(01): Interrupt Uplink Packet. ... ... @@ -464,9 +464,6 @@ 464 464 * After NSPH01 join NB-IoT network. The LED will be ON for 3 seconds. 465 465 * For each uplink probe, LED will be on for 500ms. 466 466 467 - 468 - 469 - 470 470 == 2.7 Installation and Maintain == 471 471 472 472 ... ... @@ -480,7 +480,7 @@ 480 480 === 2.7.2 Measurement === 481 481 482 482 483 -**Measurement the soil surface:** 510 +(% style="color:#037691" %)**Measurement the soil surface:** 484 484 485 485 486 486 [[image:image-20220907154700-18.png]] ... ... @@ -494,7 +494,7 @@ 494 494 Put soil over the probe after insert. And start to measure. 495 495 496 496 497 -**Measurement inside soil:** 524 +(% style="color:#037691" %)**Measurement inside soil:** 498 498 499 499 Dig a hole with diameter > 20CM. 500 500 ... ... @@ -512,15 +512,12 @@ 512 512 1. Avoid the probes to touch oily matter. Which will cause issue in accuracy. 513 513 1. The probe is IP68 can be put in water. 514 514 515 - 516 - 517 - 518 518 == 2.8 PH and Temperature alarm function == 519 519 520 520 521 -**➢ AT Command:** 545 +(% style="color:#037691" %)**➢ AT Command:** 522 522 523 -**AT+ PHALARM=min,max** 547 +(% style="color:blue" %)**AT+ PHALARM=min,max** 524 524 525 525 ² When min=3, and max≠0, Alarm higher than max 526 526 ... ... @@ -529,7 +529,7 @@ 529 529 ² When min≠0 and max≠0, Alarm higher than max or lower than min 530 530 531 531 532 -**Example:** 556 +(% style="color:blue" %)**Example:** 533 533 534 534 AT+ PHALARM =5,8 ~/~/ Alarm when PH lower than 5. 535 535 ... ... @@ -542,31 +542,33 @@ 542 542 ² When min≠0 and max≠0, Alarm higher than max or lower than min 543 543 544 544 545 -**Example:** 569 +(% style="color:blue" %)**Example:** 546 546 547 547 AT+ TEMPALARM=20,30 ~/~/ Alarm when temperature lower than 20. 548 548 549 549 550 550 551 -== 2.9 Set the number of data to be uploaded and the recording time == 575 +== 2.9 Set the number of data to be uploaded and the recording time == 552 552 553 553 554 -**➢ AT Command:** 578 +(% style="color:#037691" %)**➢ AT Command:** 555 555 556 -**AT+TR=900** ~/~/ The unit is seconds, and the default is to record data once every 900 seconds.( The minimum can be set to 180 seconds) 580 +* (% style="color:blue" %)**AT+TR=900** (%%) ~/~/ The unit is seconds, and the default is to record data once every 900 seconds.( The minimum can be set to 180 seconds) 581 +* (% style="color:blue" %)**AT+NOUD=8** (%%) ~/~/ The device uploads 8 sets of recorded data by default. Up to 32 sets of record data can be uploaded. 557 557 558 - **AT+NOUD=8**~/~/The deviceuploads8 setsofrecorded databy default.Upto32setsofrecorddatacan be uploaded.583 + The diagram below explains the relationship between TR, NOUD, and TDC more clearly**:** 559 559 585 +[[image:image-20221009000933-1.png||height="750" width="1043"]] 560 560 561 -== 2.10 Read or Clear cached data == 562 562 563 563 564 - **➢ATCommand:**589 +== 2.10 Read or Clear cached data == 565 565 566 -**AT+CDP** ~/~/ Read cached data 567 567 568 - **AT+CDP=0**~/~/Clear cacheddata592 +(% style="color:#037691" %)**➢ AT Command:** 569 569 594 +* (% style="color:blue" %)**AT+CDP** (%%) ~/~/ Read cached data 595 +* (% style="color:blue" %)**AT+CDP=0** (%%) ~/~/ Clear cached data 570 570 571 571 [[image:image-20220907154700-19.png]] 572 572 ... ... @@ -587,9 +587,9 @@ 587 587 == 2.12 Firmware Change Log == 588 588 589 589 590 -Download URL & Firmware Change log: [[https:~~/~~/www.dropbox.com/sh/1 zmcakvbkf24f8x/AACmq2dZ3iRB9F1nVWeEB9Moa?dl=0>>url:https://www.dropbox.com/sh/1zmcakvbkf24f8x/AACmq2dZ3iRB9F1nVWeEB9Moa?dl=0]]616 +Download URL & Firmware Change log: [[https:~~/~~/www.dropbox.com/sh/1tv07fro2pvjqj8/AAD-2wbfGfluTZfh38fQqdA_a?dl=0>>https://www.dropbox.com/sh/1tv07fro2pvjqj8/AAD-2wbfGfluTZfh38fQqdA_a?dl=0]] 591 591 592 -Upgrade Instruction: [[Upgrade Firmware>> path:#H5.1200BHowtoUpgradeFirmware]]618 +Upgrade Instruction: [[Upgrade Firmware>>||anchor="H5.1200BHowtoUpgradeFirmware"]] 593 593 594 594 595 595 ... ... @@ -620,9 +620,9 @@ 620 620 621 621 Instruction to use as below: 622 622 623 -**Step 1: **Downlink the up-to-date DRAGINO_Battery_Life_Prediction_Table.xlsx from: [[https:~~/~~/www.dragino.com/downloads/index.php?dir=LoRa_End_Node/Battery_Analyze/>>url:https://www.dragino.com/downloads/index.php?dir=LoRa_End_Node/Battery_Analyze/]] 649 +(% style="color:blue" %)**Step 1: **(%%)Downlink the up-to-date DRAGINO_Battery_Life_Prediction_Table.xlsx from: [[https:~~/~~/www.dragino.com/downloads/index.php?dir=LoRa_End_Node/Battery_Analyze/>>url:https://www.dragino.com/downloads/index.php?dir=LoRa_End_Node/Battery_Analyze/]] 624 624 625 -**Step 2: ** Open it and choose 651 +(% style="color:blue" %)**Step 2: **(%%) Open it and choose 626 626 627 627 * Product Model 628 628 * Uplink Interval ... ... @@ -630,7 +630,7 @@ 630 630 631 631 And the Life expectation in difference case will be shown on the right. 632 632 633 - (% style="text-align:center" %)659 + 634 634 [[image:image-20220907154700-22.jpeg]] 635 635 636 636 ... ... @@ -680,7 +680,7 @@ 680 680 AT+<CMD>=? : Get the value 681 681 682 682 683 -**General Commands** 709 +(% style="color:#037691" %)**General Commands** 684 684 685 685 AT : Attention 686 686 ... ... @@ -725,17 +725,17 @@ 725 725 AT+ PHCAL : calibrate PH value 726 726 727 727 728 -**COAP Management** 754 +(% style="color:#037691" %)**COAP Management** 729 729 730 730 AT+URI : Resource parameters 731 731 732 732 733 -**UDP Management** 759 +(% style="color:#037691" %)**UDP Management** 734 734 735 735 AT+CFM : Upload confirmation mode (only valid for UDP) 736 736 737 737 738 -**MQTT Management** 764 +(% style="color:#037691" %)**MQTT Management** 739 739 740 740 AT+CLIENT : Get or Set MQTT client 741 741 ... ... @@ -748,7 +748,7 @@ 748 748 AT+SUBTOPIC : Get or Set MQTT subscription topic 749 749 750 750 751 -**Information** 777 +(% style="color:#037691" %)**Information** 752 752 753 753 AT+FDR : Factory Data Reset 754 754 ... ... @@ -766,7 +766,7 @@ 766 766 767 767 Please see this link for how to upgrade: [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/Firmware%20Upgrade%20Instruction%20for%20STM32%20base%20products/#H2.HardwareUpgradeMethodSupportList>>url:http://wiki.dragino.com/xwiki/bin/view/Main/Firmware%20Upgrade%20Instruction%20for%20STM32%20base%20products/#H2.HardwareUpgradeMethodSupportList]] 768 768 769 -**Notice, **NSPH01**and**LSPH01**share the same mother board. They use the same connection and method to update.**795 +(% style="color:red" %)**Notice, NSPH01 and LSPH01 share the same mother board. They use the same connection and method to update.** 770 770 771 771 772 772 ... ... @@ -790,7 +790,7 @@ 790 790 == 6.2 AT Command input doesn't work == 791 791 792 792 793 -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 **(% style="color:green" %)ENTER**(%%) while sending out the command. Some serial tool doesn't send**(% style="color:green" %)ENTER** (%%)while press the send key, user need to add ENTER in their string.819 +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 (% style="color:green" %)**ENTER**(%%) while sending out the command. Some serial tool doesn't send (% style="color:green" %)**ENTER** (%%)while press the send key, user need to add ENTER in their string. 794 794 795 795 796 796 ... ... @@ -811,12 +811,13 @@ 811 811 812 812 **Dimension and weight**: 813 813 814 -* Size: 195 x 125 x 55 mm 815 -* Weight: 420g 840 +* Device Size: cm 841 +* Device Weight: g 842 +* Package Size / pcs : cm 843 +* Weight / pcs : g 816 816 817 817 818 818 819 - 820 820 = 9. Support = 821 821 822 822
- image-20220923101327-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +12.1 KB - Content
- image-20221009000933-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Edwin - Size
-
... ... @@ -1,0 +1,1 @@ 1 +282.9 KB - Content