
User Manual for LoRaWAN End Nodes - NBSN95_NBSN95A NB-IoT Sensor Node User Manual
Table of Contents
1. Introduction ........................................................................................................................................................................ 6
1.1 What is NBSN95 NB-IoT Sensor Node .................................................................................................................... 6
1.2 Features ......................................................................................................................................................................... 6
1.3 Specification .................................................................................................................................................................. 6
1.4 Applications ................................................................................................................................................................... 7
1.5 Pin Definitions & Switch .............................................................................................................................................. 7
1.5.1 Jumper JP2 ............................................................................................................................................................. 9
1.5.2 BOOT MODE / SW1 .............................................................................................................................................. 9
1.5.3 Reset Button ............................................................................................................................................................ 9
1.5.4 LED ........................................................................................................................................................................... 9
1.6 Hole Option ................................................................................................................................................................... 9
2. Use NBSN95 to communicate with IoT Server .......................................................................................................... 11
2.1 How it works ............................................................................................................................................................... 11
2.2 Configure the NBSN95 .............................................................................................................................................. 12
2.2.1 Power On NBSN95 ............................................................................................................................................. 12
2.2.2 Test Requirement ................................................................................................................................................ 13
2.2.3 Insert SIM card .................................................................................................................................................... 13
2.2.4 Connect USB – TTL to NBSN95 to configure it ............................................................................................... 14
2.2.5 Use CoAP protocol to uplink data ..................................................................................................................... 15
2.2.6 Use UDP protocol to uplink data(Default protocol) .......................................................................................... 17
2.2.7 Use MQTT protocol to uplink data .................................................................................................................... 19
2.2.8 Use TCP protocol to uplink data ........................................................................................................................ 21
2.2.9 Change Update Interval ...................................................................................................................................... 22
2.3 Working Mode &Uplink Payload ............................................................................................................................. 22
2.3.1 CFGMOD=1 (Default Mode) ............................................................................................................................... 22
2.3.2 CFGMOD=2 (Distance Mode) ............................................................................................................................ 24
2.3.3 CFGMOD=3 (3 ADC + I2C) ............................................................................................................................... 26
2.3.4 CFGMOD=4 (3 x DS18B20) ............................................................................................................................... 27
2.3.5 CFGMOD=5 (Weight Measurement by HX711) ............................................................................................... 29
2.3.6 CFGMOD=6 (Counting mode) ............................................................................................................................ 31
2.4 Payload Explanation and Sensor Interface ............................................................................................................. 33
2.4.1Device ID ............................................................................................................................................................... 33
2.4.2 Version Info ........................................................................................................................................................... 33
2.4.3 Battery Info ........................................................................................................................................................... 33
2.4.4 Signal Strength ..................................................................................................................................................... 33
2.4.5 Temperature (DS18B20) ..................................................................................................................................... 33
2.4.6 Digital Input ........................................................................................................................................................... 34
2.4.7 Analogue Digital Converter (ADC) ..................................................................................................................... 34
2.4.8 Digital Interrupt ..................................................................................................................................................... 36
2.4.9 I2C Interface (SHT20) ......................................................................................................................................... 38
2.4.10 Distance Reading ............................................................................................................................................... 40
2.4.11 Ultrasonic Sensor .............................................................................................................................................. 40
2.4.12 +5V Output .......................................................................................................................................................... 41
2.4.13 Weigh Sensor HX711 ....................................................................................................................................... 42
2.4.14 Timestamp .......................................................................................................................................................... 42
2.5 Downlink Payload ...................................................................................................................................................... 42
2.6 Firmware Change Log ............................................................................................................................................... 43
2.7 Use VDD or +5V to Power External Sensor ........................................................................................................... 43
2.8 Battery & Power Consumption .................................................................................................................................. 43
3. Access NB-IoT Module .................................................................................................................................................. 43
4. Using the AT Commands .............................................................................................................................................. 44
4.1 Access AT Commands ............................................................................................................................................. 44
5. Developer Guide ............................................................................................................................................................. 45
Page 2 / 47 - last modified by Xiaoling on 2023/08/30 14:15