User manual
IDUINO for maker’s life
www.openplatform.cc
Be sure to follow the connections shown in the fritzing circuit and in the next table :
Sharp pin 1 (V-LED) => 5V (connected to 150ohm resistor,220 uF capacitor)
Sharp pin 2 (LED-GND) => Arduino GND pin
Sharp pin 3 (LED) => Arduino pin 2
Sharp pin 4 (S-GND) => Arduino GND pin
Sharp pin 5 (Vo) => Arduino A0 pin
Sharp pin 6 (Vcc) => 5V
*****Code begin*****
/* Detector air quality with Arduino Yun and **
** Optical Dust Sensor (GP2Y1010AU0F) */
int dustPin = 0; // dust sensor - Arduino A0 pin
int ledP = 2;