Skip to main content

RS485-FB/FS – RS485/UART to NB-IoT/LTE-M Converter

image-20231008143931-2-f7b3a7acd44d268cf45deb0f7f707973.png

1. Introduction​

1.1 What is RS485 / UART to NB-IoT/LTE-M Converter​

The Dragino RS485-FB is an RS485 / UART to NB-IoT/LTE-M converter for Internet of Things solutions. It reads external RS485 or UART TTL sensors and uploads the selected response bytes to an IoT server via the NB-IoT or LTE-M network.

RS485-FB can interface to RS485 sensor, 3.3v/5v UART sensor or interrupt sensor. RS485-FB provides a 3.3v output and a 5v output to power external sensors. Both output voltages are controllable to minimize the total system power consumption.

RS485-FB supports different uplink methods including MQTT, MQTTs, TCP or UDP. The device can poll sensors periodically or on an external interrupt. It can also record readings locally and upload several records together.

RS485-FB supports BLE configure and OTA update which make user easy to use.

Make sure you have NB-IoT or LTE-M coverage locally.

1.2 Features​

  • NB-IoT Bands: B1/B2/B3/B4/B5/B8/B12/B13/B17/B19/B20/B25/B26/B28/B65/B66/B85/B106
  • CAT-M1 / LTE-M Bands: B1/B2/B3/B4/B5/B8/B12/B13/B18/B19/B20/B25/B26/B28/B66/B85/B106
  • Ultra-low power consumption
  • RS485 Modbus RTU and UART TTL modes
  • Support multiply RS485 devices by flexible rules
  • Supports connecting a UART sensors with 3.3V or 5V
  • Periodic and interrupt-triggered uplinks
  • Clock logging and multiple records in one uplink
  • JSON uplinks over MQTT, MQTT over TLS, TCP or UDP
  • GNSS for location reporting
  • Bluetooth 5.1 for remote configuration
  • Downlink configuration
  • Nano SIM card slot
  • 8500 mAh Li-SOCl2 battery (RS485-FB)
  • Solar panel + 3000 mAh rechargeable Li-ion battery (RS485-FS)

1.3 Specification​

Common DC Characteristics:

  • Supply Voltage: 3.0v ~ 3.6v
  • Operating Temperature: -40 ~ 85°C

NB-IoT/LTE-M Spec:

  • Module: nRF9151-NGFF
  • Support Bands:
    • NB-IoT Bands:

      • B1 @H-FDD: 2100MHz
      • B2 @H-FDD: 1900MHz
      • B3 @H-FDD: 1800MHz
      • B4 @H-FDD: 2100MHz
      • B5 @H-FDD: 860MHz
      • B8 @H-FDD: 900MHz
      • B12 @H-FDD: 720MHz
      • B13 @H-FDD: 740MHz
      • B17 @H-FDD: 730MHz
      • B19 @H-FDD: 870MHz
      • B20 @H-FDD: 790MHz
      • B25 @H-FDD: 1900MHz
      • B26 @H-FDD: 876MHz
      • B28 @H-FDD: 750MHz
      • B65 @H-FDD: 2155MHz
      • B66 @H-FDD: 2000MHz
      • B85 @H-FDD: 700MHz
      • B106 @H-FDD: 900MHz
    • CAT-M1 / LTE-M Bands:

      • B1 @H-FDD: 2100MHz
      • B2 @H-FDD: 1900MHz
      • B3 @H-FDD: 1800MHz
      • B4 @H-FDD: 2100MHz
      • B5 @H-FDD: 860MHz
      • B8 @H-FDD: 900MHz
      • B12 @H-FDD: 720MHz
      • B13 @H-FDD: 740MHz
      • B18 @H-FDD: 870MHz
      • B19 @H-FDD: 870MHz
      • B20 @H-FDD: 790MHz
      • B25 @H-FDD: 1900MHz
      • B26 @H-FDD: 876MHz
      • B28 @H-FDD: 750MHz
      • B66 @H-FDD: 2000MHz
      • B85 @H-FDD: 700MHz
      • B106 @H-FDD: 900MHz

