{"product_id":"yf-s201-hall-effect-water-flow-sensor-1-30lmin-2mpa-arduino-fs300a","title":"YF-S201 Hall Effect Water Flow Sensor 1–30L\/min 2.0MPa | FS300A Liquid Flow Switch for Arduino","description":"\u003ch2\u003eYF-S201 Hall Effect Water Flow Sensor — 1–30L\/min | 2.0MPa | Arduino Compatible\u003c\/h2\u003e\n\n\u003cp\u003eThe \u003cstrong\u003eYF-S201\u003c\/strong\u003e is the most widely used Hall effect water flow sensor in the Arduino and maker community — a compact, reliable, and affordable solution for measuring liquid flow rate in water supply systems, irrigation controllers, aquarium pumps, coffee machines, and industrial fluid monitoring. A magnetic rotor spins as water flows through the sensor body; each rotation generates a pulse from the Hall effect sensor, which your microcontroller counts to calculate flow rate and cumulative volume. The 2.0MPa pressure rating and 1–30L\/min flow range cover the vast majority of domestic and light industrial water system applications.\u003c\/p\u003e\n\n\u003ch3\u003eSpecifications\u003c\/h3\u003e\n\u003ctable\u003e\n  \u003ctbody\u003e\n    \u003ctr\u003e\n\u003ctd\u003e\u003cstrong\u003eModel\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003eYF-S201 \/ FS300A (as selected)\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003e\u003cstrong\u003eSensor Type\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003eHall effect (magnetic rotor)\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003e\u003cstrong\u003eFlow Range\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003e1 – 30 L\/min\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003e\u003cstrong\u003eMax Working Pressure\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003e2.0 MPa (290 PSI)\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003e\u003cstrong\u003eWorking Voltage\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003e5V – 24V DC\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003e\u003cstrong\u003eOutput Signal\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003ePulse (square wave, Hall effect)\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003e\u003cstrong\u003ePulse Rate\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003e~450 pulses\/litre (YF-S201 typical)\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003e\u003cstrong\u003eThread Size\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003eG1\/2\" (BSP) — standard plumbing thread\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003e\u003cstrong\u003eBody Material\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003ePlastic (food-grade compatible)\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003e\u003cstrong\u003eWire Colours\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003eRed (VCC), Black (GND), Yellow (Signal)\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003e\u003cstrong\u003eOperating Temperature\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003e-25°C to +80°C\u003c\/td\u003e\n\u003c\/tr\u003e\n  \u003c\/tbody\u003e\n\u003c\/table\u003e\n\n\u003ch3\u003eHow Hall Effect Flow Sensors Work\u003c\/h3\u003e\n\u003cp\u003eInside the YF-S201, a small plastic rotor with embedded magnets spins freely in the water stream. As water flows, the rotor spins at a rate proportional to the flow velocity. Each magnet pass triggers the Hall effect sensor, generating a digital pulse on the output wire. Your microcontroller counts these pulses over time to calculate:\u003c\/p\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eFlow rate (L\/min)\u003c\/strong\u003e — pulses per second ÷ pulse factor (typically 7.5 for YF-S201) = L\/min\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eCumulative volume (L)\u003c\/strong\u003e — total pulse count ÷ pulse factor = total litres\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003eThe Hall effect output is a clean digital pulse — no ADC required, directly readable by any digital GPIO pin with a pull-up resistor.\u003c\/p\u003e\n\n\u003ch3\u003eYF-S201 vs. FS300A Comparison\u003c\/h3\u003e\n\u003ctable\u003e\n  \u003ctbody\u003e\n    \u003ctr\u003e\n\u003cth\u003eProperty\u003c\/th\u003e\n\u003cth\u003eYF-S201\u003c\/th\u003e\n\u003cth\u003eFS300A\u003c\/th\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eFlow range\u003c\/td\u003e\n\u003ctd\u003e1–30 L\/min\u003c\/td\u003e\n\u003ctd\u003e1–60 L\/min (higher range)\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eThread size\u003c\/td\u003e\n\u003ctd\u003eG1\/2\"\u003c\/td\u003e\n\u003ctd\u003eG1\/2\"\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eBody material\u003c\/td\u003e\n\u003ctd\u003ePlastic\u003c\/td\u003e\n\u003ctd\u003ePlastic\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eBest for\u003c\/td\u003e\n\u003ctd\u003eDomestic water, irrigation, Arduino projects\u003c\/td\u003e\n\u003ctd\u003eHigher flow rate applications\u003c\/td\u003e\n\u003c\/tr\u003e\n  \u003c\/tbody\u003e\n\u003c\/table\u003e\n\n\u003ch3\u003eKey Features\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e✅ \u003cstrong\u003eHall effect output\u003c\/strong\u003e — clean digital pulse, no ADC needed, directly readable by Arduino GPIO\u003c\/li\u003e\n  \u003cli\u003e✅ \u003cstrong\u003e1–30 L\/min range\u003c\/strong\u003e — covers domestic water supply, irrigation, and light industrial flow monitoring\u003c\/li\u003e\n  \u003cli\u003e✅ \u003cstrong\u003e2.0MPa pressure rating\u003c\/strong\u003e — handles standard mains water pressure (typical mains: 0.2–0.5MPa)\u003c\/li\u003e\n  \u003cli\u003e✅ \u003cstrong\u003e5–24V supply voltage\u003c\/strong\u003e — compatible with 5V Arduino, 12V industrial systems, and 24V PLCs\u003c\/li\u003e\n  \u003cli\u003e✅ \u003cstrong\u003eG1\/2\" thread\u003c\/strong\u003e — standard plumbing thread, fits standard pipe fittings and adapters\u003c\/li\u003e\n  \u003cli\u003e✅ \u003cstrong\u003eFood-grade compatible body\u003c\/strong\u003e — suitable for drinking water and food processing applications\u003c\/li\u003e\n  \u003cli\u003e✅ \u003cstrong\u003e3-wire interface\u003c\/strong\u003e — VCC, GND, Signal — simple connection to any microcontroller\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eCommon Applications\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eArduino water meter and flow rate monitor\u003c\/li\u003e\n  \u003cli\u003eAutomatic irrigation system flow measurement\u003c\/li\u003e\n  \u003cli\u003eAquarium and fish tank water flow monitoring\u003c\/li\u003e\n  \u003cli\u003eCoffee machine and water dispenser flow control\u003c\/li\u003e\n  \u003cli\u003eHydroponics nutrient solution flow monitoring\u003c\/li\u003e\n  \u003cli\u003eSolar water heater flow measurement\u003c\/li\u003e\n  \u003cli\u003eIndustrial coolant flow monitoring\u003c\/li\u003e\n  \u003cli\u003eWater leak detection systems\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eArduino Wiring \u0026amp; Code\u003c\/h3\u003e\n\u003col\u003e\n  \u003cli\u003eConnect Red wire to Arduino 5V.\u003c\/li\u003e\n  \u003cli\u003eConnect Black wire to Arduino GND.\u003c\/li\u003e\n  \u003cli\u003eConnect Yellow wire to Arduino digital pin 2 (interrupt-capable).\u003c\/li\u003e\n  \u003cli\u003eAdd a 10kΩ pull-up resistor between Yellow wire and 5V.\u003c\/li\u003e\n  \u003cli\u003eUse \u003ccode\u003eattachInterrupt(digitalPinToInterrupt(2), pulseCounter, RISING)\u003c\/code\u003e to count pulses.\u003c\/li\u003e\n  \u003cli\u003eCalculate flow rate: \u003ccode\u003eflowRate = pulseCount \/ 7.5\u003c\/code\u003e (L\/min, measured over 1 second).\u003c\/li\u003e\n\u003c\/ol\u003e\n\u003cp\u003e\u003cem\u003eThe pulse factor (7.5) is a typical value for YF-S201. Calibrate against a known volume for precise measurements.\u003c\/em\u003e\u003c\/p\u003e\n\n\u003ch3\u003eFrequently Asked Questions\u003c\/h3\u003e\n\u003cp\u003e\u003cstrong\u003eQ: Does this sensor work with saltwater or chemicals?\u003c\/strong\u003e\u003cbr\u003eA: The YF-S201 is designed for clean water. Saltwater, chemicals, and abrasive fluids will corrode the rotor and body over time. For chemical applications, use a stainless steel or PVDF body flow sensor.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eQ: What is the minimum detectable flow rate?\u003c\/strong\u003e\u003cbr\u003eA: The YF-S201 starts generating pulses at approximately 1 L\/min. Below this threshold, the rotor may not spin reliably and readings will be inaccurate.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eQ: Can I use this with a Raspberry Pi?\u003c\/strong\u003e\u003cbr\u003eA: Yes. Connect the signal wire to a GPIO pin configured as input with pull-up. Use Python’s RPi.GPIO library with edge detection to count pulses.\u003c\/p\u003e\n\n\u003ch3\u003ePackage Contents\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e1× YF-S201 or FS300A Hall Effect Water Flow Sensor (model as selected)\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"Keszoox","offers":[{"title":"FS300A","offer_id":46985525166315,"sku":"14:351074#FS300A","price":29.96,"currency_code":"USD","in_stock":true},{"title":"YF-S201","offer_id":46985525199083,"sku":"14:1202#YF-S201","price":13.88,"currency_code":"USD","in_stock":true},{"title":"YF-S201 1","offer_id":46985525231851,"sku":"14:4044226#YF-S201","price":13.48,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/files\/yf-s201-hall-water-flow-sensor-1-30lmin-2mpa.webp?v=1761275160","url":"https:\/\/keszoox.com\/products\/yf-s201-hall-effect-water-flow-sensor-1-30lmin-2mpa-arduino-fs300a","provider":"Keszoox","version":"1.0","type":"link"}