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)
-
Attachments (0 modified, 0 added, 8 removed)
Details
- Page properties
-
- Content
-
... ... @@ -74,6 +74,7 @@ 74 74 * - B20 @H-FDD: 800MHz 75 75 * - B28 @H-FDD: 700MHz 76 76 77 + 77 77 (% style="color:#037691" %)**Battery:** 78 78 79 79 * Li/SOCI2 un-chargeable battery ... ... @@ -82,11 +82,15 @@ 82 82 * Max continuously current: 130mA 83 83 * Max boost current: 2A, 1 second 84 84 86 + 85 85 (% style="color:#037691" %)**Power Consumption** 86 86 87 87 * STOP Mode: 10uA @ 3.3v 88 88 * Max transmit power: 350mA@3.3v 89 89 92 + 93 + 94 + 90 90 == 1.4 Applications == 91 91 92 92 * Smart Buildings & Home Automation ... ... @@ -108,8 +108,9 @@ 108 108 109 109 110 110 111 -= 2. Use NDDS75 to communicate with IoT Server = 112 112 117 += 2. Use NSE01 to communicate with IoT Server = 118 + 113 113 == 2.1 How it works == 114 114 115 115 ((( ... ... @@ -132,13 +132,14 @@ 132 132 ))) 133 133 134 134 135 -== 2.2 Configure the N DDS75==141 +== 2.2 Configure the NSE01 == 136 136 137 137 138 138 === 2.2.1 Test Requirement === 139 139 146 + 140 140 ((( 141 -To use N DDS75in your city, make sure meet below requirements:148 +To use NSE01 in your city, make sure meet below requirements: 142 142 ))) 143 143 144 144 * Your local operator has already distributed a NB-IoT Network there. ... ... @@ -146,11 +146,11 @@ 146 146 * Your operator is able to distribute the data received in their NB-IoT network to your IoT server. 147 147 148 148 ((( 149 -Below figure shows our testing structure. Here we have NB-IoT network coverage by China Mobile, the band they use is B8. The DDS75will use CoAP((% style="color:red" %)120.24.4.116:5683)(%%) or raw UDP((% style="color:red" %)120.24.4.116:5601)(%%) or MQTT((% style="color:red" %)120.24.4.116:1883)(%%)or TCP((% style="color:red" %)120.24.4.116:5600)(%%)protocol to send data to the test server156 +Below figure shows our testing structure. Here we have NB-IoT network coverage by China Mobile, the band they use is B8. The NSE01 will use CoAP((% style="color:red" %)120.24.4.116:5683)(%%) or raw UDP((% style="color:red" %)120.24.4.116:5601)(%%) or MQTT((% style="color:red" %)120.24.4.116:1883)(%%)or TCP((% style="color:red" %)120.24.4.116:5600)(%%)protocol to send data to the test server 150 150 ))) 151 151 152 152 153 -[[image:1657 328756309-230.png]]160 +[[image:1657249419225-449.png]] 154 154 155 155 156 156 ... ... @@ -165,19 +165,18 @@ 165 165 ))) 166 166 167 167 168 -[[image:1657 328884227-504.png]]175 +[[image:1657249468462-536.png]] 169 169 170 170 171 171 172 -=== 2.2.3 Connect USB – TTL to N DDS75to configure it ===179 +=== 2.2.3 Connect USB – TTL to NSE01 to configure it === 173 173 174 174 ((( 175 175 ((( 176 -User need to configure N DDS75via serial port to set the (% style="color:blue" %)**Server Address** / **Uplink Topic** (%%)to define where and how-to uplink packets. NDDS75support AT Commands, user can use a USB to TTL adapter to connect to NDDS75and use AT Commands to configure it, as below.183 +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. 177 177 ))) 178 178 ))) 179 179 180 -[[image:image-20220709092052-2.png]] 181 181 182 182 **Connection:** 183 183 ... ... @@ -197,13 +197,13 @@ 197 197 * Flow Control: (% style="color:green" %)**None** 198 198 199 199 ((( 200 -Make sure the switch is in FLASH position, then power on device by connecting the jumper on N DDS75. NDDS75will output system info once power on as below, we can enter the (% style="color:green" %)**password: 12345678**(%%) to access AT Command input.206 +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="color:green" %)**password: 12345678**(%%) to access AT Command input. 201 201 ))) 202 202 203 -[[image: 1657329814315-101.png]]209 +[[image:image-20220708110657-3.png]] 204 204 205 205 ((( 206 -(% style="color:red" %)Note: the valid AT Commands can be found at: (%%)[[http s:~~/~~/www.dragino.com/downloads/index.php?dir=NB-IoT/NDDS75/>>url:https://www.dragino.com/downloads/index.php?dir=NB-IoT/NDDS75/]]212 +(% style="color:red" %)Note: the valid AT Commands can be found at: (%%)[[http:~~/~~/www.dragino.com/downloads/index.php?dir=NB-IoT/NSE01/>>url:http://www.dragino.com/downloads/index.php?dir=NB-IoT/NBSN50/]] 207 207 ))) 208 208 209 209 ... ... @@ -221,44 +221,48 @@ 221 221 222 222 For parameter description, please refer to AT command set 223 223 224 -[[image:165733 0452568-615.png]]230 +[[image:1657249793983-486.png]] 225 225 226 226 227 -After configure the server address and (% style="color:green" %)**reset the device**(%%) (via AT+ATZ ), N DDS75will start to uplink sensor values to CoAP server.233 +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. 228 228 229 -[[image:165733 0472797-498.png]]235 +[[image:1657249831934-534.png]] 230 230 231 231 232 232 233 233 === 2.2.5 Use UDP protocol to uplink data(Default protocol) === 234 234 241 +This feature is supported since firmware version v1.0.1 235 235 243 + 236 236 * (% style="color:blue" %)**AT+PRO=2 ** (%%) ~/~/ Set to use UDP protocol to uplink 237 237 * (% style="color:blue" %)**AT+SERVADDR=120.24.4.116,5601 ** (%%) ~/~/ to set UDP server address and port 238 238 * (% style="color:blue" %)**AT+CFM=1 ** (%%) ~/~/If the server does not respond, this command is unnecessary 239 239 240 -[[image:1657 330501006-241.png]]248 +[[image:1657249864775-321.png]] 241 241 242 242 243 -[[image:16573 30533775-472.png]]251 +[[image:1657249930215-289.png]] 244 244 245 245 246 246 247 247 === 2.2.6 Use MQTT protocol to uplink data === 248 248 257 +This feature is supported since firmware version v110 249 249 259 + 250 250 * (% style="color:blue" %)**AT+PRO=3 ** (%%) ~/~/Set to use MQTT protocol to uplink 251 251 * (% style="color:blue" %)**AT+SERVADDR=120.24.4.116,1883 ** (%%) ~/~/Set MQTT server address and port 252 252 * (% style="color:blue" %)**AT+CLIENT=CLIENT ** (%%)~/~/Set up the CLIENT of MQTT 253 253 * (% style="color:blue" %)**AT+UNAME=UNAME **(%%)~/~/Set the username of MQTT 254 254 * (% style="color:blue" %)**AT+PWD=PWD **(%%)~/~/Set the password of MQTT 255 -* (% style="color:blue" %)**AT+PUBTOPIC=N DDS75_PUB **(%%)~/~/Set the sending topic of MQTT256 -* (% style="color:blue" %)**AT+SUBTOPIC=N DDS75_SUB **(%%) ~/~/Set the subscription topic of MQTT265 +* (% style="color:blue" %)**AT+PUBTOPIC=NSE01_PUB **(%%)~/~/Set the sending topic of MQTT 266 +* (% style="color:blue" %)**AT+SUBTOPIC=NSE01_SUB **(%%) ~/~/Set the subscription topic of MQTT 257 257 258 258 [[image:1657249978444-674.png]] 259 259 260 260 261 -[[image:1657 330723006-866.png]]271 +[[image:1657249990869-686.png]] 262 262 263 263 264 264 ((( ... ... @@ -269,14 +269,16 @@ 269 269 270 270 === 2.2.7 Use TCP protocol to uplink data === 271 271 282 +This feature is supported since firmware version v110 272 272 284 + 273 273 * (% style="color:blue" %)**AT+PRO=4 ** (%%) ~/~/ Set to use TCP protocol to uplink 274 274 * (% style="color:blue" %)**AT+SERVADDR=120.24.4.116,5600 **(%%) ~/~/ to set TCP server address and port 275 275 276 -[[image: image-20220709093918-1.png]]288 +[[image:1657250217799-140.png]] 277 277 278 278 279 -[[image: image-20220709093918-2.png]]291 +[[image:1657250255956-604.png]] 280 280 281 281 282 282 ... ... @@ -298,52 +298,36 @@ 298 298 299 299 == 2.3 Uplink Payload == 300 300 301 -In this mode, uplink payload includes in total 1 4bytes313 +In this mode, uplink payload includes in total 18 bytes 302 302 303 - 304 304 (% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:510px" %) 305 305 |=(% style="width: 60px;" %)((( 306 306 **Size(bytes)** 307 -)))|=(% style="width: 50px;" %)**6**|=(% style="width: 25px;" %)2|=(% style="width: 25px;" %)**2**|=(% style="width: 70px;" %)**1**|=(% style="width: 60px;" %)**2**|=(% style="width: 50px;" %)**1** 308 -|(% style="width:97px" %)**Value**|(% style="width:83px" %)[[Device ID>>||anchor="H2.4.1A0A0DeviceID"]]|(% style="width:41px" %)[[Ver>>||anchor="H2.4.2A0VersionInfo"]]|(% style="width:46px" %)[[BAT>>||anchor="H2.4.3A0BatteryInfo"]]|(% style="width:123px" %)[[Signal Strength>>||anchor="H2.4.4A0SignalStrength"]]|(% style="width:108px" %)[[ Distanceunit: mm)>>||anchor="H2.4.5A0SoilMoisture"]]|(% style="width:80px" %)[[Interrupt>>||anchor="H2.4.8A0DigitalInterrupt"]]318 +)))|=(% style="width: 50px;" %)**6**|=(% style="width: 25px;" %)2|=(% style="width: 25px;" %)**2**|=(% style="width: 70px;" %)**1**|=(% style="width: 60px;" %)**2**|=(% style="width: 80px;" %)**2**|=(% style="width: 90px;" %)**2**|=(% style="width: 50px;" %)**1** 319 +|(% style="width:97px" %)**Value**|(% style="width:83px" %)[[Device ID>>||anchor="H2.4.1A0A0DeviceID"]]|(% style="width:41px" %)[[Ver>>||anchor="H2.4.2A0VersionInfo"]]|(% style="width:46px" %)[[BAT>>||anchor="H2.4.3A0BatteryInfo"]]|(% style="width:123px" %)[[Signal Strength>>||anchor="H2.4.4A0SignalStrength"]]|(% style="width:108px" %)[[Soil Moisture>>||anchor="H2.4.5A0SoilMoisture"]]|(% style="width:133px" %)[[Soil Temperature>>||anchor="H2.4.6A0SoilTemperature"]]|(% style="width:159px" %)[[Soil Conductivity(EC)>>||anchor="H2.4.7A0SoilConductivity28EC29"]]|(% style="width:80px" %)[[Interrupt>>||anchor="H2.4.8A0DigitalInterrupt"]] 309 309 310 310 ((( 311 -If we use the MQTT client to subscribe to this MQTT topic, we can see the following information when the N DDS751 uplink data.322 +If we use the MQTT client to subscribe to this MQTT topic, we can see the following information when the NSE01 uplink data. 312 312 ))) 313 313 314 314 315 -[[image: 1657331036973-987.png]]326 +[[image:image-20220708111918-4.png]] 316 316 317 - (((328 + 318 318 The payload is ASCII string, representative same HEX: 319 -))) 320 320 321 -((( 322 -0x72403155615900640c6c19029200 where: 323 -))) 331 +0x72403155615900640c7817075e0a8c02f900 where: 324 324 325 -* ((( 326 -Device ID: 0x724031556159 = 724031556159 327 -))) 328 -* ((( 329 -Version: 0x0064=100=1.0.0 330 -))) 333 +* Device ID: 0x 724031556159 = 724031556159 334 +* Version: 0x0064=100=1.0.0 331 331 332 -* ((( 333 -BAT: 0x0c6c = 3180 mV = 3.180V 334 -))) 335 -* ((( 336 -Signal: 0x19 = 25 337 -))) 338 -* ((( 339 -Distance: 0x0292= 658 mm 340 -))) 341 -* ((( 342 -Interrupt: 0x00 = 0 343 -))) 336 +* BAT: 0x0c78 = 3192 mV = 3.192V 337 +* Singal: 0x17 = 23 338 +* Soil Moisture: 0x075e= 1886 = 18.86 % 339 +* Soil Temperature:0x0a8c =2700=27 °C 340 +* Soil Conductivity(EC) = 0x02f9 =761 uS /cm 341 +* Interrupt: 0x00 = 0 344 344 345 - 346 - 347 347 == 2.4 Payload Explanation and Sensor Interface == 348 348 349 349 ... ... @@ -366,7 +366,7 @@ 366 366 ))) 367 367 368 368 ((( 369 -The Device ID is stored in a none-erase area, Upgrade the firmware or run **AT+FDR**won't erase Device ID.365 +The Device ID is stored in a none-erase area, Upgrade the firmware or run AT+FDR won't erase Device ID. 370 370 ))) 371 371 372 372 ... ... @@ -378,7 +378,7 @@ 378 378 ))) 379 379 380 380 ((( 381 -For example: 0x00 64 : this device is N DDS75with firmware version 1.0.0.377 +For example: 0x00 64 : this device is NSE01 with firmware version 1.0.0. 382 382 ))) 383 383 384 384 ... ... @@ -433,17 +433,63 @@ 433 433 434 434 === 2.4.5 Soil Moisture === 435 435 436 -Get the distance. Flat object range 280mm - 7500mm. 432 +((( 433 +((( 434 +Get the moisture content of the soil. The value range of the register is 0-10000(Decimal), divide this value by 100 to get the percentage of moisture in the soil. 435 +))) 436 +))) 437 437 438 -For example, if the data you get from the register is **__0x0B 0x05__**, the distance between the sensor and the measured object is 438 +((( 439 +((( 440 +For example, if the data you get from the register is **__0x05 0xDC__**, the moisture content in the soil is 441 +))) 442 +))) 439 439 440 440 ((( 445 + 446 +))) 447 + 441 441 ((( 442 -(% style="color:#4f81bd" %)** B05(H) =2821(D) =2821mm.**449 +(% style="color:#4f81bd" %)**05DC(H) = 1500(D) /100 = 15%.** 443 443 ))) 451 + 452 + 453 + 454 +=== 2.4.6 Soil Temperature === 455 + 456 +((( 457 +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 444 444 ))) 445 445 446 446 ((( 461 +**Example**: 462 +))) 463 + 464 +((( 465 +If payload is 0105H: ((0x0105 & 0x8000)>>15 === 0),temp = 0105(H)/100 = 2.61 °C 466 +))) 467 + 468 +((( 469 +If payload is FF7EH: ((FF7E & 0x8000)>>15 ===1),temp = (FF7E(H)-FFFF(H))/100 = -1.29 °C 470 +))) 471 + 472 + 473 + 474 +=== 2.4.7 Soil Conductivity (EC) === 475 + 476 +((( 477 +Obtain (% style="color:#4f81bd" %)**__soluble salt concentration__**(%%) in soil or (% style="color:#4f81bd" %)**__soluble ion concentration in liquid fertilizer__**(%%) or (% style="color:#4f81bd" %)**__planting medium__**(%%). The value range of the register is 0 - 20000(Decimal)( Can be greater than 20000). 478 +))) 479 + 480 +((( 481 +For example, if the data you get from the register is __**0x00 0xC8**__, the soil conductivity is 00C8(H) = 200(D) = 200 uS/cm. 482 +))) 483 + 484 +((( 485 +Generally, the EC value of irrigation water is less than 800uS / cm. 486 +))) 487 + 488 +((( 447 447 448 448 ))) 449 449 ... ... @@ -451,10 +451,10 @@ 451 451 452 452 ))) 453 453 454 -=== 2.4. 6Digital Interrupt ===496 +=== 2.4.8 Digital Interrupt === 455 455 456 456 ((( 457 -Digital Interrupt refers to pin (% style="color:blue" %)**GPIO_EXTI**(%%), and there are different trigger methods. When there is a trigger, the N DDS75will send a packet to the server.499 +Digital Interrupt refers to pin (% style="color:blue" %)**GPIO_EXTI**(%%), and there are different trigger methods. When there is a trigger, the NSE01 will send a packet to the server. 458 458 ))) 459 459 460 460 ((( ... ... @@ -485,10 +485,10 @@ 485 485 486 486 487 487 488 -=== 2.4. 7+5V Output ===530 +=== 2.4.9 +5V Output === 489 489 490 490 ((( 491 -N DDS75will enable +5V output before all sampling and disable the +5v after all sampling.533 +NSE01 will enable +5V output before all sampling and disable the +5v after all sampling. 492 492 ))) 493 493 494 494
- 1657330452568-615.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -71.3 KB - Content
- 1657330472797-498.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -68.9 KB - Content
- 1657330501006-241.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -119.2 KB - Content
- 1657330533775-472.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -74.9 KB - Content
- 1657330723006-866.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -74.1 KB - Content
- 1657331036973-987.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -83.8 KB - Content
- image-20220709093918-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -42.2 KB - Content
- image-20220709093918-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -61.9 KB - Content