Stufin
Home Quick Cart Profile

1 Inch Water Flow Sensor YF-G1 DN25

Buy Now on Stufin

Component Name

1 Inch Water Flow Sensor YF-G1 DN25

Overview

The 1 Inch Water Flow Sensor YF-G1 DN25 is a flow meter sensor designed to measure the rate of water flow in pipes with a diameter of 1 inch (DN25). This sensor is ideal for applications that require accurate and reliable flow measurement, such as industrial processes, water treatment systems, and irrigation systems.

Functionality

The 1 Inch Water Flow Sensor YF-G1 DN25 works by measuring the velocity of water flow through a pipe using a Hall effect sensor. The sensor detects the movement of a magnetic rotor, which is driven by the flowing water, and converts it into an electrical signal proportional to the flow rate. The sensor then outputs a pulse signal that corresponds to the flow rate, allowing for accurate measurement and monitoring of water flow.

Key Features

  • Pipe Size Compatibility: The sensor is designed for 1-inch (DN25) pipes, making it suitable for a wide range of industrial and commercial applications.
  • High Accuracy: The sensor provides accurate flow measurement with an error margin of 5%, ensuring reliable and precise data.
  • Hall Effect Sensor Technology: The use of Hall effect sensor technology ensures accurate and reliable measurement, even in harsh environments.
  • Pulse Output: The sensor outputs a pulse signal that corresponds to the flow rate, making it easy to integrate with other devices and systems.
  • Flow Rate Measurement Range: The sensor can measure flow rates from 0.5 to 30 liters per minute (L/min), covering a wide range of applications.
  • Power Supply: The sensor operates with a power supply of 5-24V DC, making it compatible with a variety of power sources.
  • Signal Output: The sensor outputs a pulse signal with a frequency range of 0-1000 Hz, allowing for easy integration with other devices and systems.
  • Operating Temperature Range: The sensor operates reliably within an operating temperature range of -20C to 80C (-4F to 176F), making it suitable for use in a variety of environments.
  • IP65 Protection: The sensor has an IP65 rating, protecting it from dust and water jets, ensuring reliable operation in harsh environments.
  • Easy Installation: The sensor is easy to install, with a simple mounting process that requires no special tools or training.

Length

120 mm (4.72 in)

Width

80 mm (3.15 in)

Height

40 mm (1.57 in)

Pipe diameter

1 inch (DN25)

Weight

250 grams (8.82 oz)

Certifications

The 1 Inch Water Flow Sensor YF-G1 DN25 meets various international certifications, including CE, RoHS, and IP65, ensuring compliance with safety and environmental standards.

Applications

The 1 Inch Water Flow Sensor YF-G1 DN25 is suitable for various applications, including

Industrial processes and manufacturing

Water treatment systems

Irrigation systems

Chemical processing

HVAC systems

Medical equipment

Overall, the 1 Inch Water Flow Sensor YF-G1 DN25 is a reliable and accurate flow meter sensor that provides precise measurement of water flow in 1-inch pipes. Its durability, ease of installation, and compatibility with various power sources make it an ideal choice for a wide range of industrial and commercial applications.

Pin Configuration

  • 1 Inch Water Flow Sensor YF-G1 DN25 Pinout Explanation
  • The 1 Inch Water Flow Sensor YF-G1 DN25 is a digital flow meter that measures the flow rate of liquids, such as water, in industrial and commercial applications. The sensor has a compact design with a 1-inch diameter and a DN25 connection. It provides a pulse output proportional to the flow rate, making it easy to integrate with microcontrollers, programmable logic controllers (PLCs), and other industrial automation systems. Here is a detailed explanation of the pins and how to connect them:
  • Pinout:
  • The 1 Inch Water Flow Sensor YF-G1 DN25 has a 3-pin connector, with the following pins:
  • Pin 1:
  • Function: VCC (Power Supply)
  • Voltage: 5V DC (Typical), 4.5V to 5.5V DC (Recommended Operating Range)
  • Current: 10mA (Typical), 15mA (Maximum)
  • Description: This pin supplies power to the sensor. Connect to a 5V DC power source, ensuring the voltage is within the recommended operating range.
  • Pin 2:
  • Function: GND (Ground)
  • Description: This pin provides a common ground connection for the sensor. Connect to the ground of your power supply and/or microcontroller.
  • Pin 3:
  • Function: S (Signal)
  • Type: Open Collector (Active Low)
  • Description: This pin outputs a pulse signal proportional to the flow rate. When the flow rate increases, the pulse frequency increases. Connect to a digital input pin of your microcontroller or other automation systems.
  • Connection Structure:
  • To connect the 1 Inch Water Flow Sensor YF-G1 DN25, follow these steps:
  • 1. Connect Pin 1 (VCC) to a 5V DC power source.
  • 2. Connect Pin 2 (GND) to the ground of your power supply and/or microcontroller.
  • 3. Connect Pin 3 (S) to a digital input pin of your microcontroller or other automation systems.
  • Important Notes:
  • Ensure the power supply voltage is within the recommended operating range to avoid damaging the sensor.
  • The sensor's output is an open collector type, which means it can sink current but cannot source current. Therefore, an external pull-up resistor (1k to 10k) may be required depending on your application.
  • The pulse output frequency is proportional to the flow rate, but the exact relationship depends on the specific application and setup. Consult the sensor's datasheet and calibration data for more information.
  • By following these guidelines, you can successfully connect and integrate the 1 Inch Water Flow Sensor YF-G1 DN25 into your industrial automation or IoT project.

