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, 0 added, 2 removed)
Details
- Page properties
-
- Content
-
... ... @@ -18,14 +18,11 @@ 18 18 NSPH01 probe is made by Solid AgCl reference electrode and Pure metal pH sensitive electrode. It can detect soil's** (% style="color:blue" %)pH (%%)**with high accuracy and stable value. The NSPH01 probe can be buried into soil for long time use. 19 19 20 20 NarrowBand-Internet of Things (NB-IoT) is a standards-based low power wide area (LPWA) technology developed to enable a wide range of new IoT devices and services. NB-IoT significantly improves the power consumption of user devices, system capacity and spectrum efficiency, especially in deep coverage. 21 +\\NSPH01 supports different uplink methods include (% style="color:blue" %)**TCP,MQTT,UDP and CoAP **(%%)for different application requirement. 22 +\\NSPH01 is powered by (% style="color:blue" %)**8500mAh Li-SOCI2 battery**(%%), It is designed for long term use up to 5 years. (Actually Battery life depends on the use environment, update period & uplink method) 23 +\\To use NSPH01, user needs to check if there is NB-IoT coverage in the installation area and with the bands NSPH01 supports. If the local operator supports it, user needs to get a (% style="color:blue" %)**NB-IoT SIM card** (%%)from local operator and install NSPH01 to get NB-IoT network connection. 21 21 22 -NSPH01 supports different uplink methods include (% style="color:blue" %)**TCP,MQTT,UDP and CoAP **(%%)for different application requirement. 23 23 24 -NSPH01 is powered by (% style="color:blue" %)**8500mAh Li-SOCI2 battery**(%%), It is designed for long term use up to 5 years. (Actually Battery life depends on the use environment, update period & uplink method) 25 - 26 -To use NSPH01, user needs to check if there is NB-IoT coverage in the installation area and with the bands NSPH01 supports. If the local operator supports it, user needs to get a (% style="color:blue" %)**NB-IoT SIM card** (%%)from local operator and install NSPH01 to get NB-IoT network connection. 27 - 28 - 29 29 [[image:image-20220907153151-1.png]] 30 30 31 31 ... ... @@ -51,8 +51,6 @@ 51 51 * Micro SIM card slot 52 52 * 8500mAh Battery for long term use 53 53 54 - 55 - 56 56 == 1.3 Specification == 57 57 58 58 ... ... @@ -70,8 +70,6 @@ 70 70 * - B20 @H-FDD: 800MHz 71 71 * - B28 @H-FDD: 700MHz 72 72 73 - 74 - 75 75 == 1.4 Probe Specification == 76 76 77 77 ... ... @@ -92,18 +92,13 @@ 92 92 * IP68 Protection 93 93 * Length: 3.5 meters 94 94 88 +== 1.5 Applications == 95 95 96 - 97 -== 1.5 Applications == 98 - 99 - 100 100 * Smart Agriculture 101 101 92 +== 1.6 Pin mapping and power on == 102 102 103 103 104 -== 1.6 Pin mapping and power on == 105 - 106 - 107 107 [[image:image-20220907153300-2.png]] 108 108 109 109 ... ... @@ -135,7 +135,7 @@ 135 135 * The local NB-IoT network used the band that NSPH01 supports. 136 136 * Your operator is able to distribute the data received in their NB-IoT network to your IoT server. 137 137 138 -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. 139 139 140 140 141 141 [[image:image-20220907153445-4.png]] ... ... @@ -147,7 +147,6 @@ 147 147 148 148 User need to take out the NB-IoT module and insert the SIM card like below. ((% style="color:red" %) Pay attention to the direction(%%)) 149 149 150 - 151 151 [[image:image-20220907153505-5.png]] 152 152 153 153 ... ... @@ -174,6 +174,7 @@ 174 174 * Stop bits: (% style="color:green" %)**1** 175 175 * Parity: (% style="color:green" %)**None** 176 176 * Flow Control: (% style="color:green" %)**None** 164 +* 177 177 178 178 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. 179 179 ... ... @@ -249,6 +249,7 @@ 249 249 250 250 251 251 240 + 252 252 === 2.2.7 Use TCP protocol to uplink data === 253 253 254 254 ... ... @@ -282,9 +282,9 @@ 282 282 283 283 Each time the device uploads a data package, 8 sets of recorded data will be attached. Up to 32 sets of recorded data can be uploaded. 284 284 285 -(% border=" 1.5" style="background-color:#ffffcc; color:green; width:520px" %)286 -| =(% scope="row" style="width:50px;" %)**Size(bytes)**|(% style="width:40px" %)**8**|(% style="width:20px" %)**2**|(% style="width:25px" %)**2**|(% style="width:60px" %)**1**|(% style="width:20px" %)**1**|(% style="width:40px" %)**1**|(% style="width:40px" %)**2**|(% style="width:50px" %)**2**|(% style="width:50px" %)**4**|(% style="width:50px" %)**2**|(% style="width:35px" %)**2**|(% style="width:40px" %)**4**287 -| =(% style="width:;" %)**Value**|(% style="width:83px" %)Device ID|(% style="width:44px" %)Ver|(% style="width:42px" %)BAT|(% style="width:124px" %)Signal Strength|(% style="width:57px" %)MOD|(% style="width:80px" %)Interrupt|(% style="width:69px" %)Soil PH|(% style="width:134px" %)Soil Temperature|(% style="width:98px" %)Time stamp|(% style="width:134px" %)Soil Temperature|(% style="width:68px" %)Soil PH|(% style="width:125px" %)Time stamp .....274 +(% border="2" style="background-color:#ffffcc; color:green; width:1160px" %) 275 +|(% style="width:96px" %)**Size(bytes)**|(% style="width:83px" %)**8**|(% style="width:44px" %)**2**|(% style="width:42px" %)**2**|(% style="width:124px" %)1|(% style="width:57px" %)1|(% style="width:80px" %)1|(% style="width:69px" %)2|(% style="width:134px" %)2|(% style="width:98px" %)4|(% style="width:134px" %)2|(% style="width:68px" %)2|(% style="width:125px" %)4 276 +|(% style="width:96px" %)**Value**|(% style="width:83px" %)Device ID|(% style="width:44px" %)Ver|(% style="width:42px" %)BAT|(% style="width:124px" %)Signal Strength|(% style="width:57px" %)MOD|(% style="width:80px" %)Interrupt|(% style="width:69px" %)Soil PH|(% style="width:134px" %)Soil Temperature|(% style="width:98px" %)Time stamp|(% style="width:134px" %)Soil Temperature|(% style="width:68px" %)Soil PH|(% style="width:125px" %)Time stamp ..... 288 288 289 289 If we use the MQTT client to subscribe to this MQTT topic, we can see the following information when the NSPH01 uplink data. 290 290 ... ... @@ -291,48 +291,24 @@ 291 291 [[image:image-20220907153902-15.png||height="581" width="804"]] 292 292 293 293 294 -((( 295 295 The payload is ASCII string, representative same HEX: 296 -))) 297 297 298 -((( 299 - 300 -))) 285 +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: 301 301 302 -((( 303 -**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__//(%%)** 304 -))) 287 +* (% style="color:red" %)Device ID: 0xf868411056754138 = f868411056754138 288 +* (% style="color:blue" %)Version: 0x0064=100=1.0.0 289 +* (% style="color:green" %)BAT: 0x0c78 = 3192 mV = 3.192V 290 +* (% style="color:red" %)Singal: 0x17 = 23 291 +* (% style="color:blue" %)Mod: 0x01 = 1 292 +* (% style="color:green" %)Interrupt: 0x00= 0 293 +* Soil PH: 0x0225= 549 = 5.49 294 +* Soil Temperature: 0x010B =267=26.7 °C 295 +* Time stamp : 0x6315537b =1662342011 ([[Unix Epoch Time>>url:http://www.epochconverter.com/]]) 296 +* Soil Temperature,Soil PH,Time stamp : 010b0226631550fb 297 +* (% style="color:red" %)8 sets of recorded data: Temperature,Soil PH,Time stamp : 010e022663154d77,....... 305 305 306 -((( 307 - 308 308 309 -**where:** 310 -))) 311 311 312 -* (% style="color:#037691" %)**Device ID:**(%%)** **0xf868411056754138 = f868411056754138 313 - 314 -* (% style="color:#037691" %)**Version:** (%%) 0x0064=100=1.0.0 315 - 316 -* (% style="color:#037691" %)**BAT:** (%%) 0x0c78 = 3192 mV = 3.192V 317 - 318 -* (% style="color:#037691" %)**Singal:** (%%)0x17 = 23 319 - 320 -* (% style="color:#037691" %)**Mod:** (%%) 0x01 = 1 321 - 322 -* (% style="color:#037691" %)**Interrupt:**(%%) 0x00= 0 323 - 324 -* (% style="color:#037691" %)**Soil PH:** (%%) 0x0225= 549 = 5.49 325 - 326 -* (% style="color:#037691" %)**Soil Temperature:**(%%) 0x010b =267=26.7 °C 327 - 328 -* (% style="color:#037691" %)**Time stamp :** (%%) 0x6315537b =1662342011 ([[Unix Epoch Time>>url:http://www.epochconverter.com/]]) 329 - 330 -* (% style="color:#037691" %)**Soil Temperature,Soil PH,Time stamp : **(%%) 010b0226631550fb 331 - 332 -* (% style="color:#037691" %)**8 sets of recorded data:**(%%) Temperature,Soil PH,Time stamp : 010e022663154d77,....... 333 - 334 - 335 - 336 336 == 2.4 Payload Explanation and Sensor Interface == 337 337 338 338 ... ... @@ -396,9 +396,9 @@ 396 396 397 397 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. 398 398 399 -For example, if the data you get from the register is (% style="color:blue" %)**__0x05 0xDC__**(%%), the PH content in the soil is364 +For example, if the data you get from the register is **__0x05 0xDC__**, the PH content in the soil is 400 400 401 - (% style="color:blue" %)**0229(H) = 549(D) /100 = 5.49.**366 +**0229(H) = 549(D) /100 = 5.49.** 402 402 403 403 404 404 ... ... @@ -405,9 +405,8 @@ 405 405 === 2.4.6 Soil Temperature === 406 406 407 407 408 -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 is373 +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 409 409 410 - 411 411 **Example**: 412 412 413 413 If payload is 0105H: ((0x0105 & 0x8000)>>15 === 0),temp = 0105(H)/10 = 26.1 °C ... ... @@ -436,9 +436,8 @@ 436 436 437 437 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. 438 438 403 +Example: 439 439 440 -**Example:** 441 - 442 442 0x(00): Normal uplink packet. 443 443 444 444 0x(01): Interrupt Uplink Packet. ... ... @@ -498,6 +498,7 @@ 498 498 499 499 500 500 464 + 501 501 == 2.7 Installation and Maintain == 502 502 503 503 ... ... @@ -586,12 +586,9 @@ 586 586 * (% 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) 587 587 * (% 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. 588 588 589 - The diagram below explains the relationship between TR, NOUD, and TDC more clearly**:** 590 590 591 -[[image:image-20221009000933-1.png||height="750" width="1043"]] 592 592 593 593 594 - 595 595 == 2.10 Read or Clear cached data == 596 596 597 597 ... ... @@ -598,8 +598,11 @@ 598 598 (% style="color:#037691" %)**➢ AT Command:** 599 599 600 600 * (% style="color:blue" %)**AT+CDP** (%%) ~/~/ Read cached data 601 -* (% style="color:blue" %)**AT+CDP=0** 562 +* (% style="color:blue" %)**AT+CDP=0** (%%) ~/~/ Clear cached data 602 602 564 + 565 + 566 + 603 603 [[image:image-20220907154700-19.png]] 604 604 605 605 ... ... @@ -619,7 +619,7 @@ 619 619 == 2.12 Firmware Change Log == 620 620 621 621 622 -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]]586 +Download URL & Firmware Change log: [[https:~~/~~/www.dropbox.com/sh/1zmcakvbkf24f8x/AACmq2dZ3iRB9F1nVWeEB9Moa?dl=0>>url:https://www.dropbox.com/sh/1zmcakvbkf24f8x/AACmq2dZ3iRB9F1nVWeEB9Moa?dl=0]] 623 623 624 624 Upgrade Instruction: [[Upgrade Firmware>>||anchor="H5.1200BHowtoUpgradeFirmware"]] 625 625 ... ... @@ -843,10 +843,8 @@ 843 843 844 844 **Dimension and weight**: 845 845 846 -* Device Size: cm 847 -* Device Weight: g 848 -* Package Size / pcs : cm 849 -* Weight / pcs : g 810 +* Size: 195 x 125 x 55 mm 811 +* Weight: 420g 850 850 851 851 852 852
- 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