Introduction: Smog Log: DIY Smog Measuring

Picture of Smog Log: DIY Smog Measuring

Using an Arduino and Dust sensor, you can build a device to measure the air quality. The Arduino connects to the dust sensor which connects to a computer giving it readings.

Step 1: Materials and Where to Get Them

Picture of Materials and Where to Get Them

One 9V Battery: Most Stores or if you are in China, specialized battery stores.

One 12V or 9V computer fan: Old Computer or computer store.

One Arduino; I used the SMD version of the UNO.: https://store.arduino.cc/usa/arduino-uno-rev3

One Yogurt Container

One Dust Sensor: http://www.waveshare.com/dust-sensor.htm

Four Arduino Jumper Cables: https://www.adafruit.com/product/758

One Arduino USB: https://www.adafruit.com/product/62

One Computer with Arduino Software: Arduino Software: https://www.arduino.cc/en/Main/Software

Electrical Tape: https://www.amazon.com/Electrical-Tape/b?ie=UTF8&n...

Step 2: Assembly

Picture of Assembly

Drill four holes into the lid of the yogurt container. Use the schematic above to measure it out.

Connect Jumper Cables in Arduino ports Analog 0, GND, 3.3V and Digital 7. See Schematic above for more information

Connect each jumper wire to the respective wire on the dust sensor cable.

VCC to 3.3V or 5V (I chose 3.3V)
GND to GND

AOUT to Analog 0 ILED to Digital 7

Electrical tape seal them. See picture.

Connect the wires together. See picture.

Make a hole in the yogurt container. See picture.

Connect USB. See picture.

Make a hole on the top big enough for the fan. See picture.

Seal fan up with tape. See picture. Make sure it runs smoothly and it is pumping air out of the container.

Close it up and you are done!

Step 3: Program

Step 4: Get Your Readings!

Use the Arduino program to get readings of the air quality wherever you are!

I have attached some reading that I got in China.

Comments

About This Instructable

658views

7favorites

License:

Bio: I'm a student from Calgary, Alberta and I LOVE using Arduino's and Raspberry Pi(e)'s!
More by TheRaspberryPiMachine:Smog Log: DIY Smog MeasuringHow to make a Raspberry Pi Slideshow!
Add instructable to: