Dragino RS485 Nodes with Modbus Flow Meters A Step by Step Setup and Troubleshooting Guide
- Aug 15
- 9 min read
Flow data is only useful when it arrives on time, in the right units, and without someone walking to a meter with a clipboard. That is where Dragino RS485 nodes and Modbus flow meters work well together. The flow meter keeps doing what it does best, measuring liquid or gas flow, while the Dragino node reads the Modbus registers and sends the data over a wireless network such as LoRaWAN.
This setup is common in irrigation, water treatment, industrial monitoring, pump stations, tank farms, and remote utility sites. It suits locations where Ethernet is not practical, mobile coverage is patchy, or cabling back to a controller would cost too much.
The idea is simple, but the details matter. RS485 wiring, Modbus addressing, baud rate, parity, register format, and power supply all need to match. This guide walks through the setup in a practical way, from bench testing to field troubleshooting.

Why connect Dragino RS485 nodes to Modbus flow meters
A Modbus flow meter usually has accurate local measurement, but it may not have a simple way to send data over long distances. A Dragino RS485 node fills that gap by acting as a bridge between the meter and your data platform.
The main benefits are practical.
Lower cabling cost
RS485 can run over twisted-pair cable between the node and the meter, while LoRaWAN can carry readings from the node to a gateway over a much longer distance. This reduces the need for trenching, conduit, and long signal cable runs.
Efficient data collection
Instead of manually recording totals, flow rates, or alarms, the node polls the meter at set intervals. It can then send readings to an application server where staff can view trends, trigger alerts, or export data.
Support for many meter types
Modbus RTU over RS485 is widely used across flow meters. Magnetic, ultrasonic, turbine, vortex, and thermal mass flow meters often provide Modbus registers for live flow, totaliser values, temperature, pressure, and device status.
Better visibility at remote sites
Many water and industrial sites are spread out. A wireless RS485 node can bring remote assets into one monitoring system without replacing existing meters.
Flexible polling
You can decide what to read and how often. For example, a site may send flow rate every 15 minutes, totaliser once per hour, and alarm flags only when needed. This helps manage battery use and network traffic.
What you need before you start
Gather the basic information before wiring anything. Most setup problems come from missing meter details rather than faulty hardware.
You will need:
A Dragino RS485 node that supports Modbus RTU polling
A Modbus flow meter with RS485 terminals
A suitable DC power supply or battery arrangement
The flow meter manual, especially the Modbus register table
Twisted-pair cable for RS485
A LoRaWAN gateway and application server, if using LoRaWAN
A computer or mobile device for configuring the node
A multimeter
A USB to RS485 adaptor for testing, if available
Record these settings from the meter manual:
Setting | What to check | Common examples |
Slave ID | The Modbus address of the meter | 1, 2, 10, 247 |
Baud rate | Serial speed | 9600, 19200 |
Parity | Error-checking setting | None, Even, Odd |
Stop bits | Serial framing | 1 or 2 |
Register address | Where the value is stored | 40001 style or zero-based address |
Data type | How the value is encoded | 16-bit integer, 32-bit integer, float |
Byte order | How multi-register values are arranged | Big-endian, little-endian, word-swapped |
Scaling | How to convert raw value | Divide by 10, multiply by 0.001 |
The register table is especially important. A flow meter may store instantaneous flow in two registers as a floating-point value, while total flow may use a 32-bit integer. Some manuals list addresses as `40001`, but the Modbus request may need address `0`. This one-offset difference is a common source of confusing results.
Understand the basic architecture
A typical system has four layers.
The flow meter measures the process value.
RS485 carries Modbus RTU data between the meter and the Dragino node.
The Dragino node packages the reading and sends it wirelessly.
The network server or application decodes, stores, and displays the data.
Modbus RTU is a master and slave protocol. In this setup, the Dragino node acts as the Modbus master. The flow meter acts as the slave. The node asks for specific registers, and the meter replies.
RS485 is only the electrical layer. It defines the differential signal pair, usually labelled `A` and `B`, or sometimes `D+` and `D-`. Modbus defines the message structure.
This distinction matters because an RS485 connection can be wired correctly but still fail if the Modbus ID, function code, or register address is wrong.

