Changes for page NLMS01-NB-IoT Leaf Moisture Sensor User Manual
Last modified by Mengting Qiu on 2024/04/02 16:54
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -325,12 +325,15 @@ 325 325 326 326 == 2.4 Payload Explanation and Sensor Interface == 327 327 328 + 328 328 === 2.4.1 Device ID === 329 329 331 + 330 330 By default, the Device ID equal to the last 15 bits of IMEI. 331 331 332 332 User can use **AT+DEUI** to set Device ID 333 333 336 + 334 334 **Example:** 335 335 336 336 AT+DEUI=868411056754138 ... ... @@ -337,14 +337,20 @@ 337 337 338 338 The Device ID is stored in a none-erase area, Upgrade the firmware or run AT+FDR won't erase Device ID. 339 339 343 + 344 + 340 340 === 2.4.2 Version Info === 341 341 347 + 342 342 Specify the software version: 0x64=100, means firmware version 1.00. 343 343 344 344 For example: 0x00 64 : this device is NLMS01 with firmware version 1.0.0. 345 345 352 + 353 + 346 346 === 2.4.3 Battery Info === 347 347 356 + 348 348 Check the battery voltage for NLMS01. 349 349 350 350 Ex1: 0x0B45 = 2885mV ... ... @@ -351,8 +351,11 @@ 351 351 352 352 Ex2: 0x0B49 = 2889mV 353 353 363 + 364 + 354 354 === 2.4.4 Signal Strength === 355 355 367 + 356 356 NB-IoT Network signal Strength. 357 357 358 358 **Ex1: 0x1d = 29** ... ... @@ -367,8 +367,11 @@ 367 367 368 368 **99** Not known or not detectable 369 369 382 + 383 + 370 370 === 2.4.5 Leaf moisture === 371 371 386 + 372 372 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**. 373 373 374 374 For example, if the data you get from the register is **__0x05 0xDC__**, the moisture content in the **Leaf** is ... ... @@ -375,8 +375,11 @@ 375 375 376 376 **0229(H) = 549(D) /100 = 54.9.** 377 377 393 + 394 + 378 378 === 2.4.6 Leaf Temperature === 379 379 397 + 380 380 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 381 381 382 382 **Example**: ... ... @@ -385,14 +385,19 @@ 385 385 386 386 If payload is FF7EH: ((FF7E & 0x8000)>>15 ===1),temp = (FF7E(H)-FFFF(H))/10 = -12.9 °C 387 387 406 + 407 + 388 388 === 2.4.7 Timestamp === 389 389 410 + 390 390 Time stamp : 0x6315537b =1662342011 391 391 392 392 Convert Unix timestamp to time 2022-9-5 9:40:11. 393 393 415 + 394 394 === 2.4.8 Digital Interrupt === 395 395 418 + 396 396 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. 397 397 398 398 The command is: ... ... @@ -407,8 +407,11 @@ 407 407 408 408 0x(01): Interrupt Uplink Packet. 409 409 433 + 434 + 410 410 === 2.4.9 +5V Output === 411 411 437 + 412 412 NLMS01 will enable +5V output before all sampling and disable the +5v after all sampling. 413 413 414 414 The 5V output time can be controlled by AT Command. ... ... @@ -418,12 +418,15 @@ 418 418 Means set 5V valid time to have 1000ms. So the real 5V output will actually have 1000ms + sampling time for other sensors.** ** 419 419 420 420 447 + 421 421 == 2.5 Downlink Payload == 422 422 450 + 423 423 By default, NLMS01 prints the downlink payload to console port. 424 424 425 425 [[image:image-20220907171221-18.png]] 426 426 455 + 427 427 **Examples:** 428 428 429 429 * **Set TDC** ... ... @@ -442,8 +442,11 @@ 442 442 443 443 Downlink Payload: 06000003, Set AT+INTMOD=3 444 444 474 + 475 + 445 445 == 2.6 LED Indicator == 446 446 478 + 447 447 The NLMS01 has an internal LED which is to show the status of different state. 448 448 449 449 * When power on, NLMS01 will detect if sensor probe is connected, if probe detected, LED will blink four times. (no blinks in this step is no probe) ... ... @@ -451,18 +451,26 @@ 451 451 * After NLMS01 join NB-IoT network. The LED will be ON for 3 seconds. 452 452 * For each uplink probe, LED will be on for 500ms. 453 453 454 -== 2.7 Installation == 455 455 487 + 488 + 489 +== 2.7 Installation == 490 + 491 + 456 456 NLMS01 probe has two sides. The side without words are the sense side. Please be ware when install the sensor. 457 457 494 + 458 458 [[image:image-20220907171221-19.png]] 459 459 460 -== 2.8 Moisture and Temperature alarm function == 461 461 462 -➢ AT Command: 463 463 464 - AT+HUMALARM=min,max499 +== 2.8 Moisture and Temperature alarm function == 465 465 501 + 502 +**➢ AT Command:** 503 + 504 +**AT+ HUMALARM =min,max** 505 + 466 466 ² When min=0, and max≠0, Alarm higher than max 467 467 468 468 ² When min≠0, and max=0, Alarm lower than min ... ... @@ -469,8 +469,9 @@ 469 469 470 470 ² When min≠0 and max≠0, Alarm higher than max or lower than min 471 471 472 -Example: 473 473 513 +**Example:** 514 + 474 474 AT+ HUMALARM =50,60 ~/~/ Alarm when moisture lower than 50. 475 475 476 476 AT+ TEMPALARM=min,max ... ... @@ -481,41 +481,53 @@ 481 481 482 482 ² When min≠0 and max≠0, Alarm higher than max or lower than min 483 483 484 -Example: 485 485 526 +**Example:** 527 + 486 486 AT+ TEMPALARM=20,30 ~/~/ Alarm when temperature lower than 20. 487 487 488 488 489 -== 2.9 Set the number of data to be uploaded and the recording time == 490 490 491 - ➢ATCommand:532 +== 2.9 Set the number of data to be uploaded and the recording time == 492 492 493 -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) 494 494 495 -AT +NOUD=8~/~/The device uploads 8 sets of recorded data by default. Up to 32 sets of record data canbe uploaded.535 +**➢ AT Command:** 496 496 497 -= = 2.10ReadorClearcacheddata==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) 498 498 499 - ➢ATCommand:539 +**AT+NOUD=8** ~/~/ The device uploads 8 sets of recorded data by default. Up to 32 sets of record data can be uploaded. 500 500 501 -AT+CDP ~/~/ Read cached data 502 502 503 -[[image:image-20220907171221-20.png]] 504 504 543 +== 2.10 Read or Clear cached data == 505 505 506 -AT+CDP=0 ~/~/ Clear cached data 507 507 546 +**➢ AT Command:** 508 508 548 +**AT+CDP** ~/~/ Read cached data 549 + 550 +**AT+CDP=0 ** ~/~/ Clear cached data 551 + 552 + 553 +[[image:image-20220907171221-20.png]] 554 + 555 + 556 + 509 509 == 2.11 Firmware Change Log == 510 510 559 + 511 511 Download URL & Firmware Change log: [[https:~~/~~/www.dropbox.com/sh/1zmcakvbkf24f8x/AACmq2dZ3iRB9F1nVWeEB9Moa?dl=0>>url:https://www.dropbox.com/sh/1zmcakvbkf24f8x/AACmq2dZ3iRB9F1nVWeEB9Moa?dl=0]] 512 512 513 513 Upgrade Instruction: [[Upgrade Firmware>>path:#H5.1200BHowtoUpgradeFirmware]] 514 514 564 + 565 + 515 515 == 2.12 Battery Analysis == 516 516 568 + 517 517 === 2.12.1 Battery Type === 518 518 571 + 519 519 The NLMS01 battery is a combination of an 8500mAh Li/SOCI2 Battery and a Super Capacitor. The battery is none-rechargeable battery type with a low discharge rate (<2% per year). This type of battery is commonly used in IoT devices such as water meter. 520 520 521 521 The battery is designed to last for several years depends on the actually use environment and update interval. ... ... @@ -528,8 +528,11 @@ 528 528 529 529 [[image:image-20220907171221-21.png]] 530 530 584 + 585 + 531 531 === 2.12.2 Power consumption Analyze === 532 532 588 + 533 533 Dragino battery powered product are all runs in Low Power mode. We have an update battery calculator which base on the measurement of the real device. User can use this calculator to check the battery life and calculate the battery life if want to use different transmit interval. 534 534 535 535 Instruction to use as below: ... ... @@ -546,26 +546,39 @@ 546 546 547 547 [[image:image-20220907171221-22.jpeg]] 548 548 605 + 549 549 === 2.12.3 Battery Note === 550 550 608 + 551 551 The Li-SICO battery is designed for small current / long period application. It is not good to use a high current, short period transmit method. The recommended minimum period for use of this battery is 5 minutes. If you use a shorter period time to transmit LoRa, then the battery life may be decreased. 552 552 611 + 612 + 553 553 === 2.12.4 Replace the battery === 554 554 615 + 555 555 The default battery pack of NLMS01 includes a ER26500 plus super capacitor. If user can't find this pack locally, they can find ER26500 or equivalence without the SPC1520 capacitor, which will also work in most case. The SPC can enlarge the battery life for high frequency use (update period below 5 minutes). 556 556 618 + 619 + 557 557 = 3. Access NB-IoT Module = 558 558 622 + 559 559 Users can directly access the AT command set of the NB-IoT module. 560 560 561 561 The AT Command set can refer the BC35-G NB-IoT Module AT Command: [[https:~~/~~/www.dragino.com/downloads/index.php?dir=datasheet/other_vendors/BC35-G/>>url:https://www.dragino.com/downloads/index.php?dir=datasheet/other_vendors/BC35-G/]] 562 562 627 + 563 563 [[image:image-20220907171221-23.png]] 564 564 630 + 631 + 565 565 = 4. Using the AT Commands = 566 566 634 + 567 567 == 4.1 Access AT Commands == 568 568 637 + 569 569 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]] 570 570 571 571 AT+<CMD>? : Help on <CMD> ... ... @@ -576,6 +576,7 @@ 576 576 577 577 AT+<CMD>=? : Get the value 578 578 648 + 579 579 **General Commands** 580 580 581 581 AT : Attention ... ... @@ -623,10 +623,12 @@ 623 623 624 624 AT+URI : Resource parameters 625 625 696 + 626 626 **UDP Management** 627 627 628 628 AT+CFM : Upload confirmation mode (only valid for UDP) 629 629 701 + 630 630 **MQTT Management** 631 631 632 632 AT+CLIENT : Get or Set MQTT client ... ... @@ -639,6 +639,7 @@ 639 639 640 640 AT+SUBTOPIC : Get or Set MQTT subscription topic 641 641 714 + 642 642 **Information** 643 643 644 644 AT+FDR : Factory Data Reset ... ... @@ -645,32 +645,49 @@ 645 645 646 646 AT+PWORD : Serial Access Password 647 647 721 + 722 + 648 648 = 5. FAQ = 649 649 725 + 650 650 == 5.1 How to Upgrade Firmware == 651 651 728 + 652 652 User can upgrade the firmware for 1) bug fix, 2) new feature release. 653 653 654 654 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]] 655 655 656 -**Notice, **NLMS01 **and**NLMS01 **share the same mother board. They use the same connection and method to update.**733 +**Notice, NLMS01** **and LLMS01** **share the same mother board. They use the same connection and method to update.** 657 657 735 + 736 + 658 658 = 6. Trouble Shooting = 659 659 739 + 660 660 == 6.1 Connection problem when uploading firmware == 661 661 742 + 662 662 **Please see: **[[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/Firmware%20Upgrade%20Instruction%20for%20STM32%20base%20products/#H3.3Troubleshooting>>url:http://wiki.dragino.com/xwiki/bin/view/Main/Firmware%20Upgrade%20Instruction%20for%20STM32%20base%20products/#H3.3Troubleshooting]] 663 663 745 + 746 + 664 664 == 6.2 AT Command input doesn't work == 665 665 749 + 666 666 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. 667 667 752 + 753 + 668 668 = 7. Order Info = 669 669 756 + 670 670 Part Number**:** NLMS01 671 671 759 + 760 + 672 672 = 8. Packing Info = 673 673 763 + 674 674 **Package Includes**: 675 675 676 676 * NLMS01 NB-IoT Leaf Moisture Sensor x 1 ... ... @@ -682,8 +682,12 @@ 682 682 * Package Size / pcs : cm 683 683 * Weight / pcs : g 684 684 775 + 776 + 777 + 685 685 = 9. Support = 686 686 780 + 687 687 * Support is provided Monday to Friday, from 09:00 to 18:00 GMT+8. Due to different timezones we cannot offer live support. However, your questions will be answered as soon as possible in the before-mentioned schedule. 688 688 * Provide as much information as possible regarding your enquiry (product models, accurately describe your problem and steps to replicate it etc) and send a mail to [[support@dragino.com>>url:http://../../../../../../D:%5C%E5%B8%82%E5%9C%BA%E8%B5%84%E6%96%99%5C%E8%AF%B4%E6%98%8E%E4%B9%A6%5CLoRa%5CLT%E7%B3%BB%E5%88%97%5Csupport@dragino.com]] 689 689