<
From version < 129.34 >
edited by Xiaoling
on 2022/12/30 11:21
To version < 129.2 >
edited by Xiaoling
on 2022/10/14 17:59
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -17,6 +17,7 @@
17 17  
18 18  = 1.  Introduction =
19 19  
20 +
20 20  == 1.1 ​ What is N95S31B NB-IoT Sensor Node ==
21 21  
22 22  (((
... ... @@ -110,6 +110,7 @@
110 110  ​
111 111  
112 112  
114 +
113 113  == 1.5  Pin Definitions & Switch ==
114 114  
115 115  
... ... @@ -119,6 +119,7 @@
119 119  [[image:image-20220709144723-1.png]]
120 120  
121 121  
124 +
122 122  === 1.5.1 Jumper JP2 ===
123 123  
124 124  
... ... @@ -125,18 +125,20 @@
125 125  Power on Device when put this jumper.
126 126  
127 127  
131 +
128 128  === 1.5.2 BOOT MODE / SW1 ===
129 129  
130 130  
131 131  (((
132 -**1) ISP: ** upgrade mode, device won't have any signal in this mode. but ready for upgrade firmware. LED won't work. Firmware won't run.
136 +1) ISP: upgrade mode, device won't have any signal in this mode. but ready for upgrade firmware. LED won't work. Firmware won't run.
133 133  )))
134 134  
135 135  (((
136 -**2) Flash:**  work mode, device starts to work and send out console output for further debug
140 +2) Flash: work mode, device starts to work and send out console output for further debug
137 137  )))
138 138  
139 139  
144 +
140 140  === 1.5.3 Reset Button ===
141 141  
142 142  
... ... @@ -143,18 +143,20 @@
143 143  Press to reboot the device.
144 144  
145 145  
151 +
146 146  === 1.5.4 LED ===
147 147  
148 148  
149 149  It will flash:
150 150  
151 -1.  When boot the device in flash mode
157 +1. When boot the device in flash mode
158 +1. Send an uplink packet
152 152  
153 -2.  Send an uplink packet
154 154  
155 155  
156 156  = 2.  Use N95S31B to communicate with IoT Server =
157 157  
164 +
158 158  == 2.1  How it works ==
159 159  
160 160  
... ... @@ -180,6 +180,7 @@
180 180  
181 181  == 2.2 ​ Configure the N95S31B ==
182 182  
190 +
183 183  === 2.2.1  Power On N95S31B ===
184 184  
185 185  
... ... @@ -186,9 +186,10 @@
186 186  [[image:image-20220709150546-2.png]]
187 187  
188 188  
189 -=== 2.2.2 Test Requirement ===
190 190  
198 +=== 2.2.1 Test Requirement ===
191 191  
200 +
192 192  (((
193 193  To use N95S31B in your city, make sure meet below requirements:
194 194  )))
... ... @@ -235,6 +235,7 @@
235 235  [[image:1657350625843-586.png]]
236 236  
237 237  
247 +
238 238  === 2.2.3  Insert SIM card ===
239 239  
240 240  
... ... @@ -250,6 +250,7 @@
250 250  [[image:1657351240556-536.png]]
251 251  
252 252  
263 +
253 253  === 2.2.4  Connect USB – TTL to N95S31B to configure it ===
254 254  
255 255  
... ... @@ -264,13 +264,13 @@
264 264  [[image:1657351312545-300.png]]
265 265  
266 266  
267 -(% style="color:blue" %)**Connection:**
278 +**Connection:**
268 268  
269 - (% style="background-color:yellow" %)**USB TTL GND <~-~-~-~-> GND**
280 + (% style="background-color:yellow" %)USB TTL GND <~-~-~-~-> GND
270 270  
271 -**~ (% style="background-color:yellow" %)USB TTL TXD <~-~-~-~-> UART_RXD(%%)**
282 + (% style="background-color:yellow" %)USB TTL TXD <~-~-~-~-> UART_RXD
272 272  
273 -**~ (% style="background-color:yellow" %)USB TTL RXD <~-~-~-~-> UART_TXD(%%)**
284 + (% style="background-color:yellow" %)USB TTL RXD <~-~-~-~-> UART_TXD
274 274  
275 275  
276 276  In the PC, use below serial tool settings:
... ... @@ -293,6 +293,7 @@
293 293  )))
294 294  
295 295  
307 +
296 296  === 2.2.5  Use CoAP protocol to uplink data ===
297 297  
298 298  
... ... @@ -329,6 +329,7 @@
329 329  [[image:1657352185396-303.png]]
330 330  
331 331  
344 +
332 332  === 2.2.6  Use UDP protocol to uplink data(Default protocol) ===
333 333  
334 334  
... ... @@ -342,18 +342,19 @@
342 342  [[image:1657352403317-397.png]]
343 343  
344 344  
358 +
345 345  === 2.2.7  Use MQTT protocol to uplink data ===
346 346  
347 347  
348 348  N95S31B supports only plain MQTT now it doesn't support TLS and other related encryption.
349 349  
350 -* (% style="color:blue" %)**AT+PRO=3   ** (%%) ~/~/  Set to use MQTT protocol to uplink
351 -* (% style="color:blue" %)**AT+SERVADDR=120.24.4.116,1883   ** (%%) ~/~/  Set MQTT server address and port
352 -* (% style="color:blue" %)**AT+CLIENT=CLIENT       ** (%%)~/~/  Set up the CLIENT of MQTT
353 -* (% style="color:blue" %)**AT+UNAME=UNAME                                **(%%)~/~/  Set the username of MQTT
354 -* (% style="color:blue" %)**AT+PWD=PWD                                         **(%%)~/~/  Set the password of MQTT
355 -* (% style="color:blue" %)**AT+PUBTOPIC=f9527                               **(%%)~/~/  Set the sending topic of MQTT
356 -* (% style="color:blue" %)**AT+SUBTOPIC=Ns9527          **(%%) ~/~/  Set the subscription topic of MQTT
364 +* (% style="color:blue" %)**AT+PRO=3   ** (%%) ~/~/Set to use MQTT protocol to uplink
365 +* (% style="color:blue" %)**AT+SERVADDR=120.24.4.116,1883   ** (%%) ~/~/Set MQTT server address and port
366 +* (% style="color:blue" %)**AT+CLIENT=CLIENT       ** (%%)~/~/Set up the CLIENT of MQTT
367 +* (% style="color:blue" %)**AT+UNAME=UNAME                                **(%%)~/~/Set the username of MQTT
368 +* (% style="color:blue" %)**AT+PWD=PWD                                         **(%%)~/~/Set the password of MQTT
369 +* (% style="color:blue" %)**AT+PUBTOPIC=f9527                               **(%%)~/~/Set the sending topic of MQTT
370 +* (% style="color:blue" %)**AT+SUBTOPIC=Ns9527          **(%%) ~/~/Set the subscription topic of MQTT
357 357  
358 358  [[image:1657352634421-276.png]]
359 359  
... ... @@ -371,6 +371,7 @@
371 371  )))
372 372  
373 373  
388 +
374 374  === 2.2.8  Use TCP protocol to uplink data ===
375 375  
376 376  
... ... @@ -385,6 +385,7 @@
385 385  [[image:1657352914475-252.png]]
386 386  
387 387  
403 +
388 388  === 2.2.9  Change Update Interval ===
389 389  
390 390  
... ... @@ -405,6 +405,7 @@
405 405  )))
406 406  
407 407  
424 +
408 408  == 2.3  Uplink Payload ==
409 409  
410 410  
... ... @@ -447,11 +447,13 @@
447 447  **By default, the device will send an uplink message every 1 hour.**
448 448  
449 449  
467 +
450 450  
451 451  )))
452 452  
453 453  === 2.3.1  Payload Analyze ===
454 454  
473 +
455 455  ==== 2.3.1.1  Before Firmware v1.2 ====
456 456  
457 457  
... ... @@ -458,8 +458,10 @@
458 458  N95S31B uplink payload includes in total 21 bytes
459 459  
460 460  
461 -(% border="1" style="background-color:#ffffcc; color:green; width:520px" %)
462 -|=(% style="width: 50px;" %)**Size(bytes)**|=(% style="width: 45px;" %)**6**|=(% style="width: 25px;" %)2|=(% style="width: 25px;" %)**2**|=(% style="width: 65px;" %)**1**|=(% style="width: 50px;" %)1|=(% style="width: 120px;" %)5|=(% style="width: 70px;" %)**2**|=(% style="width: 70px;" %)**2**
480 +(% border="2" cellspacing="10" style="background-color:#ffffcc; color:green; width:745px" %)
481 +|=(% style="width: 60px;" %)(((
482 +**Size(bytes)**
483 +)))|=(% style="width: 65px;" %)**6**|=(% style="width: 50px;" %)2|=(% style="width: 25px;" %)**2**|=(% style="width: 75px;" %)**1**|=(% style="width: 59px;" %)1|=(% style="width: 162px;" %)5|=(% style="width: 102px;" %)**2**|=(% style="width: 81px;" %)**2**
463 463  |(% style="width:97px" %)**Value**|(% style="width:65px" %)[[Device ID>>||anchor="H2.3.2A0DeviceID"]]|(% style="width:50px" %)[[Ver>>||anchor="H2.3.3A0VersionInfo"]]|(% style="width:46px" %)[[BAT>>||anchor="H2.3.4A0BatteryInfo"]]|(% style="width:75px" %)[[Signal Strength>>||anchor="H2.3.5A0SignalStrength"]]|(% style="width:59px" %)MOD 0X01|(% style="width:162px" %)(((
464 464  (((
465 465  Reserve/ Same as NBSN95 CFGMOD=1
... ... @@ -498,7 +498,7 @@
498 498  [[image:1657354294009-643.png]]
499 499  
500 500  
501 -The payload is ASCII string, representative same HEX: (% style="background-color:yellow" %)**0x724031607457 006e 0ccd 1b 01 00dc000ccc 00e1 0186**
522 +The payload is ASCII string, representative same HEX: **0x724031607457 006e 0ccd 1b 01 00dc000ccc 00e1 0186**
502 502  
503 503  **where:**
504 504  
... ... @@ -533,9 +533,9 @@
533 533  Each time the device uploads a data package, 8 sets of recorded data will be attached. Up to 32 sets of recorded data can be uploaded.
534 534  
535 535  
536 -(% border="1" style="background-color:#ffffcc; color:green; width:520px" %)
537 -|=(% scope="row" style="width: 50px;" %)**Size(bytes)**|(% style="width:40px" %)**8**|(% style="width:20px" %)**2**|(% style="width:20px" %)**2**|(% style="width:30px" %)**1**|(% style="width:20px" %)**1**|(% style="width:55px" %)**2**|(% style="width:35px" %)**1**|(% style="width:20px" %)**2**|(% style="width:40px" %)**2**|(% style="width:40px" %)**2**|(% style="width:30px" %)**4**|(% style="width:40px" %)**2**|(% style="width:40px" %)**2**|(% style="width:35px" %)**4**
538 -|=(% style="width: 95px;" %)**Value**|(% style="width:82px" %)Device ID|(% style="width:43px" %)Ver|(% style="width:47px" %)BAT|(% style="width:124px" %)Signal Strength|(% style="width:56px" %)MOD|(% style="width:109px" %)TemDS18B20|(% style="width:80px" %)Interrupt|(% style="width:51px" %)ADC|(% style="width:79px" %)SHTTEM|(% style="width:84px" %)SHTHUM|(% style="width:100px" %)Time stamp |(% style="width:76px" %)SHTTEM|(% style="width:81px" %)SHTHUM|(% style="width:121px" %)Time stamp .....
557 +(% border="2" style="background-color:#ffffcc; color:green; width:1234px" %)
558 +|(% style="width:95px" %)**Size(bytes)**|(% style="width:82px" %)**8**|(% style="width:43px" %)**2**|(% style="width:47px" %)**2**|(% style="width:124px" %)**1**|(% style="width:56px" %)**1**|(% style="width:109px" %)**2**|(% style="width:80px" %)**1**|(% style="width:51px" %)**2**|(% style="width:79px" %)**2**|(% style="width:84px" %)**2**|(% style="width:100px" %)**4**|(% style="width:76px" %)**2**|(% style="width:81px" %)**2**|(% style="width:121px" %)**4**
559 +|(% style="width:95px" %)**Value**|(% style="width:82px" %)Device ID|(% style="width:43px" %)Ver|(% style="width:47px" %)BAT|(% style="width:124px" %)Signal Strength|(% style="width:56px" %)MOD|(% style="width:109px" %)TemDS18B20|(% style="width:80px" %)Interrupt|(% style="width:51px" %)ADC|(% style="width:79px" %)SHTTEM|(% style="width:84px" %)SHTHUM|(% style="width:100px" %)Time stamp |(% style="width:76px" %)SHTTEM|(% style="width:81px" %)SHTHUM|(% style="width:121px" %)Time stamp .....
539 539  
540 540  If we use the MQTT client to subscribe to this MQTT topic, we can see the following information when the N95S31B uplink data.
541 541  
... ... @@ -545,10 +545,8 @@
545 545  
546 546  The payload is ASCII string, representative same HEX:
547 547  
548 -**0x (% style="color:red" %)__f868411056758782__ (% style="color:blue" %)__000c__ (% style="color:green" %)__0d0f__ (% style="color:#00b0f0" %)__0c__ (% style="color:#7030a0" %)__01__ (% style="color:#d60093" %)__0000__ (% style="color:#a14d07" %)__00__ __0030__ (% style="color:#0020b0" %)__0114__ (% style="color:#420042" %)__0231__ (% style="color:#663300" %)__63199d3c__ (%%)__0113023163199d12__ __0113023163199c5e__// //__0112023763199baa__ __0112023263199af6__// //__0111023b631999a7__ **
569 +**0x (% style="color:red" %)__f868411056758782__ (% style="color:blue" %)__000c__ (% style="color:green" %)__0d0f__ (% style="color:#00b0f0" %)__0c__ (% style="color:#7030a0" %)__01__ (% style="color:#d60093" %)__0000__ (% style="color:#a14d07" %)__00__ __0030__ (% style="color:#0020b0" %)__0114__ (% style="color:#420042" %)__0231__ (% style="color:#663300" %)__63199d3c__ (%%)__0113023163199d12__ __0113023163199c5e__// //__0112023763199baa__ __0112023263199af6__// //__0111023b631999a7__ __0112023b631998f3__// //__011202426319983f__ __01110242631996eb__**
549 549  
550 -**__0112023b631998f3__// //__011202426319983f__ __01110242631996eb__**
551 -
552 552  **where:**
553 553  
554 554  * (% style="color:#037691" %)**Device ID:**(%%) f868411056758782 = f868411056758782
... ... @@ -555,7 +555,7 @@
555 555  
556 556  * (% style="color:#037691" %)**Version:** (%%)0x000c=120=1.2
557 557  
558 -* (% style="color:#037691" %)**BAT:**      (%%)0x0d0f = 3343 mV = 3.343V
577 +* (% style="color:#037691" %)**BAT:**  (%%)0x0d0f = 3343 mV = 3.343V
559 559  
560 560  * (% style="color:#037691" %)**Singal:**(%%)  0x0c = 12
561 561  
... ... @@ -579,6 +579,7 @@
579 579  
580 580  
581 581  
601 +
582 582  === 2.3.2  Device ID ===
583 583  
584 584  
... ... @@ -619,6 +619,7 @@
619 619  AT+DEUI=868411056754138
620 620  
621 621  
642 +
622 622  === 2.3.3  Version Info ===
623 623  
624 624  
... ... @@ -646,6 +646,7 @@
646 646  
647 647  )))
648 648  
670 +
649 649  === 2.3.4  Battery Info ===
650 650  
651 651  
... ... @@ -658,6 +658,7 @@
658 658  )))
659 659  
660 660  
683 +
661 661  === 2.3.5  Signal Strength ===
662 662  
663 663  
... ... @@ -690,6 +690,7 @@
690 690  )))
691 691  
692 692  
716 +
693 693  === 2.3.6  Temperature & Humidity ===
694 694  
695 695  
... ... @@ -708,6 +708,7 @@
708 708  Humidity:    Read:0295(H)=661(D)    Value:  661 / 10=66.1, So 66.1%
709 709  
710 710  
735 +
711 711  == 2.4  Downlink Payload ==
712 712  
713 713  
... ... @@ -760,6 +760,7 @@
760 760  )))
761 761  
762 762  
788 +
763 763  == 2.5  Humidity and Temperature alarm function ==
764 764  
765 765  
... ... @@ -795,6 +795,7 @@
795 795  AT+ SHTEMP=20,30 ~/~/ Alarm when temperature lower than 20.
796 796  
797 797  
824 +
798 798  == 2.6 Set the number of data to be uploaded and the recording time ==
799 799  
800 800  
... ... @@ -808,6 +808,7 @@
808 808  [[image:image-20221009001045-1.png||height="726" width="1009"]]
809 809  
810 810  
838 +
811 811  == 2.7 Read or Clear cached data ==
812 812  
813 813  
... ... @@ -819,8 +819,10 @@
819 819  [[image:image-20220908163102-2.png]]
820 820  
821 821  
850 +
822 822  == 2.8  ​Battery Analysis ==
823 823  
853 +
824 824  === 2.8.1  ​Battery Type ===
825 825  
826 826  
... ... @@ -845,6 +845,7 @@
845 845  )))
846 846  
847 847  
878 +
848 848  === 2.8.2  Power consumption Analyze ===
849 849  
850 850  
... ... @@ -856,6 +856,7 @@
856 856  
857 857  )))
858 858  
890 +
859 859  === 2.8.3  ​Battery Note ===
860 860  
861 861  
... ... @@ -864,6 +864,7 @@
864 864  )))
865 865  
866 866  
899 +
867 867  === 2.8.4  Replace the battery ===
868 868  
869 869  
... ... @@ -877,6 +877,7 @@
877 877  )))
878 878  
879 879  
913 +
880 880  = 3. ​ Access NB-IoT Module =
881 881  
882 882  
... ... @@ -893,8 +893,10 @@
893 893  [[image:1657333200519-600.png]]
894 894  
895 895  
930 +
896 896  = 4.  Using the AT Commands =
897 897  
933 +
898 898  == 4.1  Access AT Commands ==
899 899  
900 900  
... ... @@ -988,8 +988,10 @@
988 988  AT+PWORD  : Serial Access Password
989 989  
990 990  
1027 +
991 991  = ​5.  FAQ =
992 992  
1030 +
993 993  == 5.1 ​ How to Upgrade Firmware ==
994 994  
995 995  
... ... @@ -1010,8 +1010,10 @@
1010 1010  )))
1011 1011  
1012 1012  
1051 +
1013 1013  = 6.  Trouble Shooting =
1014 1014  
1054 +
1015 1015  == 6.1  ​Connection problem when uploading firmware ==
1016 1016  
1017 1017  
... ... @@ -1024,6 +1024,7 @@
1024 1024  
1025 1025  )))
1026 1026  
1067 +
1027 1027  == 6.2  AT Command input doesn't work ==
1028 1028  
1029 1029  
... ... @@ -1033,6 +1033,7 @@
1033 1033  
1034 1034  )))
1035 1035  
1077 +
1036 1036  = 7. ​ Order Info =
1037 1037  
1038 1038  
... ... @@ -1039,6 +1039,11 @@
1039 1039  Part Number**:** (% style="color:#4f81bd" %)**N95S31B-YY**
1040 1040  
1041 1041  
1084 +(% class="wikigeneratedid" %)
1085 +(((
1086 +
1087 +)))
1088 +
1042 1042  = 8.  Packing Info =
1043 1043  
1044 1044  (((
... ... @@ -1064,6 +1064,7 @@
1064 1064  (((
1065 1065  
1066 1066  
1114 +
1067 1067  
1068 1068  )))
1069 1069  
... ... @@ -1072,8 +1072,3 @@
1072 1072  
1073 1073  * 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.
1074 1074  * 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]]
1075 -
1076 -
1077 -
1078 -
1079 -
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0