簡介:
PM2.5粉塵傳感器GP2Y1010AU0F空氣質量PM2.5檢測是一款光學空氣質量傳感器,其內部對角安放著紅外線發(fā)光二極管和光電晶體管,使得其能夠探測到空氣中塵埃反射光,即使非常細小的如煙草煙霧顆粒也能夠被檢測到,通常在空氣凈化系統中應用??蓽y量0.8微米以上的微笑粒子,感知煙草產生的咽氣和花粉,房屋粉塵等.體積小,重量輕,便于安裝,廣泛應用于空氣清新機,換氣空調,換氣扇等產品
該傳感器具有非常低的電流消耗(大20mA,典型值11mA),可使用高達7VDC。該傳感器輸出為模擬電壓,其值與粉塵濃度成正比。
可測量0.8微米以上的微笑粒子,感知煙草產生的咽氣和花粉,房屋粉塵等.體積小,重量輕,便于安裝,廣泛應用于空氣清新機,換氣空調,換氣扇等產品.
靈敏度:
0.5V/0.1mg/m3
尺寸:
(46.0 × 30.0 × 17.6 mm)
Do not miss the 150ohm resistor and a 220uF capacitor
| Sensor Pin | Arduino Pin | ||
| 1 | Vled | –> | 5V (150ohm resistor) |
| 2 | LED-GND | –> | GND |
| 3 | LED | –> | Digital pin 2 |
| 4 | S-GND | –> | GND |
| 5 | Vo | –> | Analog pin 0 |
| 6 | Vcc | –> | 5V |
The LED pin has to be modulated with a cycle of 1ms as discussed in the datasheet.
The LED seems to use a PNP transistor so to power on, the LED pin must actually recieve a lower voltage.
| 例程:int dustPin=0; int dustVal=0; int ledPower=2; int delayTime=280; int delayTime2=40; float offTime=9680; void setup(){ Serial.begin(9600); pinMode(ledPower,OUTPUT); pinMode(4, OUTPUT); } void loop(){ // ledPower is any digital pin on the arduino connected to Pin 3 on the sensor digitalWrite(ledPower,LOW); // power on the LED delayMicroseconds(delayTime); dustVal=analogRead(dustPin); // read the dust value via pin 5 on the sensor delayMicroseconds(delayTime2); digitalWrite(ledPower,HIGH); // turn the LED off delayMicroseconds(offTime); delay(3000); Serial.println(dustVal); } |
轉載請注明出處:傳感器應用_儀表儀器應用_電子元器件產品 – 工采資訊 http://www.negome.com/2991.html