Set up the Dragino RS485 node step by step
The exact menu names vary by Dragino model and firmware, so use the device manual for the final command names. The process below applies to most RS485 Modbus node deployments.
1. Confirm the flow meter works locally
Start at the meter. Power it up and confirm the display shows a believable flow rate, totaliser value, or zero-flow condition.
If the meter has buttons, check its communication settings on the display. If it has software, connect using the manufacturer’s tool. Confirm the Modbus address, baud rate, parity, and stop bits.
Do not connect the wireless node yet. A working meter is the foundation.
2. Bench test Modbus with a USB to RS485 adaptor
This step saves time. Connect a USB to RS485 adaptor to the meter and use a Modbus polling tool on a laptop.
Read one known register, such as flow rate or total flow. Try the register address exactly as written in the manual, then try the zero-based version if needed.
For example, if the manual lists `40010`, the software may require:
`40010`
`10`
`9`
This depends on how the tool handles Modbus addressing. Once you find the correct request, write it down.
3. Wire the RS485 pair to the Dragino node
Power down the meter and the node before wiring.
Connect the RS485 pair:
Flow meter terminal | Dragino RS485 terminal |
`A`, `D+`, or `RS485+` | `A` or `RS485+` |
`B`, `D-`, or `RS485-` | `B` or `RS485-` |
Signal ground, if provided | Ground, if recommended by both manuals |
Shield drain wire | Earth at one end, usually the control panel end |
Manufacturers do not always use `A` and `B` consistently. If there is no response, swapping the two RS485 data wires is a valid test.
Use twisted-pair cable. Keep RS485 away from variable speed drives, contactors, and high-current motor cables where possible.
4. Add termination only where it is needed
RS485 networks need termination at the two physical ends of a long bus. A typical termination resistor is around 120 ohms, but check the device manuals.
For a short bench cable, termination may not matter. For a longer run in the field, poor termination can cause intermittent data loss.
Do not add termination at every device on a multi-drop bus. Too many resistors can load the line and weaken the signal.
5. Configure the Dragino serial settings
Set the node serial parameters to match the flow meter:
Baud rate
Data bits
Parity
Stop bits
Modbus mode, usually RTU
Slave ID
Polling interval
If the meter uses `9600 8E1`, the node must use the same. If it uses `19200 8N1`, match that instead. Even one mismatch will stop communication.
6. Configure the register requests
Add the Modbus register or registers to poll. Select the function code required by the meter manual.
Common function codes include:
Function code | Common use |
`03` | Read holding registers |
`04` | Read input registers |
`01` | Read coils |
`02` | Read discrete inputs |
Many flow meters use holding registers for configuration and input registers for live process values, but this is not universal.
For each value, define:
Register start address
Number of registers
Data type
Byte order
Scaling factor
Unit, such as L/min, m³/h, or kL
Start with one register. Once that works, add more values.
7. Join the wireless network
For LoRaWAN models, configure the regional frequency plan that matches your network. In Australia, that is typically AU915, but use the plan required by your gateway and network server.
Set the join method, keys, and device identifiers according to your LoRaWAN platform. After the node joins, confirm that uplinks arrive at the server.
A successful join only proves the wireless side works. It does not prove the Modbus polling is correct.
8. Decode and label the payload
The platform needs to turn the node payload into useful fields. Depending on the node and application server, this may use a payload decoder, built-in integration, or custom script.
Label fields clearly:
`flow_rate_l_min`
`total_volume_kl`
`meter_status`
`battery_voltage`
`rssi`
`snr`
Use consistent units. If the meter reports cubic metres but maintenance staff use kilolitres, convert once and document it.
9. Test with real flow conditions
A zero-flow bench test is useful, but it does not prove scaling. Run water or simulate flow if the meter supports it.
Compare three values:
The meter display
The raw Modbus reading
The decoded platform value
If the display shows `12.5 m³/h` and the platform shows `125`, `1.25`, or a huge floating-point number, the issue is likely scaling, register length, or byte order.

