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, 10 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -74,7 +74,6 @@ 74 74 * - B20 @H-FDD: 800MHz 75 75 * - B28 @H-FDD: 700MHz 76 76 77 - 78 78 (% style="color:#037691" %)**Battery:** 79 79 80 80 * Li/SOCI2 un-chargeable battery ... ... @@ -83,11 +83,10 @@ 83 83 * Max continuously current: 130mA 84 84 * Max boost current: 2A, 1 second 85 85 86 - 87 87 (% style="color:#037691" %)**Power Consumption** 88 88 89 89 * STOP Mode: 10uA @ 3.3v 90 -* Max transmit power: 350mA@3.3v 88 +* Max transmit power: [[350mA@3.3v>>mailto:350mA@3.3v]] 91 91 92 92 93 93 ... ... @@ -113,9 +113,8 @@ 113 113 114 114 115 115 114 += 2. Use NDDS75 to communicate with IoT Server = 116 116 117 -= 2. Use NSE01 to communicate with IoT Server = 118 - 119 119 == 2.1 How it works == 120 120 121 121 ((( ... ... @@ -138,14 +138,13 @@ 138 138 ))) 139 139 140 140 141 -== 2.2 Configure the NS E01==138 +== 2.2 Configure the NDDS75 == 142 142 143 143 144 144 === 2.2.1 Test Requirement === 145 145 146 - 147 147 ((( 148 -To use NS E01in your city, make sure meet below requirements:144 +To use NDDS75 in your city, make sure meet below requirements: 149 149 ))) 150 150 151 151 * Your local operator has already distributed a NB-IoT Network there. ... ... @@ -153,11 +153,11 @@ 153 153 * Your operator is able to distribute the data received in their NB-IoT network to your IoT server. 154 154 155 155 ((( 156 -Below figure shows our testing structure. Here we have NB-IoT network coverage by China Mobile, the band they use is B8. The E01will 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 server152 +Below figure shows our testing structure. Here we have NB-IoT network coverage by China Mobile, the band they use is B8. The NDDS75 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 157 157 ))) 158 158 159 159 160 -[[image:16572 49419225-449.png]]156 +[[image:1657328756309-230.png]] 161 161 162 162 163 163 ... ... @@ -172,18 +172,19 @@ 172 172 ))) 173 173 174 174 175 -[[image:16572 49468462-536.png]]171 +[[image:1657328884227-504.png]] 176 176 177 177 178 178 179 -=== 2.2.3 Connect USB – TTL to NS E01to configure it ===175 +=== 2.2.3 Connect USB – TTL to NDDS75 to configure it === 180 180 181 181 ((( 182 182 ((( 183 -User need to configure NS E01via serial port to set the (% style="color:blue" %)**Server Address** / **Uplink Topic** (%%)to define where and how-to uplink packets. NSE01support AT Commands, user can use a USB to TTL adapter to connect to NSE01and use AT Commands to configure it, as below.179 +User need to configure NDDS75 via serial port to set the (% style="color:blue" %)**Server Address** / **Uplink Topic** (%%)to define where and how-to uplink packets. NDDS75 support AT Commands, user can use a USB to TTL adapter to connect to NDDS75 and use AT Commands to configure it, as below. 184 184 ))) 185 185 ))) 186 186 183 +[[image:image-20220709092052-2.png]] 187 187 188 188 **Connection:** 189 189 ... ... @@ -203,13 +203,13 @@ 203 203 * Flow Control: (% style="color:green" %)**None** 204 204 205 205 ((( 206 -Make sure the switch is in FLASH position, then power on device by connecting the jumper on NS E01. NSE01will output system info once power on as below, we can enter the (% style="color:green" %)**password: 12345678**(%%) to access AT Command input.203 +Make sure the switch is in FLASH position, then power on device by connecting the jumper on NDDS75. NDDS75 will output system info once power on as below, we can enter the (% style="color:green" %)**password: 12345678**(%%) to access AT Command input. 207 207 ))) 208 208 209 -[[image: image-20220708110657-3.png]]206 +[[image:1657329814315-101.png]] 210 210 211 211 ((( 212 -(% style="color:red" %)Note: the valid AT Commands can be found at: (%%)[[http:~~/~~/www.dragino.com/downloads/index.php?dir=NB-IoT/NS E01/>>url:http://www.dragino.com/downloads/index.php?dir=NB-IoT/NBSN50/]]209 +(% style="color:red" %)Note: the valid AT Commands can be found at: (%%)[[https:~~/~~/www.dragino.com/downloads/index.php?dir=NB-IoT/NDDS75/>>url:https://www.dragino.com/downloads/index.php?dir=NB-IoT/NDDS75/]] 213 213 ))) 214 214 215 215 ... ... @@ -227,48 +227,44 @@ 227 227 228 228 For parameter description, please refer to AT command set 229 229 230 -[[image:1657 249793983-486.png]]227 +[[image:1657330452568-615.png]] 231 231 232 232 233 -After configure the server address and (% style="color:green" %)**reset the device**(%%) (via AT+ATZ ), NS E01will start to uplink sensor values to CoAP server.230 +After configure the server address and (% style="color:green" %)**reset the device**(%%) (via AT+ATZ ), NDDS75 will start to uplink sensor values to CoAP server. 234 234 235 -[[image:1657 249831934-534.png]]232 +[[image:1657330472797-498.png]] 236 236 237 237 238 238 239 239 === 2.2.5 Use UDP protocol to uplink data(Default protocol) === 240 240 241 -This feature is supported since firmware version v1.0.1 242 242 243 - 244 244 * (% style="color:blue" %)**AT+PRO=2 ** (%%) ~/~/ Set to use UDP protocol to uplink 245 245 * (% style="color:blue" %)**AT+SERVADDR=120.24.4.116,5601 ** (%%) ~/~/ to set UDP server address and port 246 246 * (% style="color:blue" %)**AT+CFM=1 ** (%%) ~/~/If the server does not respond, this command is unnecessary 247 247 248 -[[image:1657 249864775-321.png]]243 +[[image:1657330501006-241.png]] 249 249 250 250 251 -[[image:1657 249930215-289.png]]246 +[[image:1657330533775-472.png]] 252 252 253 253 254 254 255 255 === 2.2.6 Use MQTT protocol to uplink data === 256 256 257 -This feature is supported since firmware version v110 258 258 259 - 260 260 * (% style="color:blue" %)**AT+PRO=3 ** (%%) ~/~/Set to use MQTT protocol to uplink 261 261 * (% style="color:blue" %)**AT+SERVADDR=120.24.4.116,1883 ** (%%) ~/~/Set MQTT server address and port 262 262 * (% style="color:blue" %)**AT+CLIENT=CLIENT ** (%%)~/~/Set up the CLIENT of MQTT 263 263 * (% style="color:blue" %)**AT+UNAME=UNAME **(%%)~/~/Set the username of MQTT 264 264 * (% style="color:blue" %)**AT+PWD=PWD **(%%)~/~/Set the password of MQTT 265 -* (% style="color:blue" %)**AT+PUBTOPIC=NS E01_PUB266 -* (% style="color:blue" %)**AT+SUBTOPIC=NS E01_SUB **(%%)258 +* (% style="color:blue" %)**AT+PUBTOPIC=NDDS75_PUB **(%%)~/~/Set the sending topic of MQTT 259 +* (% style="color:blue" %)**AT+SUBTOPIC=NDDS75_SUB **(%%) ~/~/Set the subscription topic of MQTT 267 267 268 268 [[image:1657249978444-674.png]] 269 269 270 270 271 -[[image:16572 49990869-686.png]]264 +[[image:1657330723006-866.png]] 272 272 273 273 274 274 ((( ... ... @@ -279,16 +279,14 @@ 279 279 280 280 === 2.2.7 Use TCP protocol to uplink data === 281 281 282 -This feature is supported since firmware version v110 283 283 284 - 285 285 * (% style="color:blue" %)**AT+PRO=4 ** (%%) ~/~/ Set to use TCP protocol to uplink 286 286 * (% style="color:blue" %)**AT+SERVADDR=120.24.4.116,5600 **(%%) ~/~/ to set TCP server address and port 287 287 288 -[[image: 1657250217799-140.png]]279 +[[image:image-20220709093918-1.png]] 289 289 290 290 291 -[[image: 1657250255956-604.png]]282 +[[image:image-20220709093918-2.png]] 292 292 293 293 294 294 ... ... @@ -310,36 +310,52 @@ 310 310 311 311 == 2.3 Uplink Payload == 312 312 313 -In this mode, uplink payload includes in total 1 8bytes304 +In this mode, uplink payload includes in total 14 bytes 314 314 306 + 315 315 (% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:510px" %) 316 316 |=(% style="width: 60px;" %)((( 317 317 **Size(bytes)** 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"]]310 +)))|=(% style="width: 50px;" %)**6**|=(% style="width: 25px;" %)2|=(% style="width: 25px;" %)**2**|=(% style="width: 70px;" %)**1**|=(% style="width: 60px;" %)**2**|=(% style="width: 50px;" %)**1** 311 +|(% 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" %)[[Distance (unit: mm)>>||anchor="H2.4.5A0SoilMoisture"]]|(% style="width:80px" %)[[Interrupt>>||anchor="H2.4.8A0DigitalInterrupt"]] 320 320 321 321 ((( 322 -If we use the MQTT client to subscribe to this MQTT topic, we can see the following information when the NS E01 uplink data.314 +If we use the MQTT client to subscribe to this MQTT topic, we can see the following information when the NDDS751 uplink data. 323 323 ))) 324 324 325 325 326 -[[image: image-20220708111918-4.png]]318 +[[image:1657331036973-987.png]] 327 327 328 - 320 +((( 329 329 The payload is ASCII string, representative same HEX: 322 +))) 330 330 331 -0x72403155615900640c7817075e0a8c02f900 where: 324 +((( 325 +0x72403155615900640c6c19029200 where: 326 +))) 332 332 333 -* Device ID: 0x 724031556159 = 724031556159 334 -* Version: 0x0064=100=1.0.0 328 +* ((( 329 +Device ID: 0x724031556159 = 724031556159 330 +))) 331 +* ((( 332 +Version: 0x0064=100=1.0.0 333 +))) 335 335 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 335 +* ((( 336 +BAT: 0x0c6c = 3180 mV = 3.180V 337 +))) 338 +* ((( 339 +Signal: 0x19 = 25 340 +))) 341 +* ((( 342 +Distance: 0x0292= 658 mm 343 +))) 344 +* ((( 345 +Interrupt: 0x00 = 0 346 +))) 342 342 348 + 349 + 343 343 == 2.4 Payload Explanation and Sensor Interface == 344 344 345 345 ... ... @@ -362,7 +362,7 @@ 362 362 ))) 363 363 364 364 ((( 365 -The Device ID is stored in a none-erase area, Upgrade the firmware or run AT+FDR won't erase Device ID. 372 +The Device ID is stored in a none-erase area, Upgrade the firmware or run **AT+FDR** won't erase Device ID. 366 366 ))) 367 367 368 368 ... ... @@ -374,7 +374,7 @@ 374 374 ))) 375 375 376 376 ((( 377 -For example: 0x00 64 : this device is NS E01with firmware version 1.0.0.384 +For example: 0x00 64 : this device is NDDS75 with firmware version 1.0.0. 378 378 ))) 379 379 380 380 ... ... @@ -429,63 +429,17 @@ 429 429 430 430 === 2.4.5 Soil Moisture === 431 431 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 -))) 439 +Get the distance. Flat object range 280mm - 7500mm. 437 437 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 -))) 441 +For example, if the data you get from the register is **__0x0B 0x05__**, the distance between the sensor and the measured object is 443 443 444 444 ((( 445 - 446 -))) 447 - 448 448 ((( 449 -(% style="color:#4f81bd" %)**05 DC(H) = 1500(D)/100= 15%.**445 +(% style="color:#4f81bd" %)** 0B05(H) = 2821(D) = 2821mm.** 450 450 ))) 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 458 458 ))) 459 459 460 460 ((( 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 -((( 489 489 490 490 ))) 491 491 ... ... @@ -493,10 +493,10 @@ 493 493 494 494 ))) 495 495 496 -=== 2.4. 8Digital Interrupt ===457 +=== 2.4.6 Digital Interrupt === 497 497 498 498 ((( 499 -Digital Interrupt refers to pin (% style="color:blue" %)**GPIO_EXTI**(%%), and there are different trigger methods. When there is a trigger, the NS E01will send a packet to the server.460 +Digital Interrupt refers to pin (% style="color:blue" %)**GPIO_EXTI**(%%), and there are different trigger methods. When there is a trigger, the NDDS75 will send a packet to the server. 500 500 ))) 501 501 502 502 ((( ... ... @@ -527,10 +527,10 @@ 527 527 528 528 529 529 530 -=== 2.4. 9+5V Output ===491 +=== 2.4.7 +5V Output === 531 531 532 532 ((( 533 -NS E01will enable +5V output before all sampling and disable the +5v after all sampling.494 +NDDS75 will enable +5V output before all sampling and disable the +5v after all sampling. 534 534 ))) 535 535 536 536
- 1657329814315-101.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +85.3 KB - Content
- 1657330452568-615.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +71.3 KB - Content
- 1657330472797-498.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +68.9 KB - Content
- 1657330501006-241.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +119.2 KB - Content
- 1657330533775-472.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +74.9 KB - Content
- 1657330723006-866.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +74.1 KB - Content
- 1657331036973-987.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +83.8 KB - Content
- image-20220709092052-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +247.3 KB - Content
- image-20220709093918-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +42.2 KB - Content
- image-20220709093918-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +61.9 KB - Content