Battery:

  • Li/SOCI2 un-chargeable battery(RS485-FB)
  • Capacity: 8500mAh
  • Self Discharge: <1% / Year @ 25°C
  • Max continuously current: 130mA
  • Max boost current: 2A, 1 second

Power Consumption:

  • STOP mode: 14 µA at 3.3 V
  • Maximum transmit current: 350 mA at 3.3 V

1.4 Applications​

  • Industrial monitoring
  • Smart metering
  • Logistics and Supply Chain Management
  • Environmental monitoring

1.5 Sleep mode and working mode​

Deep Sleep Mode: Sensor doesn't have any NB-IoT activate. This mode is used for storage and shipping to save battery life.

Working Mode: In this mode, Sensor will work as NB-IoT Sensor to Join NB-IoT network and send out sensor data to server. Between each sampling/tx/rx periodically, sensor will be in IDLE mode), in IDLE mode, sensor has the same power consumption as Deep Sleep mode.

1.6 Button & LEDs​

1675071855856-879.png

Behavior on ACTFunctionAction
1749523503750-484.png 1~3sSend an uplink

If sensor has already attached to NB-IoT/CAT-M1 network, sensor will send an uplink packet, blue led will blink once.
Meanwhile, BLE module will be active and user can connect via BLE to configure device.

1749523505736-728.png >3sActive Device

Green led will fast blink 5 times. And then start to attach NB-IoT/CAT-M1 network.
Once sensor is active, BLE module will be active and user can connect via BLE to configure device, no matter if device attach NB-IoT/CAT-M1 network or not.

1749523513440-828.png x5Deactivate DeviceRed led will solid on for 5 seconds. Means device is in Deep Sleep Mode.
1749523513440-828.png x1Toggle Serial Communication

Press the ACT button once to activate the serial communication function, and Ready will be displayed in the serial tool.
Press the ACT button once again to disable the serial communication function. The green led will turn on when the button is pressed, and then the red led will blink once to indicate that the serial communication has been disabled.

Note: When the device is executing a program, the buttons may become invalid. It is best to press the buttons after the device has completed the program execution.

1.7 BLE connection​

RS485-FB support BLE remote configure and firmware update.

BLE can be used to configure the parameter of sensor or see the console output from sensor. BLE will be only activate on below case:

  • Press button to send an uplink
  • Press button to active device.
  • Device Power on or reset.

If there is no activity connection on BLE in 60 seconds, sensor will shut down BLE module to enter low power mode.

1.8 Pin Definitions , Switch & SIM Direction​

For RS485-FB version

RS485-91059649e2c8192dc4cc209df06a2dd9-91059649e2c8192dc4cc209df06a2dd9.jpg

For RS485W-FB version

RS485W-45c99dbde93a3e8173c3325199aec460.jpg

Note
  1. The RS485W-FB/FS adds a 12V output port to the standard version and is fully compatible with the RS485-FB/FS in terms of firmware and basic functionality.
  2. The 12V output is converted from the internal 5V output, so it shares the same control command as the 5V pin, both configured using AT+5VT.
  3. The maximum output current is approximately 130mA. Exceeding this current will cause the 12V output voltage to drop.

1.8.1 Jumper JP2​

Install JP2 to power on the device. Remove it to power off.

1.8.2 BOOT MODE / SW1​

The BOOT MODE / SW1 switch has no function on -FB products. Keep it in the FLASH position.

1.8.3 Reset Button​

Press to reboot the device.

1.8.4 SIM Card Direction​

See this link. How to insert SIM Card.

1.9 Mechanical​

1.9.1 for FB version​

LB-885784dc2902b3f6f6aae3e4e72ed5e6-885784dc2902b3f6f6aae3e4e72ed5e6.png

1.9.2 for FS version​

LS-4ab9c495288c0bf5d4d35d7a71578948-4ab9c495288c0bf5d4d35d7a71578948.png

2. Use RS485-FB to communicate with IoT Server​

2.1 Send data to IoT server via NB-IoT/LTE-M network​

