Skip to main content

Menu

YF-S201 Flowmeter 1/2″ Hall Effect Controlled Water Flow Sensor Arduino Compatible

ARD2-3028
Photo of a YF-S201 flowmeter 1/2″ hall effect controlled water flow sensor.

$9.95

QTY Price
1 $9.95
5 $8.95

Description

This Arduino compatible YF-S201 Hall-Effect Water Flow Sensor is used to measure the rate of flow of liquids. This sensor is attached in your waterline and it has pinwheel sensor to measure how much liquid has moved through it. The hall effect sensor is sealed from the water pipe and allows the sensor to stay safe and dry.

The YF-S201 Hall-Effect Water Flow Sensor comes with three wires: red (5-24VDC power), black (ground) and yellow (Hall effect pulse output). By counting the pulses from the sensor, you can easily sense liquid flow through the sensor.

Flowmeter with G1/2 Threads - simple output to measure the flow rate of water or other non-flammable liquids. Great for use with Arduinos or other microcontrollers - may also be used for gases with some adjustment for density. 1/2" Pipe Threads, Hall Effect Sensor interface, 1-30L/min 1.2MPa Capacity.

Sample code for Arduino:

/*
YF-S201 Hall Effect Water Flow Meter / Sensor
Read Water Flow Meter and output reading in litres/hour
*/

volatile int flow_frequency; // Measures flow meter pulses
unsigned int l_hour; // Calculated litres/hour
unsigned char flowmeter = 2; // Flow Meter Pin number
unsigned long currentTime;
unsigned long cloopTime;

void flow () { // Interrupt function
flow_frequency++;
}

void setup() {
pinMode(flowmeter, INPUT);
Serial.begin(9600);
attachInterrupt(0, flow, RISING); // Setup Interrupt
// see http://arduino.cc/en/Reference/attachInterrupt
sei(); // Enable interrupts
currentTime = millis();
cloopTime = currentTime;
}

void loop () {
currentTime = millis();

// Every second, calculate and print litres/hour
if(currentTime >= (cloopTime + 1000)) {
cloopTime = currentTime; // Updates cloopTime
// Pulse frequency (Hz) = 7.5Q, Q is flow rate in L/min. (Results in +/- 3% range)
l_hour = (flow_frequency * 60 / 7.5); // (Pulse frequency x 60 min) / 7.5Q = flow rate in L/hour
flow_frequency = 0; // Reset Counter
Serial.print(l_hour, DEC); // Print litres/hour
Serial.println(" L/hour");
}
}

Features

  • Flowmeter with G1/2 Threads - simple output to measure the flow rate of water or other non-flammable liquids
  • Great for use with Arduinos or other microcontrollers - may also be used for gases with some adjustment for density
  • 1/2″ pipe threads
  • Hall Effect Sensor inferface
  • 1-30L/min 1.2MPa capacity
  • Stainless steel axis

Specifications

Minimum Rated Working Voltage

DC4.5 5V-24V

Maximum Operating Current

15 mA (DC 5V)

Working Voltage Range

DC 5~18V

Load Capacity

≤ 10mA (DC 5V)

Operating Temperature

-25 ~ 80°C

Operating Humidity Range

35% ~ 90% RH (no frost)

Allowing Pressure

1.2 Mpa

External Threads

1/2″

High Amplitude

≥ 4.6V

Low Amplitude

≤ 0.5V

Electric Strength

1250V/min

Insulation Resistance

≥ 100MΩ

Hydrostatic Pressure Testing

≤ 2.0Mpa

Extent of Error

±5%

Flow-Pulse

2L/min=16Hz 4L/min=32.5Hz 6L/min=49.3Hz 8L/min=65.5Hz 10L/min=82Hz

You Might Also Like

All prices are in Australian Dollars and include GST. GST will be removed from your order if you are ordering from outside Australia.
Products may differ from pictured.
All trademarks and trade names are the properties of their respective owners. Wiltronics disclaims any proprietary interest in trademarks and trade names other than its own.

We use cookies to ensure you have the best experience on our site. If you continue to use this site you consent to the use of these cookies. OK

Find out more in our Privacy Policy