{"type":"product","schema_version":"1.0","item_id":"101089994277","canonical_url":"https://tw.bid.yahoo.com/item/101089994277","title":"YF-S201 霍爾水流量感測器 水流量傳感器 4分G1/2接口 水流計","subtitle":null,"condition":"全新品","currency":"TWD","observed_at":"2026-04-23T21:18:01.742Z","current_price":119,"original_price":null,"stock_status":"in_stock","available_quantity":969,"sold_quantity":0,"seller":{"id":"Y5700860772","name":"維貿電子IOT模組材料","positive_rate":null,"rating_count":null},"images":[{"url":"https://img.yec.tw/ob/image/e83e2a2a-8006-43da-b84b-54394677e561.jpg","role":"main","alt":"商品主圖","width":null,"height":null},{"url":"https://img.yec.tw/ob/image/52f86137-6f44-43f4-878e-f9c94069cfdf.jpg","role":"detail","alt":"商品圖片 2","width":null,"height":null},{"url":"https://img.yec.tw/ob/image/22f389b8-5c31-4d94-b6de-9ba34d327abe.jpg","role":"detail","alt":"商品圖片 3","width":null,"height":null},{"url":"https://img.yec.tw/ob/image/7e711444-d078-46e6-a2ed-e9144f0db034.jpg","role":"detail","alt":"商品圖片 4","width":null,"height":null},{"url":"https://img.yec.tw/ob/image/26aa12f0-355a-41b5-887d-3718b70f260d.jpg","role":"detail","alt":"商品圖片 5","width":null,"height":null}],"description":"YF-S201 霍爾水流量感測器 水流量傳感器 4分G1/2接口 水流計\n\n水流量傳感器原理簡介：\n1.組成：塑料閥體 、水流轉子組件和霍爾傳感器\n2.裝在進水端，用於檢測進水流量\n3.當水通過水流轉子，隨著流量快慢，推動磁性轉子轉動的轉速，\n  觸發霍爾傳感器輸出相應脈衝信號，反饋給控制器或開發板\n  判斷水流量的大小，進行水量檢測調控\n\n適用範圍:適用於抽水機 熱水器，自動售水機等流量計量設備  \n1.工作電壓範圍DC 5～18 V\n2.最大工作電流 15 mA（DC 5V）\n  負載能力 ≤10 mA（DC 5V）\n3.使用溫度範圍 工作溫度 ：-25～+ 80℃ \n4.使用濕度範圍 35%～90%RH（無結霜狀態）  \n5.允許耐壓 水壓1.75Mpa以下\n6.流量計算\n  （即頻率 脈衝數） F= 常數7.5 * 單位流量（L/min） * 時間（秒） \n   例：一分鐘流過1升水 輸出的 脈衝個數計算\n       7.5 * 1 * 60 =450， 流完一升水輸出450個脈衝\n7.可測流量範圍：1～30公升/分鐘\n8.水管接口：標準 G1/2螺牙  1/2吋，外徑0.78”，螺紋1/2“\n9.機體尺寸約 2.5x 1.4x 1.4寸\n10.電線長度：15公分\n11.輸出訊號類型：5V TTL\n12.傳感器類型：霍爾效應\n13.淨重  約47公克\n\n使用注意事項:\n    嚴禁劇烈衝擊以及化學物質的侵蝕。\n    嚴禁拋擲或碰撞。   \n    介質溫度不宜超過120度\n\n接線方式：\n  紅  IN  ：正極\n  黃  OUT ：PWM 類比訊號輸出線\n  黑  GND ：負極\n\n出貨內容：水流量傳感器 x 一個   塑膠袋包裝\n\n範例程式：\n/*\nLiquid flow rate sensor -DIYhacking.com Arvind Sanjeev\n\nMeasure the liquid/water flow rate using this code. \nConnect Vcc and Gnd of sensor to arduino, and the \nsignal line to arduino digital pin 2.\n \n */\n\nbyte statusLed    = 13;\n\nbyte sensorInterrupt = 0;  // 0 = digital pin 2\nbyte sensorPin       = 2;\n\n// The hall-effect flow sensor outputs approximately 4.5 pulses per second per\n// litre/minute of flow.\nfloat calibrationFactor = 4.5;\n\nvolatile byte pulseCount;  \n\nfloat flowRate;\nunsigned int flowMilliLitres;\nunsigned long totalMilliLitres;\n\nunsigned long oldTime;\n\nvoid setup()\n{\n  \n  // Initialize a serial connection for reporting values to the host\n  Serial.begin(9600);\n   \n  // Set up the status LED line as an output\n  pinMode(statusLed, OUTPUT);\n  digitalWrite(statusLed, HIGH);  // We have an active-low LED attached\n  \n  pinMode(sensorPin, INPUT);\n  digitalWrite(sensorPin, HIGH);\n\n  pulseCount        = 0;\n  flowRate          = 0.0;\n  flowMilliLitres   = 0;\n  totalMilliLitres  = 0;\n  oldTime           = 0;\n\n  // The Hall-effect sensor is connected to pin 2 which uses interrupt 0.\n  // Configured to trigger on a FALLING state change (transition from HIGH\n  // state to LOW state)\n  attachInterrupt(sensorInterrupt, pulseCounter, FALLIN...","shipping_methods":[{"name":"7-ELEVEN取貨付款","fee":0,"currency":"TWD"},{"name":"郵局掛號","fee":0,"currency":"TWD"},{"name":"萊爾富取貨付款","fee":0,"currency":"TWD"}],"lowest_shipping_fee":null,"payment_methods":["ATM轉帳","信用卡一次付清","萊爾富取貨付款","7-ELEVEN取貨付款"],"category_id":"2092104064","category_name":"電子零件/材料","breadcrumb":[{"id":"23336","name":"電腦、平板與周邊","url":"/tw/%E9%9B%BB%E8%85%A6%E3%80%81%E5%B9%B3%E6%9D%BF%E8%88%87%E5%91%A8%E9%82%8A-23336-category.html"},{"id":"2092072621","name":"耗材與線材","url":"/tw/%E8%80%97%E6%9D%90%E8%88%87%E7%B7%9A%E6%9D%90-2092072621-category.html"},{"id":"2092104064","name":"電子零件/材料","url":"/tw/%E9%9B%BB%E5%AD%90%E9%9B%B6%E4%BB%B6-%E6%9D%90%E6%96%99-2092104064-category.html"}],"view_count":6,"watch_count":2}