{"product_id":"yf-s201-water-flow-sensor-1-30lmin-hall-effect-compoden-0371","title":"YF-S201 Water Flow Sensor - 1-30L\/min, Hall Effect | Compoden","description":"\u003ch1\u003eYF-S201 Water Flow Measurement Sensor – 1 to 30 L\/min\u003c\/h1\u003e\u003cp\u003eThe YF-S201 is a hall-effect water flow sensor that outputs a frequency signal directly proportional to flow rate. It's ideal for DIY liquid flow measurement in irrigation, vending machines, and industrial monitoring. With a simple pulse output, it integrates easily with microcontrollers like Arduino and Raspberry Pi.\u003c\/p\u003e\u003ch2\u003eKey Specifications\u003c\/h2\u003e\u003ctable\u003e\n\u003cthead\u003e\u003ctr\u003e\n\u003cth\u003eSpecification\u003c\/th\u003e\n\u003cth\u003eValue\u003c\/th\u003e\n\u003c\/tr\u003e\u003c\/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003eFlow Rate Range\u003c\/td\u003e\n\u003ctd\u003e1–30 L\/min\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eOutput\u003c\/td\u003e\n\u003ctd\u003eSquare wave (Freq = 7.5 × L\/min)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eOperating Voltage\u003c\/td\u003e\n\u003ctd\u003e5–24V DC\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eMax Current\u003c\/td\u003e\n\u003ctd\u003e15 mA @ 5V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003ePipe Diameter\u003c\/td\u003e\n\u003ctd\u003e10mm (3\/8 inch) barb\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eAccuracy\u003c\/td\u003e\n\u003ctd\u003e±10%\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\u003ch2\u003eWhat You Can Build With This\u003c\/h2\u003e\u003cul\u003e\n\u003cli\u003e\u003ca href=\"\/products\/kit-automatic-plant-watering-system\"\u003eBuild an automatic plant watering system that dispenses precise amounts.\u003c\/a\u003e\u003c\/li\u003e\n\u003cli\u003eCreate a water consumption monitor with an IoT dashboard.\u003c\/li\u003e\n\u003cli\u003eDesign a flow-based coffee machine controller for perfect brew ratios.\u003c\/li\u003e\n\u003cli\u003eSet up a leak detection alarm that triggers when unexpected flow occurs.\u003c\/li\u003e\n\u003c\/ul\u003e\u003ch2\u003eCompatibility\u003c\/h2\u003e\u003cp\u003eWorks with any microcontroller capable of reading pulse signals: Arduino Uno, Nano, ESP32, Raspberry Pi. Operates on 5-24V, but output is 5V pulse, so level shifting may be needed for 3.3V logic. Commonly paired with solenoid valves and relays.\u003c\/p\u003e\u003ch2\u003eWiring Notes\u003c\/h2\u003e\u003cp\u003eRed wire to power (5-24V), black to ground, yellow to digital input. Use internal pull-up if needed; output is open collector so a pull-up resistor (10kΩ) to Vcc is recommended. Keep sensor dry on electronics side.\u003c\/p\u003e\u003ch2\u003eWhy Buy from Compoden\u003c\/h2\u003e\u003cp\u003eEvery component is sourced from verified suppliers and tested for compatibility before listing. We've spent 10 years building projects for makers, schools, and institutions across India. Ships from Bengaluru in 3-5 days. If defective on arrival, replace within 7 days.\u003c\/p\u003e\u003cdetails\u003e\u003csummary\u003eIs this compatible with Arduino?\u003c\/summary\u003e\u003cp\u003eYes, the YF-S201 outputs a 5V pulse that can be read using any Arduino digital pin. A simple pulse counting sketch can convert frequency to flow rate.\u003c\/p\u003e\u003c\/details\u003e\u003cdetails\u003e\u003csummary\u003eCan it measure reverse flow?\u003c\/summary\u003e\u003cp\u003eNo, this sensor is unidirectional and only measures flow in the direction of the arrow marked on the body.\u003c\/p\u003e\u003c\/details\u003e\u003cdetails\u003e\u003csummary\u003eIs it submersible?\u003c\/summary\u003e\u003cp\u003eOnly the flow path is in contact with water; the sensor body and electronics must remain dry.\u003c\/p\u003e\u003c\/details\u003e\n\u003cdiv class=\"compoden-handoff\" style=\"margin-top:24px;padding:16px;background:#f0f4ff;border-left:4px solid #2B4D8F;border-radius:4px;\"\u003e\n  \u003cp style=\"margin:0 0 6px 0;font-weight:600;color:#1A3560;\"\u003e📦 Free Setup Handoff Document Included\u003c\/p\u003e\n  \u003cp style=\"margin:0;font-size:0.95em;color:#333;\"\u003eEvery Compoden order includes a free setup handoff document — step-by-step instructions to get your component working within minutes. Download it via QR code on your package. The handoff document is also trained to help you troubleshoot the majority of problems.\u003c\/p\u003e\n\u003c\/div\u003e\n","brand":"Compoden","offers":[{"title":"Default Title","offer_id":53444960125293,"sku":"CDN-0371","price":220.0,"currency_code":"INR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0999\/3997\/5533\/files\/download_faaf9cdc-9ba8-46ad-bccf-c482365f2ac3.jpg?v=1781597089","url":"https:\/\/compoden.com\/products\/yf-s201-water-flow-sensor-1-30lmin-hall-effect-compoden-0371","provider":"Compoden","version":"1.0","type":"link"}