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, 2 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Edwin1 +XWiki.Xiaoling - Content
-
... ... @@ -85,12 +85,11 @@ 85 85 * IP68 Protection 86 86 * Length: 3.5 meters 87 87 88 -== 1.5 88 +== 1.5 Applications == 89 89 90 - 91 91 * Smart Agriculture 92 92 93 -== 1.6 92 +== 1.6 Pin mapping and power on == 94 94 95 95 96 96 [[image:image-20220907153300-2.png]] ... ... @@ -124,7 +124,7 @@ 124 124 * The local NB-IoT network used the band that NSPH01 supports. 125 125 * Your operator is able to distribute the data received in their NB-IoT network to your IoT server. 126 126 127 -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.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. 128 128 129 129 130 130 [[image:image-20220907153445-4.png]] ... ... @@ -136,7 +136,6 @@ 136 136 137 137 User need to take out the NB-IoT module and insert the SIM card like below. ((% style="color:red" %) Pay attention to the direction(%%)) 138 138 139 - 140 140 [[image:image-20220907153505-5.png]] 141 141 142 142 ... ... @@ -163,6 +163,7 @@ 163 163 * Stop bits: (% style="color:green" %)**1** 164 164 * Parity: (% style="color:green" %)**None** 165 165 * Flow Control: (% style="color:green" %)**None** 164 +* 166 166 167 167 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. 168 168 ... ... @@ -208,6 +208,7 @@ 208 208 * (% style="color:blue" %)**AT+SERVADDR=120.24.4.116,5601 ** (%%) ~/~/ to set UDP server address and port 209 209 * (% style="color:blue" %)**AT+CFM=1 ** (%%) ~/~/ If the server does not respond, this command is unnecessar 210 210 210 + 211 211 [[image:image-20220907153643-9.png||height="401" width="734"]] 212 212 213 213 ... ... @@ -228,6 +228,7 @@ 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 + 231 231 [[image:image-20220907153739-11.png||height="491" width="764"]] 232 232 233 233 ... ... @@ -247,6 +247,7 @@ 247 247 * (% style="color:blue" %)**AT+PRO=4 ** (%%) ~/~/ Set to use TCP protocol to uplink 248 248 * (% style="color:blue" %)**AT+SERVADDR=120.24.4.116,5600 ** (%%) ~/~/ to set TCP server address and port 249 249 251 + 250 250 [[image:image-20220907153818-13.png||height="486" width="668"]] 251 251 252 252 ... ... @@ -261,6 +261,7 @@ 261 261 262 262 * (% style="color:blue" %)**AT+TDC=7200 ** (%%) ~/~/ Set Update Interval to 7200s (2 hour) 263 263 266 + 264 264 (% 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).** 265 265 266 266 ... ... @@ -281,35 +281,24 @@ 281 281 [[image:image-20220907153902-15.png||height="581" width="804"]] 282 282 283 283 284 -((( 285 285 The payload is ASCII string, representative same HEX: 286 -))) 287 287 288 -((( 289 - 290 -))) 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: 291 291 292 -((( 293 -**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__//(%%)** 294 -))) 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,....... 295 295 296 -((( 297 - 298 298 299 -where: 300 -))) 301 301 302 -* Device ID: 0xf868411056754138 = f868411056754138 303 -* Version: 0x0064=100=1.0.0 304 -* BAT: 0x0c78 = 3192 mV = 3.192V 305 -* Singal: 0x17 = 23 306 -* Mod: 0x01 = 1 307 -* Interrupt: 0x00= 0 308 -* Soil PH: 0x0225= 549 = 5.49 309 -* Soil Temperature: 0x010b =267=26.7 °C 310 -* Time stamp : 0x6315537b =1662342011 ([[Unix Epoch Time>>url:http://www.epochconverter.com/]]) 311 -* Soil Temperature,Soil PH,Time stamp : 010b0226631550fb 312 -* 8 sets of recorded data: Temperature,Soil PH,Time stamp : 010e022663154d77,....... 313 313 314 314 == 2.4 Payload Explanation and Sensor Interface == 315 315 ... ... @@ -374,9 +374,9 @@ 374 374 375 375 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. 376 376 377 -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 378 378 379 - (% style="color:blue" %)**0229(H) = 549(D) /100 = 5.49.**371 +**0229(H) = 549(D) /100 = 5.49.** 380 380 381 381 382 382 ... ... @@ -383,9 +383,8 @@ 383 383 === 2.4.6 Soil Temperature === 384 384 385 385 386 -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 387 387 388 - 389 389 **Example**: 390 390 391 391 If payload is 0105H: ((0x0105 & 0x8000)>>15 === 0),temp = 0105(H)/10 = 26.1 °C ... ... @@ -414,9 +414,8 @@ 414 414 415 415 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. 416 416 408 +Example: 417 417 418 -**Example:** 419 - 420 420 0x(00): Normal uplink packet. 421 421 422 422 0x(01): Interrupt Uplink Packet. ... ... @@ -474,6 +474,9 @@ 474 474 * After NSPH01 join NB-IoT network. The LED will be ON for 3 seconds. 475 475 * For each uplink probe, LED will be on for 500ms. 476 476 467 + 468 + 469 + 477 477 == 2.7 Installation and Maintain == 478 478 479 479 ... ... @@ -487,7 +487,7 @@ 487 487 === 2.7.2 Measurement === 488 488 489 489 490 -(% style="color:#037691" %) **Measurement the soil surface:**483 +**(% style="color:#037691" %)Measurement the soil surface:** 491 491 492 492 493 493 [[image:image-20220907154700-18.png]] ... ... @@ -501,7 +501,7 @@ 501 501 Put soil over the probe after insert. And start to measure. 502 502 503 503 504 -(% style="color:#037691" %) **Measurement inside soil:**497 +**(% style="color:#037691" %)Measurement inside soil:** 505 505 506 506 Dig a hole with diameter > 20CM. 507 507 ... ... @@ -519,12 +519,15 @@ 519 519 1. Avoid the probes to touch oily matter. Which will cause issue in accuracy. 520 520 1. The probe is IP68 can be put in water. 521 521 515 + 516 + 517 + 522 522 == 2.8 PH and Temperature alarm function == 523 523 524 524 525 -(% style="color:#037691" %) **➢ AT Command:**521 +**(% style="color:#037691" %)➢ AT Command:** 526 526 527 -(% style="color:blue" %) **AT+ PHALARM=min,max**523 +**(% style="color:blue" %)AT+ PHALARM=min,max** 528 528 529 529 ² When min=3, and max≠0, Alarm higher than max 530 530 ... ... @@ -533,7 +533,7 @@ 533 533 ² When min≠0 and max≠0, Alarm higher than max or lower than min 534 534 535 535 536 -(% style="color:blue" %) **Example:**532 +**(% style="color:blue" %)Example:** 537 537 538 538 AT+ PHALARM =5,8 ~/~/ Alarm when PH lower than 5. 539 539 ... ... @@ -546,33 +546,31 @@ 546 546 ² When min≠0 and max≠0, Alarm higher than max or lower than min 547 547 548 548 549 -(% style="color:blue" %) **Example:**545 +**(% style="color:blue" %)Example:** 550 550 551 551 AT+ TEMPALARM=20,30 ~/~/ Alarm when temperature lower than 20. 552 552 553 553 554 554 555 -== 2.9 551 +== 2.9 Set the number of data to be uploaded and the recording time == 556 556 557 557 558 -(% style="color:#037691" %) **➢ AT Command:**554 +**(% style="color:#037691" %)➢ AT Command:** 559 559 560 -* (% 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) 561 -* (% 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) 562 562 563 - The di agram belowexplainsthe relationshipbetweenTR, NOUD,andTDCmore clearly**:**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. 564 564 565 -[[image:image-20221009000933-1.png||height="750" width="1043"]] 566 566 561 +== 2.10 Read or Clear cached data == 567 567 568 568 569 - ==2.10 Reador Clearcacheddata==564 +**(% style="color:#037691" %)➢ AT Command:** 570 570 566 +**(% style="color:blue" %)AT+CDP** (%%) ~/~/ Read cached data 571 571 572 -(% style="color: #037691" %)**➢ATCommand:**568 +**(% style="color:blue" %)AT+CDP=0** (%%) ~/~/ Clear cached data 573 573 574 -* (% style="color:blue" %)**AT+CDP** (%%) ~/~/ Read cached data 575 -* (% style="color:blue" %)**AT+CDP=0** (%%) ~/~/ Clear cached data 576 576 577 577 [[image:image-20220907154700-19.png]] 578 578 ... ... @@ -593,9 +593,9 @@ 593 593 == 2.12 Firmware Change Log == 594 594 595 595 596 -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]] 597 597 598 -Upgrade Instruction: [[Upgrade Firmware>> ||anchor="H5.1200BHowtoUpgradeFirmware"]]592 +Upgrade Instruction: [[Upgrade Firmware>>path:#H5.1200BHowtoUpgradeFirmware]] 599 599 600 600 601 601 ... ... @@ -626,9 +626,9 @@ 626 626 627 627 Instruction to use as below: 628 628 629 -(% 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/]] 630 630 631 -(% style="color: blue" %)**Step 2: **(%%) Open it and choose625 +**(% style="color:#037691" %)Step 2: **(%%) Open it and choose 632 632 633 633 * Product Model 634 634 * Uplink Interval ... ... @@ -686,7 +686,7 @@ 686 686 AT+<CMD>=? : Get the value 687 687 688 688 689 -(% style="color:#037691" %) **General Commands**683 +**(% style="color:#037691" %)General Commands** 690 690 691 691 AT : Attention 692 692 ... ... @@ -731,17 +731,17 @@ 731 731 AT+ PHCAL : calibrate PH value 732 732 733 733 734 -(% style="color:#037691" %) **COAP Management**728 +**(% style="color:#037691" %)COAP Management** 735 735 736 736 AT+URI : Resource parameters 737 737 738 738 739 -(% style="color:#037691" %) **UDP Management**733 +**(% style="color:#037691" %)UDP Management** 740 740 741 741 AT+CFM : Upload confirmation mode (only valid for UDP) 742 742 743 743 744 -(% style="color:#037691" %) **MQTT Management**738 +**(% style="color:#037691" %)MQTT Management** 745 745 746 746 AT+CLIENT : Get or Set MQTT client 747 747 ... ... @@ -754,7 +754,7 @@ 754 754 AT+SUBTOPIC : Get or Set MQTT subscription topic 755 755 756 756 757 -(% style="color:#037691" %) **Information**751 +**(% style="color:#037691" %)Information** 758 758 759 759 AT+FDR : Factory Data Reset 760 760 ... ... @@ -772,7 +772,7 @@ 772 772 773 773 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]] 774 774 775 -(% 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.** 776 776 777 777 778 778 ... ... @@ -796,7 +796,7 @@ 796 796 == 6.2 AT Command input doesn't work == 797 797 798 798 799 -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. 800 800 801 801 802 802 ... ... @@ -817,11 +817,12 @@ 817 817 818 818 **Dimension and weight**: 819 819 820 -* Device Size: cm 821 -* Device Weight: g 822 -* Package Size / pcs : cm 823 -* Weight / pcs : g 814 +* Size: 195 x 125 x 55 mm 815 +* Weight: 420g 824 824 817 + 818 + 819 + 825 825 = 9. Support = 826 826 827 827
- image-20220923101327-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -12.1 KB - Content
- image-20221009000933-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Edwin - Size
-
... ... @@ -1,1 +1,0 @@ 1 -282.9 KB - Content