The RS485-FB is equipped with a NB-IoT module, the pre-loaded firmware in RS485-FB will read the connected RS485 or UART TTL sensors and send the data to local NB-IoT network via the NB-IoT module. The NB-IoT network will forward this value to IoT server via the protocol defined by RS485-FB.

Communication path: RS485-FB → NB-IoT/LTE-M network → IoT server.

There are two version: -GE and -1T version of RS485-FB.

GE Version: This version doesn't include SIM card or point to any IoT server. User needs to use AT Commands to configure below two steps to set RS485-FB send data to IoT server.

Below shows result of different server as a glance.

ServersDash BoardComments
Node-Rednote-red.png
Tago.IO
General UDPRaw Payload. Need Developer to design Dash Board
General MQTTRaw Payload. Need Developer to design Dash Board
ThingsBoardthingsboard.png

1T Version: This version has 1NCE SIM card pre-installed and configure to send value to ThingsEye. User Just need to select the sensor type in ThingsEye and activate the RS485-FB to view its readings. See here for ThingsEye Config Instruction.

2.2 Payload Types​

RS485-FB uses JSON uplink payloads. Select the transport with AT+PRO:

  • AT+PRO=2,0: UDP with JSON.
  • AT+PRO=3,0: MQTT with JSON.
  • AT+PRO=4,0: TCP with JSON.

The examples below were captured on RS485-FB v1.0.2. GPS was disabled in these examples.

2.2.1 Status Packet​

After each reactivation, the device sends a status packet once it joins the cellular network and connects to the server.

{
"IMEI": "355025936334455",
"Image Version": "v1.0.2",
"NB-IoT Stack": "NRF9151-001",
"Model": "RS485-FB",
"MCC": "460",
"MNC": "0",
"Cell_id": "46134845",
"Cell_area": "7479",
"PSM_TAU": "36000",
"Active_time": "0"
}
FieldDescription
IMEIDevice International Mobile Equipment Identity.
Image VersionDevice application firmware version.
NB-IoT StackCellular modem stack identifier.
ModelDevice model reported by the firmware.
MCCMobile Country Code of the serving network.
MNCMobile Network Code of the serving network.
Cell_idServing cell identifier.
Cell_areaServing cell's network area code.
PSM_TAUPeriodic TAU timer (T3412) in seconds. Time the device stays in PSM deep sleep before waking up for a Tracking Area Update (e.g., "36000" = 10 hours).
Active_timePSM active timer (T3324) in seconds. How long the modem remains reachable in idle mode before entering deep sleep (e.g., "0" = immediate sleep).

2.2.2 General JSON Format (Type=0)​

The following uplink was captured in RS485 mode with AT+CLOCKLOG=1,65535,1,8.

{
"IMEI": "355025936344397",
"IMSI": "460087023300092",
"Model": "RS485-FB",
"fcnt": "5",
"signal": "23",
"bat": 3.63,
"i_flag": "0",
"Payload": "01076f",
"time": "2026-11-30T07:08:11Z",
"latitude": 0,
"longitude": 0,
"gps_time": "00/00/00,00:00:00",
"1": ["2026-11-30T07:01:52Z", "010773"],
"2": ["2026-11-30T07:02:52Z", "010773"],
"3": ["2026-11-30T07:03:52Z", "01076c"],
"4": ["2026-11-30T07:04:52Z", "01076b"],
"5": ["2026-11-30T07:05:52Z", "01076c"],
"6": ["2026-11-30T07:06:52Z", "01076d"],
"7": ["2026-11-30T07:07:52Z", "01076f"],
"8": ["2026-11-30T07:08:11Z", "01076f"]
}
FieldDescription
IMEI, IMSI, ModelDevice identifier, SIM subscriber identifier and device model.
fcntUplink frame counter, reported as a string.
signalCellular signal quality indicator, reported as a string.
batBattery voltage in volts.
i_flag"0": normal uplink; "1": external interrupt triggered the uplink.
PayloadCurrent sensor data as a Hex string inside the JSON packet. In 01076f, 01 is the payload version and 076f is the extracted sensor data. Interpret the data according to the sensor's register map and scaling.
timeUplink timestamp in UTC.
latitude, longitude, gps_timeGNSS coordinates and fix time. With GPS disabled in this example, the coordinates are zero and gps_time is "00/00/00,00:00:00".
"1"–"8"Recent records. Each array contains two strings: ["UTC timestamp","payload version + sensor data"].