Code Examples

1 Inch Water Flow Sensor YF-G1 DN25 Documentation
Overview
The 1 Inch Water Flow Sensor YF-G1 DN25 is a digital flow sensor designed to measure the flow rate of water or other liquids in pipes. It uses a Hall effect sensor to detect the rotation of a magnetic rotor, which is proportional to the flow rate. The sensor outputs a digital pulse signal that can be easily interfaced with microcontrollers, Arduino, or Raspberry Pi boards.
Technical Specifications
Flow range: 1-30 L/min
 Output signal: digital pulse signal (5V, 20mA)
 Power supply: 5-24V DC
 Pipe diameter: DN25 (1 inch)
 Accuracy: 5% FS
 Response time: <1 second
Connecting the Sensor
To connect the sensor, you'll need to provide a power supply (5-24V DC) and connect the digital output signal to a microcontroller or development board.
Code Examples
### Example 1: Measuring Water Flow Rate with Arduino
In this example, we'll use an Arduino Uno board to read the digital output signal from the YF-G1 DN25 sensor and calculate the flow rate in liters per minute.
```c
const int flowPin = 2;  // Digital input pin for flow sensor
volatile int flowCount = 0;  // Variable to store flow count
void setup() {
  pinMode(flowPin, INPUT);
  attachInterrupt(digitalPinToInterrupt(flowPin), flowCountISR, RISING);
  Serial.begin(9600);
}
void loop() {
  float flowRate = calculateFlowRate(flowCount);
  Serial.print("Flow rate: ");
  Serial.print(flowRate, 2);
  Serial.println(" L/min");
  delay(1000);
}
void flowCountISR() {
  flowCount++;
}
float calculateFlowRate(int count) {
  // Convert count to flow rate (L/min)
  // YF-G1 DN25 datasheet: 1 pulse = 2.25 mL
  float flowRate = (count  2.25) / 1000;
  return flowRate;
}
```
### Example 2: Monitoring Water Flow with Raspberry Pi (Python)
In this example, we'll use a Raspberry Pi board to read the digital output signal from the YF-G1 DN25 sensor and display the flow rate in liters per minute using a Python script.
```python
import RPi.GPIO as GPIO
import time
GPIO.setmode(GPIO.BCM)
flow_pin = 17  # GPIO pin for flow sensor
GPIO.setup(flow_pin, GPIO.IN, pull_up_down=GPIO.PUD_UP)
flow_count = 0
def flow_isr(channel):
    global flow_count
    flow_count += 1
GPIO.add_event_detect(flow_pin, GPIO.RISING, callback=flow_isr, bouncetime=20)
while True:
    flow_rate = calculate_flow_rate(flow_count)
    print("Flow rate: {:.2f} L/min".format(flow_rate))
    time.sleep(1)
def calculate_flow_rate(count):
    # Convert count to flow rate (L/min)
    # YF-G1 DN25 datasheet: 1 pulse = 2.25 mL
    flow_rate = (count  2.25) / 1000
    return flow_rate
```
These examples demonstrate how to connect and use the 1 Inch Water Flow Sensor YF-G1 DN25 with popular development boards. You can modify the code to suit your specific application and adjust the calculations based on the sensor's datasheet and your system's requirements.