Industrial manufacturing
Industrial Internet of Things | Industrial materials | Equipment Maintenance and Repair | Industrial programming |
home  MfgRobots >> Industrial manufacturing >  >> Manufacturing Technology >> Industrial Technology

YF-S201 Hall Effect Water Flow Sensor: Pinout, Features & Practical Applications

Think of a scenario where you want to obtain the flow rate of a coffee machine or water pipe. Such measurement is possible when you’ve got a flow rate pulse sensor.  Today, we’ll elaborate on the working of a YF-S201 flow sensor and its applications. 

What is YF-S201?

YF-S201 Hall Effect Water Flow Sensor: Pinout, Features & Practical Applications

Fig 1: A water flow measurement sensor

It’s a water flow measurement sensor comprising a hall-effect sensor, water rotor, and plastic body valve. 

To determine the liters per minute, the water flow sensor YF-S201 records the hall sensor’s pulse output. On average, a pulse equals  2.25 milliliters, but this device is not a precision sensor. Thus, professional calibration is necessary to improve its accuracy. 

YF-S201 Pinout

YF-S201 Hall Effect Water Flow Sensor: Pinout, Features & Practical Applications

Fig 2: A Water flow Sensor has three main terminals (RED, BLACK, YELLOW).

This flow sensor type has three wires colored red, black, and yellow, as highlighted in the table below. 

YF-S201 Hall Effect Water Flow Sensor: Pinout, Features & Practical Applications

YF-S201 Features

YF-S201 Hall Effect Water Flow Sensor: Pinout, Features & Practical Applications

Fig 3: A Hall Effect Sensor

The hall effect sensor’s properties are as follows: 

  1. It has a 5 to 18V DC working voltage and can draw a maximum current of 15mA at 5V
  2. Also, the 1-30L/Min Flow sensor features a 5V TTL output and a working temperature range of -25℃ to +80℃. 
  3. Thirdly, it operates best at a humidity of between 35% to 80% Relative humidity, and its overall precision/accuracy is  ±10%. 
  4. Fourthly, the flow sensor measures liquid/water with a maximum pressure of 2.0 MPa. It also can make a maximum of 450 pulses per liter. 
  5. It also has a 50% +-10% output duty cycle. 
  6. Moreover, it has an output rise time and output fall time of 0.04us and 0.18us, respectively. 
  7. Lastly, its pulse rate depends on its flow rate, sensor orientation, and liquid pressure. 

Interfacing YF-S201 with Arduino

Parts Required

First, assemble the following components

Essential Steps

  1. Assemble the above components as shown in the picture below.  
YF-S201 Hall Effect Water Flow Sensor: Pinout, Features & Practical Applications

Fig 4: Arduino Uno and Water flow sensor array

  1. Connect the sensor’s red cable to the microcontroller’s 5V terminal and the yellow cable to the Arduino’s digital pin. Lastly, as the diagram illustrates, connect the black cable to the Arduino board’s GND. 
  2. Next, run the code below on your Arduino board.
YF-S201 Hall Effect Water Flow Sensor: Pinout, Features & Practical Applications YF-S201 Hall Effect Water Flow Sensor: Pinout, Features & Practical Applications YF-S201 Hall Effect Water Flow Sensor: Pinout, Features & Practical Applications YF-S201 Hall Effect Water Flow Sensor: Pinout, Features & Practical Applications YF-S201 Hall Effect Water Flow Sensor: Pinout, Features & Practical Applications
  1.  You’re also free to modify the code by clicking the ‘Edit’ button and inserting the parts you deem necessary but are missing. 
  2. Click the serial monitor button to initiate serial communication. Your sensor is now ready for use, and you can connect it with water to test the rate of flow. 

 Applications of YF-S201

It’s helpful, especially in rate of water flow measurements, such as in water vending machines. Still, it finds further use in the following areas: 

YF-S201 Hall Effect Water Flow Sensor: Pinout, Features & Practical Applications

Conclusion

If you want to obtain the rate in litres of water flowing through a pipe, consider this component. For additional instructions on how to use your water flow sensor, check out your model’s user manual. Finally, write to WellPCB for any query, and we’ll always be at your service.


Industrial Technology

  1. How Water Flow Sensors Work and Their Key Applications
  2. Hall Effect Sensors: Working Principles & Practical Applications
  3. Hall Effect Sensor Pinout Explained: A Complete Reference
  4. LM393 Comparator Overview: Pinout, Features, Applications & Operation
  5. Mastering the J111 JFET: Pinout, Key Features, Applications & Core Principles
  6. Water Flow Sensors: How They Work & How to Use Them
  7. 2N3771 NPN Transistor: Pinout, Key Features, Applications & Alternatives
  8. HC-06 Bluetooth Module: Pinout, Features, Applications & Working Principle Explained
  9. Light Intensity Sensors: Features, Uses, and Arduino Integration Guide
  10. DS18B20 1-Wire Digital Temperature Sensor: Pinout, Key Features & Practical Applications