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)
-
Attachments (0 modified, 0 added, 1 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. David1 +XWiki.Xiaoling - Content
-
... ... @@ -48,7 +48,6 @@ 48 48 * Micro SIM card slot 49 49 * 8500mAh Battery for long term use 50 50 51 - 52 52 == 1.3 Specification == 53 53 54 54 ... ... @@ -66,7 +66,6 @@ 66 66 * - B20 @H-FDD: 800MHz 67 67 * - B28 @H-FDD: 700MHz 68 68 69 - 70 70 == 1.4 Probe Specification == 71 71 72 72 ... ... @@ -87,16 +87,13 @@ 87 87 * IP68 Protection 88 88 * Length: 3.5 meters 89 89 88 +== 1.5 Applications == 90 90 91 -== 1.5 Applications == 92 - 93 - 94 94 * Smart Agriculture 95 95 92 +== 1.6 Pin mapping and power on == 96 96 97 -== 1.6 Pin mapping and power on == 98 98 99 - 100 100 [[image:image-20220907153300-2.png]] 101 101 102 102 ... ... @@ -128,10 +128,9 @@ 128 128 * The local NB-IoT network used the band that NSPH01 supports. 129 129 * Your operator is able to distribute the data received in their NB-IoT network to your IoT server. 130 130 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 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. 131 131 132 -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. 133 133 134 - 135 135 [[image:image-20220907153445-4.png]] 136 136 137 137 ... ... @@ -141,7 +141,6 @@ 141 141 142 142 User need to take out the NB-IoT module and insert the SIM card like below. ((% style="color:red" %) Pay attention to the direction(%%)) 143 143 144 - 145 145 [[image:image-20220907153505-5.png]] 146 146 147 147 ... ... @@ -168,8 +168,8 @@ 168 168 * Stop bits: (% style="color:green" %)**1** 169 169 * Parity: (% style="color:green" %)**None** 170 170 * Flow Control: (% style="color:green" %)**None** 164 +* 171 171 172 - 173 173 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. 174 174 175 175 ... ... @@ -270,6 +270,7 @@ 270 270 271 271 * (% style="color:blue" %)**AT+TDC=7200 ** (%%) ~/~/ Set Update Interval to 7200s (2 hour) 272 272 266 + 273 273 (% 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).** 274 274 275 275 ... ... @@ -290,38 +290,25 @@ 290 290 [[image:image-20220907153902-15.png||height="581" width="804"]] 291 291 292 292 293 -((( 294 294 The payload is ASCII string, representative same HEX: 295 -))) 296 296 297 -((( 298 - 299 -))) 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: 300 300 301 -((( 302 -**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__//(%%)** 303 -))) 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,....... 304 304 305 -((( 306 - 307 307 308 -where: 309 -))) 310 310 311 -* Device ID: 0xf868411056754138 = f868411056754138 312 -* Version: 0x0064=100=1.0.0 313 -* BAT: 0x0c78 = 3192 mV = 3.192V 314 -* Singal: 0x17 = 23 315 -* Mod: 0x01 = 1 316 -* Interrupt: 0x00= 0 317 -* Soil PH: 0x0225= 549 = 5.49 318 -* Soil Temperature: 0x010b =267=26.7 °C 319 -* Time stamp : 0x6315537b =1662342011 ([[Unix Epoch Time>>url:http://www.epochconverter.com/]]) 320 -* Soil Temperature,Soil PH,Time stamp : 010b0226631550fb 321 -* 8 sets of recorded data: Temperature,Soil PH,Time stamp : 010e022663154d77,....... 322 322 323 - 324 - 325 325 == 2.4 Payload Explanation and Sensor Interface == 326 326 327 327 ... ... @@ -385,9 +385,9 @@ 385 385 386 386 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. 387 387 388 -For example, if the data you get from the register is (% style="color:blue" %)**__0x05 0xDC__**(%%), the PH content in the soil is369 +For example, if the data you get from the register is **__0x05 0xDC__**, the PH content in the soil is 389 389 390 - (% style="color:blue" %)**0229(H) = 549(D) /100 = 5.49.**371 +**0229(H) = 549(D) /100 = 5.49.** 391 391 392 392 393 393 ... ... @@ -394,9 +394,8 @@ 394 394 === 2.4.6 Soil Temperature === 395 395 396 396 397 -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 is378 +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 398 398 399 - 400 400 **Example**: 401 401 402 402 If payload is 0105H: ((0x0105 & 0x8000)>>15 === 0),temp = 0105(H)/10 = 26.1 °C ... ... @@ -425,9 +425,8 @@ 425 425 426 426 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. 427 427 408 +Example: 428 428 429 -**Example:** 430 - 431 431 0x(00): Normal uplink packet. 432 432 433 433 0x(01): Interrupt Uplink Packet. ... ... @@ -487,6 +487,7 @@ 487 487 488 488 489 489 469 + 490 490 == 2.7 Installation and Maintain == 491 491 492 492 ... ... @@ -500,7 +500,7 @@ 500 500 === 2.7.2 Measurement === 501 501 502 502 503 -(% style="color:#037691" %) **Measurement the soil surface:**483 +**(% style="color:#037691" %)Measurement the soil surface:** 504 504 505 505 506 506 [[image:image-20220907154700-18.png]] ... ... @@ -514,7 +514,7 @@ 514 514 Put soil over the probe after insert. And start to measure. 515 515 516 516 517 -(% style="color:#037691" %) **Measurement inside soil:**497 +**(% style="color:#037691" %)Measurement inside soil:** 518 518 519 519 Dig a hole with diameter > 20CM. 520 520 ... ... @@ -534,12 +534,13 @@ 534 534 535 535 536 536 517 + 537 537 == 2.8 PH and Temperature alarm function == 538 538 539 539 540 -(% style="color:#037691" %) **➢ AT Command:**521 +**(% style="color:#037691" %)➢ AT Command:** 541 541 542 -(% style="color:blue" %) **AT+ PHALARM=min,max**523 +**(% style="color:blue" %)AT+ PHALARM=min,max** 543 543 544 544 ² When min=3, and max≠0, Alarm higher than max 545 545 ... ... @@ -548,7 +548,7 @@ 548 548 ² When min≠0 and max≠0, Alarm higher than max or lower than min 549 549 550 550 551 -(% style="color:blue" %) **Example:**532 +**(% style="color:blue" %)Example:** 552 552 553 553 AT+ PHALARM =5,8 ~/~/ Alarm when PH lower than 5. 554 554 ... ... @@ -561,32 +561,32 @@ 561 561 ² When min≠0 and max≠0, Alarm higher than max or lower than min 562 562 563 563 564 -(% style="color:blue" %) **Example:**545 +**(% style="color:blue" %)Example:** 565 565 566 566 AT+ TEMPALARM=20,30 ~/~/ Alarm when temperature lower than 20. 567 567 568 568 569 569 570 -== 2.9 551 +== 2.9 Set the number of data to be uploaded and the recording time == 571 571 572 572 573 -(% style="color:#037691" %) **➢ AT Command:**554 +**(% style="color:#037691" %)➢ AT Command:** 574 574 575 -* (% 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) 576 -* (% 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. 556 +**(% 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) 577 577 558 +**(% 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. 578 578 579 -This link explains the relationship between TR, NOUD and TDC more clearly** : **[[https:~~/~~/www.processon.com/view/link/6340e606e401fd390891af87>>url:https://www.processon.com/view/link/6340e606e401fd390891af87]] 580 580 581 -== 2.10 561 +== 2.10 Read or Clear cached data == 582 582 583 583 584 -(% style="color:#037691" %) **➢ AT Command:**564 +**(% style="color:#037691" %)➢ AT Command:** 585 585 586 -* (% style="color:blue" %)**AT+CDP** (%%) ~/~/ Read cached data 587 -* (% style="color:blue" %)**AT+CDP=0** (%%) ~/~/ Clear cached data 566 +**(% style="color:blue" %)AT+CDP** (%%) ~/~/ Read cached data 588 588 568 +**(% style="color:blue" %)AT+CDP=0** (%%) ~/~/ Clear cached data 589 589 570 + 590 590 [[image:image-20220907154700-19.png]] 591 591 592 592 ... ... @@ -606,9 +606,9 @@ 606 606 == 2.12 Firmware Change Log == 607 607 608 608 609 -Download URL & Firmware Change log: [[https:~~/~~/www.dropbox.com/sh/1 tv07fro2pvjqj8/AAD-2wbfGfluTZfh38fQqdA_a?dl=0>>https://www.dropbox.com/sh/1tv07fro2pvjqj8/AAD-2wbfGfluTZfh38fQqdA_a?dl=0]]590 +Download URL & Firmware Change log: [[https:~~/~~/www.dropbox.com/sh/1zmcakvbkf24f8x/AACmq2dZ3iRB9F1nVWeEB9Moa?dl=0>>url:https://www.dropbox.com/sh/1zmcakvbkf24f8x/AACmq2dZ3iRB9F1nVWeEB9Moa?dl=0]] 610 610 611 -Upgrade Instruction: [[Upgrade Firmware>> ||anchor="H5.1200BHowtoUpgradeFirmware"]]592 +Upgrade Instruction: [[Upgrade Firmware>>path:#H5.1200BHowtoUpgradeFirmware]] 612 612 613 613 614 614 ... ... @@ -639,9 +639,9 @@ 639 639 640 640 Instruction to use as below: 641 641 642 -(% 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/]]623 +**(% 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/]] 643 643 644 -(% style="color: blue" %)**Step 2: **(%%) Open it and choose625 +**(% style="color:#037691" %)Step 2: **(%%) Open it and choose 645 645 646 646 * Product Model 647 647 * Uplink Interval ... ... @@ -699,7 +699,7 @@ 699 699 AT+<CMD>=? : Get the value 700 700 701 701 702 -(% style="color:#037691" %) **General Commands**683 +**(% style="color:#037691" %)General Commands** 703 703 704 704 AT : Attention 705 705 ... ... @@ -744,17 +744,17 @@ 744 744 AT+ PHCAL : calibrate PH value 745 745 746 746 747 -(% style="color:#037691" %) **COAP Management**728 +**(% style="color:#037691" %)COAP Management** 748 748 749 749 AT+URI : Resource parameters 750 750 751 751 752 -(% style="color:#037691" %) **UDP Management**733 +**(% style="color:#037691" %)UDP Management** 753 753 754 754 AT+CFM : Upload confirmation mode (only valid for UDP) 755 755 756 756 757 -(% style="color:#037691" %) **MQTT Management**738 +**(% style="color:#037691" %)MQTT Management** 758 758 759 759 AT+CLIENT : Get or Set MQTT client 760 760 ... ... @@ -767,7 +767,7 @@ 767 767 AT+SUBTOPIC : Get or Set MQTT subscription topic 768 768 769 769 770 -(% style="color:#037691" %) **Information**751 +**(% style="color:#037691" %)Information** 771 771 772 772 AT+FDR : Factory Data Reset 773 773 ... ... @@ -785,7 +785,7 @@ 785 785 786 786 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]] 787 787 788 -(% style="color:red" %) **Notice, NSPH01 and LSPH01 share the same mother board. They use the same connection and method to update.**769 +**(% style="color:red" %)Notice, **NSPH01 **and **LSPH01 **share the same mother board. They use the same connection and method to update.** 789 789 790 790 791 791 ... ... @@ -809,7 +809,7 @@ 809 809 == 6.2 AT Command input doesn't work == 810 810 811 811 812 -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.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. 813 813 814 814 815 815 ... ... @@ -830,13 +830,12 @@ 830 830 831 831 **Dimension and weight**: 832 832 833 -* Device Size: cm 834 -* Device Weight: g 835 -* Package Size / pcs : cm 836 -* Weight / pcs : g 814 +* Size: 195 x 125 x 55 mm 815 +* Weight: 420g 837 837 838 838 839 839 819 + 840 840 = 9. Support = 841 841 842 842
- image-20220923101327-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -12.1 KB - Content