{"product_id":"dust-sensor-module-gp2y1010au0f-compact-optical-dust-sensor-in-pakistan","title":"Dust Sensor Module Gp2y1010au0f Compact Optical Dust Sensor","description":"\u003cp style=\"margin:0in 0in 8pt;\"\u003e\u003cspan style=\"font-size:11pt;\"\u003e\u003cspan style=\"line-height:normal;\"\u003e\u003cspan style=\"font-family:Calibri, sans-serif;\"\u003e\u003cspan style=\"font-size:12pt;\"\u003e\u003cspan style=\"font-family:'Times New Roman', serif;\"\u003eDust Smoke Particle Sensor An infrared emitting diode (IRED) and a phototransistor are diagonally arranged into this device. It detects the reflected light of dust in the air. Especially, it is effective to detect very fine particle like the cigarette smoke. In addition, it can distinguish smoke from house dust by the pulse pattern of the output voltage.\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/p\u003e\r\n\r\n\u003ch2\u003eMain features:\u003c\/h2\u003e\r\n\r\n\u003col\u003e\r\n\t\u003cli\u003e\u003cspan style=\"font-size:11pt;\"\u003e\u003cspan style=\"line-height:normal;\"\u003e\u003cspan\u003e\u003cspan style=\"font-family:Calibri, sans-serif;\"\u003e\u003cspan style=\"font-size:12pt;\"\u003e\u003cspan style=\"font-family:'Times New Roman', serif;\"\u003ePWM output mode\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/li\u003e\r\n\t\u003cli style=\"margin:0in 0in 8pt;\"\u003e\u003cspan style=\"font-size:11pt;\"\u003e\u003cspan style=\"line-height:normal;\"\u003e\u003cspan\u003e\u003cspan style=\"font-family:Calibri, sans-serif;\"\u003e\u003cspan style=\"font-size:12pt;\"\u003e\u003cspan style=\"font-family:'Times New Roman', serif;\"\u003eCompact, lightweight\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/li\u003e\r\n\t\u003cli style=\"margin:0in 0in 8pt;\"\u003e\u003cspan style=\"font-size:11pt;\"\u003e\u003cspan style=\"line-height:normal;\"\u003e\u003cspan\u003e\u003cspan style=\"font-family:Calibri, sans-serif;\"\u003e\u003cspan style=\"font-size:12pt;\"\u003e\u003cspan style=\"font-family:'Times New Roman', serif;\"\u003eEasy to install\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/li\u003e\r\n\t\u003cli style=\"margin:0in 0in 8pt;\"\u003e\u003cspan style=\"font-size:11pt;\"\u003e\u003cspan style=\"line-height:normal;\"\u003e\u003cspan\u003e\u003cspan style=\"font-family:Calibri, sans-serif;\"\u003e\u003cspan style=\"font-size:12pt;\"\u003e\u003cspan style=\"font-family:'Times New Roman', serif;\"\u003eA single power supply\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/li\u003e\r\n\t\u003cli style=\"margin:0in 0in 8pt;\"\u003e\u003cspan style=\"font-size:11pt;\"\u003e\u003cspan style=\"line-height:normal;\"\u003e\u003cspan\u003e\u003cspan style=\"font-family:Calibri, sans-serif;\"\u003e\u003cspan style=\"font-size:12pt;\"\u003e\u003cspan style=\"font-family:'Times New Roman', serif;\"\u003eLow prices.\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/li\u003e\r\n\u003c\/ol\u003e\r\n\r\n\u003ch2\u003eMain applications:\u003c\/h2\u003e\r\n\r\n\u003col\u003e\r\n\t\u003cli\u003e\u003cspan style=\"font-size:11pt;\"\u003e\u003cspan style=\"line-height:normal;\"\u003e\u003cspan\u003e\u003cspan style=\"font-family:Calibri, sans-serif;\"\u003e\u003cspan style=\"font-size:12pt;\"\u003e\u003cspan style=\"font-family:'Times New Roman', serif;\"\u003eAir purifiers and air cleaners\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/li\u003e\r\n\t\u003cli style=\"margin:0in 0in 8pt;\"\u003e\u003cspan style=\"font-size:11pt;\"\u003e\u003cspan style=\"line-height:normal;\"\u003e\u003cspan\u003e\u003cspan style=\"font-family:Calibri, sans-serif;\"\u003e\u003cspan style=\"font-size:12pt;\"\u003e\u003cspan style=\"font-family:'Times New Roman', serif;\"\u003eAir-conditioning\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/li\u003e\r\n\t\u003cli style=\"margin:0in 0in 8pt;\"\u003e\u003cspan style=\"font-size:11pt;\"\u003e\u003cspan style=\"line-height:normal;\"\u003e\u003cspan\u003e\u003cspan style=\"font-family:Calibri, sans-serif;\"\u003e\u003cspan style=\"font-size:12pt;\"\u003e\u003cspan style=\"font-family:'Times New Roman', serif;\"\u003eThe air quality monitoring instrument\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/li\u003e\r\n\t\u003cli style=\"margin:0in 0in 8pt;\"\u003e\u003cspan style=\"font-size:11pt;\"\u003e\u003cspan style=\"line-height:normal;\"\u003e\u003cspan\u003e\u003cspan style=\"font-family:Calibri, sans-serif;\"\u003e\u003cspan style=\"font-size:12pt;\"\u003e\u003cspan style=\"font-family:'Times New Roman', serif;\"\u003eAir conditioning and other related products\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/li\u003e\r\n\u003c\/ol\u003e\r\n\r\n\u003ch2\u003eThe main parameters:\u003c\/h2\u003e\r\n\r\n\u003col\u003e\r\n\t\u003cli\u003e\u003cspan style=\"font-size:11pt;\"\u003e\u003cspan style=\"line-height:normal;\"\u003e\u003cspan\u003e\u003cspan style=\"font-family:Calibri, sans-serif;\"\u003e\u003cspan style=\"font-size:12pt;\"\u003e\u003cspan style=\"font-family:'Times New Roman', serif;\"\u003eThe optical principle, be able to detect more than 1-micron dust particles\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/li\u003e\r\n\t\u003cli style=\"margin:0in 0in 8pt;\"\u003e\u003cspan style=\"font-size:11pt;\"\u003e\u003cspan style=\"line-height:normal;\"\u003e\u003cspan\u003e\u003cspan style=\"font-family:Calibri, sans-serif;\"\u003e\u003cspan style=\"font-size:12pt;\"\u003e\u003cspan style=\"font-family:'Times New Roman', serif;\"\u003eThe two output modes, solve different sensitivity requirements\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/li\u003e\r\n\t\u003cli style=\"margin:0in 0in 8pt;\"\u003e\u003cspan style=\"font-size:11pt;\"\u003e\u003cspan style=\"line-height:normal;\"\u003e\u003cspan\u003e\u003cspan style=\"font-family:Calibri, sans-serif;\"\u003e\u003cspan style=\"font-size:12pt;\"\u003e\u003cspan style=\"font-family:'Times New Roman', serif;\"\u003eHigh output signal Vout clean environment (4V)\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/li\u003e\r\n\t\u003cli style=\"margin:0in 0in 8pt;\"\u003e\u003cspan style=\"font-size:11pt;\"\u003e\u003cspan style=\"line-height:normal;\"\u003e\u003cspan\u003e\u003cspan style=\"font-family:Calibri, sans-serif;\"\u003e\u003cspan style=\"font-size:12pt;\"\u003e\u003cspan style=\"font-family:'Times New Roman', serif;\"\u003e5VDC power supply\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/li\u003e\r\n\t\u003cli style=\"margin:0in 0in 8pt;\"\u003e\u003cspan style=\"font-size:11pt;\"\u003e\u003cspan style=\"line-height:normal;\"\u003e\u003cspan\u003e\u003cspan style=\"font-family:Calibri, sans-serif;\"\u003e\u003cspan style=\"font-size:12pt;\"\u003e\u003cspan style=\"font-family:'Times New Roman', serif;\"\u003eDetecting particles range : up to 8000pcs \/ 283ml (1um particles above )\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/li\u003e\r\n\u003c\/ol\u003e\r\n\r\n\u003cp style=\"margin:0in 0in 8pt;\"\u003e\u003cspan style=\"font-size:11pt;\"\u003e\u003cspan style=\"line-height:normal;\"\u003e\u003cspan style=\"font-family:Calibri, sans-serif;\"\u003e\u003cspan style=\"font-size:12pt;\"\u003e\u003cspan style=\"font-family:'Times New Roman', serif;\"\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/p\u003e\r\n\r\n\u003cp style=\"margin:0in 0in 8pt;\"\u003e\u003cspan style=\"font-size:11pt;\"\u003e\u003cspan style=\"line-height:normal;\"\u003e\u003cspan style=\"font-family:Calibri, sans-serif;\"\u003e\u003cspan style=\"font-size:12pt;\"\u003e\u003cspan style=\"font-family:'Times New Roman', serif;\"\u003eThe Sharp Optical Dust Sensor (GP2Y1010AU0F) is especially effective in detecting very fine particles like cigarette smoke, and is commonly used in air purifier systems.\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/p\u003e\r\n\r\n\u003cp style=\"margin:0in 0in 8pt;\"\u003e\u003cspan style=\"font-size:11pt;\"\u003e\u003cspan style=\"line-height:normal;\"\u003e\u003cspan style=\"font-family:Calibri, sans-serif;\"\u003e\u003cspan style=\"font-size:12pt;\"\u003e\u003cspan style=\"font-family:'Times New Roman', serif;\"\u003eAn infrared emitting diode and a phototransistor are diagonally arranged into this device, to allow it to detect the reflected light of dust in air.\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/p\u003e\r\n\r\n\u003cp style=\"margin:0in 0in 8pt;\"\u003e\u003cspan style=\"font-size:11pt;\"\u003e\u003cspan style=\"line-height:normal;\"\u003e\u003cspan style=\"font-family:Calibri, sans-serif;\"\u003e\u003cspan style=\"font-size:12pt;\"\u003e\u003cspan style=\"font-family:'Times New Roman', serif;\"\u003eThe sensor has a very low current consumption (20mA max, 11mA typical), and can be powered with up to 7VDC. The output of the sensor is an analog voltage proportional to the measured dust density, with a sensitivity of 0.5V\/0.1mg\/m3.\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/p\u003e\r\n\r\n\u003cp style=\"margin:0in 0in 8pt;\"\u003e\u003cspan style=\"font-size:11pt;\"\u003e\u003cspan style=\"line-height:normal;\"\u003e\u003cspan style=\"font-family:Calibri, sans-serif;\"\u003e\u003cspan style=\"font-size:12pt;\"\u003e\u003cspan style=\"font-family:'Times New Roman', serif;\"\u003eFor your convenience, ITEAD ship this sensor with a 6-pin, 1.5mm pitch mating connector and cable.\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/p\u003e\r\n\r\n\u003ch2\u003eSpecification\u003c\/h2\u003e\r\n\r\n\u003cul\u003e\r\n\t\u003cli\u003e\u003cspan style=\"font-size:11pt;\"\u003e\u003cspan style=\"line-height:normal;\"\u003e\u003cspan\u003e\u003cspan style=\"font-family:Calibri, sans-serif;\"\u003e\u003cspan style=\"font-size:12pt;\"\u003e\u003cspan style=\"font-family:'Times New Roman', serif;\"\u003eSupply voltage: 5-7V\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/li\u003e\r\n\t\u003cli style=\"margin:0in 0in 8pt;\"\u003e\u003cspan style=\"font-size:11pt;\"\u003e\u003cspan style=\"line-height:normal;\"\u003e\u003cspan\u003e\u003cspan style=\"font-family:Calibri, sans-serif;\"\u003e\u003cspan style=\"font-size:12pt;\"\u003e\u003cspan style=\"font-family:'Times New Roman', serif;\"\u003eOperating temperature: -10-65 Celsius degree\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/li\u003e\r\n\t\u003cli style=\"margin:0in 0in 8pt;\"\u003e\u003cspan style=\"font-size:11pt;\"\u003e\u003cspan style=\"line-height:normal;\"\u003e\u003cspan\u003e\u003cspan style=\"font-family:Calibri, sans-serif;\"\u003e\u003cspan style=\"font-size:12pt;\"\u003e\u003cspan style=\"font-family:'Times New Roman', serif;\"\u003eConsumption current:20mA max\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/li\u003e\r\n\u003c\/ul\u003e\r\n\r\n\u003ch2\u003eShipping List\u003c\/h2\u003e\r\n\r\n\u003cul\u003e\r\n\t\u003cli\u003e\u003cspan style=\"font-size:14px;\"\u003e\u003cspan style=\"font-family:Times New Roman,Times,serif;\"\u003e1x  Sharp GP2Y1010AU0F Dust Sensor\u003c\/span\u003e\u003c\/span\u003e\u003c\/li\u003e\r\n\t\u003cli\u003e\u003cspan style=\"font-size:14px;\"\u003e\u003cspan style=\"font-family:Times New Roman,Times,serif;\"\u003e1x  Cable\u003c\/span\u003e\u003c\/span\u003e\u003c\/li\u003e\r\n\t\u003cli\u003e\u003cspan style=\"font-size:14px;\"\u003e\u003cspan style=\"font-family:Times New Roman,Times,serif;\"\u003e1x  150ohm resistor\u003c\/span\u003e\u003c\/span\u003e\u003c\/li\u003e\r\n\t\u003cli\u003e\u003cspan style=\"font-size:14px;\"\u003e\u003cspan style=\"font-family:Times New Roman,Times,serif;\"\u003e1x  16v220uF capacitor\u003c\/span\u003e\u003c\/span\u003e\u003c\/li\u003e\r\n\u003c\/ul\u003e\r\n\r\n\u003cp style=\"margin:0in 0in 8pt;\"\u003e\u003cspan style=\"font-size:11pt;\"\u003e\u003cspan style=\"line-height:107%;\"\u003e\u003cspan style=\"font-family:Calibri, sans-serif;\"\u003e\u003cspan style=\"font-size:12pt;\"\u003e\u003cspan style=\"line-height:107%;\"\u003e\u003cspan style=\"font-family:'Times New Roman', serif;\"\u003e \u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/p\u003e\r\n\r\n\u003cp style=\"margin:0in 0in 8pt;\"\u003e\u003cspan style=\"font-size:11pt;\"\u003e\u003cspan style=\"line-height:107%;\"\u003e\u003cspan style=\"font-family:Calibri, sans-serif;\"\u003e\u003cspan style=\"font-size:12pt;\"\u003e\u003cspan style=\"line-height:107%;\"\u003e\u003cspan style=\"font-family:'Times New Roman', serif;\"\u003e \u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/p\u003e\r\n\r\n\u003cp\u003e \u003c\/p\u003e\r\n\r\n\u003ch2\u003eRoutine 1, test code: \u003c\/h2\u003e\r\n\r\n\u003cblockquote\u003e\r\n\u003cp\u003eint dustPin=0;\u003c\/p\u003e\r\n\r\n\u003cp\u003efloat dustVal=0;\u003c\/p\u003e\r\n\r\n\u003cp\u003eint ledPower=2;\u003c\/p\u003e\r\n\r\n\u003cp\u003eint delayTime=280;\u003c\/p\u003e\r\n\r\n\u003cp\u003eint delayTime2=40;\u003c\/p\u003e\r\n\r\n\u003cp\u003efloat offTime=9680;\u003c\/p\u003e\r\n\r\n\u003cp\u003evoid setup(){\u003c\/p\u003e\r\n\r\n\u003cp\u003eSerial.begin(9600);\u003c\/p\u003e\r\n\r\n\u003cp\u003epinMode(ledPower,OUTPUT);\u003c\/p\u003e\r\n\r\n\u003cp\u003epinMode(dustPin, INPUT);\u003c\/p\u003e\r\n\r\n\u003cp\u003e}\u003c\/p\u003e\r\n\r\n\u003cp\u003e \u003c\/p\u003e\r\n\r\n\u003cp\u003evoid loop(){\u003c\/p\u003e\r\n\r\n\u003cp\u003eledPower is any digital pin on the arduino connected to Pin 3 on the sensor\u003c\/p\u003e\r\n\r\n\u003cp\u003edigitalWrite(ledPower,LOW); \u003c\/p\u003e\r\n\r\n\u003cp\u003edelayMicroseconds(delayTime);\u003c\/p\u003e\r\n\r\n\u003cp\u003edustVal=analogRead(dustPin); \u003c\/p\u003e\r\n\r\n\u003cp\u003edelayMicroseconds(delayTime2);\u003c\/p\u003e\r\n\r\n\u003cp\u003edigitalWrite(ledPower,HIGH); \u003c\/p\u003e\r\n\r\n\u003cp\u003edelayMicroseconds(offTime);\u003c\/p\u003e\r\n\r\n\u003cp\u003e \u003c\/p\u003e\r\n\r\n\u003cp\u003edelay(1000);\u003c\/p\u003e\r\n\r\n\u003cp\u003eif (dustVal\u0026gt;36.455)\u003c\/p\u003e\r\n\r\n\u003cp\u003eSerial.println((float(dustVal\/1024)-0.0356)*120000*0.035);\u003c\/p\u003e\r\n\r\n\u003cp\u003e}\u003c\/p\u003e\r\n\u003c\/blockquote\u003e\r\n\r\n\u003cp\u003e \u003c\/p\u003e\r\n\r\n\u003cp\u003e\u003cimg alt=\"HTB1JgL7GXXXXXXCXVXXq6xXFXXX3.jpg\" src=\"https:\/\/digilog.pk\/cdn\/shop\/files\/HTB1JgL7GXXXXXXCXVXXq6xXFXXX3.webp\" data-original=\"https:\/\/ae01.alicdn.com\/kf\/HTB1JgL7GXXXXXXCXVXXq6xXFXXX3\/221601881\/HTB1JgL7GXXXXXXCXVXXq6xXFXXX3.jpg\" loading=\"lazy\" data-files=\"HTB1JgL7GXXXXXXCXVXXq6xXFXXX3.webp\"\u003e\u003c\/p\u003e\r\n\r\n\u003cp\u003e \u003c\/p\u003e\r\n\r\n\u003cp\u003e\u003cstrong\u003eTest data and air quality control:\u003c\/strong\u003e\u003c\/p\u003e\r\n\r\n\u003cp\u003e3000 + = very poor\u003c\/p\u003e\r\n\r\n\u003cp\u003e\u003cbr\u003e\r\n1050-3000 = error\u003c\/p\u003e\r\n\r\n\u003cp\u003e\u003cbr\u003e\r\n300-1050 = General\u003c\/p\u003e\r\n\r\n\u003cp\u003e\u003cbr\u003e\r\n150-300 = good\u003c\/p\u003e\r\n\r\n\u003cp\u003e\u003cbr\u003e\r\n75-150 = very good\u003c\/p\u003e\r\n\r\n\u003cp\u003e\u003cbr\u003e\r\n0-75 = very good\u003c\/p\u003e\r\n\r\n\u003cp\u003e \u003c\/p\u003e\r\n\r\n\u003ch2\u003e Routine 2, test code: final concentration value.\u003c\/h2\u003e\r\n\r\n\u003cblockquote\u003e\r\n\u003cp\u003eint measurePin = 0; Connect an analog port 0, that is, routine 1 dustPin\u003c\/p\u003e\r\n\r\n\u003cp\u003eint ledPower = 2; Connecting digital pins 2\u003c\/p\u003e\r\n\r\n\u003cp\u003eInt samplingTime = 280;\/\/LED turn on period of time was 280 μ s\u003c\/p\u003e\r\n\r\n\u003cp\u003eInt deltaTime = 40;\/\/the whole pulse duration of 320 μ s. Therefore, we needed to wait 40 μ s\u003c\/p\u003e\r\n\r\n\u003cp\u003eint sleepTime = 9680;\u003c\/p\u003e\r\n\r\n\u003cp\u003efloat voMeasured = 0;\u003c\/p\u003e\r\n\r\n\u003cp\u003efloat calcVoltage = 0;\u003c\/p\u003e\r\n\r\n\u003cp\u003efloat dustDensity = 0;\u003c\/p\u003e\r\n\r\n\u003cp\u003evoid setup(){\u003c\/p\u003e\r\n\r\n\u003cp\u003eSerial.begin(9600);\u003c\/p\u003e\r\n\r\n\u003cp\u003epinMode(ledPower,OUTPUT);\u003c\/p\u003e\r\n\r\n\u003cp\u003e}\u003c\/p\u003e\r\n\r\n\u003cp\u003evoid loop(){\u003c\/p\u003e\r\n\r\n\u003cp\u003edigitalWrite(ledPower,LOW); Open internal LED\u003c\/p\u003e\r\n\r\n\u003cp\u003edelayMicroseconds(samplingTime); 280us waiting time after the opening LED\u003c\/p\u003e\r\n\r\n\u003cp\u003evoMeasured = analogRead(measurePin); Read analog values\u003c\/p\u003e\r\n\r\n\u003cp\u003edelayMicroseconds(deltaTime); 40us wait time\u003c\/p\u003e\r\n\r\n\u003cp\u003edigitalWrite(ledPower,HIGH); Turn off LED\u003c\/p\u003e\r\n\r\n\u003cp\u003edelayMicroseconds(sleepTime);\u003c\/p\u003e\r\n\r\n\u003cp\u003e0 - 5V mapped to 0 - 1023 integer values\u003c\/p\u003e\r\n\r\n\u003cp\u003erecover voltage\u003c\/p\u003e\r\n\r\n\u003cp\u003ecalcVoltage = voMeasured * (5.0 \/ 1024.0); Analog values into a voltage value\u003c\/p\u003e\r\n\r\n\u003cp\u003edustDensity = 0.17 * calcVoltage - 0.1; To output the voltage value to a dust density units\u003c\/p\u003e\r\n\r\n\u003cp\u003eSerial.print(\"Raw Signal Value (0-1023): \");\u003c\/p\u003e\r\n\r\n\u003cp\u003eSerial.print(voMeasured);\u003c\/p\u003e\r\n\r\n\u003cp\u003eSerial.print(\" - Voltage: \");\u003c\/p\u003e\r\n\r\n\u003cp\u003eSerial.print(calcVoltage);\u003c\/p\u003e\r\n\r\n\u003cp\u003eSerial.print(\" - Dust Density: \");\u003c\/p\u003e\r\n\r\n\u003cp\u003eSerial.println(dustDensity); Final concentration value, output units: mg\/m³\u003c\/p\u003e\r\n\r\n\u003cp\u003edelay(1000);\u003c\/p\u003e\r\n\r\n\u003cp\u003e}\u003c\/p\u003e\r\n\u003c\/blockquote\u003e\r\n\r\n\u003cp\u003e\u003cstrong\u003eNote: the above two of the wiring is the same as the code under test, you don't have to change, and then you can just burn to write code to test.\u003c\/strong\u003e\u003c\/p\u003e\r\n\r\n\u003cp\u003ePIN definition:\u003c\/p\u003e\r\n\r\n\u003cp\u003e\u003cimg alt=\"HTB1D33eGXXXXXbuXVXXq6xXFXXXa.jpg\" src=\"https:\/\/digilog.pk\/cdn\/shop\/files\/HTB1D33eGXXXXXbuXVXXq6xXFXXXa.webp\" data-original=\"https:\/\/ae01.alicdn.com\/kf\/HTB1D33eGXXXXXbuXVXXq6xXFXXXa\/221601881\/HTB1D33eGXXXXXbuXVXXq6xXFXXXa.jpg\" loading=\"lazy\" data-files=\"HTB1D33eGXXXXXbuXVXXq6xXFXXXa.webp\"\u003e\u003cimg alt=\"HTB1Phv6GXXXXXaKaXXXq6xXFXXXH.jpg\" src=\"https:\/\/digilog.pk\/cdn\/shop\/files\/HTB1Phv6GXXXXXaKaXXXq6xXFXXXH.webp\" data-original=\"https:\/\/ae01.alicdn.com\/kf\/HTB1Phv6GXXXXXaKaXXXq6xXFXXXH\/221601881\/HTB1Phv6GXXXXXaKaXXXq6xXFXXXH.jpg\" loading=\"lazy\" data-files=\"HTB1Phv6GXXXXXaKaXXXq6xXFXXXH.webp\"\u003e\u003c\/p\u003e\r\n\r\n\u003cp\u003e\u003cstrong\u003eNot resistor capacitor wiring diagram\u003c\/strong\u003e\u003c\/p\u003e\r\n\r\n\u003cp\u003e\u003cimg alt=\"HTB1whH8GXXXXXaCaXXXq6xXFXXX4.jpg\" src=\"https:\/\/digilog.pk\/cdn\/shop\/files\/HTB1whH8GXXXXXaCaXXXq6xXFXXX4.webp\" data-original=\"https:\/\/ae01.alicdn.com\/kf\/HTB1whH8GXXXXXaCaXXXq6xXFXXX4\/221601881\/HTB1whH8GXXXXXaCaXXXq6xXFXXX4.jpg\" loading=\"lazy\" data-files=\"HTB1whH8GXXXXXaCaXXXq6xXFXXX4.webp\"\u003e\u003c\/p\u003e\r\n\r\n\u003cp\u003e\u003cstrong\u003eNote:Add aA 150ohm resistor and a 220uF capacitor, wiring the following figure!\u003c\/strong\u003e\u003c\/p\u003e\r\n\r\n\u003cp\u003e\u003cimg alt=\"HTB18w3iGXXXXXXLaXXXq6xXFXXXt.jpg\" src=\"https:\/\/digilog.pk\/cdn\/shop\/files\/HTB18w3iGXXXXXXLaXXXq6xXFXXXt.webp\" data-original=\"https:\/\/ae01.alicdn.com\/kf\/HTB18w3iGXXXXXXLaXXXq6xXFXXXt\/221601881\/HTB18w3iGXXXXXXLaXXXq6xXFXXXt.jpg\" loading=\"lazy\" data-files=\"HTB18w3iGXXXXXXLaXXXq6xXFXXXt.webp\"\u003e\u003c\/p\u003e\r\n\r\n\u003cp\u003e\u003cstrong\u003e     Sensor Pin      Arduino Pin\u003c\/strong\u003e\u003c\/p\u003e\r\n\r\n\u003cp\u003e1         \u003cstrong\u003eVled\u003c\/strong\u003e           -\u0026gt;    5V (150ohm resistor)\u003c\/p\u003e\r\n\r\n\u003cp\u003e2         \u003cstrong\u003eLED-GND\u003c\/strong\u003e   -\u0026gt;    GND\u003c\/p\u003e\r\n\r\n\u003cp\u003e3         \u003cstrong\u003eLED\u003c\/strong\u003e           -\u0026gt;    Digital pin 2\u003c\/p\u003e\r\n\r\n\u003cp\u003e4         \u003cstrong\u003eS-GND\u003c\/strong\u003e       -\u0026gt;    GND\u003c\/p\u003e\r\n\r\n\u003cp\u003e5         \u003cstrong\u003eVo\u003c\/strong\u003e             -\u0026gt;    Analog pin 0\u003c\/p\u003e\r\n\r\n\u003cp\u003e6         \u003cstrong\u003eVcc\u003c\/strong\u003e           -\u0026gt;     5V\u003c\/p\u003e\r\n\r\n\u003cp\u003e \u003c\/p\u003e\r\n\r\n\u003cp\u003eLED pins must be adjusted to 1ms cycle, discussed in a data table.\u003c\/p\u003e\r\n\r\n\u003cp\u003eLED appears to be PNP transistors to power on LED pins must accept a lower voltage.\u003c\/p\u003e\r\n\r\n\u003cp\u003e \u003c\/p\u003e\r\n\r\n\u003cp\u003e\u003cimg alt=\"HTB1vtH8GXXXXXagaXXXq6xXFXXX6.jpg\" src=\"https:\/\/digilog.pk\/cdn\/shop\/files\/HTB1vtH8GXXXXXagaXXXq6xXFXXX6.webp\" data-original=\"https:\/\/ae01.alicdn.com\/kf\/HTB1vtH8GXXXXXagaXXXq6xXFXXX6\/221601881\/HTB1vtH8GXXXXXagaXXXq6xXFXXX6.jpg\" loading=\"lazy\" data-files=\"HTB1vtH8GXXXXXagaXXXq6xXFXXX6.webp\"\u003e\u003c\/p\u003e\r\n\r\n\u003cp\u003e \u003c\/p\u003e\r\n\r\n\u003ch2\u003eAn overview of the sensor\u003c\/h2\u003e\r\n\r\n\u003cp\u003eOptical dust sensor (GP2Y1010AU0F) in the detection of very fine particles, such as cigarette smoke,Is particularly effective,\u003c\/p\u003e\r\n\r\n\u003cp\u003eAnd is commonly used in air purification systems.\u003c\/p\u003e\r\n\r\n\u003cp\u003e      In the device,An infrared light emitting diode and a phototransistor, diagonally arranged to allow it to detectThe dust in the airThe reflected light.\u003c\/p\u003e\r\n\r\n\u003cp\u003eThe sensor has an extremely low current consumption (maximum 20mA,11 Ma typical), can carry up to 7VDCOf the sensor. Is an analog voltage output proportional to the measured concentration, sensitivity and 0.5V\/0.1mg\/m3.\u003c\/p\u003e\r\n\r\n\u003cp\u003eFree 6pin DuPont line.\u003c\/p\u003e\r\n\r\n\u003ch2\u003eSpecifications:\u003c\/h2\u003e\r\n\r\n\u003col\u003e\r\n\t\u003cli\u003ePower supply voltage: 5-7V\u003c\/li\u003e\r\n\t\u003cli\u003eOperating temperature:-10-65 degrees Celsius\u003c\/li\u003e\r\n\t\u003cli\u003eCurrent consumption: 20mA maximum\u003c\/li\u003e\r\n\t\u003cli\u003eSmallest particles detected value: 0.8 micron\u003c\/li\u003e\r\n\t\u003cli\u003eSensitivity: 0.5V\/(0.1mg\/m3)\u003c\/li\u003e\r\n\t\u003cli\u003eClean-air voltage: 0.9V typical\u003c\/li\u003e\r\n\t\u003cli\u003eOperating temperature:-10~65°\u003c\/li\u003e\r\n\t\u003cli\u003eStorage temperature:-20~80°\u003c\/li\u003e\r\n\t\u003cli\u003eService life: 5 years\u003c\/li\u003e\r\n\t\u003cli\u003eSize: 46mmx30mmx17.6mm\u003c\/li\u003e\r\n\t\u003cli\u003eWeight: 15G\u003c\/li\u003e\r\n\u003c\/ol\u003e\r\n\r\n\u003ch3\u003e\u003cimg alt=\"HTB1u5whGXXXXXa_XVXXq6xXFXXXT.jpg\" src=\"https:\/\/digilog.pk\/cdn\/shop\/files\/HTB1u5whGXXXXXa-XVXXq6xXFXXXT.webp\" data-original=\"https:\/\/ae01.alicdn.com\/kf\/HTB1u5whGXXXXXa_XVXXq6xXFXXXT\/221601881\/HTB1u5whGXXXXXa_XVXXq6xXFXXXT.jpg\" loading=\"lazy\" data-files=\"HTB1u5whGXXXXXa-XVXXq6xXFXXXT.webp\"\u003e\u003c\/h3\u003e\r\n\r\n\u003cp\u003e\u003cimg alt=\"HTB1YFbCGpXXXXbaXVXXq6xXFXXXc.jpg\" src=\"https:\/\/digilog.pk\/cdn\/shop\/files\/HTB1YFbCGpXXXXbaXVXXq6xXFXXXc.webp\" data-original=\"https:\/\/ae01.alicdn.com\/kf\/HTB1YFbCGpXXXXbaXVXXq6xXFXXXc\/221601881\/HTB1YFbCGpXXXXbaXVXXq6xXFXXXc.jpg\" loading=\"lazy\" data-files=\"HTB1YFbCGpXXXXbaXVXXq6xXFXXXc.webp\"\u003e\u003c\/p\u003e\r\n\r\n\u003cp\u003e\u003cimg alt=\"HTB1DXT8GXXXXXaUaXXXq6xXFXXXw.jpg\" src=\"https:\/\/digilog.pk\/cdn\/shop\/files\/HTB1DXT8GXXXXXaUaXXXq6xXFXXXw.webp\" data-original=\"https:\/\/ae01.alicdn.com\/kf\/HTB1DXT8GXXXXXaUaXXXq6xXFXXXw\/221601881\/HTB1DXT8GXXXXXaUaXXXq6xXFXXXw.jpg\" loading=\"lazy\" data-files=\"HTB1DXT8GXXXXXaUaXXXq6xXFXXXw.webp\"\u003e\u003c\/p\u003e","brand":"China","offers":[{"title":"Default Title","offer_id":43962428129345,"sku":"B265,L5,Th2","price":1500.0,"currency_code":"PKR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0727\/2805\/1777\/files\/Dust_Sensor_Module_GP2Y1010AU0F_Compact_Optical_Dust_Sensor_in_pakistan_5.jpg?v=1779580369","url":"https:\/\/stem.pk\/products\/dust-sensor-module-gp2y1010au0f-compact-optical-dust-sensor-in-pakistan","provider":"stem.pk","version":"1.0","type":"link"}