- 詳細資訊
商品說明
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個超薄按鍵
-
DFRobot 紅外線距離感測器 (1-400cm) – 精準雷射測距,Arduino 機器人避障首選
0 滿分 5 分NT$840 未稅這款數位紅外線接近感測器,感應距離長達 400cm,並可透過內建按鈕輕鬆調整。採用精準的雷射漫反射原理,具備 IP67 防水與 5-24V 寬電壓輸入。其高低電平數位輸出,完美相容 Arduino 等開發板,是智慧家居、機器人避障等應用的理想選擇。
-
HC-SR505 PIR Sensor 迷你小型 人體紅外線 感應模組 靈敏度高
0 滿分 5 分HC-SR505 小型人體感應模組 是基於紅外線技術的自動控制產品,靈敏度高,可靠性強,超小體積,超低電壓工作模式。廣泛應用於各類自動感應電器設備,尤其是幹電池供電的自動控制產品。常見應用人體感應燈具, 人體感應玩具, 安防產品 , 工業自動化控制 , 自動感應電器設備 , 電池供電自動控制等
NT$114NT$80 未稅 -
Grove – mini PIR motion sensor 迷你PIR人體運動感測器 測距3-5米 可調靈敏度
0 滿分 5 分Grove-mini PIR 運動感測器是一款迷你、低功耗且具有成本效益的 PIR 感測器,適用對於檢測距離要求相對小的應用。檢測距離最大為3m到5m,但最佳檢測距離為2m,最合適的溫度為25℃。感測器的靈敏度是可調的,板子背面有一個預留的引腳,可以焊接一個滑動變阻器來調節靈敏度。
NT$238NT$200 未稅 -
HY-SRF05 五針超音波測距模組 | 2cm 超小盲區 高精度感測器/傳感器 (兼容 SRF05)
0 滿分 5 分HY-SRF05 超音波測距模組具有 2cm-450cm 探測範圍與 0.3cm 高精度,性能媲美國外 SRF05/SRF02。低功耗 (<2mA) 且穩定性高,完美適用於 Arduino 機器人避障與單片機開發。且具有 5 個引腳,抗干擾能力通常更強,且完全兼容 HC-SR04 的代碼。
NT$80NT$60 未稅 -
TOF10120 雷射測距 距離感測器 UART I2C介面 輸出3-5V
0 滿分 5 分NT$360 未稅TOF10120 雷射測距感測器採用創新 Time-of-Flight 技術與 SPAD 單光子雪崩二極體,測量精準且不受物體反射率影響。支援 UART 與 I2C 雙介面,3~5V 寬電壓供電,具備高抗環境光干擾能力,適用於高速自動對焦與避障應用。
-
38khz 紅外線發射模組 Digital 38khz Ir Transmitter Sensor
0 滿分 5 分Arduino 專用模組,端口與感測擴充板相容;帶有發射狀態指示燈,方便測試;提供範例程式測試。
NT$71NT$40 未稅 -
SRF05 Ultrasonic Distance Sensor 超音波測距模組 | (1-400cm) 高精度感測器 | 機器人避障
0 滿分 5 分最新型號 SRF05 超音波測距模組,偵測範圍升級至 1cm-4m,精準度優於 SRF04。具備更小的旁瓣設計,抗干擾能力強。支援 5V 電壓,完美相容 Arduino 與 BASICX 微控制器,是機器人避障與距離偵測的最佳選擇。
NT$1,400NT$1,200 未稅 -
VS / HX1838 紅外線接收模組 電子積木
0 滿分 5 分NT$40 未稅- 感測器採用HX1838,靈敏度高
- 工作電壓5V
- 輸出形式:數位量輸出
-
38KHz 紅外線接收模組 數位感測器模組 紅外線接收器 for Arduino 與樹莓派
0 滿分 5 分Arduino 專用模組,端口與感測擴充板相容,38KHz 紅外接收頭,可接受各種紅外遙控信號。
NT$57NT$40 未稅

























