---
updatedAt: 2025-11-12T00:35:21.000Z
agentTools:
  projectIndex: https://syrus.digitalcomtech.com/llms.txt
---

# Flow Meter Connection Guide

This guide provides step-by-step instructions for connecting and configuring a flow meter (caudalímetro) with the Syrus 4G IoT Telematics Gateway. The flow meter used in this guide is the **PV161 digital flow meter** with **RS-232 communication interface**.

![](https://files.readme.io/1ad73d5436ed285d70084f90d3f0b2a82b6dea24da9ad8b495c59cb4896ac745-image.png)

<br />

## Technical Specifications

**Flow Meter (PV161)**:

* Measurement Technology: Oval gear mechanism
* Display: LCD, 4 digits (25mm height)
* Communication: RS-232 serial interface
* Power Supply: 12-24V DC
* Pressure Rating: 40 BAR
* Accuracy: ± 1%

## Installation & Wiring Diagram

### Wiring Configuration

| Syrus 4G Pin | Function                 | Flow Meter Pin           |
| ------------ | ------------------------ | ------------------------ |
| **Red**      | **Power (12-24V DC)**    | **Power (VCC)**          |
| **Black**    | **Ground (GND)**         | **Ground (GND)**         |
| **Orange**   | **RS-232 TX (Transmit)** | **RS-232 RX (Receive)**  |
| **Blue**     | **RS-232 RX (Receive)**  | **RS-232 TX (Transmit)** |

## Configuration & Communication Setup

### Verify Flow Meter Version

To verify the current configuration of the **flow meter**, use:

```bash
apx-serial-flw status
```

This command returns a JSON response:

```json
{
  "state": "connected",
  "pwr_disconnections": 129,
  "sensor_disconnections": 22,
  "calibration": 1682,
  "cumulative_liters": 3066,
  "timestamp": 1740568153,
  "display_state": 0,
  "liters_dispatched": 20260,
  "flow": 0
}
```

### Serial Port Configuration

To configure the Syrus 4G to interface with the flow meter, run the following command:

```sh
sudo apx-serial set --mode=flow_meter
```

This command sets the serial mode to flow meter operation.

### Data Capture

To check the current values from the flow meter, use the following command [apx-serial-flw:](https://syrus.digitalcomtech.com/docs/system-tools#apx-serial-flw)

```sh
sudo apx-serial-flw status
```

This retrieves the latest flow meter readings from the Syrus device.

## Data Processing & Integration

The system handles data internally, and there is no need to manually log data to a file. The **apx-serial-flw status** command provides real-time access to flow meter readings without requiring additional configurations.

## Troubleshooting

| Issue                     | Possible Cause    | Solution                      |
| ------------------------- | ----------------- | ----------------------------- |
| No data received          | Incorrect wiring  | Verify TX and RX connections  |
| No power                  | Faulty connection | Check power supply and cables |
| Short communication range | Unshielded cables | Use shielded RS-232 cables    |