<
From version < 51.1 >
edited by Xiaoling
on 2022/09/12 14:40
To version < 51.2 >
edited by Xiaoling
on 2022/09/12 14:57
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -48,8 +48,6 @@
48 48  * Micro SIM card slot
49 49  * 8500mAh Battery for long term use
50 50  
51 -
52 -
53 53  == 1.3  Specification ==
54 54  
55 55  
... ... @@ -58,7 +58,6 @@
58 58  * Supply Voltage: 2.1v ~~ 3.6v
59 59  * Operating Temperature: -40 ~~ 85°C
60 60  
61 -
62 62  (% style="color:#037691" %)**NB-IoT Spec:**
63 63  
64 64  * - B1 @H-FDD: 2100MHz
... ... @@ -68,8 +68,6 @@
68 68  * - B20 @H-FDD: 800MHz
69 69  * - B28 @H-FDD: 700MHz
70 70  
71 -
72 -
73 73  == 1.4  Probe Specification ==
74 74  
75 75  
... ... @@ -82,7 +82,6 @@
82 82  * IP68 Protection
83 83  * Length: 3.5 meters
84 84  
85 -
86 86  (% style="color:#037691" %)**Soil Temperature:**
87 87  
88 88  * Range -40℃~85℃
... ... @@ -91,15 +91,10 @@
91 91  * IP68 Protection
92 92  * Length: 3.5 meters
93 93  
94 -
95 -
96 96  == 1.5 ​Applications ==
97 97  
98 98  * Smart Agriculture
99 99  
100 -
101 -
102 -
103 103  == 1.6 Pin mapping and power on ==
104 104  
105 105  
... ... @@ -152,64 +152,75 @@
152 152  
153 153  === 2.2.3 Connect USB – TTL to NSPH01 to configure it ===
154 154  
155 -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.
156 156  
157 -**Connection:**
145 +User need to configure NSPH01 via serial port to set the (% style="color:blue" %)**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.
158 158  
159 - USB TTL GND <~-~-~-~-> GND
160 160  
161 - USB TTL TXD <~-~-~-~-> UART_RXD
148 +(% style="color:blue" %)**Connection:**
162 162  
163 - USB TTL RXD <~-~-~-~-> UART_TXD
150 +**~ (% style="background-color:yellow" %) USB TTL GND <~-~-~-~->  GND(%%)**
164 164  
152 +**~ (% style="background-color:yellow" %) USB TTL TXD  <~-~-~-~->  UART_RXD(%%)**
153 +
154 +**~ (% style="background-color:yellow" %) USB TTL RXD  <~-~-~-~->  UART_TXD(%%)**
155 +
156 +
165 165  In the PC, use below serial tool settings:
166 166  
167 -* Baud:  **9600**
168 -* Data bits:** 8**
169 -* Stop bits: **1**
170 -* Parity:  **None**
171 -* Flow Control: **None**
159 +* Baud:  (% style="color:green" %)**9600**
160 +* Data bits:**  (% style="color:green" %)8(%%)**
161 +* Stop bits:  (% style="color:green" %)**1**
162 +* Parity:  (% style="color:green" %)**None**
163 +* Flow Control: (% style="color:green" %)**None**
164 +*
172 172  
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 **password: 12345678** to access AT Command input.
166 +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 -(% style="text-align:center" %)
176 -[[image:image-20220907153529-6.png]]
177 177  
178 -**Note: the valid AT Commands can be found at:  **[[**https:~~/~~/www.dropbox.com/sh/351dwor6joz8nwh/AADn1BQaAAxLF_QMyU8NkW47a?dl=0**>>url:https://www.dropbox.com/sh/351dwor6joz8nwh/AADn1BQaAAxLF_QMyU8NkW47a?dl=0]]
169 +[[image:image-20220912144017-1.png]]
179 179  
171 +
172 +(% style="color:red" %)**Note: the valid AT Commands can be found at:**(%%)**  **[[**https:~~/~~/www.dropbox.com/sh/351dwor6joz8nwh/AADn1BQaAAxLF_QMyU8NkW47a?dl=0**>>url:https://www.dropbox.com/sh/351dwor6joz8nwh/AADn1BQaAAxLF_QMyU8NkW47a?dl=0]]
173 +
174 +
175 +
180 180  === 2.2.4 Use CoAP protocol to uplink data ===
181 181  
182 -**Note: if you don't have CoAP server, you can refer this link to set up one: **[[**http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/Set%20up%20CoAP%20Server/**>>url:http://wiki.dragino.com/xwiki/bin/view/Main/Set%20up%20CoAP%20Server/]]
183 183  
184 -**Use below commands:**
179 +(% style="color:red" %)**Note: if you don't have CoAP server, you can refer this link to set up one:**(%%)** **[[**http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/Set%20up%20CoAP%20Server/**>>url:http://wiki.dragino.com/xwiki/bin/view/Main/Set%20up%20CoAP%20Server/]]
185 185  
186 -* **AT+PRO=1**   ~/~/ Set to use CoAP protocol to uplink
187 -* **AT+SERVADDR=120.24.4.116,5683   ** ~/~/ to set CoAP server address and port
188 -* **AT+URI=5,11,"mqtt",11,"coap",12,"0",15,"c=text1",23,"0" ** ~/~/Set COAP resource path
189 189  
182 +(% style="color:blue" %)**Use below commands:**
183 +
184 +* (% style="color:#037691" %)**AT+PRO=1**                         (%%) ~/~/  Set to use CoAP protocol to uplink
185 +* (% style="color:#037691" %)**AT+SERVADDR=120.24.4.116,5683   ** (%%) ~/~/  to set CoAP server address and port
186 +* (% style="color:#037691" %)**AT+URI=5,11,"mqtt",11,"coap",12,"0",15,"c=text1",23,"0" ** (%%) ~/~/  Set COAP resource path
187 +
190 190  For parameter description, please refer to AT command set
191 191  
192 -(% style="text-align:center" %)
190 +
193 193  [[image:image-20220907153551-7.png||height="502" width="740"]]
194 194  
195 -After configure the server address and **reset the device** (via AT+ATZ ), NSPH01 will start to uplink sensor values to CoAP server.
196 196  
197 -(% style="text-align:center" %)
194 +After configure the server address and (% style="color:green" %)**reset the device (via AT+ATZ )**(%%), NSPH01 will start to uplink sensor values to CoAP server.
195 +
196 +
198 198  [[image:image-20220907153612-8.png||height="529" width="729"]]
199 199  
200 200  
200 +
201 201  === 2.2.5 Use UDP protocol to uplink data(Default protocol) ===
202 202  
203 +
203 203  This feature is supported since firmware version v1.0.1
205 +(%%)
206 +* **(% style="color:blue" %)AT+PRO=2   ** ~/~/  Set to use UDP protocol to uplink
207 +* **(% style="color:blue" %)AT+SERVADDR=120.24.4.116,5601   ** (%%) ~/~/  to set UDP server address and port
208 +* **(% style="color:blue" %)AT+CFM=1       ** (%%) ~/~/  If the server does not respond, this command is unnecessar
204 204  
205 -* **AT+PRO=2   ** ~/~/ Set to use UDP protocol to uplink
206 -* **AT+SERVADDR=120.24.4.116,5601   ** ~/~/ to set UDP server address and port
207 -* **AT+CFM=1       ** ~/~/If the server does not respond, this command is unnecessar
208 -
209 -(% style="text-align:center" %)
210 210  [[image:image-20220907153643-9.png||height="401" width="734"]]
211 211  
212 -(% style="text-align:center" %)
212 +
213 213  [[image:image-20220907153703-10.png||height="309" width="738"]]
214 214  
215 215  
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0