Stufin
Home Quick Cart Profile

1/4 Inch Brass Water Flow Sensor SEN-HZ41WC

Buy Now

Supply Voltage

12 VDC

Supply Current

10mA

Output Signal

Digital Square-Wave Pulse Signal

Output Frequency

0-100 Hz

Flow Range

0.5-30 L/min

Accuracy

1.5% of full scale

Response Time

< 1 second

Operating Temperature

-20C to 80C (-4F to 176F)

Storage Temperature

-40C to 100C (-40F to 212F)

Ingress Protection

IP67

Connection

1/4 inch (6mm) threaded brass body

Weight

approximately 100g

Applications

The SEN-HZ41WC flow sensor is suitable for a wide range of applications, including

Industrial process control and monitoring

Water treatment and management systems

HVAC and cooling systems

Medical equipment and devices

Agricultural and irrigation systems

Laboratory equipment and testing devices

Pin Configuration

  • SEN-HZ41WC 1/4 Inch Brass Water Flow Sensor Pinout Explanation
  • The SEN-HZ41WC 1/4 Inch Brass Water Flow Sensor is a commonly used IoT component for measuring water flow rates in various applications. This sensor has 5 pins, which are used to connect it to a microcontroller or other electronic devices. Here's a detailed explanation of each pin and how to connect them:
  • Pin 1: VCC (Power Supply)
  • Function: Power supply pin for the sensor
  • Description: This pin should be connected to a power source (typically 5V DC) to power the sensor.
  • Connection:
  • + Connect VCC pin to the positive terminal of a 5V power supply.
  • + Ensure the power supply is stable and regulated to prevent damage to the sensor.
  • Pin 2: GND (Ground)
  • Function: Ground pin for the sensor
  • Description: This pin should be connected to the ground terminal of the power supply and the microcontroller.
  • Connection:
  • + Connect GND pin to the negative terminal of the power supply.
  • + Connect GND pin to the ground terminal of the microcontroller.
  • Pin 3: OUT (Output)
  • Function: Output signal pin from the sensor
  • Description: This pin provides a pulse output signal proportional to the water flow rate.
  • Connection:
  • + Connect OUT pin to a digital input pin on the microcontroller (e.g., Arduino Uno's digital pin 2).
  • + Use a pull-down resistor (typically 10k) to prevent the pin from floating.
  • Pin 4: No Connection (NC)
  • Function: No internal connection
  • Description: This pin is not connected internally and should be left unconnected.
  • Connection: None
  • Pin 5: No Connection (NC)
  • Function: No internal connection
  • Description: This pin is not connected internally and should be left unconnected.
  • Connection: None
  • Connecting the Sensor to a Microcontroller (Example: Arduino Uno)
  • Here's an example of how to connect the SEN-HZ41WC sensor to an Arduino Uno microcontroller:
  • 1. Connect VCC pin to the 5V pin on the Arduino Uno.
  • 2. Connect GND pin to the GND pin on the Arduino Uno.
  • 3. Connect OUT pin to digital pin 2 on the Arduino Uno.
  • 4. Add a 10k pull-down resistor between the OUT pin and GND pin.
  • Important Notes
  • Ensure the power supply is stable and regulated to prevent damage to the sensor.
  • Use a suitable pull-down resistor to prevent the OUT pin from floating.
  • The sensor output is a pulse signal, and the frequency of the pulse is proportional to the water flow rate. You may need to use a pulse counting algorithm or library to measure the flow rate accurately.
  • By following these pinout explanations and connection guidelines, you can successfully integrate the SEN-HZ41WC 1/4 Inch Brass Water Flow Sensor into your IoT project.

Code Examples

1/4 Inch Brass Water Flow Sensor SEN-HZ41WC Documentation
Overview
The SEN-HZ41WC is a 1/4 inch brass water flow sensor designed to measure the flow rate of liquids in industrial and commercial applications. It operates on the principle of magnetic induction, providing an output signal proportional to the flow rate of the liquid. This sensor is suitable for use in water, gas, and oil flow measurement applications.
Technical Specifications
Operating Temperature: -20C to 100C
 Flow Range: 0.1-20L/min
 Output: Pulse signal (1 pulse/L)
 Supply Voltage: 5-24V DC
 Current Consumption: 20mA
 Response Time: 1s
Pinout
| Pin | Function |
| --- | --- |
| VCC | Power supply (5-24V DC) |
| GND | Ground |
| OUT | Pulse output signal |
Code Examples
### Example 1: Basic Flow Rate Measurement with Arduino
This example demonstrates how to use the SEN-HZ41WC with an Arduino board to measure the flow rate of water.
```c++
const int flowPin = 2;  // Connect the OUT pin of the sensor to digital pin 2 on the Arduino
volatile int flowCount = 0;
void setup() {
  pinMode(flowPin, INPUT);
  attachInterrupt(digitalPinToInterrupt(flowPin), countFlow, RISING);
  Serial.begin(9600);
}
void loop() {
  int flowRate = flowCount;
  flowCount = 0;
  Serial.print("Flow Rate: ");
  Serial.print(flowRate);
  Serial.println(" L/min");
  delay(1000);
}
void countFlow() {
  flowCount++;
}
```
### Example 2: Water Consumption Monitoring with Raspberry Pi (Python)
This example demonstrates how to use the SEN-HZ41WC with a Raspberry Pi to monitor water consumption.
```python
import RPi.GPIO as GPIO
import time
# Set up GPIO pin for the sensor output
GPIO.setmode(GPIO.BCM)
GPIO.setup(17, GPIO.IN, pull_up_down=GPIO.PUD_UP)
flow_count = 0
last_flow_count = 0
while True:
    if GPIO.input(17):
        flow_count += 1
    time.sleep(0.01)
if flow_count - last_flow_count > 0:
        last_flow_count = flow_count
        flow_rate = flow_count / 60  # Convert pulses to L/min
        print("Water Consumption: {:.2f} L".format(flow_rate  0.001))
```
Note: These examples are for demonstration purposes only and may require additional calibration and processing to achieve accurate flow rate measurements.