Skip to content

vincadrn/room-cooling-system

Repository files navigation

ESP32-based Room Cooling Control System

This repository contains the source code of ESP32-based room cooling control system project.

About the project

This project is created for Final Project of Embedded System 1 class. In this project, the control system used is based on ESP32 microcontroller. The system is designed so that the temperature and humidity of a room are maintained in the comfort zone of human and also save the electricity by regularly turning the AC off in "3-hours-on-2-hours-off" manner.

About the system design

The components used in this system design are:

  • ESP32 microcontroller
  • DHT22 temperature and humidity sensor
  • IR LED emitter
  • Simple audio and visual indicator
  • Daikin air conditioner

system-design

The system get the temperature and humidity data from DHT22 sensor. The temperature reading is quite reliable, but the humidity reading is a little bit noisy. To smooth it, Kalman Filter is used.

The system controls a Daikin air conditioner using an IR LED emitter. Parameters that can be controlled are the temperature, mode, fan speed, and swing. In "ON time", if the temperature and humidity are already at comfortable level, the AC will not turn on to save electricity.

To ensure robustness, the state of the AC and necessary timing are saved using ESP32 preferences. The data reading, state, and timing is uploaded using IoT analytics software ThingSpeak.

Result

Below is a result from a random measurement.

Monitoring display in ThingSpeak:

thingspeak-monitoring

After some processing:

graph

About

ESP32-based automatic room cooling control system.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages