12 VDC
12 VDC
10mA
Digital Square-Wave Pulse Signal
0-100 Hz
0.5-30 L/min
1.5% of full scale
< 1 second
-20C to 80C (-4F to 176F)
-40C to 100C (-40F to 212F)
IP67
1/4 inch (6mm) threaded brass body
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
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.