How to Integrate Water Quality Sensors with Bivocom TG452

Step-by-Step Guide

 

For aquaculture farms, wastewater treatment plants and municipal water systems, reliable real-time water quality data isn’t just beneficial—it’s mission-critical: preventing stock loss, ensuring regulatory compliance and mitigating public health risks. This guide outlines water quality sensor integration with the Bivocom TG452 Industrial Gateway. Via industry-standard RS485/Modbus RTU, it connects discrete sensors into a low-maintenance system, delivering accurate data to your monitoring platform—even in harsh conditions.


Prerequisites: What You’ll Need


Before you begin, gather your hardware and software.

  1. Bivocom TG452 Industrial Gateway
  2. Water Quality Sensors: Dissolved Oxygen, Ammonia Nitrogen, PH Sensor (with 3x 4-core twisted-pair shielded cable).
  3. Network Access: A computer on the same LAN as the gateway.
  4. Network Cable + Power Adapters

Step-by-Step Instructions

Step 1: Connect Sensors to the Gateway

First, establish a physical connection between your sensors and the gateway. All three sensors use a standard RS485 interface and the Modbus RTU protocol.

  1. Sensor Cable Definition: Use the TG452 to match sensor pins to the TG452’s RS485 ports (COM1/COM2/COM3). Red wire-power cord (12~24V), Black wire-ground wire (GND), Blue Line-485A, White Line-485B.
  2. Power Options: You can power the sensor directly from the gateway’s VOUT and GND terminals or use an external 12-24V power supply.
  3. Data Connection: Connect the sensor’s A and B wires to a corresponding RS485 port on the gateway (e.g., A1/B1 for COM1).

Step 2: Enable Gateway Power Output

Log into the gateway’s WEBUI (typically at http://192.168.1.1). If you chose to power the sensor from the gateway, you must enable its voltage output.

  1. Navigate to Administrate > System.
  2. Find and enable the Output Voltage option.

Step 3: Configure the Modbus Interface

For seamless data transmission, sensors and the gateway require consistent communication settings. Next, proceed to configure the communication port for each sensor accordingly.

  1. Navigate to Data Collection > Interface Setting.
  2. Select the COM port you used (e.g., COM1).
  3. Configure it with these Modbus RTU parameters: Baud Rate: 9600, Data Bits: 8, Parity: None, Stop Bits: 1

Step 4: Add and Configure Modbus Rules

This step tells the gateway how to read data from each sensor—an essential part of the water quality sensor integration.

First, understand your sensor’s data structure. Each sensor provides measurements in blocks, as shown below. This tells you what data is available and where it lives.

Then, configure your gateway. Follow this straightforward process to build your setup:

  1. Go to Data Collection > Modbus Rules Setting, and click “Add” to create a new rule for your first sensor.
  2. Complete the configuration details based on your specific sensor model, ensuring all values align with your sensor’s technical specifications.
    • User-configurable fields: Order, Device Name, Factor Name (may be set as desired)
    • Mandatory matched fields: Device ID, Function Code, Start Address, Count (must be configured to match the sensor’s parameters exactly)
  3. Immediately configure its precision, click the “Edit” button (pencil icon) for the rule you just created. In the editing window, set the Decimal Places and Unit.

Step 5: Configure Data Reporting

To send your data to a monitoring platform or server.

  1. Go to Data Collection > Server Setting, and choose your preferred protocol (e.g., TCP).
  2. Enter the remote Server Address and Port.
  3. Set the reporting interval as needed.

Bivocom Gateway & Water Quality

Step 6: Verify and Test

Finally, confirm your water quality sensor integration is working.

  • Local Check: Go to Data Query in the WEBUI. You should see real-time values from your sensors.
  • Server Check: Verify that your configured TCP (or other) server is receiving the data packets correctly.

Common Issues & Fixes

  • No Data in WEBUI: Confirm cable connections and Modbus Device ID/Address settings. Ensure the correct COM port is enabled.
  • Incorrect Values: Verify the decimal place and unit configuration for each factor.
  • Data Not Reaching Server: Check the gateway’s network connection and the server’s firewall settings.

Professional Support & Services


Elevate your water quality monitoring system with Bivocom’s dedicated support for seamless sensor-gateway integration. Our technical team ensures reliable data flow and optimal performance through three core pillars, tailored to the unique needs of aquaculture, wastewater treatment, and municipal water applications:

  • Expert Guidance: Direct assistance for setup, troubleshooting, and updates to ensure sensor-gateway reliability.
  • Custom Solutions: Tailored adaptations for specific industry requirements and challenging environments.
  • Resource Hub: Access step-by-step guides, configuration templates, and real-time support to accelerate deployment and resolve issues fast.

Ready to streamline your water quality monitoring?
Contact our solutions team at [email protected] for a consultation. With Bivocom, you gain more than hardware—you gain a partner in building resilient, data-driven environmental monitoring.

 

 LinkedIn: Bivocom  |   Twitter : Bivocom_IoT
Facebook: Bivocom  |  YouTube@bivocom5540
Print Email

Comment

Be the first one who leave the comment.

Leave a Reply

We use cookies to deliver you the best experience. By browsing our website you agree to our use of cookies.