The Hex string in Payload is a field inside a JSON uplink; it is not a separate Hex uplink format.

When no bytes can be extracted, the device fills the missing data with FF bytes in RS485 mode or 00 bytes in TTL mode. In the two-byte examples below, the first byte (01) is still the payload version.

Working modeNormal exampleNo-response example
RS485 Modbus RTU01077e01ffff
UART TTL010773010000

The device continues polling at the next sampling time. A sensor can also return all-zero or all-FF data legitimately; check the serial response and the sensor's register definition before interpreting these values.

3. Configure RS485-FB​

3.1 Configure Methods​

RS485-FB supports below configure method:

3.2 Serial Access Password​

After the Bluetooth or UART connection is successful, use the Serial Access Password to unlock AT command access. If UART is inactive, press ACT once and wait for Ready before entering the password.

The label on the box of the node will print the initial password: AT PIN:xxxxxx, and directly use the six-digit password to access the AT instruction window.

If you need to change the password, use AT+PWORD=xxxxxx (6 characters).

note

After entering the command, you need to add a line break, and you can also set automatic line breaks in the Bluetooth tool or UART connection tool.

3.3 AT Commands Set​

AT? // List available commands
AT+<CMD>? // Help on a command
AT+<CMD> // Run a command
AT+<CMD>=<value> // Set a value
AT+<CMD>=? // Query a value

General Commands

AT+MODEL : Get module information

AT+CFG : Print all settings

AT+TDC : Get or set the uplink interval in seconds

AT+INTMOD : Get or set the external interrupt trigger mode

AT+APN / AT+AUNAME / AT+APWD : Configure the APN and its optional credentials

AT+SERVADDR : Get or set the server address

AT+PRO : Select the uplink protocol

AT+RXDL : Get or set the receive window

RS485 / UART TTL

AT+CFGMOD : Select RS485 Modbus RTU or UART TTL mode

AT+BAUDR / AT+DATABIT / AT+PARITY / AT+STOPBIT : Configure the sensor serial port

AT+CFGDEV : Send a configuration request to the connected sensor

AT+COMMANDx : Set a sampling request

AT+DATACUTx : Select bytes from the response

AT+SEARCHx : Find response data using a Hex pattern

AT+CMDDLx : Set the response timeout for a sampling request

AT+MBFUN : Select automatic Modbus response extraction

AT+CMDEAR : Clear stored request settings

AT+PAYVER : Get or set the payload version

AT+3V3T / AT+5VT : Control sensor power output

AT+GETSENSORVALUE : Return the current sensor measurement

MQTT Management

AT+CLIENT / AT+UNAME / AT+PWD : Set the MQTT client ID and credentials

AT+PUBTOPIC / AT+SUBTOPIC : Set the MQTT topics

AT+MQOS : Set the MQTT QoS level

AT+TLSMOD : Get or set the TLS mode

GPS

AT+GTIME : Extend the time allowed for positioning

AT+QGPS : Turn GPS on or off

AT+QGTDC : Get or set the GPS positioning interval in hours

Information and Maintenance

AT+CLOCKLOG : Set the sampling schedule and number of records to upload

AT+PLDTA / AT+PDTA : Print local Flash records

AT+CLRDTA : Clear stored records

AT+LDATA / AT+GETLOG : Get the last uplink or print serial logs

AT+REDPT : Enable or disable retransmission

AT+FREB : Set the failed send attempt threshold before restart

AT+FDR : Restore factory settings

ATZ : Reboot the device

AT Command: AT+TDC

Example: AT+TDC=600 // Set the uplink interval to 600 seconds.

Downlink Command: 0x01

Format: Command Code (0x01) followed by 3 bytes.

  • 01000258 // AT+TDC=600
  • 01000384 // AT+TDC=900

