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














相關商品
-
GY-AMG8833 IR 8×8 紅外熱影像儀陣列 測溫感測器模組已焊針腳
0 滿分 5 分NT$1,100 未稅AMG8833 紅外熱像儀感測器溫度測量範圍為0°C至80°C(32°F至176°F),精度為+ – 2.5°C(4.5°F)。它可以從遠達7米(23)英尺的距離檢測人類。最大幀頻為10Hz,非常適合創建自己的人體探測器或迷你熱像儀。我們在Arduino或相容(感測器通過I2C進行通信)或者使用Python的Raspberry Pi上使用這種突破的代碼。
-
21鍵 38KHz 紅外線遙控器 含 接收 VS1838 接收器 支援 Arduino與樹莓派 附CR2025鈕扣電池
0 滿分 5 分NT$80 未稅紅外線遙控器採用標準38KHz的頻率,適合市面上的各種紅外線接收模組,使用者可以搭配此套件,來做紅外線的應用.。用途:適用於控制帶紅外接收器的產品,使用電源:3v鈕扣電池, 21個超薄按鍵
-
SparkFun ToF Range Finder Sensor – VL6180 測距儀 距離與環境光感測器模組
0 滿分 5 分這是 SparkFun 的「飛行時間」(ToF)測距儀,它是一款用於 VL6180 距離感測器的感測器板。與大多數依賴反射光強度或反射角度來確定距離的距離感測器不同,VL6180 使用精確的時鐘來測量光線從物體表面反射回來所需的時間。
NT$1,048NT$920 未稅 -
DFRobot 紅外線距離感測器 (1-400cm) – 精準雷射測距,Arduino 機器人避障首選
0 滿分 5 分NT$840 未稅這款數位紅外線接近感測器,感應距離長達 400cm,並可透過內建按鈕輕鬆調整。採用精準的雷射漫反射原理,具備 IP67 防水與 5-24V 寬電壓輸入。其高低電平數位輸出,完美相容 Arduino 等開發板,是智慧家居、機器人避障等應用的理想選擇。
-
38khz 紅外線發射模組 Digital 38khz Ir Transmitter Sensor
0 滿分 5 分Arduino 專用模組,端口與感測擴充板相容;帶有發射狀態指示燈,方便測試;提供範例程式測試。
NT$71NT$40 未稅 -
Seeed Grove-Infrared Temperature Sensor 紅外線溫度感測器模組
0 滿分 5 分Grove 紅外線溫度感測器是一種非接觸式溫度測量模組,溫度感測器具有545μm的和抹黑表面活性直徑以吸收入射的熱紅外輻射浮動微膜組成的熱電偶串聯116個元素。紅外溫度感測器通過接收物體發出的紅外線來測量其溫度.
NT$457NT$380 未稅 -
VS / HX1838 紅外線接收模組 電子積木
0 滿分 5 分NT$40 未稅- 感測器採用HX1838,靈敏度高
- 工作電壓5V
- 輸出形式:數位量輸出
-
TCRT5000 紅外線反射式光電感測器/反射型光電開關/尋跡小車專用
0 滿分 5 分NT$20 未稅TCRT5000感測器的工作原理與一般的紅外感測器一樣,一傳一感.TCRT5000具有一個紅外發射管和一個紅外接收管,當發射管的紅外信號經反射被接收管接收後,接收管的電阻會發生變化,在電路上以電壓的變化形式體現出來,經過ADC轉換或LM324等電路整形後得到處理後的輸出結果,電阻的變化取于接收管所接收的紅外信號強度
-
38KHz 紅外線接收模組 數位感測器模組 紅外線接收器 for Arduino 與樹莓派
0 滿分 5 分Arduino 專用模組,端口與感測擴充板相容,38KHz 紅外接收頭,可接受各種紅外遙控信號。
NT$57NT$40 未稅























