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,31 +1,42 @@ 1 1 (% style="text-align:center" %) 2 -[[image:)YK]Y_LZJIO]J2~~VA}OQJM2.png]] 2 +[[image:)YK]Y_LZJIO]J2~~VA}OQJM2.png||height="442" width="410"]] 3 3 4 - =1.Introduction=4 +**Table of Contents:** 5 5 6 - == 1.1 Whatis NSPH01 Soil pH Sensor ==6 +{{toc/}} 7 7 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 -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. 11 11 10 += 1. Introduction = 11 + 12 + 13 +== 1.1 What is NSPH01 Soil pH Sensor == 14 + 15 + 16 +The Dragino NSPH01 is a (% style="color:blue" %)**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. 17 + 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 + 12 12 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. 13 -\\NSPH01 supports different uplink methods include **TCP,MQTT,UDP and CoAP **for different application requirement. 14 -\\NSPH01 is powered by 15 -\\To use NSPH01, user needs to check if there is NB-IoT coverage in local area and with the bands NSPH01 supports. If the local operatesupport it, user needs to get a **NB-IoT SIM card**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. 16 16 17 - (% style="text-align:center" %)25 + 18 18 [[image:image-20220907153151-1.png]] 19 19 20 - (% style="text-align:center" %)28 + 21 21 [[image:M_K`YF9`CAYAE\@}3T]FHT$9.png]] 22 22 23 -== 1.2 Features == 24 24 32 + 33 +== 1.2 Features == 34 + 35 + 25 25 * NB-IoT Bands: B1/B3/B8/B5/B20/B28 @H-FDD 26 26 * Monitor soil pH with temperature compensation. 27 27 * Monitor soil temperature 28 -* PH and Temperature alarm function39 +* pH and Temperature alarm function 29 29 * Monitor Battery Level 30 30 * Support pH calibration by end user 31 31 * Uplink on periodically ... ... @@ -34,18 +34,22 @@ 34 34 * IP68 rate for the Sensor Probe 35 35 * Ultra-Low Power consumption 36 36 * AT Commands to change parameters 37 -* Micro SIM card slot for NB-IoT SIM48 +* Micro SIM card slot 38 38 * 8500mAh Battery for long term use 39 39 51 + 52 + 40 40 == 1.3 Specification == 41 41 42 -**Common DC Characteristics:** 43 43 56 +(% style="color:#037691" %)**Common DC Characteristics:** 57 + 44 44 * Supply Voltage: 2.1v ~~ 3.6v 45 45 * Operating Temperature: -40 ~~ 85°C 46 46 47 -**NB-IoT Spec:** 48 48 62 +(% style="color:#037691" %)**NB-IoT Spec:** 63 + 49 49 * - B1 @H-FDD: 2100MHz 50 50 * - B3 @H-FDD: 1800MHz 51 51 * - B8 @H-FDD: 900MHz ... ... @@ -53,10 +53,13 @@ 53 53 * - B20 @H-FDD: 800MHz 54 54 * - B28 @H-FDD: 700MHz 55 55 56 -== 1.4 Probe Specification == 57 57 58 -**Soil pH:** 59 59 73 +== 1.4 Probe Specification == 74 + 75 + 76 +(% style="color:#037691" %)**Soil pH:** 77 + 60 60 * Range: 3 ~~ 10 pH 61 61 * Resolution: 0.01 pH 62 62 * Accuracy: ±2% under (0~~50 ℃, Accuracy will poor under 0 due to frozen) ... ... @@ -64,8 +64,9 @@ 64 64 * IP68 Protection 65 65 * Length: 3.5 meters 66 66 67 -**Soil Temperature:** 68 68 86 +(% style="color:#037691" %)**Soil Temperature:** 87 + 69 69 * Range -40℃~85℃ 70 70 * Resolution: 0.1℃ 71 71 * Accuracy: <±0.5℃(-10℃~40℃),<±0.8℃ (others) ... ... @@ -72,52 +72,65 @@ 72 72 * IP68 Protection 73 73 * Length: 3.5 meters 74 74 94 + 95 + 75 75 == 1.5 Applications == 76 76 77 77 * Smart Agriculture 78 78 100 + 101 + 102 + 79 79 == 1.6 Pin mapping and power on == 80 80 81 - (% style="text-align:center" %)105 + 82 82 [[image:image-20220907153300-2.png]] 83 83 84 84 109 + 85 85 = 2. Use NSPH01 to communicate with IoT Server = 86 86 112 + 87 87 == 2.1 How it works == 88 88 115 + 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 91 91 The diagram below shows the working flow in default firmware of NSPH01: 92 92 93 - (% style="text-align:center" %)120 + 94 94 [[image:image-20220907153416-3.png]] 95 95 123 + 124 + 96 96 == 2.2 Configure the NSPH01 == 97 97 127 + 98 98 === 2.2.1 Test Requirement === 99 99 100 -To use NSPH01 in your city, make sure meet below requirements: 101 101 131 +To use NSPH01 in the field, make sure meet below requirements: 132 + 102 102 * Your local operator has already distributed a NB-IoT Network there. 103 103 * The local NB-IoT network used the band that NSPH01 supports. 104 104 * Your operator is able to distribute the data received in their NB-IoT network to your IoT server. 105 105 106 -Below figure shows our testing structure. 137 +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. 107 107 108 - (% style="text-align:center" %)139 + 109 109 [[image:image-20220907153445-4.png]] 110 110 111 111 143 + 112 112 === 2.2.2 Insert SIM card === 113 113 114 -Insert the NB-IoT Card get from your provider. 115 115 116 -User need to take out the NB-IoT module and insert the SIM card like below: 147 +User need to take out the NB-IoT module and insert the SIM card like below. ((% style="color:red" %) Pay attention to the direction(%%)) 117 117 118 -(% style="text-align:center" %) 119 119 [[image:image-20220907153505-5.png]] 120 120 151 + 152 + 121 121 === 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. ... ... @@ -216,13 +216,12 @@ 216 216 217 217 === 2.2.8 Change Update Interval === 218 218 219 -User can use below command to change the **uplink interval**. 251 +Users can use the below command to change the **uplink interval**. 220 220 221 -* **AT+TDC= 600 ** ~/~/ Set Update Interval to600s253 +* **AT+TDC=7200 ** ~/~/ Set Update Interval to 7200s (2 hour) 222 222 223 -**NOTE:** 255 +**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).** 224 224 225 -**~1. By default, the device will send an uplink message every 2 hour.** 226 226 227 227 == 2.3 Uplink Payload == 228 228 ... ... @@ -230,10 +230,6 @@ 230 230 231 231 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. 232 232 233 -(% style="width:934px" %) 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 -|(% 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 - 237 237 |**Size(bytes)**|**8**|**2**|**2**|1|1|1|2|2|4|2|2|4 238 238 |**Value**|Device ID|Ver|BAT|Signal Strength|MOD|Interrupt|Soil PH|Soil Temperature|Time stamp|Soil Temperature|Soil PH|Time stamp ..... 239 239 ... ... @@ -245,20 +245,19 @@ 245 245 246 246 The payload is ASCII string, representative same HEX: 247 247 248 -0xf86841105675413800640c781701000225010b6315537b010b0226631550fb010e022663154d7701110225631549f1011502246315466b01190223631542e5011d022163153f62011e022163153bde011e022163153859 where: 275 +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: 249 249 250 -* Device ID: 0xf868411056754138 = f868411056754138 251 -* Version: 0x0064=100=1.0.0 252 - 253 -* BAT: 0x0c78 = 3192 mV = 3.192V 254 -* Singal: 0x17 = 23 255 -* Mod: 0x01 = 1 256 -* Interrupt: 0x00= 0 277 +* (% style="color:red" %)Device ID: 0xf868411056754138 = f868411056754138 278 +* (% style="color:blue" %)Version: 0x0064=100=1.0.0 279 +* (% style="color:green" %)BAT: 0x0c78 = 3192 mV = 3.192V 280 +* (% style="color:red" %)Singal: 0x17 = 23 281 +* (% style="color:blue" %)Mod: 0x01 = 1 282 +* (% style="color:green" %)Interrupt: 0x00= 0 257 257 * Soil PH: 0x0225= 549 = 5.49 258 258 * Soil Temperature:0x010B =267=26.7 °C 259 -* Time stamp : 0x6315537b =1662342011 285 +* Time stamp : 0x6315537b =1662342011 ([[Unix Epoch Time>>url:http://www.epochconverter.com/]]) 260 260 * Soil Temperature,Soil PH,Time stamp : 010b0226631550fb 261 -* 8 sets of recorded data: Temperature,Soil PH,Time stamp : 010e022663154d77,....... 287 +* (% style="color:red" %)8 sets of recorded data: Temperature,Soil PH,Time stamp : 010e022663154d77,....... 262 262 263 263 == 2.4 Payload Explanation and Sensor Interface == 264 264 ... ... @@ -465,9 +465,9 @@ 465 465 466 466 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) 467 467 468 - 469 469 AT+NOUD=8 ~/~/The device uploads 8 sets of recorded data by default. Up to 32 sets of record data can be uploaded. 470 470 496 + 471 471 == 2.10 Read or Clear cached data == 472 472 473 473 ➢ AT Command: ... ... @@ -502,7 +502,7 @@ 502 502 503 503 The battery is designed to last for several years depends on the actually use environment and update interval. 504 504 505 -The battery 531 +The battery-related documents as below: 506 506 507 507 * [[Battery Dimension>>url:http://www.dragino.com/downloads/index.php?dir=datasheet/Battery/ER26500/]] 508 508 * [[Lithium-Thionyl Chloride Battery datasheet>>url:http://www.dragino.com/downloads/index.php?dir=datasheet/Battery/ER26500/]] ... ... @@ -590,13 +590,18 @@ 590 590 591 591 AT+TR : Get or Set record time" 592 592 619 +AT+APN : Get or set the APN 593 593 594 -AT+N OUDnumber ofdatabe uploaded621 +AT+FBAND : Get or Set whether to automatically modify the frequency band 595 595 623 +AT+DNSCFG : Get or Set DNS Server 596 596 597 -AT+ CDPad orClearcacheddata625 +AT+GETSENSORVALUE : Returns the current sensor measurement 598 598 627 +AT+NOUD : Get or Set the number of data to be uploaded 599 599 629 +AT+CDP : Read or Clear cached data 630 + 600 600 AT+TEMPALARM : Get or Set alarm of temp 601 601 602 602 AT+PHALARM : Get or Set alarm of PH ... ... @@ -662,7 +662,7 @@ 662 662 663 663 **Package Includes**: 664 664 665 -* NSPH01 NB-IoT SoilMoisture & ECSensor x 1696 +* NSPH01 NB-IoT pH Sensor x 1 666 666 * External antenna x 1 667 667 668 668 **Dimension and weight**: