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

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

| Behavior on ACT | Function | Action |
|---|---|---|
1~3s | Send an uplink | If sensor has already attached to NB-IoT/CAT-M1 network, sensor will send an uplink packet, blue led will blink once. |
>3s | Active Device | Green led will fast blink 5 times. And then start to attach NB-IoT/CAT-M1 network. |
x5 | Deactivate Device | Red led will solid on for 5 seconds. Means device is in Deep Sleep Mode. |
x1 | Toggle Serial Communication | Press the ACT button once to activate the serial communication function, and Ready will be displayed in the serial tool. |
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

For RS485W-FB version

- 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.
- 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.
- 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

1.9.2 for FS version

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.

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.
-
Install NB-IoT SIM card and configure APN. See Attach Network.
-
Set up sensor to point to IoT Server. See Configure to Connect Different Servers.
Below shows result of different server as a glance.
| Servers | Dash Board | Comments |
|---|---|---|
| Node-Red | ![]() | |
| Tago.IO | ||
| General UDP | Raw Payload. Need Developer to design Dash Board | |
| General MQTT | Raw Payload. Need Developer to design Dash Board | |
| ThingsBoard | ![]() |
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 supports JSON payloads only. Use AT+PRO to select the connection protocol with the corresponding parameters:
AT+PRO=2,0// UDP connection with JSON payloadAT+PRO=3,0// MQTT connection with JSON payloadAT+PRO=4,0// TCP connection with JSON payload
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"
}
| Field | Description |
|---|---|
IMEI | Device International Mobile Equipment Identity. |
Image Version | Device application firmware version. |
NB-IoT Stack | Cellular modem stack identifier. |
Model | Device model reported by the firmware. |
MCC | Mobile Country Code of the serving network. |
MNC | Mobile Network Code of the serving network. |
Cell_id | Serving cell identifier. |
Cell_area | Serving cell's network area code. |
PSM_TAU | Periodic 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_time | PSM 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"]
}
| Field | Description |
|---|---|
IMEI, IMSI, Model | Device identifier, SIM subscriber identifier and device model. |
fcnt | Uplink frame counter. |
signal | Cellular signal quality indicator. |
bat | Battery voltage in volts. |
i_flag | "0": normal uplink; "1": external interrupt triggered the uplink. |
Payload | Current 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. |
time | Uplink timestamp in UTC. |
latitude, longitude, gps_time | GNSS 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 01 + sensor data"]. |
Signal strength (signal):
| Value | Signal strength |
|---|---|
"0" | −113 dBm or less |
"1" | −111 dBm |
"2"–"30" | −109 dBm to −53 dBm |
"31" | −51 dBm or greater |
"99" | Unknown or not detectable |
2.2.3 Uplink when the sensor is not responding
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 mode | Normal example | No-response example |
|---|---|---|
| RS485 Modbus RTU | 01077e | 01ffff |
| UART TTL | 010773 | 010000 |
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.
2.2.4 Uplink on Interrupt
Put the interrupt sensor between 3.3v_out and GPIO_EXTI.

Use AT+INTMOD to select which signal edge triggers an uplink: rising, falling, or both.
3. Configure RS485-FB
3.1 Configure Methods
RS485-FB supports below configure method:
-
AT Command via Bluetooth Connection (Recommended): BLE Configure Instruction.
-
AT Command via UART Connection : See UART Connection.
3.2 Serial Access Password
Due to limitations of the NRF9151-NGFF module, the serial communication function remains active for only 5 minutes. If this time is exceeded, you must press the ACT button once to reactivate the chip’s serial communication function.
After the Bluetooth or UART connection is successful, use the Serial Access Password to enter the AT command window.
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).

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
3.4 Test Uplink and Change Update Interval
By default, Sensor will send uplinks every 2 hours.
User can use below commands to change the uplink interval.
AT Command: AT+TDC
Example: AT+TDC=7200 // Set Update Interval to 7200 seconds
Downlink Commands: 0x01
Format: Command Code (0x01) followed by 3 bytes.
Example: 12 hours= 43200 seconds 43200(D)=0xA8C0(H)
Downlink Payload: **01 00 A8 C0** // AT+TDC=43200, Set Update Interval to 12 hours.
Note: User can also push the button for more than 1 second to activate an uplink.
3.5 Working Mode and Sensor Wiring
AT Command: AT+CFGMOD
| Command Example | Function |
|---|---|
AT+CFGMOD=1 | Select RS485 Modbus RTU mode. (Default) |
AT+CFGMOD=2 | Select UART TTL mode. |
Power off the device before wiring the sensor.
Wiring example: RS485 Modbus RTU sensor
RS485-FB RS485 sensor
GND <--> GND
A <--> A
B <--> B
+5V or VBAT_OUT ---> VCC
Wiring example: UART TTL sensor
RS485-FB UART TTL sensor
GND <--> GND
TX ---> RX
RX <--- TX
+5V or VBAT_OUT ---> VCC
- Connect VCC to one output only:
+5V(5 V) orVBAT_OUT(3.3 V), according to the sensor's rated supply voltage. - Match the TTL signal levels on both sides. Do not connect RS232 directly to the TTL pins.
- If the sensor uses a separate power supply, connect VCC to that supply instead and follow the sensor's instructions for signal grounding.
3.6 Configure UART Settings
The default serial settings is 9600 baud, 8 data bits, no parity and 1 stop bit (9600 8N1). If the TTL Level sensors have a different settings, user can change the RS485-FB setting to match.
| AT Command | Description and default | Examples |
|---|---|---|
AT+BAUDR | Set the baud rate. Default: 9600 baud. | AT+BAUDR=9600. Options: (1200,2400,4800,9600,14400,19200,115200) |
AT+PARITY | Set parity. Default: none. | AT+PARITY=0: none.AT+PARITY=1: odd.AT+PARITY=2: even. |
AT+STOPBIT | Set the number of stop bits. Default: 1 stop bit. | AT+STOPBIT=0: 1 stop bit.AT+STOPBIT=1: 1.5 stop bits.AT+STOPBIT=2: 2 stop bits. |
AT+DATABIT | Set the number of data bits. Default: 8 data bits. | AT+DATABIT=7: 7 data bits.AT+DATABIT=8: 8 data bits. |
3.7 Configure Read Commands for Each Sampling
3.7.1 Configure with the RS485 Configure Tool
The examples below use a serial terminal connected to the node's UART. You can also configure the node over BLE or send supported configuration commands by server downlink.
The Dragino RS485 Configure Tool is an optional utility for setting up sensor polling commands and selecting response bytes for uplink. See the RS485 Configure Tool Instruction for download and setup.

3.7.2 Test a Sensor Command with AT+CFGDEV
Use AT+CFGDEV to send a command to the sensor once. This is useful for checking whether the sensor responds before saving a polling request, or for sending an initial setup command required by the sensor. The command does not save a polling request or run again at the next sampling interval.
Before testing, select the working mode and connect the sensor (section 3.5), match the serial settings (section 3.6), and make sure the sensor is powered (section 3.8).
AT Command: AT+CFGDEV=bytes,m
bytes: The command from the sensor manual, entered as space-separated Hex bytes.m=1: Append a Modbus RTU CRC. In RS485 Modbus RTU mode, omit the CRC bytes from the command when using this option.m=0: Send the bytes as entered without appending a CRC. Use this option for the UART TTL example.
| Mode | Example | What the node sends |
|---|---|---|
| RS485 Modbus RTU | AT+CFGDEV=01 03 01 00 00 01,1 | 01 03 01 00 00 01 85 F6 |
| UART TTL | AT+CFGDEV=FF 03 01 00 00 01,0 | FF 03 01 00 00 01 |
Check the serial console for the sensor reply and compare it with the sensor manual. If there is no reply, check power, wiring, serial settings and the request bytes before saving the polling configuration.
3.7.3 Configure Periodic Sensor Reads
Use the sensor manual to find the read request and reply layout. For Modbus RTU, check the slave address, function code, starting register address and register count. For UART TTL, use the frame format specified by the sensor.
Request slots
Start with slot 1. The same suffix links the request (AT+COMMAND1), reply timeout (AT+CMDDL1), search (AT+SEARCH1) and byte extraction (AT+DATACUT1). When you add a second request, use suffix 2 for all four settings. Use AT+CFG to check which slots are already configured.
AT+COMMANDx — Save a read request
Format: AT+COMMANDx=bytes,m. Enter the request as space-separated Hex bytes. Use m=1 in RS485 Modbus RTU mode to append the CRC automatically; leave the CRC out of the configured bytes. Use m=0 to send the bytes exactly as entered. For UART TTL, use m=0. The node runs the saved request during sampling.
Example: AT+COMMAND1=01 03 01 00 00 01,1 saves a Modbus read request in slot 1. The device sends 01 03 01 00 00 01 85 F6 on the bus. To store a second request, use AT+COMMAND2 and use suffix 2 for its timeout and extraction settings.
AT+CMDDLx — Set the reply timeout
Format: AT+CMDDLx=ms. Set the reply timeout for the corresponding request slot in milliseconds.
Example: AT+CMDDL1=1000 allows up to 1000 ms for the sensor's reply after request 1 is sent. This is separate from the power-on lead time configured with AT+5VT or AT+3V3T.
AT+DATACUTx — Select bytes from the reply
Format: AT+DATACUTx=a,b,c.
a: Total reply length in bytes, including any header or checksum bytes present in the reply.b: Selection mode. Use1for individual byte positions or2for an inclusive byte range.c: The byte position or range to keep. Count from 1 at the first byte of the reply. For example,4~5keeps the fourth and fifth bytes.
Use the same slot suffix for the request, timeout and extraction settings. Both examples use slot 1.
| Reply example | Command | Bytes kept |
|---|---|---|
01 03 02 07 6D 7B 99 (7 bytes) | AT+DATACUT1=7,2,4~5 | 07 6D |
FF 07 87 8D (4 bytes) | AT+DATACUT1=4,2,2~3 | 07 87 |
AT+PAYVER — Identify the payload layout
The default is AT+PAYVER=1. With this setting, the first byte of the JSON Payload Hex string is 01, followed by the selected sensor bytes. Use the version byte to select the decoding layout on the server.
AT+GETSENSORVALUE — Test the configured read
Run AT+GETSENSORVALUE=1 after unlocking AT command access. In the serial output, CMD1 is the request sent to the sensor, RETURN1 is the raw reply and Payload shows the bytes prepared for upload. The command also triggers an uplink. Use AT+LDATA to check the last uplink after the test; compare its timestamp and payload with the current reading.
AT+SEARCHx — Extract data using a Hex pattern
Use this option when the data does not always start at the same byte position. For fixed-position data, use AT+DATACUTx as shown above. Both distance sensor examples leave search disabled with AT+SEARCH1=0,0.
The following examples show how prefix and suffix matching works on the reply 16 0C 1E 56 34 2E 30 58 5F 36 41 30 31 00 49. Check your firmware's command help before using these optional search modes.
| Example | Selection | Result |
|---|---|---|
AT+SEARCH1=1,1E 56 34 | Keep the bytes after the prefix. | 2E 30 58 5F 36 41 30 31 00 49 |
AT+SEARCH1=2,1E 56 34+31 00 49 | Keep the bytes between the prefix and suffix. | 2E 30 58 5F 36 41 30 |
AT+MBFUN — Extract data from a Modbus reply automatically
Use this option for automatic extraction from Modbus replies. Set AT+MBFUN=1 for function codes 01 or 02, or AT+MBFUN=2 for 03 or 04. Set AT+MBFUN=0 to disable automatic extraction, as in the two examples above. When testing automatic extraction, test it separately from a manually configured byte cut so you can verify the result.
3.7.4 RS485 Modbus RTU Example
This example reads one holding register from a 5 V RS485 distance sensor. In the request 01 03 01 00 00 01, the four parts are slave address 01, function code 03 (Read Holding Registers), starting address 01 00 and register count 00 01.
After wiring A, B, GND and 5 V, apply the settings below. The serial settings are shown for reference; if they already match, leave them unchanged. The 5 V output turns on 2 seconds before sampling, and the periodic uplink is set to 600 seconds.
AT+CFGMOD=1
AT+BAUDR=9600
AT+DATABIT=8
AT+PARITY=0
AT+STOPBIT=0
AT+5VT=2000
AT+PAYVER=1
AT+MBFUN=0
AT+COMMAND1=01 03 01 00 00 01,1
AT+SEARCH1=0,0
AT+CMDDL1=1000
AT+DATACUT1=7,2,4~5
AT+TDC=600
With AT command access unlocked, send AT+GETSENSORVALUE=1 to test the reading. The following lines are from the serial log:
CMD1 = 01 03 01 00 00 01 85 f6
RETURN1 = 01 03 02 07 6d 7b 99
Payload = 01 07 6d
The node appends 85 f6 to the request because the final parameter of AT+COMMAND1 is 1. In the reply, 01 03 02 is the slave address, function code and data byte count; 7b 99 is the reply CRC. AT+DATACUT1=7,2,4~5 keeps only bytes 4–5, 07 6d. The node adds the payload version byte 01, giving "Payload":"01076d" in JSON. The register's unsigned value is 1901 before applying the sensor's scaling and unit.
3.7.5 UART TTL Example
This example uses a 5 V TTL distance sensor. Cross TX and RX, connect GND, and make sure the UART logic levels match. It uses the default serial settings in section 3.6. The request and four-byte response layout are specific to this sensor. The 5 V output turns on 1 second before sampling, and the periodic uplink is set to 600 seconds.
AT+CFGMOD=2
AT+BAUDR=9600
AT+DATABIT=8
AT+PARITY=0
AT+STOPBIT=0
AT+5VT=1000
AT+PAYVER=1
AT+MBFUN=0
AT+COMMAND1=FF 03 01 00 00 01,0
AT+SEARCH1=0,0
AT+CMDDL1=1000
AT+DATACUT1=4,2,2~3
AT+TDC=600
Send AT+GETSENSORVALUE=1 to test the reading. The following lines are from the serial log:
CMD1 = ff 03 01 00 00 01
RETURN1 = ff 07 87 8d
Payload = 01 07 87
The final 0 in AT+COMMAND1 sends the six request bytes as configured, without appending a Modbus CRC. AT+DATACUT1=4,2,2~3 keeps bytes 2–3 (07 87) from the four-byte reply. With version byte 01, the resulting JSON field is "Payload":"010787". The 01078a shown by AT+LDATA before the test was from the previous uplink, not this reading. Use the TTL sensor's protocol to interpret 07 87 and convert it to a distance.
3.7.6 Verify the Reading and Adapt It to Your Sensor
- With AT command access unlocked, send
AT+GETSENSORVALUE=1and compareCMD1,RETURN1andPayloadin the serial log. Once the node joins the network, you can also hold ACT for 1–3 seconds to trigger a test uplink or wait for the next TDC interval. - In the server's JSON packet, check the top-level
Payloadfield. In these examples, the first byte is the payload version; the remaining bytes are the selected sensor data. Apply the sensor manual's byte order, signedness, scaling and units to those data bytes. Do not include the payload version in the conversion. - If you get
01ffffin the RS485 example or010000in the TTL example, check whether the sensor replied before treating the value as a measurement. Check wiring, serial settings and sensor startup time first. If the sensor replies but the value is wrong, check the full reply length and count the extraction positions again from byte 1. - To adapt the setup to another sensor, replace the request, expected reply length and extraction positions with the values for that sensor. For another read request in the same setup, use a separate slot, such as
AT+COMMAND2,AT+CMDDL2andAT+DATACUT2, and verify it before relying on the combined readings.
3.7.7 Check or Clear Saved Requests
Use AT+CFG to review the saved request, search, extraction and timeout settings before changing sensors. Use AT+CMDEAR to clear old request slots that should no longer run. Check AT+CMDEAR? before selecting the start and end slots; record any settings you want to keep before clearing them.
3.8 Control output power duration
Range: 0 - 65535 milliseconds.
3.8.1 Control the 3.3 V Output
AT Command: AT+3V3T
Controls the VBAT_OUT pin.
AT+3V3T=0(default) keeps the 3.3 V output on.AT+3V3T=65535keeps the 3.3 V output off.AT+3V3T=1000turns on the 3.3 V output 1 second before each sampling.
3.8.2 Control the 5 V Output
AT Command: AT+5VT
Controls the +5V pin.
AT+5VT=0(default) keeps the 5 V output off.AT+5VT=65535keeps the 5 V output on.AT+5VT=1000turns on the 5 V output 1 second before each sampling.
Note: Keeping the 5 V output on continuously increases power consumption and can significantly shorten battery life.
3.9 Trigger an Uplink by External Interrupt
RS485-FB has an external trigger interrupt function. Users can use the GPIO_EXTI pin to trigger the upload of data packets. The uplink reports "i_flag":"1".
AT command:
-
AT+INTMOD // Set the trigger interrupt mode
-
AT+INTMOD=0 // Disable Interrupt (Default Value)
-
AT+INTMOD=1 // Trigger by rising and falling edge
-
AT+INTMOD=2 // Trigger by falling edge
-
AT+INTMOD=3 // Trigger by rising edge
Downlink Commands: 0x06
Format: Command Code (0x06) followed by 3 bytes.
Example1: Downlink Payload: 06 00 00 01// AT+INTMOD=1
Example2: Downlink Payload: 06 00 00 03// AT+INTMOD=3
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
Downlink command: 0x09
Format: Command Code (0x09) followed by 2 bytes.
Example1: Downlink Payload: 09 00 00 // AT+TLSMOD=0,0
Example2: Downlink Payload: 09 01 02 // AT+TLSMOD=1,2
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.
Downlink command: 0x13
Format: Command Code (0x13) followed by 1 byte.
Example: Downlink Payload: 13 0A// AT+SFNT=10
3.14 Clock logging
Sometimes when we deploy lots of end nodes in field. We want all sensors sample data at the same time, and upload these data together for analyze. In such case, we can use clock loging feature.
We can use this command to set the start time of data recording and the time interval to meet the requirements of the specific collection time of data.
AT command: AT+CLOCKLOG=a,b,c,d
a: 0: Disable Clock logging. 1: Enable Clock Logging
b: Specify First sampling start second: range (0 ~ 3599, 65535) // Note: If parameter b is set to 65535, the log period starts after the node accesses the network and sends packets.
c: Specify the sampling interval: range (0 ~ 255 minutes)
d: How many entries should be uplink on every TDC (max 8)
To disable clock recording, set the following parameters: AT+CLOCKLOG=1,65535,0,0

