Dragino N95S31B Manual

Dragino N95S31B Manual

Nb-iot temperature & humidity sensor

Advertisement

Quick Links

N95S31B NB-IoT Temperature & Humidity Sensor Manual
Document Version: 1.0.0
Image Version: N95S31-v110
Version
Description
1.0
Release
N95S31 NB-IoT Node User Manual
www.dragino.com
Date
2021-Jun-26
1
27
/

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the N95S31B and is the answer not in the manual?

Questions and answers

Summary of Contents for Dragino N95S31B

  • Page 1 N95S31B NB-IoT Temperature & Humidity Sensor Manual Document Version: 1.0.0 Image Version: N95S31-v110 Version Description Date Release 2021-Jun-26 N95S31 NB-IoT Node User Manual...
  • Page 2: Table Of Contents

    1. Introduction What is N95S31 NB-IoT Sensor Node Specifications Features Applications Pin Definitions & Switch 1.5.1 Jumper JP2 1.5.2 BOOT MODE / SW1 1.5.3 Reset Button 1.5.4 LED 2. Use N95S31 to communicate with IoT Server How it works Configure the N95S31 2.2.1 Power On N95S31...
  • Page 3 N95S31 NB-IoT Node User Manual...
  • Page 4: Introduction

    Sensirion, it provides a strong reliability and long-term stability. The SHT31 is fixed in a waterproof anti-condensation casing for long term use. N95S31B supports different uplink methods include TCP, MQTT, UDP and CoAP for different application requirement. N95S31 is powered by...
  • Page 5: Specifications

    1.2 Specifications Common DC Characteristics: ● Supply Voltage: 2.1v ~ 3.6v ● Operating Temperature: -40 ~ 85°C NB-IoT Spec: ● - B1 @H-FDD: 2100MHz ● - B3 @H-FDD: 1800MHz ● - B8 @H-FDD: 900MHz ● - B5 @H-FDD: 850MHz ●...
  • Page 6: Pin Definitions & Switch

    1.5 Pin Definitions & Switch N95S31B use the mother board from NBSN95 which as below. 1.5.1 Jumper JP2 Power on Device when put this jumper. 1.5.2 BOOT MODE / SW1 1) ISP: upgrade mode, device won't have any signal in this mode. but ready for upgrade firmware.
  • Page 7: Use N95S31 To Communicate With Iot Server

    2. Use N95S31 to communicate with IoT Server 2.1 How it works The N95S31 is equipped with a NB-IoT module, the pre-loaded firmware in N95S31 will get environment data from sensors and send the value to local NB-IoT network via the NB-IoT module.
  • Page 8: Configure The N95S31

    2.2 Configure the N95S31 2.2.1 Power On N95S31 2.2.2 Test Requirement To use N95S31 in your city, make sure meet below requirements: ✓ Your local operator has already distributed a NB-IoT Network there. ✓ The local NB-IoT network used the band that N95S31 supports.
  • Page 9: Insert Sim Card

    2.2.3 Insert SIM card Insert the NB-IoT Card get from your provider. User need to take out the NB-IoT module and insert the SIM card like below: 2.2.4 Connect USB – TTL to N95S31 to configure it User need to configure N95S31 via serial port to set the...
  • Page 10: Use Coap Protocol To Uplink Data

    Make sure the switch is in FLASH position, then power on device by connecting the jumper on N95S31. N95S31 will output system info once power on as below, we can enter the password: 12345678 to access AT Command input. Note( If 12345678 doesn’t work, please...
  • Page 11 After configure the server address and reset the device (via AT+ATZ ), N95S31 will start to uplink sensor values to CoAP server. N95S31 NB-IoT Node User Manual...
  • Page 12: Use Udp Protocol To Uplink Data(Default Protocol)

    2.2.6 Use UDP protocol to uplink data(Default protocol) ➢ AT+PRO=2 // Set to use UDP protocol to uplink ➢ AT+SERVADDR=120.24.4.116,5601 // to set UDP server address and port ➢ AT+CFM=1 //If the server does not respond, this command is unnecessary...
  • Page 13 N95S31 NB-IoT Node User Manual...
  • Page 14 N95S31 NB-IoT Node User Manual...
  • Page 15: Use Mqtt Protocol To Uplink Data

    2.2.7 Use MQTT protocol to uplink data N95S31B supports only plain MQTT now it doesn’t support TLS and other related encryption. ➢ AT+PRO=3 // Set to use MQTT protocol to uplink ➢ AT+SERVADDR=120.24.4.116,1883 // to set MQTT server address and port ➢...
  • Page 16: Use Tcp Protocol To Uplink Data

    To save battery life, N95S31 will establish a subscription before each uplink and close the subscription 3 seconds after uplink successful. Any downlink commands from server will only arrive during the subscription period. MQTT protocol has a much high-power consumption compare vs UDP / CoAP protocol. Please check the power analyze document and adjust the uplink period to a suitable interval.
  • Page 17: Change Update Interval

    2.2.9 Change Update Interval User can use below command to change the uplink interval. AT+TDC=600 // Set Update Interval to 600s N95S31 NB-IoT Node User Manual...
  • Page 18: Uplink Payload

    2.3 Uplink Payload NBSN95 has different working mode for the connections of different type of sensors. This section describes these modes. User can use the AT Command to set NBSN95 to AT+MOD different working modes. For example: AT+CFGMOD=2 // will set the NBSN95 to work in...
  • Page 19: Payload Analyze

    2.3.1 Payload Analyze N95S31 uplink payload includes in total 21 bytes Size (bytes) Value Device Signal Reserve/ Same as NBSN95 Temperature Humidity Strength 0x01 CFGMOD=1 By SHT31 By SHT31 No function here. If we use the MQTT client to subscribe to this MQTT topic, we can see the following information when the NB sensor uplink data.
  • Page 20: Device Id

    2.3.2 Device ID By default, the Device ID equal to the last 6 bytes of IMEI. User can use AT+DEUI to set Device ID Example: AT+DEUI=A84041F15612 The Device ID is stored in a none-erase area, Upgrade the firmware or run AT+FDR won’t erase Device ID.
  • Page 21: Downlink Payload

    Convert the read byte to decimal and divide it by ten. Example: Temperature: Read: 00ec (H) = 236(D) Value: 236 /10=23.6℃ Humidity: Read:0295(H)=661(D) Value: 661 / 10=66.1, So 66.1% 2.4 Downlink Payload By default, N95S31 prints the downlink payload to console port.
  • Page 22: Battery Analysis

    2.5 Battery Analysis 2.5.1 Battery Type The N95S31 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.
  • Page 23: Access Nb-Iot Module

    The SPC can enlarge the battery life for high frequency use (update period below 5 minutes) 3. Access NB-IoT Module Users can directly access the AT command set of the NB-IoT module.
  • Page 24: Using The At Commands

    4. Using the AT Commands 4.1 Access AT Commands See NBSN95 AT Command in this link for detail: https://www.dragino.com/downloads/index.php?dir=NB-IoT/NBSN95/ AT+<CMD>? : Help on <CMD> AT+<CMD> : Run <CMD> AT+<CMD>=<value> : Set the value AT+<CMD>=? : Get the value General Commands...
  • Page 25: Faq

    5. FAQ 5.1 How to Upgrade Firmware User can upgrade the firmware for 1) bug fix, 2) new feature release. Please see this link for how to upgrade: http://wiki.dragino.com/index.php?title=Firmware_Upgrade_Instruction_for_STM32_base_prod ucts#Hardware_Upgrade_Method_Support_List Notice, N95S31 and LSN50v2 share the same mother board. They use the same connection and method to update.
  • Page 26: Trouble Shooting

    6. Trouble Shooting 6.1 Connection problem when uploading firmware. Please see: http://wiki.dragino.com/index.php?title=Firmware_Upgrade_Trouble_Shooting#UART_upgr ade_trouble_shooting 6.2 AT Command input doesn’t work 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.
  • Page 27: Order Info

    7. Order Info Part Number: N95S31B-YY 8. Packing Info Package Includes: ➢ N95S31B NB-IoT Sensor Node x 1 ➢ External antenna x 1 Dimension and weight: ➢ Device Size: 13.0 x 5 x 4.5 cm ➢ Device Weight: 150g ➢...

Table of Contents