Hold ACT for 1–3 seconds to send a test uplink after the device joins the network.

3.5 Working Mode and Sensor Wiring​

Set AT+CFGMOD=1 for RS485 Modbus RTU or AT+CFGMOD=2 for UART TTL. Power off the device before wiring the sensor.

ModeSignal connectionsPower connections
RS485 Modbus RTUDevice A → sensor A; device B → sensor B.Connect GND to GND. In the 5 V sensor example, connect sensor VCC to the device's 5 V output.
UART TTLDevice TX → sensor RX; device RX → sensor TX.Connect GND to GND. In the 5 V sensor example, connect sensor VCC to the device's 5 V output.

Match the TTL signal level to the sensor as well as its supply voltage. Do not connect an RS232 interface directly to TTL pins. For sensors with a separate supply, use the sensor's rated supply and connect the signal ground as required by the sensor.

3.6 Configure UART Settings​

Match the serial settings to the connected sensor. The TTL sensor example uses the following commands:

AT+BAUDR=9600
AT+DATABIT=8
AT+PARITY=0
AT+STOPBIT=1

AT+PARITY uses 0 for none, 1 for odd and 2 for even. Query AT+STOPBIT? for the stop-bit options supported by your firmware.

3.7 Configure Read Commands for Each Sampling​

Each sampling request has its own slot. Use the same slot suffix for the request, response extraction and timeout (for example, 1 in AT+COMMAND1, AT+DATACUT1 and AT+CMDDL1).

  • AT+COMMANDx=bytes,m: Set the Hex bytes to send. In RS485 Modbus RTU mode, set m=1 to append the Modbus CRC automatically; set m=0 to send the supplied bytes without appending a CRC. For UART TTL sensors, set m=0.
  • AT+DATACUTx=a,b,c: Select bytes from the response. a is the expected response length in bytes; b=1 selects individual byte positions and b=2 selects byte ranges. c specifies the positions, starting at 1.
  • AT+CMDDLx: Set how long to wait for the sensor response after sending the request, in milliseconds.
  • AT+SEARCHx: Find the relevant part of a variable-length response using a Hex prefix or a prefix and suffix. Use AT+SEARCH? for the syntax supported by the device.
  • AT+MBFUN: Configure automatic extraction from Modbus responses. The firmware command list identifies 0 as disabled, 1 for function codes 01/02, and 2 for 03/04. The examples below use explicit AT+DATACUTx settings instead.

3.7.1 RS485 Modbus RTU Example​

The example reads one holding register at address 0x0100 from slave 01. The expected reply is seven bytes; select bytes 4–5 for the register data.

AT+CFGMOD=1
AT+COMMAND1=01 03 01 00 00 01,1
AT+DATACUT1=7,2,4~5
AT+CMDDL1=1000
AT+5VT=2000
AT+TDC=600

3.7.2 UART TTL Example​

This example uses a TTL distance sensor with a four-byte response. Select bytes 2–3 and send the request without appending a Modbus CRC.

AT+CFGMOD=2
AT+COMMAND1=FF 03 01 00 00 01,0
AT+DATACUT1=4,2,2~3
AT+CMDDL1=1000
AT+5VT=1000
AT+TDC=600

3.8 Control Sensor Power Output​

For timed operation, the value is the lead time in milliseconds before each sampling. Use a lead time long enough for the sensor to start and respond.

CommandFunction
AT+3V3T=1000Turn on 3.3 V one second before each sampling.
AT+3V3T=0Keep 3.3 V on.
AT+3V3T=65535Keep 3.3 V off.
AT+5VT=1000Turn on 5 V one second before each sampling.
AT+5VT=0Keep 5 V off.
AT+5VT=65535Keep 5 V on.

Use the GPIO_EXTI input to trigger a sensor read and an uplink without waiting for the next TDC interval. The uplink reports "i_flag":"1".

  • AT+INTMOD=0: Disable interrupt.
  • AT+INTMOD=1: Trigger on rising and falling edges.
  • AT+INTMOD=2: Trigger on falling edge.
  • AT+INTMOD=3: Trigger on rising edge.

