Stufin
Home Quick Cart Profile

1/2 Inch Brass Water Flow Sensor SEN-HZ21WI

Buy Now

Component Description

1/2 Inch Brass Water Flow Sensor SEN-HZ21WI

Overview

The 1/2 Inch Brass Water Flow Sensor SEN-HZ21WI is a high-accuracy, corrosion-resistant flow sensor designed to measure the flow rate of water or other liquids in various industrial, commercial, and residential applications. This sensor is ideal for monitoring water consumption, detecting leaks, and controlling water flow in HVAC, irrigation, and plumbing systems.

Functionality

The SEN-HZ21WI water flow sensor operates on the principle of magnetic flow measurement. When water flows through the sensor's flow tube, it creates a rotating magnetic field that induces an electromotive force (EMF) in the sensor's coil. The EMF signal is directly proportional to the flow rate of the liquid. The sensor's internal electronics process the signal, providing an accurate measurement of the flow rate.

Key Features

  • Accuracy: The SEN-HZ21WI sensor boasts an accuracy of 2% of the full scale, ensuring reliable and precise flow measurements.
  • Flow Range: The sensor can measure flow rates between 0.5 and 30 liters per minute (L/min), making it suitable for a wide range of applications.
  • Working Pressure: The sensor can operate at pressures up to 1.6 MPa (232 psi), allowing it to withstand typical municipal water supply pressures.
  • Temperature Range: The sensor can operate in temperatures between -20C and 80C (-4F and 176F), making it suitable for use in various environmental conditions.
  • Brass Construction: The sensor's brass body provides excellent corrosion resistance, ensuring durability and longevity in harsh environments.
  • Compact Design: The sensor's compact design (1/2 inch / DN15) allows for easy installation in tight spaces, making it ideal for existing piping systems.
  • Output Signal: The sensor provides a pulse output signal, which can be connected to a pulse meter, counter, or other devices for flow rate monitoring and control.
  • Power Supply: The sensor operates on a 5-24 VDC power supply, allowing for flexible integration into various systems.
  • Certifications: The SEN-HZ21WI sensor complies with relevant industry standards, including CE, RoHS, and ISO 9001 certifications.

Technical Specifications

| Parameter | Value |

| --- | --- |

| Flow Range | 0.5-30 L/min |

| Accuracy | 2% of full scale |

| Working Pressure | 1.6 MPa (232 psi) |

| Temperature Range | -20C to 80C (-4F to 176F) |

| Output Signal | Pulse output |

| Power Supply | 5-24 VDC |

| Connection Size | 1/2 inch (DN15) |

| Material | Brass |

| Certifications | CE, RoHS, ISO 9001 |

Applications

The 1/2 Inch Brass Water Flow Sensor SEN-HZ21WI is suitable for a variety of applications, including

Water consumption monitoring in industrial, commercial, and residential settings

Leak detection and prevention in HVAC and plumbing systems

Flow control and automation in irrigation and industrial processes

Water quality monitoring and management in wastewater treatment plants

Conclusion

The 1/2 Inch Brass Water Flow Sensor SEN-HZ21WI is a reliable and accurate flow sensor designed for use in various applications. Its compact design, high accuracy, and corrosion-resistant construction make it an ideal choice for measuring water flow rates in demanding environments.