Connect different Modbus flow meter types
The connection method is similar across meter types, but the register map can vary a lot.
Magnetic flow meters
Magnetic flow meters are common in water and wastewater. They often expose instantaneous flow, forward total, reverse total, empty pipe alarm, and excitation status.
Check whether the totaliser is stored as an integer with scaling or a floating-point value. Also confirm whether flow direction is a separate sign bit or a signed value.
Ultrasonic flow meters
Ultrasonic meters may provide flow, velocity, signal quality, temperature, and diagnostic flags. Clamp-on units often have extra status registers for signal strength.
If readings appear to freeze, check whether the meter only updates Modbus registers after a measurement cycle.
Turbine and paddlewheel meters
These can use a transmitter that converts pulses into Modbus values. Look for registers covering flow rate, total count, K-factor, and alarm state.
Confirm the transmitter is powered correctly. A pulse input may work locally while the RS485 transmitter side remains off if separate power terminals exist.
Vortex and thermal mass flow meters
These meters may report compensated flow, temperature, pressure, density, or mass flow. Pay close attention to units, because the display and Modbus values may use different engineering units.
When several values are available, avoid polling everything at once. Read the values that support the actual monitoring goal.
Multi-drop meter networks
RS485 supports multiple devices on one bus when each has a unique Modbus slave ID. This can work well for a row of meters near each other.
Keep the bus layout clean:
Use a daisy-chain topology where possible
Avoid long star branches
Terminate only at the two physical ends
Give every meter a unique address
Keep a register map for each meter
A Dragino node can poll multiple Modbus devices if its firmware and configuration support it. Check the model documentation for request limits and payload size.
Common challenges and how to fix them
Most faults fall into a small set of patterns. Work through them in order rather than changing several settings at once.
Symptom | Likely cause | What to try |
No Modbus response | A and B reversed | Swap the RS485 pair and test again |
No Modbus response | Wrong baud, parity, or stop bits | Match the meter settings exactly |
Response timeout | Wrong slave ID | Check the meter address on its display or software |
Illegal address error | Wrong register address | Try zero-based addressing or check the function code |
Data looks random | Wrong data type or byte order | Test 16-bit, 32-bit, float, and word order options |
Value is 10 or 100 times off | Scaling mismatch | Apply the multiplier from the meter manual |
Works on bench, fails in field | Noise or grounding issue | Use shielded twisted pair and improve cable routing |
Intermittent readings | Poor termination or weak power | Check termination, voltage drop, and cable length |
Wireless data arrives but values are blank | Modbus polling failed | Check node logs or status fields, if available |
Good Modbus data but no platform value | Payload decoder issue | Compare raw payload with decoded fields |
Check power early
Power issues can look like communication issues. Measure voltage at the device terminals while the equipment is running. Long cable runs and small conductors can cause voltage drop.
Some flow meters need separate supplies for measurement, outputs, and communication. Check the wiring diagram carefully.
Watch the polling interval
A very short polling interval can waste battery and create unnecessary wireless traffic. A very long interval can miss short events.
For steady water flow, readings every few minutes may be enough. For pump starts, dosing, or leak alarms, use a shorter interval or send alarm flags when they change.
Keep raw data during commissioning
During setup, store raw register values as well as converted values. Raw data helps you find byte order and scaling mistakes without returning to site.
Once the system is stable, you can reduce logging if storage is a concern.
Document every working setting
A good commissioning note should include:
Meter make and model
Slave ID
Serial settings
Register addresses
Function codes
Data types
Scaling
Dragino node model and firmware
Wiring details
Payload decoder version
This record helps future maintenance, especially when a meter is replaced.

A practical commissioning checklist
Before leaving site, confirm the full path from sensor to platform.
The flow meter display shows a sensible value
The Modbus register read matches the display
The Dragino node polls at the expected interval
The wireless network receives uplinks
The payload decoder shows correct units
Alarms and status values behave as expected
The enclosure is sealed and cable glands are tight
Antenna placement is clear of metal obstructions where possible
The final settings are saved and documented
The best setups are boring after commissioning. They read the right registers, send data at the right interval, and keep working through weather, pump starts, and site maintenance.
Dragino RS485 Nodes with Modbus Flow Meters give existing instrumentation a practical path into remote monitoring without replacing the meter. Start with a bench test, prove one register, then build up the full configuration. When something fails, separate the problem into layers: power, wiring, Modbus settings, register decoding, wireless join, and platform decoding. That method turns a frustrating fault into a manageable checklist.
.png)


