Cirkit Designer LogoCirkit DesignerYour all-in-one circuit design IDE Launch Cirkit Designer App

Arduino UNO-Based Air Quality and Temperature Monitoring System with LCD Display and Fan Control

View and Edit Project In Cirkit DesignerImage of Arduino UNO-Based Air Quality and Temperature Monitoring System with LCD Display and Fan Control

Circuit Documentation

Summary

This circuit involves an Arduino UNO microcontroller interfacing with various sensors, LEDs, a buzzer, a relay module, and a fan. The circuit is designed to monitor environmental conditions using the MQ135 gas sensor and DHT11 temperature and humidity sensor, display information on an LCD, and provide visual and auditory alerts using LEDs and a buzzer. The relay module controls the operation of two fans based on the sensor readings.

Component List

  1. Arduino UNO

    • Description: Microcontroller board based on the ATmega328P.
    • Pins: UNUSED, IOREF, Reset, 3.3V, 5V, GND, Vin, A0, A1, A2, A3, A4, A5, SCL, SDA, AREF, D13, D12, D11, D10, D9, D8, D7, D6, D5, D4, D3, D2, D1, D0
  2. MQ135

    • Description: Gas sensor for detecting air quality.
    • Pins: VCC, GND, A0, D0
  3. Lcd 20x4 i2c

    • Description: 20x4 character LCD with I2C interface.
    • Pins: GND, 5V, SCA, SCL
  4. LED: Two Pin (red)

    • Description: Red LED.
    • Pins: cathode, anode
  5. LED: Two Pin (yellow)

    • Description: Yellow LED.
    • Pins: cathode, anode
  6. LED: Two Pin (green)

    • Description: Green LED.
    • Pins: cathode, anode
  7. Resistor (200 Ohms)

    • Description: Resistor with 200 Ohms resistance.
    • Pins: pin1, pin2
  8. DHT 11

    • Description: Temperature and humidity sensor.
    • Pins: VCC, GND, DATA
  9. Buzzer

    • Description: Piezoelectric buzzer.
    • Pins: PIN, GND
  10. Fan

    • Description: DC fan.
    • Pins: GND, 5V
  11. Relay module 5v-30v

    • Description: Relay module for switching high voltage devices.
    • Pins: common contact, normally open, normally closed, trigger, V-, V+
  12. USB male 2 pin connection

    • Description: USB male connector.
    • Pins: Negative -, Positive +

Wiring Details

Arduino UNO

MQ135

Lcd 20x4 i2c

LED: Two Pin (red)

LED: Two Pin (yellow)

LED: Two Pin (green)

Resistor (200 Ohms)

DHT 11

Buzzer

Fan

Relay module 5v-30v

USB male 2 pin connection

Code Documentation

Arduino UNO Code

void setup() {
  // put your setup code here, to run once:

}

void loop() {
  // put your main code here, to run repeatedly:

}

This code is a basic template for the Arduino UNO. The setup() function is used to initialize any settings or configurations, and the loop() function contains the main logic that runs repeatedly. Currently, both functions are empty and need to be populated with the specific logic for the circuit's operation.