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

Summary

Details

Page properties
Content
... ... @@ -17,7 +17,6 @@
17 17  
18 18  = 1.  Introduction =
19 19  
20 -
21 21  == 1.1 ​ What is N95S31B NB-IoT Sensor Node ==
22 22  
23 23  (((
... ... @@ -111,7 +111,6 @@
111 111  ​
112 112  
113 113  
114 -
115 115  == 1.5  Pin Definitions & Switch ==
116 116  
117 117  
... ... @@ -121,7 +121,6 @@
121 121  [[image:image-20220709144723-1.png]]
122 122  
123 123  
124 -
125 125  === 1.5.1 Jumper JP2 ===
126 126  
127 127  
... ... @@ -128,20 +128,18 @@
128 128  Power on Device when put this jumper.
129 129  
130 130  
131 -
132 132  === 1.5.2 BOOT MODE / SW1 ===
133 133  
134 134  
135 135  (((
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.
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.
137 137  )))
138 138  
139 139  (((
140 -2) Flash: work mode, device starts to work and send out console output for further debug
136 +**2) Flash:**  work mode, device starts to work and send out console output for further debug
141 141  )))
142 142  
143 143  
144 -
145 145  === 1.5.3 Reset Button ===
146 146  
147 147  
... ... @@ -148,20 +148,18 @@
148 148  Press to reboot the device.
149 149  
150 150  
151 -
152 152  === 1.5.4 LED ===
153 153  
154 154  
155 155  It will flash:
156 156  
157 -1. When boot the device in flash mode
158 -1. Send an uplink packet
151 +1.  When boot the device in flash mode
159 159  
153 +2.  Send an uplink packet
160 160  
161 161  
162 162  = 2.  Use N95S31B to communicate with IoT Server =
163 163  
164 -
165 165  == 2.1  How it works ==
166 166  
167 167  
... ... @@ -187,7 +187,6 @@
187 187  
188 188  == 2.2 ​ Configure the N95S31B ==
189 189  
190 -
191 191  === 2.2.1  Power On N95S31B ===
192 192  
193 193  
... ... @@ -194,10 +194,9 @@
194 194  [[image:image-20220709150546-2.png]]
195 195  
196 196  
189 +=== 2.2.2 Test Requirement ===
197 197  
198 -=== 2.2.1 Test Requirement ===
199 199  
200 -
201 201  (((
202 202  To use N95S31B in your city, make sure meet below requirements:
203 203  )))
... ... @@ -244,7 +244,6 @@
244 244  [[image:1657350625843-586.png]]
245 245  
246 246  
247 -
248 248  === 2.2.3  Insert SIM card ===
249 249  
250 250  
... ... @@ -260,7 +260,6 @@
260 260  [[image:1657351240556-536.png]]
261 261  
262 262  
263 -
264 264  === 2.2.4  Connect USB – TTL to N95S31B to configure it ===
265 265  
266 266  
... ... @@ -275,13 +275,13 @@
275 275  [[image:1657351312545-300.png]]
276 276  
277 277  
278 -**Connection:**
267 +(% style="color:blue" %)**Connection:**
279 279  
280 - (% style="background-color:yellow" %)USB TTL GND <~-~-~-~-> GND
269 + (% style="background-color:yellow" %)**USB TTL GND <~-~-~-~-> GND**
281 281  
282 - (% style="background-color:yellow" %)USB TTL TXD <~-~-~-~-> UART_RXD
271 +**~ (% style="background-color:yellow" %)USB TTL TXD <~-~-~-~-> UART_RXD(%%)**
283 283  
284 - (% style="background-color:yellow" %)USB TTL RXD <~-~-~-~-> UART_TXD
273 +**~ (% style="background-color:yellow" %)USB TTL RXD <~-~-~-~-> UART_TXD(%%)**
285 285  
286 286  
287 287  In the PC, use below serial tool settings:
... ... @@ -304,7 +304,6 @@
304 304  )))
305 305  
306 306  
307 -
308 308  === 2.2.5  Use CoAP protocol to uplink data ===
309 309  
310 310  
... ... @@ -341,7 +341,6 @@
341 341  [[image:1657352185396-303.png]]
342 342  
343 343  
344 -
345 345  === 2.2.6  Use UDP protocol to uplink data(Default protocol) ===
346 346  
347 347  
... ... @@ -355,19 +355,18 @@
355 355  [[image:1657352403317-397.png]]
356 356  
357 357  
358 -
359 359  === 2.2.7  Use MQTT protocol to uplink data ===
360 360  
361 361  
362 362  N95S31B supports only plain MQTT now it doesn't support TLS and other related encryption.
363 363  
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
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
371 371  
372 372  [[image:1657352634421-276.png]]
373 373  
... ... @@ -385,7 +385,6 @@
385 385  )))
386 386  
387 387  
388 -
389 389  === 2.2.8  Use TCP protocol to uplink data ===
390 390  
391 391  
... ... @@ -400,7 +400,6 @@
400 400  [[image:1657352914475-252.png]]
401 401  
402 402  
403 -
404 404  === 2.2.9  Change Update Interval ===
405 405  
406 406  
... ... @@ -421,7 +421,6 @@
421 421  )))
422 422  
423 423  
424 -
425 425  == 2.3  Uplink Payload ==
426 426  
427 427  
... ... @@ -464,13 +464,11 @@
464 464  **By default, the device will send an uplink message every 1 hour.**
465 465  
466 466  
467 -
468 468  
469 469  )))
470 470  
471 471  === 2.3.1  Payload Analyze ===
472 472  
473 -
474 474  ==== 2.3.1.1  Before Firmware v1.2 ====
475 475  
476 476  
... ... @@ -477,10 +477,8 @@
477 477  N95S31B uplink payload includes in total 21 bytes
478 478  
479 479  
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**
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**
484 484  |(% 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" %)(((
485 485  (((
486 486  Reserve/ Same as NBSN95 CFGMOD=1
... ... @@ -519,7 +519,7 @@
519 519  [[image:1657354294009-643.png]]
520 520  
521 521  
522 -The payload is ASCII string, representative same HEX: **0x724031607457 006e 0ccd 1b 01 00dc000ccc 00e1 0186**
501 +The payload is ASCII string, representative same HEX: (% style="background-color:yellow" %)**0x724031607457 006e 0ccd 1b 01 00dc000ccc 00e1 0186**
523 523  
524 524  **where:**
525 525  
... ... @@ -554,9 +554,9 @@
554 554  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.
555 555  
556 556  
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 .....
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 .....
560 560  
561 561  If we use the MQTT client to subscribe to this MQTT topic, we can see the following information when the N95S31B uplink data.
562 562  
... ... @@ -566,8 +566,10 @@
566 566  
567 567  The payload is ASCII string, representative same HEX:
568 568  
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__**
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__ **
570 570  
550 +**__0112023b631998f3__// //__011202426319983f__ __01110242631996eb__**
551 +
571 571  **where:**
572 572  
573 573  * (% style="color:#037691" %)**Device ID:**(%%) f868411056758782 = f868411056758782
... ... @@ -574,7 +574,7 @@
574 574  
575 575  * (% style="color:#037691" %)**Version:** (%%)0x000c=120=1.2
576 576  
577 -* (% style="color:#037691" %)**BAT:**  (%%)0x0d0f = 3343 mV = 3.343V
558 +* (% style="color:#037691" %)**BAT:**      (%%)0x0d0f = 3343 mV = 3.343V
578 578  
579 579  * (% style="color:#037691" %)**Singal:**(%%)  0x0c = 12
580 580  
... ... @@ -598,7 +598,6 @@
598 598  
599 599  
600 600  
601 -
602 602  === 2.3.2  Device ID ===
603 603  
604 604  
... ... @@ -639,7 +639,6 @@
639 639  AT+DEUI=868411056754138
640 640  
641 641  
642 -
643 643  === 2.3.3  Version Info ===
644 644  
645 645  
... ... @@ -667,7 +667,6 @@
667 667  
668 668  )))
669 669  
670 -
671 671  === 2.3.4  Battery Info ===
672 672  
673 673  
... ... @@ -680,7 +680,6 @@
680 680  )))
681 681  
682 682  
683 -
684 684  === 2.3.5  Signal Strength ===
685 685  
686 686  
... ... @@ -713,7 +713,6 @@
713 713  )))
714 714  
715 715  
716 -
717 717  === 2.3.6  Temperature & Humidity ===
718 718  
719 719  
... ... @@ -732,7 +732,6 @@
732 732  Humidity:    Read:0295(H)=661(D)    Value:  661 / 10=66.1, So 66.1%
733 733  
734 734  
735 -
736 736  == 2.4  Downlink Payload ==
737 737  
738 738  
... ... @@ -785,7 +785,6 @@
785 785  )))
786 786  
787 787  
788 -
789 789  == 2.5  Humidity and Temperature alarm function ==
790 790  
791 791  
... ... @@ -821,7 +821,6 @@
821 821  AT+ SHTEMP=20,30 ~/~/ Alarm when temperature lower than 20.
822 822  
823 823  
824 -
825 825  == 2.6 Set the number of data to be uploaded and the recording time ==
826 826  
827 827  
... ... @@ -835,7 +835,6 @@
835 835  [[image:image-20221009001045-1.png||height="726" width="1009"]]
836 836  
837 837  
838 -
839 839  == 2.7 Read or Clear cached data ==
840 840  
841 841  
... ... @@ -847,10 +847,8 @@
847 847  [[image:image-20220908163102-2.png]]
848 848  
849 849  
850 -
851 851  == 2.8  ​Battery Analysis ==
852 852  
853 -
854 854  === 2.8.1  ​Battery Type ===
855 855  
856 856  
... ... @@ -875,7 +875,6 @@
875 875  )))
876 876  
877 877  
878 -
879 879  === 2.8.2  Power consumption Analyze ===
880 880  
881 881  
... ... @@ -887,7 +887,6 @@
887 887  
888 888  )))
889 889  
890 -
891 891  === 2.8.3  ​Battery Note ===
892 892  
893 893  
... ... @@ -896,7 +896,6 @@
896 896  )))
897 897  
898 898  
899 -
900 900  === 2.8.4  Replace the battery ===
901 901  
902 902  
... ... @@ -910,7 +910,6 @@
910 910  )))
911 911  
912 912  
913 -
914 914  = 3. ​ Access NB-IoT Module =
915 915  
916 916  
... ... @@ -927,10 +927,8 @@
927 927  [[image:1657333200519-600.png]]
928 928  
929 929  
930 -
931 931  = 4.  Using the AT Commands =
932 932  
933 -
934 934  == 4.1  Access AT Commands ==
935 935  
936 936  
... ... @@ -1024,10 +1024,8 @@
1024 1024  AT+PWORD  : Serial Access Password
1025 1025  
1026 1026  
1027 -
1028 1028  = ​5.  FAQ =
1029 1029  
1030 -
1031 1031  == 5.1 ​ How to Upgrade Firmware ==
1032 1032  
1033 1033  
... ... @@ -1048,10 +1048,8 @@
1048 1048  )))
1049 1049  
1050 1050  
1051 -
1052 1052  = 6.  Trouble Shooting =
1053 1053  
1054 -
1055 1055  == 6.1  ​Connection problem when uploading firmware ==
1056 1056  
1057 1057  
... ... @@ -1064,7 +1064,6 @@
1064 1064  
1065 1065  )))
1066 1066  
1067 -
1068 1068  == 6.2  AT Command input doesn't work ==
1069 1069  
1070 1070  
... ... @@ -1074,7 +1074,6 @@
1074 1074  
1075 1075  )))
1076 1076  
1077 -
1078 1078  = 7. ​ Order Info =
1079 1079  
1080 1080  
... ... @@ -1081,11 +1081,6 @@
1081 1081  Part Number**:** (% style="color:#4f81bd" %)**N95S31B-YY**
1082 1082  
1083 1083  
1084 -(% class="wikigeneratedid" %)
1085 -(((
1086 -
1087 -)))
1088 -
1089 1089  = 8.  Packing Info =
1090 1090  
1091 1091  (((
... ... @@ -1111,7 +1111,6 @@
1111 1111  (((
1112 1112  
1113 1113  
1114 -
1115 1115  
1116 1116  )))
1117 1117  
... ... @@ -1120,3 +1120,8 @@
1120 1120  
1121 1121  * 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.
1122 1122  * 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