Pin Configuration

  • 1/2 Inch Brass Water Flow Sensor SEN-HZ21WI Pinout Explanation
  • The 1/2 Inch Brass Water Flow Sensor SEN-HZ21WI is a widely used IoT component for measuring water flow rates in various applications. This sensor features a straightforward pinout, which is essential for proper connection and integration into your IoT project. Here's a detailed explanation of each pin, along with a step-by-step guide on how to connect them:
  • Pinout:
  • 1. VCC (Red Wire)
  • Function: Power supply voltage input
  • Description: This pin connects to a power source (typically 5V or 12V DC) to power the sensor.
  • Connection: Connect to a suitable power source (e.g., Arduino's 5V pin or a separate power supply).
  • 2. GND (Black Wire)
  • Function: Ground connection
  • Description: This pin connects to the ground reference of your system.
  • Connection: Connect to a suitable ground point (e.g., Arduino's GND pin or a separate ground connection).
  • 3. S (Yellow Wire)
  • Function: Signal output
  • Description: This pin provides a pulse signal output, which corresponds to the water flow rate measured by the sensor.
  • Connection: Connect to a digital input pin on your microcontroller (e.g., Arduino's digital pin 2).
  • Connection Structure:
  • To connect the SEN-HZ21WI water flow sensor to your microcontroller or IoT board, follow these steps:
  • Step 1: Power Connection
  • Connect the VCC (Red Wire) pin to a power source (5V or 12V DC).
  • Connect the GND (Black Wire) pin to a suitable ground point.
  • Step 2: Signal Connection
  • Connect the S (Yellow Wire) pin to a digital input pin on your microcontroller (e.g., Arduino's digital pin 2).
  • Important Notes:
  • Ensure the power supply voltage is within the recommended range (5V to 12V DC) to avoid damaging the sensor.
  • Use a suitable wire gauge to connect the pins, and avoid crossing or twisting the wires to prevent signal degradation.
  • For accurate measurements, ensure the sensor is installed correctly and calibrated according to the manufacturer's instructions.
  • By following these connection guidelines, you can successfully integrate the 1/2 Inch Brass Water Flow Sensor SEN-HZ21WI into your IoT project and start measuring water flow rates with precision.

Code Examples

Component Documentation: 1/2 Inch Brass Water Flow Sensor SEN-HZ21WI
Overview
The 1/2 Inch Brass Water Flow Sensor SEN-HZ21WI is a high-accuracy, compact sensor designed to measure the flow rate of water or other liquids in various applications, including industrial automation, irrigation systems, and water management systems. This sensor features a 1/2 inch brass body, making it compatible with standard plumbing connections.
Technical Specifications
| Parameter | Value |
| --- | --- |
| Measuring Range | 1-30 L/min |
| Accuracy | 3% |
| Operating Pressure | up to 1.6 MPa |
| Operating Temperature | -20C to 100C |
| Output Signal | Pulse signal (1 pulse per 2.25 mL) |
| Power Supply | 5-24 VDC |
| Interface | 3-wire connector (VCC, GND, OUT) |
Code Examples
### Example 1: Basic Water Flow Measurement using Arduino
This example demonstrates how to use the SEN-HZ21WI sensor to measure water flow rate in liters per minute using an Arduino board.
```c
const int flowSensorPin = 2;  // Connect flow sensor output to digital pin 2
volatile int pulseCount = 0;  // Pulse counter
void setup() {
  pinMode(flowSensorPin, INPUT);
  attachInterrupt(digitalPinToInterrupt(flowSensorPin), pulseCounterISR, RISING);
  Serial.begin(9600);
}
void loop() {
  pulseCount = 0;  // Reset pulse count
  delay(1000);  // Measure flow rate over 1 second
  float flowRate = (pulseCount / 2.25) / 60;  // Convert pulses to L/min
  Serial.print("Water flow rate: ");
  Serial.print(flowRate, 2);
  Serial.println(" L/min");
}
void pulseCounterISR() {
  pulseCount++;  // Increment pulse count on rising edge
}
```
### Example 2: Water Flow Monitoring using Raspberry Pi and Python
This example demonstrates how to use the SEN-HZ21WI sensor to monitor water flow rate in real-time using a Raspberry Pi and Python.
```python
import RPi.GPIO as GPIO
import time
# Set up GPIO mode and pin numbering
GPIO.setmode(GPIO.BCM)
FLOW_SENSOR_PIN = 17  # Connect flow sensor output to GPIO 17
# Set up GPIO pin as input
GPIO.setup(FLOW_SENSOR_PIN, GPIO.IN, pull_up_down=GPIO.PUD_DOWN)
pulse_count = 0
def pulse_counter(channel):
    global pulse_count
    pulse_count += 1
# Set up interrupt on rising edge
GPIO.add_event_detect(FLOW_SENSOR_PIN, GPIO.RISING, callback=pulse_counter)
while True:
    pulse_count = 0  # Reset pulse count
    time.sleep(1)  # Measure flow rate over 1 second
    flow_rate = (pulse_count / 2.25) / 60  # Convert pulses to L/min
    print(f"Water flow rate: {flow_rate:.2f} L/min")
```
Note: In both examples, the SEN-HZ21WI sensor's output pin is connected to a digital input pin on the microcontroller or single-board computer. The code examples assume a 5V power supply for the sensor.