Optical Dust Sensor GP2Y1010AU0F w/ Sharp sensor

  • RM53.00

  • Ex Tax: RM50.00
  • Product Code: Optical Dust Sensor
  • Availability: In Stock

The Sharp Optical Dust Sensor is especially effective in detecting very fine particles like cigarette smoke, and is commonly used in air purifier systems. An infrared emitting diode and a phototransistor are diagonally arranged into this device, to allow it to detect the reflected light of dust in air.

The output of the sensor is an analog voltage proportional to the measured dust density.

Specification:

  • Supply voltage: 5V - 7V DC
  • Sensitivity : 0.5V / 0.1mg / m3
  • Measurement range : 500mg/m3
  • Air sensor hole size : 9.0mm
  • Operating temperature: -10 ~ +65 Celsius degree
  • Consumption current: 11mA  (max. 20mA)
  • Dimension : 63.2mm x 41.3mm x 21.1mm

Packaging:

  • Sharp GP2Y1010AU0F Dust Sensor x 1
  • Cable x 1
  • 150ohm resistor x 1
  • 16v 220uF capacitor x 1

Documents:

 

Connect Optical Dust Sensor to an Arduino

 

Pins Assignments:

Sharp Dust Sensor Attached To Arduino Board
1 (V-LED) 3.3V Pin (150 Ohm in between)
2 (LED-GND) GND Pin
3 (LED) Digital Pin 12
4 (S-GND) GND Pin
5 (Vo) Analog Pin A6
6 (Vcc) 3.3V Pin (Direct)

 

Do not miss the 150Ohm resistor and a 220uF capacitor :

 

Arduino Sketch

/*
 Standalone Sketch to use with a Arduino UNO and a
 Sharp Optical Dust Sensor GP2Y1010AU0F
*/
  
int measurePin = 0; //Connect dust sensor to Arduino A0 pin
int ledPower = 2;   //Connect 3 led driver pins of dust sensor to Arduino D2
  
int samplingTime = 280;
int deltaTime = 40;
int sleepTime = 9680;
  
float voMeasured = 0;
float calcVoltage = 0;
float dustDensity = 0;
  
void setup(){
  Serial.begin(9600);
  pinMode(ledPower,OUTPUT);
}
  
void loop(){
  digitalWrite(ledPower,LOW); // power on the LED
  delayMicroseconds(samplingTime);
  
  voMeasured = analogRead(measurePin); // read the dust value
  
  delayMicroseconds(deltaTime);
  digitalWrite(ledPower,HIGH); // turn the LED off
  delayMicroseconds(sleepTime);
  
  // 0 - 5V mapped to 0 - 1023 integer values
  // recover voltage
  calcVoltage = voMeasured * (5.0 / 1024.0);
  
  // linear eqaution taken from http://www.howmuchsnow.com/arduino/airquality/
  // Chris Nafis (c) 2012
  dustDensity = 0.17 * calcVoltage - 0.1;
  
  Serial.print("Raw Signal Value (0-1023): ");
  Serial.print(voMeasured);
  
  Serial.print(" - Voltage: ");
  Serial.print(calcVoltage);
  
  Serial.print(" - Dust Density: ");
  Serial.println(dustDensity); // unit: mg/m3
  
  delay(1000);
}

 

Write a review

Note: HTML is not translated!
    Bad           Good

Tags: Sharp