รหัสสินค้า | AG00345 |
หมวดหมู่ | วัดสภาพแวดล้อมและแก๊ส Environmental / Gas |
ราคา | 120.00 บาท |
สถานะสินค้า | พร้อมส่ง |
จำนวน | ชิ้น |
Water Flow Sensor เหมาะสมสำหรับการประยุกต์ใช้งานที่หลากหลาย เช่น ตรวจวัดการไหลของน้ำหล่อเย็นในเครื่อง CNC หรือในระบบ Laser cutters เป็นต้น การทำงานของ Water flow sensor จะให้น้ำไหลผ่านใบพัดภายในให้เกิดการหมุน โดยมี hall effect sensor เป็นตัวตรวจจับการหมุน และส่งสัญญาณ pulse ออกมาทุกๆ รอบหมุน โดยมี 3 ขา ได้แก่ Ground / VCC / Signal
ข้อมูลเพิ่มเติม: ดูได้ที่ SeeedStudio
การต่อสาย
หมายเหตุ: ใช้ตัวต้านทาน 10K โอห์ม
ตัวอย่าง Arduino Sketch
// reading liquid flow rate using Seeeduino and Water Flow Sensor from Seeedstudio.com
// Code adapted by Charles Gantt from PC Fan RPM code written by Crenn @thebestcasescenario.com
// http:/themakersworkbench.com http://thebestcasescenario.com http://seeedstudio.com
volatile int NbTopsFan; //measuring the rising edges of the signal
int Calc;
int hallsensor = 2; //The pin location of the sensor
void rpm() //This is the function that the interupt calls
{
NbTopsFan++; //This function measures the rising and falling edge of the hall effect sensors signal
}
void setup()
{
pinMode(hallsensor, INPUT); //initializes digital pin 2 as an input
Serial.begin(9600); //This is the setup function where the serial port is initialised,
attachInterrupt(0, rpm, RISING); //and the interrupt is attached
}
void loop()
{
NbTopsFan = 0; //Set NbTops to 0 ready for calculations
sei(); //Enables interrupts
delay(1000); //Wait 1 second
cli(); //Disable interrupts
Calc = (NbTopsFan * 60 / 7.5); //(Pulse frequency x 60) / 7.5Q, = flow rate in L/hour
Serial.print(Calc, DEC); //Prints the number calculated above
Serial.print(" L/hour\r\n"); //Prints "L/hour" and returns a new line
}
ชำระเงินค่าสินค้าโดยการโอนเงินเข้าบัญชีธนาคาร KBANK, SCB, BBL,TMB
กรุณาเก็บหลักฐานการโอนเงินของท่านไว้เพื่อแจ้งการชำระเงินด้วยค่ะ
ท่านสามารถแจ้งการชำระเงินผ่านระบบอัตโนมัติได้โดย Click Link ข้างล่างค่ะ
https://www.arduitronics.com/informpayment
หน้าที่เข้าชม | 15,375,197 ครั้ง |
ผู้ชมทั้งหมด | 5,878,275 ครั้ง |
เปิดร้าน | 21 พ.ค. 2556 |
ร้านค้าอัพเดท | 5 ก.ย. 2568 |