SmartAir

by AlecHantson in Circuits > Raspberry Pi

349 Views, 1 Favorites, 0 Comments

SmartAir

IMG_20200611_132109.png

Hi, I am a student Multimedia & Communication Technology at Howest. To show what I learned this year I made a Smart Air Purifier. I made this project because a lot of people have bad in house air quality. Bad air quality can cause headaches, sneezing, couching and many more health issues. 'SmartAir' wil help you become aware of this problem and even help you to improve in house air quality.

SmartAir measures:

  • General gas concentrations in ppm
  • Humidity in %
  • Temperature in °C
  • Fine dust in µg/m³

The air quality will be represented by a RGB LED-strip. To view the data you can look on the website. The website also shows an overall score and controls to manually control the LED-strip. To finish it off there is a LCD display that shows the IP address of the site.

Supplies

This project cost around €150.

  • Raspberry pi 4 model B
  • Temperature and Humidity sensor DHT11
  • Gas sensor MQ-135
  • Dust sensor GP2Y1010AU0F
  • MCP3008
  • 12V 120mm fan
  • 12V power adapter
  • Female power adapter plug
  • RGB LED-strip WS2081
  • HEPA Air filter
  • IRF830PBF transistor
  • L7805CV voltage regulator
  • HD44780 LCD Display
  • Your favorite wood
  • Glue
  • Nails

Fritzing Schema

smartAir_Schematic_schem.png
smartAir_Breadbord_bb.png

I used a 12v extern power supply for the fan. With a voltage regulator I brought the voltage down to 5V for the other components.

Database

Screenshot 2020-06-12 at 16.53.05.png

I hosted this database on my Raspberry pi using MariaDB.

There is a total of 5 tables. the sensors, the actuators, the history and a table used for the tip section.

Setup

IMG_20200608_164954.jpg
IMG_20200609_144646.jpg
IMG_20200608_164951.jpg
IMG_20200610_090530.jpg

I used a breadbord to make my circuit. You could solder everything together if you want to but for various reasons I decided not to. The code I made can be found on my Github.

Website

Screenshot 2020-06-12 at 16.57.55.png
Screenshot 2020-06-12 at 16.58.12.png
Screenshot 2020-06-12 at 16.57.42.png

To display the data I made a clean website with lots of whitespace. The site also gives you the opportunity to control the fan and RGB LED-strip.

Case

smartAir.png
received_297261511284604.jpg
received_260017445068953.jpeg
IMG_20200529_152542.jpg

The case is entirely made of wood. For the connection between the filter and the fan I 3D printed a mounting piece.