<
From version < 44.2 >
edited by Xiaoling
on 2022/09/07 17:54
To version < 51.1 >
edited by Xiaoling
on 2022/09/12 14:40
>
Change comment: Uploaded new attachment "image-20220912144017-1.png", version {1}

Summary

Details

Page properties
Content
... ... @@ -1,36 +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 +**Table of Contents:**
4 4  
5 5  {{toc/}}
6 6  
7 7  
8 8  
9 -= 1. Introduction =
10 += 1.  Introduction =
10 10  
11 -== 1.1 ​What is NSPH01 Soil pH Sensor ==
12 12  
13 -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.
13 +== 1.1 What is NSPH01 Soil pH Sensor ==
14 14  
15 -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.
16 16  
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 +
17 17  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.
18 -\\NSPH01 supports different uplink methods include **TCP,MQTT,UDP and CoAP  **for different application requirement.
19 -\\NSPH01 is powered by  **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)
20 -\\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 operate support it, user needs to get a **NB-IoT SIM card** from local operator and install NSPH01 to get NB-IoT network connection.
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 -(% style="text-align:center" %)
25 +
23 23  [[image:image-20220907153151-1.png]]
24 24  
25 -(% style="text-align:center" %)
28 +
26 26  [[image:M_K`YF9`CAYAE\@}3T]FHT$9.png]]
27 27  
28 -== 1.2 Features ==
29 29  
32 +
33 +== 1.2  Features ==
34 +
35 +
30 30  * NB-IoT Bands: B1/B3/B8/B5/B20/B28 @H-FDD
31 31  * Monitor soil pH with temperature compensation.
32 32  * Monitor soil temperature
33 -* PH and Temperature alarm function
39 +* pH and Temperature alarm function
34 34  * Monitor Battery Level
35 35  * Support pH calibration by end user
36 36  * Uplink on periodically
... ... @@ -39,18 +39,22 @@
39 39  * IP68 rate for the Sensor Probe
40 40  * Ultra-Low Power consumption
41 41  * AT Commands to change parameters
42 -* Micro SIM card slot for NB-IoT SIM
48 +* Micro SIM card slot
43 43  * 8500mAh Battery for long term use
44 44  
51 +
52 +
45 45  == 1.3  Specification ==
46 46  
47 -**Common DC Characteristics:**
48 48  
56 +(% style="color:#037691" %)**Common DC Characteristics:**
57 +
49 49  * Supply Voltage: 2.1v ~~ 3.6v
50 50  * Operating Temperature: -40 ~~ 85°C
51 51  
52 -**NB-IoT Spec:**
53 53  
62 +(% style="color:#037691" %)**NB-IoT Spec:**
63 +
54 54  * - B1 @H-FDD: 2100MHz
55 55  * - B3 @H-FDD: 1800MHz
56 56  * - B8 @H-FDD: 900MHz
... ... @@ -58,10 +58,13 @@
58 58  * - B20 @H-FDD: 800MHz
59 59  * - B28 @H-FDD: 700MHz
60 60  
61 -== 1.4 Probe Specification ==
62 62  
63 -**Soil pH:**
64 64  
73 +== 1.4  Probe Specification ==
74 +
75 +
76 +(% style="color:#037691" %)**Soil pH:**
77 +
65 65  * Range: 3 ~~ 10 pH
66 66  * Resolution: 0.01 pH
67 67  * Accuracy: ±2% under (0~~50 ℃, Accuracy will poor under 0 due to frozen)
... ... @@ -69,8 +69,9 @@
69 69  * IP68 Protection
70 70  * Length: 3.5 meters
71 71  
72 -**Soil Temperature:**
73 73  
86 +(% style="color:#037691" %)**Soil Temperature:**
87 +
74 74  * Range -40℃~85℃
75 75  * Resolution: 0.1℃
76 76  * Accuracy: <±0.5℃(-10℃~40℃),<±0.8℃ (others)
... ... @@ -77,52 +77,65 @@
77 77  * IP68 Protection
78 78  * Length: 3.5 meters
79 79  
94 +
95 +
80 80  == 1.5 ​Applications ==
81 81  
82 82  * Smart Agriculture
83 83  
100 +
101 +
102 +
84 84  == 1.6 Pin mapping and power on ==
85 85  
86 -(% style="text-align:center" %)
105 +
87 87  [[image:image-20220907153300-2.png]]
88 88  
89 89  
109 +
90 90  = 2.  Use NSPH01 to communicate with IoT Server =
91 91  
112 +
92 92  == 2.1  How it works ==
93 93  
115 +
94 94  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.
95 95  
96 96  The diagram below shows the working flow in default firmware of NSPH01:
97 97  
98 -(% style="text-align:center" %)
120 +
99 99  [[image:image-20220907153416-3.png]]
100 100  
123 +
124 +
101 101  == 2.2 ​ Configure the NSPH01 ==
102 102  
127 +
103 103  === 2.2.1 Test Requirement ===
104 104  
105 -To use NSPH01 in your city, make sure meet below requirements:
106 106  
131 +To use NSPH01 in the field, make sure meet below requirements:
132 +
107 107  * Your local operator has already distributed a NB-IoT Network there.
108 108  * The local NB-IoT network used the band that NSPH01 supports.
109 109  * Your operator is able to distribute the data received in their NB-IoT network to your IoT server.
110 110  
111 -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
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.
112 112  
113 -(% style="text-align:center" %)
139 +
114 114  [[image:image-20220907153445-4.png]]
115 115  
116 116  
143 +
117 117  === 2.2.2 Insert SIM card ===
118 118  
119 -Insert the NB-IoT Card get from your provider.
120 120  
121 -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(%%))
122 122  
123 -(% style="text-align:center" %)
124 124  [[image:image-20220907153505-5.png]]
125 125  
151 +
152 +
126 126  === 2.2.3 Connect USB – TTL to NSPH01 to configure it ===
127 127  
128 128  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.
... ... @@ -221,13 +221,12 @@
221 221  
222 222  === 2.2.8 Change Update Interval ===
223 223  
224 -User can use below command to change the **uplink interval**.
251 +Users can use the below command to change the **uplink interval**.
225 225  
226 -* **AT+TDC=600      ** ~/~/ Set Update Interval to 600s
253 +* **AT+TDC=7200      ** ~/~/ Set Update Interval to 7200s (2 hour)
227 227  
228 -**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).**
229 229  
230 -**~1. By default, the device will send an uplink message every 2 hour.**
231 231  
232 232  == 2.3  Uplink Payload ==
233 233  
... ... @@ -235,10 +235,6 @@
235 235  
236 236  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.
237 237  
238 -(% style="width:934px" %)
239 -|(% 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   
240 -|(% 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  .....
241 -
242 242  |**Size(bytes)**|**8**|**2**|**2**|1|1|1|2|2|4|2|2|4
243 243  |**Value**|Device ID|Ver|BAT|Signal Strength|MOD|Interrupt|Soil PH|Soil Temperature|Time stamp|Soil Temperature|Soil PH|Time stamp  .....
244 244  
... ... @@ -250,20 +250,19 @@
250 250  
251 251  The payload is ASCII string, representative same HEX:
252 252  
253 -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:
254 254  
255 -* Device ID: 0xf868411056754138 = f868411056754138
256 -* Version: 0x0064=100=1.0.0
257 -
258 -* BAT: 0x0c78 = 3192 mV = 3.192V
259 -* Singal: 0x17 = 23
260 -* Mod: 0x01 = 1
261 -* 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
262 262  * Soil PH: 0x0225= 549 = 5.49
263 263  * Soil Temperature:0x010B =267=26.7 °C
264 -* Time stamp : 0x6315537b =1662342011
285 +* Time stamp : 0x6315537b =1662342011  ([[Unix Epoch Time>>url:http://www.epochconverter.com/]])
265 265  * Soil Temperature,Soil PH,Time stamp : 010b0226631550fb
266 -* 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,.......
267 267  
268 268  == 2.4  Payload Explanation and Sensor Interface ==
269 269  
... ... @@ -470,9 +470,9 @@
470 470  
471 471  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)
472 472  
473 -
474 474  AT+NOUD=8  ~/~/The device uploads 8 sets of recorded data by default. Up to 32 sets of record data can be uploaded.
475 475  
496 +
476 476  == 2.10 Read or Clear cached data ==
477 477  
478 478  ➢ AT Command:
... ... @@ -507,7 +507,7 @@
507 507  
508 508  The battery is designed to last for several years depends on the actually use environment and update interval. 
509 509  
510 -The battery related documents as below:
531 +The battery-related documents as below:
511 511  
512 512  * [[Battery Dimension>>url:http://www.dragino.com/downloads/index.php?dir=datasheet/Battery/ER26500/]]
513 513  * [[Lithium-Thionyl Chloride Battery datasheet>>url:http://www.dragino.com/downloads/index.php?dir=datasheet/Battery/ER26500/]]
... ... @@ -595,13 +595,18 @@
595 595  
596 596  AT+TR      : Get or Set record time"
597 597  
619 +AT+APN     : Get or set the APN
598 598  
599 -AT+NOUD      : Get or Set the number of data to be uploaded
621 +AT+FBAND   : Get or Set whether to automatically modify the frequency band
600 600  
623 +AT+DNSCFG  : Get or Set DNS Server
601 601  
602 -AT+CDP     : Read or Clear cached data
625 +AT+GETSENSORVALUE   : Returns the current sensor measurement
603 603  
627 +AT+NOUD      : Get or Set the number of data to be uploaded
604 604  
629 +AT+CDP     : Read or Clear cached data
630 +
605 605  AT+TEMPALARM      : Get or Set alarm of temp
606 606  
607 607  AT+PHALARM     : Get or Set alarm of PH
... ... @@ -667,7 +667,7 @@
667 667  
668 668  **Package Includes**:
669 669  
670 -* NSPH01 NB-IoT Soil Moisture & EC Sensor x 1
696 +* NSPH01 NB-IoT pH Sensor x 1
671 671  * External antenna x 1
672 672  
673 673  **Dimension and weight**:
image-20220912144017-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +149.6 KB
Content
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0