Panier d’achat

Sous-total : 35.00 د.م.

Voir le panierCommander

Yf-s401 – Capteur de débit d’eau 0.3-6L/min

60.00 د.م.

Débitmètre Compteur Electrovannes Capteur de Fluid Débit d’eau 0.3-6L/min pour arduino

Rupture de stock

UGS : CM018 Catégories : , Étiquettes : , , ,

Tutorial: Water Flow Rate Sensor 1/8 inch


The water flow sensor measures the rate of a liquid flowing through it. The YF-S401 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! Plus d’information visite notre page Facebook.


Quick Spec

  • Max Supply Voltage: 5-12V DC
  • Water Flow Range: 0.3-6 L/min
  • Inner Diameter: 4 mm
  • Outside diameter: 7 mm
  • Nozzle Size Standard : Type 18 (1/8″ / 3.175mm)
  • Proof Water Pressure: <0.8 MPa
  • Operating Current: 15 mA (DC 5V)
  • Insulation Resistance: >100 MΩ
  • Accuracy: ±5%
  • The Output Pulse High Level: >4.5 VDC (DC input voltage 5 V)
  • The Output Pulse Low Level: <0.5 VDC (DC input voltage 5 V)
  • Water-flow Formula: 1L = 5880 square waves
  • Working Humidity Range: 35% ~ 90% RH (no frost)
  • Dimension: 58 x 35 x 26 mm
  • Weight: 30g

Wiring Diagram

Yf-s401 - Capteur de débit d'eau 0.3-6L/min Arduino


Pinout

  • Red: Power In
  • Black: Ground
  • Yellow: Signal Output

Sample Code

// Plus d’information visite notre page Facebook.
volatile double waterFlow;
void setup() {
  Serial.begin(9600);  //baudrate
  waterFlow = 0;
  attachInterrupt(0, pulse, RISING);  //DIGITAL Pin 2: Interrupt 0
}
void loop() {
  Serial.print(« waterFlow: »);
  Serial.print(waterFlow);
  Serial.println( »   L »);
  delay(500);
}
void pulse()   //measure the quantity of square wave
{
  waterFlow += 1.0 / 5880.0;

}


Plus d’information visite notre page Facebook.


Resources

Fiche technique Yf-s401


 

Avis

Il n’y a pas encore d’avis.

Soyez le premier à laisser votre avis sur “Yf-s401 – Capteur de débit d’eau 0.3-6L/min”

Votre adresse e-mail ne sera pas publiée. Les champs obligatoires sont indiqués avec *

Tous les résultats de recherche
×