【環島科技】PM2.5感測器 GP2Y1014AU 粉塵傳感器 灰塵感測器
- Regular price
- NT$ 160.00
- Sale price
- NT$ 160.00
- Regular price
-
NT$ 0.00
Worldwide shipping
Secure payments
Authentic products
分享
【環島科技】PM2.5感測器 GP2Y1014AU 粉塵傳感器 灰塵感測器
1》配線2.0mm-6P 1條
檢測原理
其原理如下圖,傳感器中心有個洞可以讓空氣自由流過,定向發射LED光,通過檢測經過空氣中灰塵折射過後的光線來判斷灰塵的含量。
使用測試代碼:
nt dustPin=0;
float dustVal=0;
int ledPower=2;
int delayTime=280;
int delayTime2=40;
float offTime=9680;
void setup(){
Serial.begin(9600);
pinMode(ledPower,OUTPUT);
pinMode(dustPin, INPUT);
}
void loop(){
// ledPower is any digital pin on the arduino connected to Pin 3 on the sensor
digitalWrite(ledPower,LOW);
delayMicroseconds(delayTime);
dustVal=analogRead(dustPin);
delayMicroseconds(delayTime2);
digitalWrite(ledPower,HIGH);
delayMicroseconds(offTime);
delay(1000);
if (dustVal>36.455)
Serial.println((float(dustVal/1024)-0.0356)*120000*0.035);
}
測試得到的數據和空氣質量對照:
3000 + = 很差
1050-3000 = 差
300-1050 = 一般
150-300 = 好
75-150 = 很好
0-75 = 非常好
靈敏度電流- DC 正向(If)電壓- 輸出電壓- 電源安裝類型工作溫度
0.5V/(0.1mg/m3)
10mA
3.4V
4.5 V ~ 5.5 V
底座安裝
-10°C ~ 65°C
該傳感器具有非常低的電流消耗(最大20mA,11毫安典型值),最高7VDC供電。
傳感器的輸出是一個模擬電壓成正比的測量粉塵密度,具有0.5V/0.1mg/m3的靈敏度
1》配線2.0mm-6P 1條
檢測原理
其原理如下圖,傳感器中心有個洞可以讓空氣自由流過,定向發射LED光,通過檢測經過空氣中灰塵折射過後的光線來判斷灰塵的含量。
使用測試代碼:
nt dustPin=0;
float dustVal=0;
int ledPower=2;
int delayTime=280;
int delayTime2=40;
float offTime=9680;
void setup(){
Serial.begin(9600);
pinMode(ledPower,OUTPUT);
pinMode(dustPin, INPUT);
}
void loop(){
// ledPower is any digital pin on the arduino connected to Pin 3 on the sensor
digitalWrite(ledPower,LOW);
delayMicroseconds(delayTime);
dustVal=analogRead(dustPin);
delayMicroseconds(delayTime2);
digitalWrite(ledPower,HIGH);
delayMicroseconds(offTime);
delay(1000);
if (dustVal>36.455)
Serial.println((float(dustVal/1024)-0.0356)*120000*0.035);
}
測試得到的數據和空氣質量對照:
3000 + = 很差
1050-3000 = 差
300-1050 = 一般
150-300 = 好
75-150 = 很好
0-75 = 非常好
靈敏度電流- DC 正向(If)電壓- 輸出電壓- 電源安裝類型工作溫度
0.5V/(0.1mg/m3)
10mA
3.4V
4.5 V ~ 5.5 V
底座安裝
-10°C ~ 65°C
該傳感器具有非常低的電流消耗(最大20mA,11毫安典型值),最高7VDC供電。
傳感器的輸出是一個模擬電壓成正比的測量粉塵密度,具有0.5V/0.1mg/m3的靈敏度
×