รหัสสินค้า | AG20139 |
หมวดหมู่ | วัดสภาพแวดล้อมและแก๊ส Environmental / Gas |
ราคา | 130.00 บาท |
สถานะสินค้า | พร้อมส่ง |
จำนวน | ชิ้น |
1/8" Water Flow Sensor (YF-S401) เป็น Sensor สำหรับวัดอัตราการไหลของน้ำ (ยกเว้น น้ำกรด ด่าง และน้ำมันทุกประเภท ไม่สามารถใช้ได้) สามารถวัด Flow rate ได้ช่วง 0.3~6 L/min โดยมี Hall-Effect Sensor ส่งสัญญาณ Pulse Signal ออกมา
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!
Specification
|
||||||||||||||||
Pulse Signal
Tutorial
In this Tutorial, we'll measure liquid flow using this sensor.
1 /***************************************************
2 This example reads Water flow sensor 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 http://www.dfrobot.com/wiki/index.php?title=Water_Flow_Sensor_-_1/8%22_SKU:_SEN0216
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 += 1.0 / 5880.0;
32 }
ชำระเงินค่าสินค้าโดยการโอนเงินเข้าบัญชีธนาคาร KBANK, SCB, BBL,TMB
กรุณาเก็บหลักฐานการโอนเงินของท่านไว้เพื่อแจ้งการชำระเงินด้วยค่ะ
ท่านสามารถแจ้งการชำระเงินผ่านระบบอัตโนมัติได้โดย Click Link ข้างล่างค่ะ
https://www.arduitronics.com/informpayment
หน้าที่เข้าชม | 15,375,394 ครั้ง |
ผู้ชมทั้งหมด | 5,878,472 ครั้ง |
เปิดร้าน | 21 พ.ค. 2556 |
ร้านค้าอัพเดท | 6 ก.ย. 2568 |