3.10 Set the QoS level​

This command is used to set the QoS level of MQTT.

AT command:

  • AT+MQOS=xx // 0~2

Downlink command: 0x07

Format: Command Code (0x07) followed by 1 byte.

Ex1: Downlink payload: 0700 // AT+MQOS=0

Ex2: Downlink payload: 0701 // AT+MQOS=1

3.11 Set the TLS Mode​

Refer to this link (General MQTT over TLS Connection) to use the TLS mode.

AT Command: AT+TLSMOD

Example 1:

  • AT+TLSMOD=0,0 // Disable TLS Mode.

Example 2:

  • AT+TLSMOD=1,0 // No authentication
  • AT+TLSMOD=1,1 // Perform server authentication
  • AT+TLSMOD=1,2 // Perform server and client authentication if requested by the remote server

3.12 Configure Network Category to be Searched for under LTE RAT.​

AT command: AT+IOTMOD=a,b,c

a: 0: Disenable eMTC; 1: Enable eMTC

b: 0: Disenable NB-IoT ; 1. Enable NB-IOT

c: Priority: If two network categories are enabled simultaneously, the device will give priority to the configured category.

Ext1: AT+IOTMOD=1,1,2 ----> Indicates that both eMTC and NB-IoT are enabled, with priority given to the NB-IoT network type.

3.13 Set the Network Search Time​

AT Command: AT+SFNT

Example: AT+SFNT=60 // Set the network search time to 60 seconds.

3.14 Clock Logging​

Use clock logging to sample sensors at a fixed interval independently of the uplink interval.

AT Command: AT+CLOCKLOG=a,b,c,d

  • a: 0 disables clock logging; 1 enables it.
  • b: First sampling start second. Use 65535 to start after the node joins the network and sends its first packet.
  • c: Sampling interval in minutes.
  • d: Number of recent records to include in an uplink.

Example: AT+CLOCKLOG=1,65535,1,8 records data every minute and includes up to eight recent records in the uplink. Each record is a two-element array containing its UTC timestamp and the sensor payload.

Downlink Command: 0x16

Format: 16 aa bb bb cc dd — one byte for a, two bytes for b (most significant byte first), one byte for c and one byte for d.

  • Hex example: 1601FFFF0306 // Same as AT+CLOCKLOG=1,65535,3,6.
  • JSON example: {"Config":"[AT+CLOCKLOG=1,65535,2,5]"}.

3.15 Print Local Flash Records​

  • AT+PLDTA=5: Print the last five records.
  • AT+PDTA=1,1: Print records from Flash page 1.
  • AT+CLRDTA: Clear the records stored in Flash.

The serial log output is not the same as the numbered arrays in the uplink.

AT+PLDTA=5
0001 2026/11/30 08:06:54 3622 alarm:false
0002 2026/11/30 08:07:54 3622 alarm:false
0003 2026/11/30 08:08:54 3622 alarm:false
0004 2026/11/30 08:09:54 3622 alarm:false
0005 2026/11/30 08:10:54 3622 alarm:false

OK

AT Command: AT+REDPT

  • AT+REDPT=1: Enable retransmission of unconfirmed uplinks after communication is restored.
  • AT+REDPT=0: Disable retransmission.

Configure the server to return the expected acknowledgement ({"Confirm":200}) for the retransmission workflow.

3.17 Failed Send Attempts Before Automatic Restart​

Feature: Get or set the number of consecutive failed send attempts that triggers an automatic restart.

AT Command: AT+FREB

Command ExampleFunction
AT+FREB=?Show the current failed send attempt threshold.
AT+FREB=0Disable automatic restart after consecutive failed send attempts.
AT+FREB=15Set the node to restart after 15 consecutive failed send attempts.

Send Hex commands as contiguous text without spaces or a 0x prefix. For JSON configuration, wrap the AT command in square brackets inside the Config string. For MQTT, publish to the device's subscribe topic during the receive window after an uplink.

The device can reply with {"IMEI":"355025936344397","Downklink_Ack":"success"}. Use the field name as shown when parsing the acknowledgement.

