This instructable is about making an inexpensive and a highly accurate air quality sensor named AEROBOT. This project shows temperature,relative humidity, PM 2.5 dust density and alerts about the air quality of the surroundings. It uses a DHT11 sensor for temperature and relative humidity, a sharp optical dust sensor for dust density and an ultrasonic sensor to inform users about inaccurate readings due to blocking of the sensor. This project can be made easily and doesn't need any expertise in arduino. The dust sensor is very quick and can read even the slightest contamination in the surroundings. its maximum range is unknown but it usually is ineffective after the dust density goes over 600. But this is far more than the average contamination of 150. The measuring range of temperature is from -10 to 80 degree celsius and that of relative humidity is from 10% to 90%. Therefore this project is highly effective and efficient as a air quality sensor for homes and offices not in the radius of high pollution.

Things you would need:

• 1 Arduino uno/mega
• DHT11 sensor
• Sharp optical dust sensor
• Ultrasonic sensor
• 1 Button
• 3 LEDs (optional)
• 1 buzzer (optional)
• 220 µf capacitor
• 2*220 ohm resistors
• breadboard

Step 1: Connecting the LCD

The first thing you need to do before working on the LCD is to check it. For this, do the connections as shown in the 1st diagram. Connect pin 15 on the LCD to Arduino’s 5V pin. Next, connect pin 16 on the LCD to the Arduino’s GND pin. These pins are used to power the LCD’s backlight.

Next, you need to set up the logic for the LCD. To do this, connect pin 1 on the LCD to the Arduino’s GND pin. Then, connect pin 2 on the LCD to the Arduino’s 5V pin. Next, you need to set up the contrast adjusting potentiometer. Take the 10K potentiometer and connect the first terminal to the Arduino’s 5V pin and the second terminal (middle pin) to the LCD’s pin 3 and the third terminal to the Arduino’s GND pin. Next, power up the Arduino. You will notice that the backlight on the LCD turns ON. Also, when you turn the knob on the potentiometer, the character blocks on the LCD turn bright/dim. Check out the picture on below to see what I’m talking about. If your LCD displayed what is shown in the photo below, it means that your LCD is correctly set up! If you were not able to achieve this, double check your connections and your potentiometer. Adjusting the contrast on the LCD

Completing the Connections Now, we need to connect the data lines and other pins that work with the LCD. Check out the connection in the 2nd diagram. Final connections between the Arduino, potentiometer, and LCD

Let’s start with connecting the control wires for the LCD. Connect the LCD’s pin 5 (RW) to the Arduino’s GND pin. This pin is not used, and serves as the Read/Write pin. Next, connect the LCD’s pin 4 (RS) to the Arduino’s digital pin 7. The RS pin is used to tell the LCD whether we are sending it data or commands (to change the position of the cursor). Next, connect the LCD’s pin 6 (EN) to the Arduino’s digital pin 8. EN is the enable pin on the LCD, this is used to tell the LCD that data is ready for reading. Next, we have to connect the four data pins on the LCD. Connect the LCD’s pin 14 (DB7) to the Arduino’s digital pin 12. Then, connect the LCD’s pin 13 (DB6) to the Arduino’s digital pin 11. Next, the LCD’s pin 12 (DB5) to the Arduino’s digital pin 10, then the LCD’s pin no 11 (DB4) to the Arduino’s digital pin 9.

<p>Good Work. Congrats Sachin</p>
Good work
Congrats and Well Done.<br>Best of Luxk for Future Endeavours.<br>Regards<br>Abhinav Chhibber
Good work Sachin
<p>Thats awesome Sachin, keep up the good work.</p>
Great job Sachin... <br>Keep it up

About This Instructable




More by sachinv12:AEROBOT Air Quality Sensor V1.0 
Add instructable to: