SEN0217

SEN0217 Datasheet


Water Flow Sensor SKU SEN0217

Part Datasheet
SEN0217 SEN0217 SEN0217 (pdf)
PDF Datasheet Preview
Water Flow Sensor SKU SEN0217

Contents
• 1 Introduction
• 2 Specification
• 3 Board Overview
• 4 Tutorial

Requirements Connection Diagram Sample Code
• 5 FAQ

Introduction

The Water Flow sensor measures the rate of a liquid flowing through it. The YF-S201 water flow sensor consists of a plastic valve body, flow rotor and hall effect sensor. It is usually used at the inlet end to detect the amount of flow. When liquid flows through the sensor, a magnetic rotor will rotate and the rate of rotation will vary with the rate of flow. The hall effect sensor will then output a pulse width signal. Connect it to a microcontroller and you can monitor multiple devices such as your coffee maker, sprinkler or anything else, and control the water flow rate to suit your needs!
• A 20 mm rifled pipe is recommended
• Avoid unit contact with corrosive chemicals
• The unit must be installed vertically, tilted no more than 5 degrees
• Liquid temperature should be less than 120 C to avoid damage to unit

Specification
• Inner Diameter 11 mm
• Outside diameter 20 mm
• Proof Water Pressure MPa
• Water Flow Range 1-30 L/min
• Voltage Range V
• Operating Current 15 mA DC 5V
• Insulation Resistance >100
• Accuracy ±5% 2~30L/min
• The Output Pulse High Level VDC DC input voltage 5 V
• The Output Pulse Low Level VDC DC input voltage 5 V
• Output Pulse Duty Ratio 50% ± 10%
• Water-flow Formula 1L = 450 square waves
• Working Humidity Range 25% ~ 95% RH no frost
• Dimension 62*36*35 mm/2.44*1.37*1.37 inches
• Weight 52g

Board Overview

Number Color Name Description 1 Green Signal Pulse Signal 2 Red VCC 5~12V 3 Black GND

Pulse Signal

Tutorial

In this Tutorial, we'll measure liquid flow using this sensor.

Requirements

Hardware DFRduino UNO R3 Water flow sensor Jumper Wires

Software

Arduino IDE, Click to Download Arduino IDE from

Connection Diagram

Sample Code
1 2 This example reads Water flow sensor. 3 4 Created 2016-3-13 5 By berinie Chen
6 7 GNU Lesser General Public License. 8 See for details. 9 All above must be included in any redistribution 10 11 12 /***********Notice and Trouble shooting*************** 13 1.Connection and Diagram can be found here 14 2.This code is tested on Arduino Uno. 15 16 volatile double waterFlow 17 void setup 18 Serial.begin 9600 //baudrate 19 waterFlow = 0 20 attachInterrupt 0, pulse, RISING //DIGITAL Pin 2 Interrupt 0 21 22 void loop 23 Serial.print "waterFlow:" 24 Serial.print waterFlow 25 Serial.println " L" 26 delay 500 27 28 29 void pulse //measure the quantity of square wave 30 31 waterFlow += / 32

For any questions, advice or cool ideas to share, please visit the DFRobot Forum.

Powered By DFRobot 2008-2017
More datasheets: AF512SDI-OEM | AF4GSDI-OEM | AF32GSDI-OEM | AF8GSD3-OEM | AF32GSD3-OEM | AF1GSDI-OEM | AF16GSD3-OEM | AF2GSDI-OEM | AF8GSDI-OEM | S2235-M-T


Notice: we do not provide any warranties that information, datasheets, application notes, circuit diagrams, or software stored on this website are up-to-date or error free. The archived SEN0217 Datasheet file may be downloaded here without warranties.

Datasheet ID: SEN0217 509116