See FB Downlink Command Format.

  • AT+GETSENSORVALUE: Read the current sensor measurement.
  • AT+LDATA: Get the last uplink.
  • AT+GETLOG: Print serial logs.
  • ATZ: Reboot the device.
  • AT+FDR: Restore factory settings.

3.20 Set GTIME open time​

Extend the time to turn on GNSS. The automatic GPS location time is extended when the node is activated.

AT Command: AT+GTIME

Example: AT+GTIME=30 // Set the GPS positioning time to 30 seconds

Downlink command: 0x10

Format: Command Code (0x10) followed by 2 bytes.

Example: Downlink Payload: 10001E // AT+GTIME=30

3.21 Turn on/off GPS​

AT Command: AT+QGPS

  • Ex1: AT+QGPS=0 // Turn off GPS
  • Ex2: AT+QGPS=1 // Turn on GPS

Downlink command: 0x11

Format: Command Code (0x11) followed by 1 byte.

Example: Downlink Payload: 1101 // AT+QGPS=1

3.22 Set QGPS positioning interval​

Feature: Set GPS positioning interval (unit: hour).

When GPS is enabled, the node automatically locates and uplinks each time it passes GTDC time after activation.

AT Command: AT+QGTDC

Example: AT+QGTDC=24 // Set the GPS positioning interval to 24h.

Downlink command: 0x12

Format: Command Code (0x12) followed by 3 bytes.

Example: 24 hours: 24(D)=0x18(H)

Downlink Payload: 12000018 // AT+QGTDC=24

4. Battery & Power Consumption​

See Battery Information and Power Consumption for battery handling and replacement. External sensor current, sensor power-on time, network conditions and uplink frequency affect battery life.

5. Firmware Update​

Start at the Dragino Cellular Firmware Repository. Open the folder for your product, review the changelog, and select the firmware version for your device. For HTTP OTA, copy the direct URL of the selected .bin file. For UART TTL, download the .bin file to your computer.

5.1 Over-the-Air (OTA) Firmware Update via HTTP​

  1. Open your product folder in the firmware repository and copy the full HTTP URL of the .bin file for the version you want to install.
  2. Send the upgrade command using one of the following methods. Replace FIRMWARE_URL with the copied URL.

Serial port or BLE

Connect to the device and unlock AT command access with the serial access password. Send the following command, keeping the double quotes around the URL:

AT+UPGRADE="FIRMWARE_URL"

Server downlink

Send the following downlink payload. The Config value wraps the AT command in square brackets.

{"Config":"[AT+UPGRADE="FIRMWARE_URL"]"}

For further details, see OTA Upgrade for NB-IoT / LTE-M End Nodes.

5.2 Firmware Update through UART TTL​

  1. Open your product folder in the firmware repository, review the changelog, and download the .bin file for the version you want to install.
  2. Follow UART Upgrade for -FB/-FS/-FE Models to install the file through the UART TTL interface.

6. FAQ​

6.1 Why is the sensor not responding?​

  1. Check the sensor supply voltage and power-on time.
  2. Check A/B polarity in RS485 mode or TX/RX crossover and logic voltage in TTL mode.
  3. Verify the baud rate, data bits, parity and stop bits against the sensor documentation.
  4. Check the request bytes, Modbus slave address and CRC setting. In TTL mode, use m=0 in AT+COMMANDx.
  5. Use a suitable USB-to-RS485 or USB-to-TTL adapter to inspect the request and reply. If the sensor replies but the uplink data is incorrect, check response length and byte positions in AT+DATACUTx.

6.2 Where can I find general NB-IoT/LTE-M configuration instructions?​

See -FB & -FS Models (NB-IoT, LTE-M).

6.3 Does RS485-FB support GPS positioning?​

Yes. See Add Location Data on Uplink Packet for configuration and usage.

7. Support​

  • Support is provided Monday to Friday, from 09:00 to 18:00 GMT+8.
  • When contacting Support@dragino.cc, include the product model, firmware version, wiring, sensor settings and the commands or payloads needed to reproduce the issue.