Contents
Overview
In this project “DIY Air Quality Tester” we use Node MCU microcontroller and air quality sensors to measure various gases concentration levels, providing valuable insights into the air’s purity.
Introduction
An air quality tester using NodeMCU is a project that utilizes the NodeMCU board and an air quality sensor, such as the MQ series, to monitor the concentration of gases in the air. The NodeMCU reads analog data from the sensor, converts it to a gas concentration value, and sends this information to a cloud service or displays it locally. This compact device can provide real-time air quality insights, making it a valuable tool for environmental monitoring and ensuring healthier living spaces. The project involves hardware connections and all the hardware design and manufacturing files.
Bill of materials
SN | COMPONENTS NAME | DESCRIPTION | QUANTITY | |
---|---|---|---|---|
1 | Node MCU | D1 Mini Pro V3.0 | 1 | https://amzn.to/3MGTsVn |
2 | Connecting wires | jumper wire | some | https://amzn.to/3fMoSw7 |
3 | Breadboard | Normal | 1 | https://amzn.to/3FUQlXe |
4 | Carbon Dioxide Sensor | SCD30 | 1 | https://amzn.to/3swJDCo |
5 | Temperature and humidity | SHT40 | 1 | https://amzn.to/3QVhqhZ |
6 | Dust Sensor | SPS30 | 1 | SPS30 Sensor |
7 | Carbon Oxygen Alcohol VOC Gas | MiCS5524 | 1 | https://amzn.to/40ChdU5 |
8 | Barometric Pressure Sensor | BME280 | 1 | https://amzn.to/40CvFvb |
9 | Ambient Light Sensor Module | VEML7700 | 1 | https://amzn.to/3QCKHg1 |
PCB Manufacturer
PCBWAY is a highly skilled company specializing in PCB manufacturing. They offer their services at incredibly low prices, such as providing 10 PCBs for only $5. Additionally, new members receive a $5 bonus. The website allows customers to upload their Gerber Files and place orders.
PCBWAY is known for producing PCBs of exceptional quality and maintaining high standards, which is why many people trust them for their PCB and PCBA needs.
Below are some of my PCB’S manufactured by PCBWAY and I am fully satisfied by their Quality of service they provide.
Working Principle
The Air Quality Tester project using NodeMCU with multiple sensors involves monitoring various environmental parameters to assess the air quality. Here’s a brief overview of the working principles of each sensor:
Individual Working of Sensor
- Carbon Dioxide (CO2) Sensor:
- Measures the concentration of carbon dioxide in the air.
- Utilizes a non-dispersive infrared (NDIR) sensor technology.
- NDIR sensors measure the amount of infrared light absorbed by CO2 molecules, providing an indication of CO2 levels.
- Temperature and Humidity Sensor :
- Measures both temperature and humidity in the air.
- Utilizes a capacitive humidity sensor and a thermistor for temperature measurement.
- Changes in capacitance and resistance are converted into temperature and humidity values.
- Dust Sensor :
- Measures the concentration of particulate matter (PM) in the air.
- Utilizes an infrared LED and a photodetector to detect the light scattered by particles.
- The amount of scattered light correlates with the concentration of dust particles.
- Carbon Oxygen Alcohol VOC Gas Sensor :
- Measures the concentration of various gases such as carbon monoxide, methane, alcohol, and volatile organic compounds (VOCs).
- Utilizes a metal oxide semiconductor to detect changes in electrical conductivity when exposed to target gases.
- Barometric Pressure Sensor :
- Measures atmospheric pressure, which can be used to estimate altitude.
- Utilizes a piezoelectric sensor that changes resistance with variations in air pressure.
- The resistance change is converted into pressure readings.
- Ambient Light Sensor Module :
- Measures the intensity of ambient light.
- Utilizes a photodiode to convert incident light into an electrical current.
- The current is then converted into a digital value, representing the light intensity.
Overall working
- Initialization:
- The NodeMCU initializes the sensors and communication interfaces during setup.
- Continuous Reading:
- In the loop function, the NodeMCU continuously reads data from each sensor.
- Analog or digital signals from sensors are converted into meaningful readings.
- Data Processing:
- The collected sensor data is processed as needed. For example, converting raw sensor values into physical units (e.g., ppm for gas concentrations).
- Display or Transmission:
- The processed data can be displayed locally on the NodeMCU’s serial monitor for debugging purposes.
- Optionally, the NodeMCU can transmit the data to a cloud platform or a local server for remote monitoring.
- Monitoring and Analysis:
- Users can monitor the air quality parameters in real-time, track historical trends, and analyze the data for insights into environmental conditions.
Design Files
Schematic Design
PCB Files
PCB Diagram of Air Quality Tester
3D Files
3D view of Air Quality Tester
Manufacturing Files
Gerber
Bill of Materials
Position File
Order Directly from PCB WAY
I have already uploaded all these required manufacturing files in PCBWAY website. You can easily go to the below link and place you order, and get your Own Home Automation PCB manufactured from one of the best pcb manufacturer PCBWAY
ORDER IT DIRECTLY FROM PCBWAY*******
Conclusion
By combining the readings from multiple sensors, this Air Quality Tester provides a comprehensive overview of the air quality, helping users make informed decisions about their surroundings. Depending on your project goals, you can further enhance features such as data storage, visualization, and remote access.