- 詳細資訊
商品說明
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
}














相關商品
-
21鍵 38KHz 紅外線遙控器 含 接收 VS1838 接收器 支援 Arduino與樹莓派 附CR2025鈕扣電池
0 滿分 5 分NT$80 未稅紅外線遙控器採用標準38KHz的頻率,適合市面上的各種紅外線接收模組,使用者可以搭配此套件,來做紅外線的應用.。用途:適用於控制帶紅外接收器的產品,使用電源:3v鈕扣電池, 21個超薄按鍵
-
HC-SR04 ultrasonic sensor module 超音波測距模組 | 適用 Arduino, 樹莓派 | 避障感測器
0 滿分 5 分HC-SR04超音波感測器,利用超音波發射與接收來測量物體距離,偵測範圍2至450公分。只需提供10us以上高電平觸發,即可透過回音訊號計算距離,是簡單易用的測距模組。
NT$95NT$60 未稅 -
TFMini-S- Micro LiDAR Module ToF 12m紅外線雷射距離感測器 Sparkfun原廠
0 滿分 5 分TFMini-S 微型 LiDAR 模組是一款 ToF LiDAR 雷射雷達感測器,能夠測量近至 10 公分(+/- 6cm 至 6m)和遠至 12 公尺(+/-1 % 從 6m 開始)! 與所有 LiDAR 感測器一樣,您的有效偵測距離將根據照明條件和目標物體的反射率而變化,但該感測器的特別之處在於其尺寸, TFMini-S的尺寸僅為 42 x 15 x 16 mm,可讓您將 LiDAR 整合到較小的感測器空間項目中。
NT$3,300NT$2,960 未稅 -
38khz 紅外線發射模組 Digital 38khz Ir Transmitter Sensor
0 滿分 5 分Arduino 專用模組,端口與感測擴充板相容;帶有發射狀態指示燈,方便測試;提供範例程式測試。
NT$71NT$40 未稅 -
HC-SR505 PIR Sensor 迷你小型 人體紅外線 感應模組 靈敏度高
0 滿分 5 分HC-SR505 小型人體感應模組 是基於紅外線技術的自動控制產品,靈敏度高,可靠性強,超小體積,超低電壓工作模式。廣泛應用於各類自動感應電器設備,尤其是幹電池供電的自動控制產品。常見應用人體感應燈具, 人體感應玩具, 安防產品 , 工業自動化控制 , 自動感應電器設備 , 電池供電自動控制等
NT$114NT$80 未稅 -
DFRobot Gravity:IR Positioning Camera 紅外線定位攝影模組 (for Arduino)
0 滿分 5 分DFRobot Gravity 紅外線定位攝影模組。專為 Arduino 設計的攝影機,能輕鬆實現紅外線定位與追蹤,是機器人、自走車與互動專案的理想選擇,幫助您精準捕捉目標。這款小型紅外線攝影機,能夠追蹤多達四個熱/紅外線源。 可以從使用紅外線發射器進行導航的機器人追蹤到光柵、確定物體行進的方向,以及用作火焰感測器或追蹤熱源。
NT$857NT$800 未稅 -
seeed Grove – Infrared Receiver 紅外接收模組 10公尺感應距離 支援 Arduino & 樹莓派遠端控制
0 滿分 5 分Grove – Infrared Receiver紅外線接收器用於接收紅外信訊號,也可用於遠端控制檢測。紅外線接收器上有一個IR探測器,用於獲得紅外發射器發出的紅外線。紅外探測器內部有一個解調器,尋找38 KHz的訊號。紅外線接收器可以在10公尺以內接收訊號。如果超過10公尺,接收器可能無法得到訊號。
NT$180NT$140 未稅 -
Infrared IR Proximity Sensor 紅外線IR距離感測器 for Arduino
0 滿分 5 分NT$180 未稅Infrared IR Proximity Sensor 紅外線 IR距離感測器測量反射的紅外 (IR) 能量,以檢測 10±5mm 至 80±20mm 距離內是否存在物體。輸出高/低電平,具有抗干擾能力強、響應速度快跟體積小等優點,所以該模組可以方便嵌入到自動洗手器、智能水龍頭、智能馬桶、智能洗手間、物體接近開關等各種檢測設備中。
-
5路循跡感測器 五路紅外線尋跡感測器 帶碰撞、距離檢測功能
0 滿分 5 分5路循跡感測器 專門設計用作黑(白)線的尋取,特別適合於複雜黑白線、交叉黑白線的檢測,它有6路高靈敏度的紅外感測器(5路巡線、1路蔽障),能夠對黑白線準確的識別
NT$190NT$140 未稅 -
DFRobot 數位紅外接近開關感測器 (0-200cm 可調) – IP67 防水 / 一鍵設定距離
0 滿分 5 分專業級數位紅外接近開關感測器,支援 0-200cm 自定義感應距離。具備 IP67 防水性能、一鍵距離校準功能與高電位數位輸出。完美相容 Arduino 與 ESP32,廣泛應用於機器人避障、智慧家具及自動化安防系統。
NT$600NT$500 未稅



