Example:
AT+CLOCKLOG=1,65535,1,8
After the node sends the first packet, data is recorded to memory at intervals of 1 minute. For each subsequent TDC uplink, the payload includes the full real-time device data as well as the last 8 memory records [UTC sampling time,Payload version 01+RS485 sensor data].

Note: Users need to synchronize the server time before configuring this command. If the server time is not synchronized before this command is configured, the command takes effect only after the node is reset.
JSON Downlink Example:
{"Config":"[AT+CLOCKLOG=1,65535,1,8]"}
Downlink command: 0x16
Format: Command Code (0x16) followed by 5 bytes.
-
Example 1: Downlink Payload: 16 01 FF FF 0F 08 //Equal to AT+CLOCKLOG=1,65535,15,8
-
Example 2: Downlink Payload: 16 01 04 B0 0F 08 //Equal to AT+CLOCKLOG=1,1200,15,8
When entering the downlink payload, there must be no Spaces between bytes.
3.15 Print last few data entries
Feature: Print the last few stored records.
AT Command: AT+PLDTA
Use the local serial console. AT+PLDTA=5 prints the last five stored records.
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
3.16 Print data entries by page
Feature: Print stored Flash records from the start page to the end page.
AT Command: AT+PDTA
Use the local serial console. AT+PDTA=1,1 prints the records on page 1.
AT+PDTA=1,1
E8000 2026/11/27 09:15:51 3641 alarm:false
E8010 2026/11/27 09:19:57 3618 alarm:false
E8020 2026/11/27 09:21:49 3614 alarm:false
E8030 2026/11/27 09:31:38 3622 alarm:false
E8040 2026/11/27 09:33:52 3637 alarm:false
E8050 2026/11/27 09:34:57 3637 alarm:false
E8060 2026/11/27 09:46:38 3641 alarm:false
E8070 2026/11/30 06:34:03 3622 alarm:false
OK
Sensor data length can vary depending on the connected sensor. The local history entries printed by AT+PLDTA and AT+PDTA contain only the sampling timestamp, battery voltage (mV), and interrupt flag (alarm). They do not include the sensor data bytes.
3.17 Clear Flash Record
Feature: Clear the records stored in Flash.
AT Command: AT+CLRDTA
3.18 Uplink Retransmission (Not Supported)
AT Command: AT+REDPT
The AT+REDPT command is available, but RS485-FB does not implement retransmission of unconfirmed uplinks. Sensor responses vary in length, and the device does not retain the full sensor payload for later retransmission.
Keep AT+REDPT=0. Setting AT+REDPT=1 does not enable retransmission or recover missed uplinks.
3.19 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
The default is 15. The node automatically restarts after 15 consecutive failed send attempts.
| Command Example | Function |
|---|---|
AT+FREB=? | Show the current failed send attempt threshold. |
AT+FREB=0 | Disable automatic restart after consecutive failed send attempts. |
AT+FREB=15 | Set the node to restart automatically after 15 consecutive failed send attempts. |
Downlink Command: 0x33
- Example: 0x3302 // Same as AT+FREB=2
- Example: 0x330A // Same as AT+FREB=10
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
3.23 Debug mode
Feature: Since the serial communication feature of the NRF9151 module requires activation, this command is intended for users who need to use the serial port for extended periods of time.
AT command: AT+DEBUG
| Command Example | Function |
|---|---|
| AT+DEBUG=1 | Enter debugging mode |
| AT+DEBUG=0 | Exit debugging mode,Serial port function disabled |
- This feature remains active for only 5 minutes; it will automatically turn off after 5 minutes.
- Keeping the serial port open continuously increases power consumption in sleep mode; the continuous current is 900 μA.
3.24 Downlink Format
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.
The device can reply with {"IMEI":"355025936344397","Downklink_Ack":"success"}.
See FB Downlink Command Format for JSON and Hex configuration.
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
- Open your product folder in the Dragino Cellular Firmware Repository and copy the full HTTP URL of the
.binfile for the version you want to install. - Send the upgrade command using one of the following methods.
Serial port or BLE
Connect to the device and unlock AT command access with the serial access password. Send AT+UPGRADE with the copied URL in double quotes.
AT+UPGRADE="http://repo.dragino.com/release/cellular/RS485-FB/RS485-FB_v1.0.2.bin"
Server downlink
Send the following downlink payload. The Config value wraps the AT command in square brackets.
{"Config":"[AT+UPGRADE="http://repo.dragino.com/release/cellular/RS485-FB/RS485-FB_v1.0.2.bin"]"}
DDS75-FB v1.0.2 is an example. The device installs the version specified by the URL. To install another version, copy that version's .bin URL from the repository and use it in the command.
For further details, see OTA Upgrade for NB-IoT / LTE-M End Nodes.
5.2 Firmware Update through UART TTL
- Open your product folder in the Dragino Cellular Firmware Repository. Review the changelog and download the latest compatible
.binfile for your device, or the specific version you intend to install. - Follow UART Upgrade for -FB/-FS/-FE Models to install the downloaded file through the UART TTL interface.
6. FAQ
6.1 Why is the sensor not responding?
- Check the sensor supply voltage and power-on time.
- Check A/B polarity in RS485 mode or TX/RX crossover and logic voltage in TTL mode.
- Verify the baud rate, data bits, parity and stop bits against the sensor documentation.
- Check the request bytes, Modbus slave address and CRC setting. In TTL mode, use
m=0inAT+COMMANDx. - 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. Order Info
Part Number: RS485-FB-XX
XX:
- GE: General version (SIM card not included).
- 1T: Includes a pre-installed 1NCE SIM card and is preconfigured for ThingsEye.
8. Packing Info
Package Includes:
- RS485-FB NB-IoT/LTE-M Converter x 1
- External antenna x 1
9. 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.
1~3s
>3s
x5
