




Cảm biến lưu lượng nước máy pha chế Sea YF-S401
Sea YF-S401 Water Flow Sensor
Mã sản phẩm: VP73
CÒN HÀNG
– Cảm biến lưu lượng nước máy pha coffee
– Điện áp hoạt động: 3.5 – 12VDC
– Dòng điện tiêu thụ: 15mA
– Nhiệt độ hoạt động: <80 độ C
– Áp suất tối đa: 1.75Mpa
– Lưu lượng: 0.3 – 6 L/1 phút
Cộng thêm 6 điểm tích lũy
Đơn hàng có giá trị từ 300.000 (đ), miễn phí vận chuyển [ tối đa 15.000 (đ) ].
Đơn hàng có giá trị từ 500.000 (đ), miễn phí vận chuyển [ tối đa 35.000 (đ) ].Xem thêm các khuyến mãi vận chuyển khác.
Sản phẩm liên quan

Chi tiết sản phẩm
Cảm biến lưu lượng nước máy pha chế Sea YF-S401 là loại cảm biến có độ chính xác cao, có tiết diện ống vào và ra chỉ 6mm, chuyên dùng để đo đạc các lưu lượng nhỏ trong các máy như pha chế rượu, coffee,…
Tìm hiểu thêm về cảm biến lưu lượng nước: https://nshopvn.com/blog/cam-bien-luu-luong-nuoc-la-gi/
Thông số kỹ thuật
- Cảm biến lưu lượng nước máy pha coffee
- Điện áp hoạt động: 3.5 – 12VDC
- Dòng điện tiêu thụ: 15mA
- Tín hiệu đầu ra: sử dụng hiệu ứng hall, tín hiệu đầu ra dạng xung.
- Nhiệt độ hoạt động: <80 độ C
- Áp suất tối đa: 1.75Mpa
- Lưu lượng: 0.3 – 6 L/1 phút.
Sơ đồ kết nối
| ARDUINO | CẢM BIẾN |
| 5V | MÀU ĐỎ |
| GND | MÀU ĐEN |
| 2 | MÀU VÀNG |
Code thao khảo của Cảm biến lưu lượng nước máy pha chế Sea YF-S401
/*
Dây đỏ kết nối nguồn 5V arduino
Dây đen nối GND arduino
Dây vàng (tín hiệu) kết nối chân số 2 arduino
Mở Serial Monitor chọn No line ending, baud 9600
Thổi cho cánh quạt trong cảm biến xoay để kiểm tra
*/
byte statusLed = 13;
byte sensorInterrupt = 0; // 0 = digital pin 2
byte sensorPin = 2; //--------------------------------------------------chân tín hiệu
float calibrationFactor = 4.5;
volatile byte pulseCount;
float flowRate;
unsigned int flowMilliLitres;
unsigned long totalMilliLitres;
unsigned long oldTime;
void setup()
{
// Initialize a serial connection for reporting values to the host
Serial.begin(9600);
// Set up the status LED line as an output
pinMode(statusLed, OUTPUT);
digitalWrite(statusLed, HIGH); // We have an active-low LED attached
pinMode(sensorPin, INPUT);
digitalWrite(sensorPin, HIGH);
pulseCount = 0;
flowRate = 0.0;
flowMilliLitres = 0;
totalMilliLitres = 0;
oldTime = 0;
// The Hall-effect sensor is connected to pin 2 which uses interrupt 0.
// Configured to trigger on a FALLING state change (transition from HIGH
// state to LOW state)
attachInterrupt(sensorInterrupt, pulseCounter, FALLING);
}
void loop()
{
if ((millis() - oldTime) > 1000) // Only process counters once per second
{
detachInterrupt(sensorInterrupt);
flowRate = ((1000.0 / (millis() - oldTime)) * pulseCount) / calibrationFactor;
oldTime = millis();
flowMilliLitres = (flowRate / 60) * 1000;
totalMilliLitres += flowMilliLitres;
unsigned int frac;
// Print the flow rate for this second in litres / minute
Serial.print("Flow rate: ");
Serial.print(int(flowRate)); // Print the integer part of the variable
Serial.print("L/min");
Serial.print("\t"); // Print tab space
// Print the cumulative total of litres flowed since starting
Serial.print("Output Liquid Quantity: ");
Serial.print(totalMilliLitres);
Serial.println("mL");
Serial.print("\t"); // Print tab space
Serial.print(totalMilliLitres / 1000);
Serial.print("L");
// Reset the pulse counter so we can start incrementing again
pulseCount = 0;
// Enable the interrupt again now that we've finished sending output
attachInterrupt(sensorInterrupt, pulseCounter, FALLING);
}
}
/*
Insterrupt Service Routine
*/
void pulseCounter()
{
// Increment the pulse counter
pulseCount++;
}
Hình ảnh của Cảm biến lưu lượng nước máy pha chế Sea YF-S401




MỘT SỐ SẢN PHẨM MUA KÈM

Nshopvn.com · 07/03/2019 10:49 AM
Cảm biến lưu lượng nước máy pha chế Sea YF-S401 | giá chỉ 65.000₫





