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

Arduino-Based Smart Home Climate Control System with OLED Display and RTC

View and Edit Project In Cirkit DesignerImage of Arduino-Based Smart Home Climate Control System with OLED Display and RTC

Circuit Documentation

Summary

This circuit is designed to monitor temperature and humidity using a DHT11 sensor, display the data on an OLED screen, and control an exhaust fan and air heater using a relay module. The system is powered by an Arduino UNO microcontroller, which interfaces with the various components to perform the required tasks.

Component List

  1. KY-004 Key Switch Module

    • Description: A simple key switch module used for user input.
    • Pins: S, Middle, -
  2. RTC (Real-Time Clock)

    • Description: A module to keep track of the current time.
    • Pins: VCC, GND, CLK, DAT, RST
  3. KY-015 DHT11 Temperature-Humidity Sensor Module

    • Description: A sensor module to measure temperature and humidity.
    • Pins: VCC, GND, DOUT
  4. 0.96" OLED

    • Description: A small OLED display to show data.
    • Pins: GND, VDD, SCK, SDA
  5. Exhaust Fan

    • Description: A fan to control air circulation.
    • Pins: L, GND
  6. Power 220V

    • Description: Power source for high voltage components.
    • Pins: Hot wire, Neutral wire
  7. Air Heater

    • Description: A heater to control the temperature.
    • Pins: L, GND
  8. 5V Adapter

    • Description: Adapter to convert AC to 5V DC.
    • Pins: AC In 1, AC In 2, 5V, GND
  9. Arduino UNO

    • Description: Microcontroller to control the circuit.
    • 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
  10. Relay 4 Channel 5V

    • Description: Relay module to control high voltage components.
    • Pins: GND, IN1, IN2, IN3, IN4, VCC, COM1, COM2, COM3, COM4, NO1, NO2, NO3, NO4, NC1, NC2, NC3, NC4
  11. USB Power

    • Description: Power source for USB-powered components.
    • Pins: +, -

Wiring Details

KY-004 Key Switch Module

RTC (Real-Time Clock)

KY-015 DHT11 Temperature-Humidity Sensor Module

0.96" OLED

Exhaust Fan

Power 220V

Air Heater

5V Adapter

Arduino UNO

Relay 4 Channel 5V

USB Power

Documented Code

Arduino UNO Code (sketch.ino)

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

}

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

}

Documentation (documentation.txt)

This documentation provides a comprehensive overview of the circuit, including a summary, detailed component list, wiring details, and the code used in the microcontroller.