<
From version < 54.1 >
edited by Edwin Chen
on 2022/10/09 00:08
To version < 51.6 >
edited by Xiaoling
on 2022/09/12 15:28
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Edwin
1 +XWiki.Xiaoling
Content
... ... @@ -85,12 +85,11 @@
85 85  * IP68 Protection
86 86  * Length: 3.5 meters
87 87  
88 -== 1.5  ​Applications ==
88 +== 1.5 ​Applications ==
89 89  
90 -
91 91  * Smart Agriculture
92 92  
93 -== 1.6  Pin mapping and power on ==
92 +== 1.6 Pin mapping and power on ==
94 94  
95 95  
96 96  [[image:image-20220907153300-2.png]]
... ... @@ -124,7 +124,7 @@
124 124  * The local NB-IoT network used the band that NSPH01 supports.
125 125  * Your operator is able to distribute the data received in their NB-IoT network to your IoT server.
126 126  
127 -Below figure shows our testing structure. Here we have NB-IoT network coverage by China Mobile, the band they use is B8.  The NSPH01 will use** CoAP(120.24.4.116:5683) **or raw **UDP(120.24.4.116:5601)** or **MQTT(120.24.4.116:1883)**or **TCP(120.24.4.116:5600)**protocol to send data to the test server.
126 +Below figure shows our testing structure. Here we have NB-IoT network coverage by China Mobile, the band they use is B8.  The NSPH01 will use CoAP(120.24.4.116:5683) or raw UDP(120.24.4.116:5601) or MQTT(120.24.4.116:1883)or TCP(120.24.4.116:5600)protocol to send data to the test server.
128 128  
129 129  
130 130  [[image:image-20220907153445-4.png]]
... ... @@ -136,7 +136,6 @@
136 136  
137 137  User need to take out the NB-IoT module and insert the SIM card like below. ((% style="color:red" %) Pay attention to the direction(%%))
138 138  
139 -
140 140  [[image:image-20220907153505-5.png]]
141 141  
142 142  
... ... @@ -163,6 +163,7 @@
163 163  * Stop bits:  (% style="color:green" %)**1**
164 164  * Parity:  (% style="color:green" %)**None**
165 165  * Flow Control: (% style="color:green" %)**None**
164 +*
166 166  
167 167  Make sure the switch is in FLASH position, then power on device by connecting the jumper on NSPH01. NSPH01 will output system info once power on as below, we can enter the (% style="color:green" %)**password: 12345678**(%%) to access AT Command input.
168 168  
... ... @@ -208,6 +208,7 @@
208 208  * (% style="color:blue" %)**AT+SERVADDR=120.24.4.116,5601   ** (%%) ~/~/  to set UDP server address and port
209 209  * (% style="color:blue" %)**AT+CFM=1       ** (%%) ~/~/  If the server does not respond, this command is unnecessar
210 210  
210 +
211 211  [[image:image-20220907153643-9.png||height="401" width="734"]]
212 212  
213 213  
... ... @@ -228,6 +228,7 @@
228 228  * (% style="color:blue" %)**AT+PUBTOPIC=NSE01_PUB                    **(%%)~/~/ Set the sending topic of MQTT
229 229  * (% style="color:blue" %)**AT+SUBTOPIC=NSE01_SUB          ** (%%) ~/~/ Set the subscription topic of MQTT
230 230  
231 +
231 231  [[image:image-20220907153739-11.png||height="491" width="764"]]
232 232  
233 233  
... ... @@ -247,6 +247,7 @@
247 247  * (% style="color:blue" %)**AT+PRO=4   ** (%%) ~/~/ Set to use TCP protocol to uplink
248 248  * (% style="color:blue" %)**AT+SERVADDR=120.24.4.116,5600   ** (%%) ~/~/ to set TCP server address and port
249 249  
251 +
250 250  [[image:image-20220907153818-13.png||height="486" width="668"]]
251 251  
252 252  
... ... @@ -261,6 +261,7 @@
261 261  
262 262  * (% style="color:blue" %)**AT+TDC=7200      ** (%%) ~/~/ Set Update Interval to 7200s (2 hour)
263 263  
266 +
264 264  (% style="color:red" %)**NOTE: By default, the device will send an uplink message every 2 hours. Each Uplink Include 8 set of records in this 2 hour (15 minute interval / record).**
265 265  
266 266  
... ... @@ -281,37 +281,25 @@
281 281  [[image:image-20220907153902-15.png||height="581" width="804"]]
282 282  
283 283  
284 -(((
285 285  The payload is ASCII string, representative same HEX:
286 -)))
287 287  
288 -(((
289 -
290 -)))
289 +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:red" %)**//0225010b6315537b//**010b0226631550fb//**010e022663154d77**//01110225631549f1//**011502246315466b**//01190223631542e5//**011d022163153f62**//011e022163153bde//**011e022163153859**//(%%) where:
291 291  
292 -(((
293 -**0x (% style="color:red" %)__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  01110225631549f1  011502246315466b  01190223631542e5  011d022163153f62  011e022163153bde 011e022163153859__//(%%)**
294 -)))
291 +* (% style="color:red" %)Device ID: 0xf868411056754138 = f868411056754138
292 +* (% style="color:blue" %)Version: 0x0064=100=1.0.0
293 +* (% style="color:green" %)BAT: 0x0c78 = 3192 mV = 3.192V
294 +* (% style="color:red" %)Singal: 0x17 = 23
295 +* (% style="color:blue" %)Mod: 0x01 = 1
296 +* (% style="color:green" %)Interrupt: 0x00= 0
297 +* Soil PH: 0x0225= 549 = 5.49
298 +* Soil Temperature: 0x010B =267=26.7 °C
299 +* Time stamp : 0x6315537b =1662342011  ([[Unix Epoch Time>>url:http://www.epochconverter.com/]])
300 +* Soil Temperature,Soil PH,Time stamp : 010b0226631550fb
301 +* (% style="color:red" %)8 sets of recorded data: Temperature,Soil PH,Time stamp : 010e022663154d77,.......
295 295  
296 -(((
297 -
298 298  
299 -where:
300 -)))
301 301  
302 -* Device ID: 0xf868411056754138 = f868411056754138
303 -* Version:  0x0064=100=1.0.0
304 -* BAT:  0x0c78 = 3192 mV = 3.192V
305 -* Singal: 0x17 = 23
306 -* Mod:  0x01 = 1
307 -* Interrupt: 0x00= 0
308 -* Soil PH:  0x0225= 549 = 5.49
309 -* Soil Temperature: 0x010b =267=26.7 °C
310 -* Time stamp :  0x6315537b =1662342011  ([[Unix Epoch Time>>url:http://www.epochconverter.com/]])
311 -* Soil Temperature,Soil PH,Time stamp :  010b0226631550fb
312 -* 8 sets of recorded data: Temperature,Soil PH,Time stamp :  010e022663154d77,.......
313 313  
314 -
315 315  == 2.4  Payload Explanation and Sensor Interface ==
316 316  
317 317  
... ... @@ -375,9 +375,9 @@
375 375  
376 376  Get the PH content of the soil. The value range of the register is 300-1000(Decimal), divide this value by 100 to get the percentage of PH in the soil.
377 377  
378 -For example, if the data you get from the register is (% style="color:blue" %)**__0x05 0xDC__**(%%), the PH content in the soil is
369 +For example, if the data you get from the register is **__0x05 0xDC__**, the PH content in the soil is
379 379  
380 -(% style="color:blue" %)**0229(H) = 549(D) /100 = 5.49.**
371 +**0229(H) = 549(D) /100 = 5.49.**
381 381  
382 382  
383 383  
... ... @@ -384,9 +384,8 @@
384 384  === 2.4.6  Soil Temperature ===
385 385  
386 386  
387 -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 (% style="color:blue" %)**__0x09 0xEC__**(%%), the temperature content in the soil is
378 +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
388 388  
389 -
390 390  **Example**:
391 391  
392 392  If payload is 0105H: ((0x0105 & 0x8000)>>15 === 0),temp = 0105(H)/10 = 26.1 °C
... ... @@ -415,9 +415,8 @@
415 415  
416 416  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.
417 417  
408 +Example:
418 418  
419 -**Example:**
420 -
421 421  0x(00): Normal uplink packet.
422 422  
423 423  0x(01): Interrupt Uplink Packet.
... ... @@ -476,6 +476,8 @@
476 476  * For each uplink probe, LED will be on for 500ms.
477 477  
478 478  
468 +
469 +
479 479  == 2.7  Installation and Maintain ==
480 480  
481 481  
... ... @@ -489,7 +489,7 @@
489 489  === 2.7.2  Measurement ===
490 490  
491 491  
492 -(% style="color:#037691" %)**Measurement the soil surface:**
483 +**(% style="color:#037691" %)Measurement the soil surface:**
493 493  
494 494  
495 495  [[image:image-20220907154700-18.png]] ​
... ... @@ -503,7 +503,7 @@
503 503  Put soil over the probe after insert. And start to measure.
504 504  
505 505  
506 -(% style="color:#037691" %)**Measurement inside soil:**
497 +**(% style="color:#037691" %)Measurement inside soil:**
507 507  
508 508  Dig a hole with diameter > 20CM.
509 509  
... ... @@ -522,12 +522,14 @@
522 522  1. The probe is IP68 can be put in water.
523 523  
524 524  
516 +
517 +
525 525  == 2.8  PH and Temperature alarm function ==
526 526  
527 527  
528 -(% style="color:#037691" %)**➢ AT Command:**
521 +**(% style="color:#037691" %)➢ AT Command:**
529 529  
530 -(% style="color:blue" %)**AT+ PHALARM=min,max**
523 +**(% style="color:blue" %)AT+ PHALARM=min,max**
531 531  
532 532  ² When min=3, and max≠0, Alarm higher than max
533 533  
... ... @@ -536,7 +536,7 @@
536 536  ² When min≠0 and max≠0, Alarm higher than max or lower than min
537 537  
538 538  
539 -(% style="color:blue" %)**Example:**
532 +**(% style="color:blue" %)Example:**
540 540  
541 541  AT+ PHALARM =5,8  ~/~/ Alarm when PH lower than 5.
542 542  
... ... @@ -549,33 +549,31 @@
549 549  ² When min≠0 and max≠0, Alarm higher than max or lower than min
550 550  
551 551  
552 -(% style="color:blue" %)**Example:**
545 +**(% style="color:blue" %)Example:**
553 553  
554 554  AT+ TEMPALARM=20,30  ~/~/ Alarm when temperature lower than 20.
555 555  
556 556  
557 557  
558 -== 2.9  Set the number of data to be uploaded and the recording time ==
551 +== 2.9 Set the number of data to be uploaded and the recording time ==
559 559  
560 560  
561 -(% style="color:#037691" %)**➢ AT Command:**
554 +**(% style="color:#037691" %)➢ AT Command:**
562 562  
563 -* (% style="color:blue" %)**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)
564 -* (% style="color:blue" %)**AT+NOUD=8**     (%%) ~/~/  The device uploads 8 sets of recorded data by default. Up to 32 sets of record data can be uploaded.
556 +**(% style="color:blue" %)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)
565 565  
566 - The diagram below explains the relationship between TR, NOUD, and TDC more clearly**:**
558 +**(% style="color:blue" %)AT+NOUD=8**  (%%) ~/~/  The device uploads 8 sets of recorded data by default. Up to 32 sets of record data can be uploaded.
567 567  
568 -[[image:image-20221009000513-1.png||height="732" width="1018"]]
569 569  
561 +== 2.10 Read or Clear cached data ==
570 570  
571 571  
572 -== 2.10  Read or Clear cached data ==
564 +**(% style="color:#037691" %)➢ AT Command:**
573 573  
566 +**(% style="color:blue" %)AT+CDP**  (%%) ~/~/  Read cached data
574 574  
575 -(% style="color:#037691" %)** AT Command:**
568 +**(% style="color:blue" %)AT+CDP=0** (%%) ~/~/ Clear cached data
576 576  
577 -* (% style="color:blue" %)**AT+CDP**        (%%) ~/~/  Read cached data
578 -* (% style="color:blue" %)**AT+CDP=0**    (%%) ~/~/  Clear cached data
579 579  
580 580  [[image:image-20220907154700-19.png]]
581 581  
... ... @@ -596,9 +596,9 @@
596 596  == 2.12  ​Firmware Change Log ==
597 597  
598 598  
599 -Download URL & Firmware Change log: [[https:~~/~~/www.dropbox.com/sh/1tv07fro2pvjqj8/AAD-2wbfGfluTZfh38fQqdA_a?dl=0>>https://www.dropbox.com/sh/1tv07fro2pvjqj8/AAD-2wbfGfluTZfh38fQqdA_a?dl=0]]
590 +Download URL & Firmware Change log: [[https:~~/~~/www.dropbox.com/sh/1zmcakvbkf24f8x/AACmq2dZ3iRB9F1nVWeEB9Moa?dl=0>>url:https://www.dropbox.com/sh/1zmcakvbkf24f8x/AACmq2dZ3iRB9F1nVWeEB9Moa?dl=0]]
600 600  
601 -Upgrade Instruction: [[Upgrade Firmware>>||anchor="H5.1200BHowtoUpgradeFirmware"]]
592 +Upgrade Instruction: [[Upgrade Firmware>>path:#H5.1200BHowtoUpgradeFirmware]]
602 602  
603 603  
604 604  
... ... @@ -629,9 +629,9 @@
629 629  
630 630  Instruction to use as below:
631 631  
632 -(% 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/]]
623 +**(% 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/]]
633 633  
634 -(% style="color:blue" %)**Step 2: **(%%) Open it and choose
625 +**(% style="color:#037691" %)Step 2: **(%%) Open it and choose
635 635  
636 636  * Product Model
637 637  * Uplink Interval
... ... @@ -689,7 +689,7 @@
689 689  AT+<CMD>=?  : Get the value
690 690  
691 691  
692 -(% style="color:#037691" %)**General Commands**      
683 +**(% style="color:#037691" %)General Commands**      
693 693  
694 694  AT  : Attention       
695 695  
... ... @@ -734,17 +734,17 @@
734 734  AT+ PHCAL  : calibrate PH value
735 735  
736 736  
737 -(% style="color:#037691" %)**COAP Management**      
728 +**(% style="color:#037691" %)COAP Management**      
738 738  
739 739  AT+URI            : Resource parameters
740 740  
741 741  
742 -(% style="color:#037691" %)**UDP Management**
733 +**(% style="color:#037691" %)UDP Management**
743 743  
744 744  AT+CFM          : Upload confirmation mode (only valid for UDP)
745 745  
746 746  
747 -(% style="color:#037691" %)**MQTT Management**
738 +**(% style="color:#037691" %)MQTT Management**
748 748  
749 749  AT+CLIENT               : Get or Set MQTT client
750 750  
... ... @@ -757,7 +757,7 @@
757 757  AT+SUBTOPIC  : Get or Set MQTT subscription topic
758 758  
759 759  
760 -(% style="color:#037691" %)**Information**          
751 +**(% style="color:#037691" %)Information**          
761 761  
762 762  AT+FDR  : Factory Data Reset
763 763  
... ... @@ -775,7 +775,7 @@
775 775  
776 776  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]]
777 777  
778 -(% style="color:red" %)**Notice, NSPH01 and LSPH01 share the same mother board. They use the same connection and method to update.**
769 +**(% style="color:red" %)Notice, **NSPH01 **and **LSPH01 **share the same mother board. They use the same connection and method to update.**
779 779  
780 780  
781 781  
... ... @@ -799,7 +799,7 @@
799 799  == 6.2  AT Command input doesn't work ==
800 800  
801 801  
802 -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.
793 +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.
803 803  
804 804  
805 805  
... ... @@ -820,12 +820,12 @@
820 820  
821 821  **Dimension and weight**:
822 822  
823 -* Device Size: cm
824 -* Device Weight: g
825 -* Package Size / pcs : cm
826 -* Weight / pcs : g
814 +* Size: 195 x 125 x 55 mm
815 +* Weight:   420g
827 827  
828 828  
818 +
819 +
829 829  = 9.  Support =
830 830  
831 831  
image-20220923101327-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -12.1 KB
Content
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0