{{ 'fb_in_app_browser_popup.desc' | translate }} {{ 'fb_in_app_browser_popup.copy_link' | translate }}
{{ 'in_app_browser_popup.desc' | translate }}
{{ childProduct.title_translations | translateModel }}
{{ getChildVariationShorthand(childProduct.child_variation) }}
{{ getSelectedItemDetail(selectedChildProduct, item).childProductName }} x {{ selectedChildProduct.quantity || 1 }}
{{ getSelectedItemDetail(selectedChildProduct, item).childVariationName }}
貨號:CSO0016
商品存貨不足,未能加入購物車
您所填寫的商品數量超過庫存
{{'products.quick_cart.out_of_number_hint'| translate}}
{{'product.preorder_limit.hint'| translate}}
每筆訂單限購 {{ product.max_order_quantity }} 件
現庫存只剩下 {{ quantityOfStock }} 件
【產品介紹】
4分管,G1/2外牙,一字型結構,尼龍加玻纖,防水防爆,耐熱耐冷,可用來偵測水流計量流量。
三線聯接:紅色為正極,黑色為負極,黃色為脈衝信號,最大壓力1.75mpa、流量1-30L/分如果要加溫度控制傳感器則為綠色,也可另接兩線專門控制溫度。
水流量傳感器主要用於燃氣熱水器、電熱水器、洗衣機、售水機、壁掛爐、電磁熱水器、水控(一體式)機、控水機、熱泵熱水工程、一卡通管理系統、智能水錶IC水錶、校園卡售水系統、自助售水(販賣)機、水處理設備、配水配藥設備、冷卻系統、循環系統、智機械設備、加熱設備、儀器儀表、製藥(制濟)設備等。
【產品規格】
尺寸:58*38*38mm
顏色:Black
最大流體壓力:1.75 MPa
最大流量:30 L/min
線長:10 CM
管接頭管徑:1.9 cm Outer Dia, 1.1cm Inner Dia
【文件下載】
需要的物品
Arduino控制板、10K電阻、水流量感測器
教學
你需要上傳以下程式碼到你的控制板(如UNO)。上傳之後,當有流體流過水流感測器,您就可以打開Arduino serial monitor,上面將會顯示流量,並且每秒刷新一次。
程式碼
// 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 https://thebestcasescenario.com https://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
}
// The setup() method runs once, when the sketch starts
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
}
// the loop() method runs over and over again,
// as long as the Arduino has power
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/hourrn"); //Prints "L/hour" and returns a new line
}
"