This project implements an Indoor Air Quality Monitoring System using the Raspberry Pi Pico W and the MQ135 air quality sensor. The system measures the air quality and displays it on an OLED screen, providing visual indications based on predefined thresholds.
- Raspberry Pi Pico W
- MQ135 Air Quality Sensor
- OLED Display (SSD1306)
- Jumper wires
- Resistor for MQ135 heater
- Arduino IDE with Raspberry Pi Pico support
- Required Arduino libraries:
- MQ135 Library
- Connect the MQ135 sensor to the Raspberry Pi Pico W following the datasheet and pinout.
- Connect the OLED display to the Raspberry Pi Pico W.
- Add a resistor for the MQ135 sensor heater.
- Install the required libraries through the Arduino Library Manager.
- Select "Raspberry Pi Pico" as the board in Arduino IDE.
- Set up the correct port for your Raspberry Pi Pico.
- Open the
IndoorAirQualityMonitor.ino
sketch in Arduino IDE.
Adjust the following parameters in the IndoorAirQualityMonitor.ino
sketch if needed:
- MQ135 Sensor Calibration: If necessary, calibrate the sensor values based on your specific environment.
- Upload the sketch to your Raspberry Pi Pico.
- Open the Serial Monitor to view air quality readings and debug information.
- Observe the OLED display for real-time air quality information.
- Customize the LED and buzzer thresholds based on your preferences.
https://drive.google.com/file/d/16jl2RiQGvNkJh1HA_FDuDdCLjl2glozt/view?usp=sharing