單筆滿 NT$1,000 免運費
SHARP GP2Y0A710K0F 紅外線距離感測器 Analog 測距感測器 測量範圍100~550cm
邊緣運算與智慧家庭-33%

SHARP GP2Y0A710K0F 紅外線距離感測器 Analog 測距感測器 測量範圍100~550cm

NT$ 400NT$ 600NT$ 200
貨號
282547543(B5-14)
分類
距離感測器模組
庫存
有庫存(0)
1

商品說明 SHARP GP2Y0A710K0F 是一種距離測量傳感器組件,由一個PSD (位置靈敏感測器)、IRED(紅外發光二極管) 和信號處理電路組成。採用三角測量法:檢測距離不易受到,各種物體反射率,對環境的溫度和持續操作時間的影響。輸出的電壓對應檢測距離。因此,這種感測器也可以用來作為接近感測器。 SHARP GP2Y0A710K0F 感測距離:長距離型 距離測量範圍:100 ~ 550cm 輸出類型:類比電壓輸出 消耗電流: Typ. 30mA 電源電壓:4.5 ~ 5.5 V 應用領域: 投影機 (自動對焦)、機器人清潔器、自動照明開關等、人體檢測、遊樂設備(街機遊戲機機器人) 文件資料 原廠技術文件 Arduino 範例碼 /* Sharp GP2Y0A710K0F infrared proximity sensor (#28999) Collects an average of five readings from the sensor and displays the resulting value about every half second. See the Sharp_GP2Y0A710KOF_Simple demonstration for additional usage notes, including connection diagram. This example code is for the Arduino Uno and direct compatible boards, using the Arduino 1.0 or later IDE software. It has not been tested, nor designed for, other Arduino boards, including the Arduino Due. */ const int irSense = A0; // Connect sensor to analog pin A0 int distance = 0; void setup() { Serial.begin(9600); // Use Serial Monitor window } void loop() { Serial.println(irRead(), DEC); // Call irRead function to read sensor // Print value in Serial Monitor delay(250); // Wait another 1/4 second for the next read // (Note: Because of delays built into the // irRead function the display of values will // be slower than in the SharpGP2Y0A21_Simple // sketch } // Take multiple readings, and average them out to reduce false readings int irRead() { int averaging = 0; // Holds value to average readings // Get a sampling of 5 readings from sensor for (int i=0; i<5; i++) { distance = analogRead(irSense); averaging = averaging + distance; delay(55); // Wait 55 ms between each read // According to datasheet time between each read // is -38ms +/- 10ms. Waiting 55 ms assures each // read is from a different sample } distance = averaging / 5; // Average out readings return(distance); // Return value }

訂閱電子報

搶先收到新品上架、優惠活動與技術資訊

宸揚資科 JWISDOM SYSTEM INC.

宸揚始終相信,『軟體科技是改變力量』,持續在這條道路前行堅持,在團隊的合作過程樂於分享與協作。在明確目標下勇往直前,不怕困難,突破自我,歡迎勇於冒險的夥伴與我們共同創造精采。

關於

幫助

聯絡我們

  • Address: 台南市東區東門路二段297號5F
  • Phone: +(886) 6-234-0161
  • Fax: +(886) 6-234-0171
  • Email: [email protected]

© 2026 宸揚資科 JWISDOM SYSTEM INC. All rights reserved.

安全付款
VISAJCBATM超商