Changes for page NLMS01-NB-IoT Leaf Moisture Sensor User Manual
Last modified by Mengting Qiu on 2024/04/02 16:54
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 1 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Edwin1 +XWiki.Xiaoling - Content
-
... ... @@ -193,6 +193,8 @@ 193 193 * (% style="color:#037691" %)**AT+SERVADDR=120.24.4.116,5683 ** (%%) ~/~/ to set CoAP server address and port 194 194 * (% style="color:#037691" %)**AT+URI=5,11,"mqtt",11,"coap",12,"0",15,"c=text1",23,"0" ** (%%) ~/~/ Set COAP resource path 195 195 196 + 197 + 196 196 For parameter description, please refer to AT command set 197 197 198 198 [[image:image-20220907171221-9.png]] ... ... @@ -210,9 +210,11 @@ 210 210 This feature is supported since firmware version v1.0.1 211 211 212 212 * (% style="color:#037691" %)**AT+PRO=2 ** (%%) ~/~/ Set to use UDP protocol to uplink 213 -* (% style="color:#037691" %)**AT+SERVADDR=120.24.4.116,5601 215 +* (% style="color:#037691" %)**AT+SERVADDR=120.24.4.116,5601 ** (%%) ~/~/ to set UDP server address and port 214 214 * (% style="color:#037691" %)**AT+CFM=1 ** (%%) ~/~/ If the server does not respond, this command is unnecessary 215 215 218 + 219 + 216 216 [[image:image-20220907171221-11.png]] 217 217 218 218 ... ... @@ -234,6 +234,8 @@ 234 234 * (% style="color:#037691" %)**AT+PUBTOPIC=PUB ** (%%) ~/~/ Set the sending topic of MQTT 235 235 * (% style="color:#037691" %)**AT+SUBTOPIC=SUB ** (%%) ~/~/ Set the subscription topic of MQTT 236 236 241 + 242 + 237 237 [[image:image-20220907171221-13.png]] 238 238 239 239 ... ... @@ -254,6 +254,8 @@ 254 254 * (% style="color:#037691" %)**AT+PRO=4 ** (%%) ~/~/ Set to use TCP protocol to uplink 255 255 * (% style="color:#037691" %)**AT+SERVADDR=120.24.4.116,5600 ** (%%) ~/~/ to set TCP server address and port 256 256 263 + 264 + 257 257 [[image:image-20220907171221-15.png]] 258 258 259 259 ... ... @@ -270,6 +270,8 @@ 270 270 271 271 * (% style="color:#037691" %)**AT+TDC=7200 ** (%%) ~/~/ Set Update Interval to 7200s (2 hour) 272 272 281 + 282 + 273 273 (% style="color:red" %)**NOTE: By default, the device will send an uplink message every 2 hour. Each Uplink Include 8 set of records in this 2 hour (15 minute interval / record).** 274 274 275 275 ... ... @@ -286,6 +286,7 @@ 286 286 |(% style="width:96px" %)**Size(bytes)**|(% style="width:82px" %)**8**|(% style="width:42px" %)**2**|(% style="width:48px" %)**2**|(% style="width:124px" %)1|(% style="width:58px" %)1|(% style="width:82px" %)1|(% style="width:113px" %)2|(% style="width:134px" %)2|(% style="width:100px" %)4|(% style="width:137px" %)2|(% style="width:110px" %)2|(% style="width:122px" %)4 287 287 |(% style="width:96px" %)**Value**|(% style="width:82px" %)Device ID|(% style="width:42px" %)Ver|(% style="width:48px" %)BAT|(% style="width:124px" %)Signal Strength|(% style="width:58px" %)MOD|(% style="width:82px" %)Interrupt|(% style="width:113px" %)Leaf moisture|(% style="width:134px" %)Leaf Temperature|(% style="width:100px" %)Time stamp|(% style="width:137px" %)Leaf Temperature|(% style="width:110px" %)Leaf moisture|(% style="width:122px" %)Time stamp ..... 288 288 299 + 289 289 If we use the MQTT client to subscribe to this MQTT topic, we can see the following information when the NLMS01 uplink data. 290 290 291 291 ... ... @@ -294,22 +294,24 @@ 294 294 295 295 The payload is ASCII string, representative same HEX: 296 296 297 - **0x__f868411056754138__(% style="color:blue" %)__0064__(% style="color:green" %)__0c78__(% style="color:#00b0f0" %)__17__(% style="color:#7030a0" %)__01__(% style="color:#d60093" %)__00__(% style="color:#a14d07" %)__0225__ (% style="color:#0020b0" %) __010b__ (% style="color:#420042" %)__6315537b__ (% style="color:#663300" %)//__010b0226631550fb__ __010e022663154d77__//(%%)**308 +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:blue" %)**0225010b6315537b**010b0226631550fb**010e022663154d77**01110225631549f1**011502246315466b**01190223631542e5**011d022163153f62**011e022163153bde**011e022163153859**(%%)** **where: 298 298 299 -where: 300 - 301 -* Device ID: 0xf868411056754138 = f868411056754138 302 -* Version: 0x0064=100=1.0.0 303 -* BAT: 0x0c78 = 3192 mV = 3.192V 304 -* Singal: 0x17 = 23 305 -* Mod: 0x01 = 1 306 -* Interrupt: 0x00= 0 310 +* (% style="color:red" %)Device ID: 0xf868411056754138 = f868411056754138 311 +* (% style="color:blue" %)Version: 0x0064=100=1.0.0 312 +* (% style="color:green" %)BAT: 0x0c78 = 3192 mV = 3.192V 313 +* (% style="color:red" %)Singal: 0x17 = 23 314 +* (% style="color:blue" %)Mod: 0x01 = 1 315 +* (% style="color:green" %)Interrupt: 0x00= 0 307 307 * Leaf moisture: 0x0225= 549 = 54.9% 308 308 * Leaf Temperature:0x010B =267=26.7 °C 309 309 * Time stamp : 0x6315537b =1662342011 ([[Unix Epoch Time>>https://www.epochconverter.com/]]) 310 310 * Leaf Temperature, Leaf moisture,Time stamp : 010b0226631550fb 311 -* 8 sets of recorded data: Leaf Temperature, Leaf moisture,Time stamp : 010e022663154d77,....... 320 +* (% style="color:blue" %)8 sets of recorded data: Leaf Temperature, Leaf moisture,Time stamp : 010e022663154d77,....... 312 312 322 + 323 + 324 + 325 + 313 313 == 2.4 Payload Explanation and Sensor Interface == 314 314 315 315 ... ... @@ -318,10 +318,10 @@ 318 318 319 319 By default, the Device ID equal to the last 15 bits of IMEI. 320 320 321 -User can use (% style="color:#037691" %)**AT+DEUI**(%%)to set Device ID334 +User can use **AT+DEUI** to set Device ID 322 322 323 323 324 - (% style="color:blue" %)**Example**:337 +**Example:** 325 325 326 326 AT+DEUI=868411056754138 327 327 ... ... @@ -354,9 +354,8 @@ 354 354 355 355 NB-IoT Network signal Strength. 356 356 370 +**Ex1: 0x1d = 29** 357 357 358 -(% style="color:blue" %)**Ex1: 0x1d = 29** 359 - 360 360 **0** -113dBm or less 361 361 362 362 **1** -111dBm ... ... @@ -372,11 +372,11 @@ 372 372 === 2.4.5 Leaf moisture === 373 373 374 374 375 -Get the moisture of the (% style="color:#037691" %)**Leaf**(%%). The value range of the register is 300-1000(Decimal), divide this value by 100 to get the percentage of moisture in the Leaf.387 +Get the moisture of the **Leaf**. The value range of the register is 300-1000(Decimal), divide this value by 100 to get the percentage of moisture in the **Leaf**. 376 376 377 -For example, if the data you get from the register is (% style="color:#037691" %)**__0x05 0xDC__**(%%), the moisture content in the(% style="color:#037691" %)**Leaf**(%%)is389 +For example, if the data you get from the register is **__0x05 0xDC__**, the moisture content in the **Leaf** is 378 378 379 - (% style="color:blue" %)**0229(H) = 549(D) /100 = 54.9.**391 +**0229(H) = 549(D) /100 = 54.9.** 380 380 381 381 382 382 ... ... @@ -383,13 +383,13 @@ 383 383 === 2.4.6 Leaf Temperature === 384 384 385 385 386 -Get the temperature in the Leaf. The value range of the register is -4000 - +800(Decimal), divide this value by 100 to get the temperature in the Leaf. For example, if the data you get from the register is (% style="color:#037691" %)**__0x09 0xEC__**(%%), the temperature content in the(% style="color:#037691" %)**Leaf **(%%)is398 +Get the temperature in the **Leaf**. The value range of the register is -4000 - +800(Decimal), divide this value by 100 to get the temperature in the **Leaf**. For example, if the data you get from the register is **__0x09 0xEC__**, the temperature content in the **Leaf **is 387 387 388 - (% style="color:blue" %)**Example**:400 +**Example**: 389 389 390 -If payload is **0105H**: ((0x0105 & 0x8000)>>15 === 0),temp = 0105(H)/10 = 26.1 °C402 +If payload is 0105H: ((0x0105 & 0x8000)>>15 === 0),temp = 0105(H)/10 = 26.1 °C 391 391 392 -If payload is **FF7EH**: ((FF7E & 0x8000)>>15 ===1),temp = (FF7E(H)-FFFF(H))/10 = -12.9 °C404 +If payload is FF7EH: ((FF7E & 0x8000)>>15 ===1),temp = (FF7E(H)-FFFF(H))/10 = -12.9 °C 393 393 394 394 395 395 ... ... @@ -401,15 +401,14 @@ 401 401 Convert Unix timestamp to time 2022-9-5 9:40:11. 402 402 403 403 404 - 405 405 === 2.4.8 Digital Interrupt === 406 406 407 407 408 -Digital Interrupt refers to pin (% style="color:#037691" %)**GPIO_EXTI**(%%), and there are different trigger methods. When there is a trigger, the NLMS01 will send a packet to the server.419 +Digital Interrupt refers to pin **GPIO_EXTI**, and there are different trigger methods. When there is a trigger, the NLMS01 will send a packet to the server. 409 409 410 410 The command is: 411 411 412 - (% style="color:blue" %)**AT+INTMOD=3 **(%%)~/~/423 +**AT+INTMOD=3 ** ~/~/(more info about INMOD please refer [[**AT Command Manual**>>url:https://www.dragino.com/downloads/downloads/NB-IoT/NBSN95/DRAGINO_NBSN95-NB_AT%20Commands_v1.1.0.pdf]])**.** 413 413 414 414 The lower four bits of this data field shows if this packet is generated by interrupt or not. Click here for the hardware and software set up. 415 415 ... ... @@ -428,7 +428,7 @@ 428 428 429 429 The 5V output time can be controlled by AT Command. 430 430 431 - (% style="color:blue" %)**AT+5VT=1000**442 +**AT+5VT=1000** 432 432 433 433 Means set 5V valid time to have 1000ms. So the real 5V output will actually have 1000ms + sampling time for other sensors.** ** 434 434 ... ... @@ -442,11 +442,10 @@ 442 442 [[image:image-20220907171221-18.png]] 443 443 444 444 445 - (% style="color:blue" %)**Examples:**456 +**Examples:** 446 446 458 +* **Set TDC** 447 447 448 -* (% style="color:#037691" %)**Set TDC** 449 - 450 450 If the payload=0100003C, it means set the END Node's TDC to 0x00003C=60(S), while type code is 01. 451 451 452 452 Payload: 01 00 00 1E TDC=30S ... ... @@ -453,16 +453,12 @@ 453 453 454 454 Payload: 01 00 00 3C TDC=60S 455 455 466 +* **Reset** 456 456 457 - 458 -* (% style="color:#037691" %)**Reset** 459 - 460 460 If payload = 0x04FF, it will reset the NLMS01 461 461 470 +* **INTMOD** 462 462 463 - 464 -* (% style="color:#037691" %)**INTMOD** 465 - 466 466 Downlink Payload: 06000003, Set AT+INTMOD=3 467 467 468 468 ... ... @@ -477,6 +477,9 @@ 477 477 * After NLMS01 join NB-IoT network. The LED will be ON for 3 seconds. 478 478 * For each uplink probe, LED will be on for 500ms. 479 479 486 + 487 + 488 + 480 480 == 2.7 Installation == 481 481 482 482 ... ... @@ -490,9 +490,9 @@ 490 490 == 2.8 Moisture and Temperature alarm function == 491 491 492 492 493 - (% style="color:blue" %)**➢ AT Command:**502 +**➢ AT Command:** 494 494 495 - (% style="color:#037691" %)**AT+ HUMALARM =min,max**504 +**AT+ HUMALARM =min,max** 496 496 497 497 ² When min=0, and max≠0, Alarm higher than max 498 498 ... ... @@ -501,7 +501,7 @@ 501 501 ² When min≠0 and max≠0, Alarm higher than max or lower than min 502 502 503 503 504 - (% style="color:blue" %)**Example:**513 +**Example:** 505 505 506 506 AT+ HUMALARM =50,60 ~/~/ Alarm when moisture lower than 50. 507 507 ... ... @@ -514,7 +514,7 @@ 514 514 ² When min≠0 and max≠0, Alarm higher than max or lower than min 515 515 516 516 517 - (% style="color:blue" %)**Example:**526 +**Example:** 518 518 519 519 AT+ TEMPALARM=20,30 ~/~/ Alarm when temperature lower than 20. 520 520 ... ... @@ -523,24 +523,24 @@ 523 523 == 2.9 Set the number of data to be uploaded and the recording time == 524 524 525 525 526 - (% style="color:blue" %)**➢ AT Command:**535 +**➢ AT Command:** 527 527 528 -* (% style="color:#037691" %)**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) 529 -* (% style="color:#037691" %)**AT+NOUD=8** (%%)~/~/ The device uploads 8 sets of recorded data by default. Up to 32 sets of record data can be uploaded. 537 +**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) 530 530 531 - The di agram belowexplainsthe relationshipbetweenTR, NOUD,andTDCmore clearly**:**539 +**AT+NOUD=8** ~/~/ The device uploads 8 sets of recorded data by default. Up to 32 sets of record data can be uploaded. 532 532 533 -[[image:image-20221009000513-1.png||height="732" width="1018"]] 534 534 535 535 536 536 == 2.10 Read or Clear cached data == 537 537 538 538 539 - (% style="color:blue" %)**➢ AT Command:**546 +**➢ AT Command:** 540 540 541 -* (% style="color:#037691" %)**AT+CDP** (%%) ~/~/ Read cached data 542 -* (% style="color:#037691" %)**AT+CDP=0 ** (%%) ~/~/ Clear cached data 548 +**AT+CDP** ~/~/ Read cached data 543 543 550 +**AT+CDP=0 ** ~/~/ Clear cached data 551 + 552 + 544 544 [[image:image-20220907171221-20.png]] 545 545 546 546 ... ... @@ -548,9 +548,9 @@ 548 548 == 2.11 Firmware Change Log == 549 549 550 550 551 -Download URL & Firmware Change log: [[https:~~/~~/www.dropbox.com/sh/ qdc3js2iu1vlipx/AACMHI3CvVb8g7YQMrIHY673a?dl=0>>https://www.dropbox.com/sh/qdc3js2iu1vlipx/AACMHI3CvVb8g7YQMrIHY673a?dl=0]]560 +Download URL & Firmware Change log: [[https:~~/~~/www.dropbox.com/sh/1zmcakvbkf24f8x/AACmq2dZ3iRB9F1nVWeEB9Moa?dl=0>>url:https://www.dropbox.com/sh/1zmcakvbkf24f8x/AACmq2dZ3iRB9F1nVWeEB9Moa?dl=0]] 552 552 553 -Upgrade Instruction: [[Upgrade Firmware>> ||anchor="H5.1200BHowtoUpgradeFirmware"]]562 +Upgrade Instruction: [[Upgrade Firmware>>path:#H5.1200BHowtoUpgradeFirmware]] 554 554 555 555 556 556 ... ... @@ -581,9 +581,9 @@ 581 581 582 582 Instruction to use as below: 583 583 584 - (% style="color:blue" %)**Step 1: **(%%)Downlink the up-to-date DRAGINO_Battery_Life_Prediction_Table.xlsx from: [[https:~~/~~/www.dragino.com/downloads/index.php?dir=LoRa_End_Node/Battery_Analyze/>>url:https://www.dragino.com/downloads/index.php?dir=LoRa_End_Node/Battery_Analyze/]]593 +**Step 1: **Downlink the up-to-date DRAGINO_Battery_Life_Prediction_Table.xlsx from: [[https:~~/~~/www.dragino.com/downloads/index.php?dir=LoRa_End_Node/Battery_Analyze/>>url:https://www.dragino.com/downloads/index.php?dir=LoRa_End_Node/Battery_Analyze/]] 585 585 586 - (% style="color:blue" %)**Step 2: **(%%)Open it and choose595 +**Step 2: ** Open it and choose 587 587 588 588 * Product Model 589 589 * Uplink Interval ... ... @@ -628,86 +628,86 @@ 628 628 629 629 See this link for detail: [[https:~~/~~/www.dropbox.com/sh/351dwor6joz8nwh/AADn1BQaAAxLF_QMyU8NkW47a?dl=0>>url:https://www.dropbox.com/sh/351dwor6joz8nwh/AADn1BQaAAxLF_QMyU8NkW47a?dl=0]] 630 630 631 -AT+<CMD>? : 640 +AT+<CMD>? : Help on <CMD> 632 632 633 -AT+<CMD> :Run <CMD>642 +AT+<CMD> : Run <CMD> 634 634 635 -AT+<CMD>=<value>: 644 +AT+<CMD>=<value> : Set the value 636 636 637 -AT+<CMD>=? :Get the value646 +AT+<CMD>=? : Get the value 638 638 639 639 640 - (% style="color:#037691" %)**General Commands**649 +**General Commands** 641 641 642 -AT :Attention651 +AT : Attention 643 643 644 -AT? :Short Help653 +AT? : Short Help 645 645 646 -ATZ :MCU Reset655 +ATZ : MCU Reset 647 647 648 -AT+TDC : 657 +AT+TDC : Application Data Transmission Interval 649 649 650 -AT+CFG : 659 +AT+CFG : Print all configurations 651 651 652 -AT+CFGMOD : 661 +AT+CFGMOD : Working mode selection 653 653 654 -AT+INTMOD : 663 +AT+INTMOD : Set the trigger interrupt mode 655 655 656 -AT+5VT :Set extend the time of 5V power665 +AT+5VT : Set extend the time of 5V power 657 657 658 -AT+PRO :Choose agreement667 +AT+PRO : Choose agreement 659 659 660 -AT+RXDL :Extend the sending and receiving time669 +AT+RXDL : Extend the sending and receiving time 661 661 662 -AT+SERVADDR :Server Address671 +AT+SERVADDR : Server Address 663 663 664 -AT+APN :Get or set the APN673 +AT+APN : Get or set the APN 665 665 666 -AT+FBAND :Get or Set whether to automatically modify the frequency band675 +AT+FBAND : Get or Set whether to automatically modify the frequency band 667 667 668 -AT+DNSCFG : Get or Set DNS Server 677 +AT+DNSCFG : Get or Set DNS Server 669 669 670 670 AT+GETSENSORVALUE : Returns the current sensor measurement 671 671 672 -AT+TR : 681 +AT+TR : Get or Set record time" 673 673 674 -AT+NOUD : 683 +AT+NOUD : Get or Set the number of data to be uploaded 675 675 676 -AT+CDP : 685 +AT+CDP : Read or Clear cached data 677 677 678 -AT+TEMPALARM : 687 +AT+TEMPALARM : Get or Set alarm of temp 679 679 680 -AT+HUMALARM : humidity689 +AT+HUMALARM : Get or Set alarm of PH 681 681 682 682 683 - (% style="color:#037691" %)**COAP Management**692 +**COAP Management** 684 684 685 -AT+URI : 694 +AT+URI : Resource parameters 686 686 687 687 688 - (% style="color:#037691" %)**UDP Management**697 +**UDP Management** 689 689 690 -AT+CFM : 699 +AT+CFM : Upload confirmation mode (only valid for UDP) 691 691 692 692 693 - (% style="color:#037691" %)**MQTT Management**702 +**MQTT Management** 694 694 695 -AT+CLIENT : 704 +AT+CLIENT : Get or Set MQTT client 696 696 697 -AT+UNAME : Get or Set MQTT Username 706 +AT+UNAME : Get or Set MQTT Username 698 698 699 -AT+PWD 708 +AT+PWD : Get or Set MQTT password 700 700 701 -AT+PUBTOPIC :Get or Set MQTT publish topic710 +AT+PUBTOPIC : Get or Set MQTT publish topic 702 702 703 -AT+SUBTOPIC :Get or Set MQTT subscription topic712 +AT+SUBTOPIC : Get or Set MQTT subscription topic 704 704 705 705 706 - (% style="color:#037691" %)**Information**715 +**Information** 707 707 708 -AT+FDR :Factory Data Reset717 +AT+FDR : Factory Data Reset 709 709 710 -AT+PWORD :Serial Access Password719 +AT+PWORD : Serial Access Password 711 711 712 712 713 713 ... ... @@ -721,11 +721,10 @@ 721 721 722 722 Please see this link for how to upgrade: [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/Firmware%20Upgrade%20Instruction%20for%20STM32%20base%20products/#H2.HardwareUpgradeMethodSupportList>>url:http://wiki.dragino.com/xwiki/bin/view/Main/Firmware%20Upgrade%20Instruction%20for%20STM32%20base%20products/#H2.HardwareUpgradeMethodSupportList]] 723 723 733 +**Notice, NLMS01** **and LLMS01** **share the same mother board. They use the same connection and method to update.** 724 724 725 -(% style="color:red" %)**Notice, NLMS01 and LLMS01 share the same mother board. They use the same connection and method to update.** 726 726 727 727 728 - 729 729 = 6. Trouble Shooting = 730 730 731 731 ... ... @@ -739,7 +739,7 @@ 739 739 == 6.2 AT Command input doesn't work == 740 740 741 741 742 -In the case if user can see the console output but can't type input to the device. Please check if you already include the (% style="color:green" %)**ENTER**(%%)while sending out the command. Some serial tool doesn't send(% style="color:green" %)**ENTER**(%%)while press the send key, user need to add ENTER in their string.750 +In the case if user can see the console output but can't type input to the device. Please check if you already include the **ENTER** while sending out the command. Some serial tool doesn't send **ENTER** while press the send key, user need to add ENTER in their string. 743 743 744 744 745 745 ... ... @@ -753,11 +753,11 @@ 753 753 = 8. Packing Info = 754 754 755 755 756 - (% style="color:#037691" %)**Package Includes:**764 +**Package Includes**: 757 757 758 758 * NLMS01 NB-IoT Leaf Moisture Sensor x 1 759 759 760 - (% style="color:#037691" %)**Dimension and weight**:768 +**Dimension and weight**: 761 761 762 762 * Device Size: cm 763 763 * Device Weight: g ... ... @@ -764,6 +764,9 @@ 764 764 * Package Size / pcs : cm 765 765 * Weight / pcs : g 766 766 775 + 776 + 777 + 767 767 = 9. Support = 768 768 769 769
- image-20221009001002-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Edwin - Size
-
... ... @@ -1,1 +1,0 @@ 1 -282.9 KB - Content