Changes for page N95S31B -- NB-IoT Temperature & Humidity Sensor User Manual
Last modified by Mengting Qiu on 2024/04/02 16:44
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -143,7 +143,9 @@ 143 143 144 144 145 145 146 -=== 2.2.2 Insert SIM card === 146 +1. 147 +11. 148 +111. Insert SIM card 147 147 148 148 Insert the NB-IoT Card get from your provider. 149 149 ... ... @@ -154,10 +154,12 @@ 154 154 [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image004.gif]] 155 155 156 156 157 -=== 2.2.3 Connect USB – TTL to NSE01 to configure it === 159 +1. 160 +11. 161 +111. Connect USB – TTL to NSE01 to configure it 158 158 159 159 160 -User need to configure NSE01 via serial port to set the ** (% style="color:blue" %)Server Address** / **Uplink Topic**(%%)to define where and how-to uplink packets. NSE01 support AT Commands, user can use a USB to TTL adapter to connect to NSE01 and use AT Commands to configure it, as below.164 +User need to configure NSE01 via serial port to set the **Server Address** / **Uplink Topic** to define where and how-to uplink packets. NSE01 support AT Commands, user can use a USB to TTL adapter to connect to NSE01 and use AT Commands to configure it, as below. 161 161 162 162 163 163 ... ... @@ -164,24 +164,24 @@ 164 164 165 165 Connection: 166 166 167 - (% style="background-color:yellow" %)USB TTL GND <~-~-~-~-> GND171 +USB TTL GND <~-~-~-~-> GND 168 168 169 - (% style="background-color:yellow" %)USB TTL TXD <~-~-~-~-> UART_RXD173 +USB TTL TXD <~-~-~-~-> UART_RXD 170 170 171 - (% style="background-color:yellow" %)USB TTL RXD <~-~-~-~-> UART_TXD175 +USB TTL RXD <~-~-~-~-> UART_TXD 172 172 173 173 174 174 175 175 In the PC, use below serial tool settings: 176 176 177 -* Baud: ** (% style="background-color:green" %)9600**(%%)178 -* Data bits:** (% style="background-color:green" %)8**(%%)179 -* Stop bits: ** (% style="background-color:green" %)1**(%%)180 -* Parity: ** (% style="background-color:green" %)None**(%%)181 -* Flow Control: ** (% style="background-color:green" %)None**181 +* Baud: **9600** 182 +* Data bits:** 8** 183 +* Stop bits: **1** 184 +* Parity: **None** 185 +* Flow Control: **None** 182 182 183 183 184 -Make sure the switch is in FLASH position, then power on device by connecting the jumper on NSE01. NSE01 will output system info once power on as below, we can enter the ** (% style="background-color:green" %)password: 12345678**(%%)to access AT Command input.188 +Make sure the switch is in FLASH position, then power on device by connecting the jumper on NSE01. NSE01 will output system info once power on as below, we can enter the **password: 12345678** to access AT Command input. 185 185 186 186 [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image009.jpg]] 187 187 ... ... @@ -190,20 +190,21 @@ 190 190 [[http:~~/~~/www.dragino.com/downloads/index.php?dir=NB-IoT/NSE01/>>url:http://www.dragino.com/downloads/index.php?dir=NB-IoT/NBSN50/]] 191 191 192 192 197 +1. 198 +11. 199 +111. Use CoAP protocol to uplink data 193 193 194 -=== 2.2.4 Use CoAP protocol to uplink data === 195 195 202 +Note: if you don’t have CoAP server, you can refer this link to set up one: 196 196 197 -(% style="background-color:red" %)Note: if you don’t have CoAP server, you can refer this link to set up one: 198 - 199 199 [[http:~~/~~/wiki.dragino.com/index.php?title=Set_up_CoAP_Server>>url:http://wiki.dragino.com/index.php?title=Set_up_CoAP_Server]] 200 200 201 201 202 202 Use below commands: 203 203 204 -* ** (% style="color:blue" %)AT+PRO=1**(%%)~/~/ Set to use CoAP protocol to uplink205 -* ** (% style="color:blue" %)AT+SERVADDR=120.24.4.116,5683 **(%%)~/~/ to set CoAP server address and port206 -* ** (% style="color:blue" %)AT+URI=5,11,"mqtt",11,"coap",12,"0",15,"c=text1",23,"0"** (%%)~/~/Set COAP resource path209 +* **AT+PRO=1** ~/~/ Set to use CoAP protocol to uplink 210 +* **AT+SERVADDR=120.24.4.116,5683 **~/~/ to set CoAP server address and port 211 +* **AT+URI=5,11,"mqtt",11,"coap",12,"0",15,"c=text1",23,"0" **~/~/Set COAP resource path 207 207 208 208 209 209 For parameter description, please refer to AT command set ... ... @@ -211,14 +211,15 @@ 211 211 [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image011.jpg]] 212 212 213 213 214 -After configure the server address and ** (% style="color:green" %)reset the device**(%%)(via AT+ATZ ), NSE01 will start to uplink sensor values to CoAP server.219 +After configure the server address and **reset the device** (via AT+ATZ ), NSE01 will start to uplink sensor values to CoAP server. 215 215 216 216 [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image013.jpg]] 217 217 223 +1. 224 +11. 225 +111. Use UDP protocol to uplink data(Default protocol) 218 218 219 -=== 2.2.5 Use UDP protocol to uplink data(Default protocol) === 220 220 221 - 222 222 This feature is supported since firmware version v1.0.1 223 223 224 224