A ventilation controller powered by Arduino
A ventilation controller powered by Arduino that compares inside and outside dewpoints in order to control a relay and fan.
Prototypical implementation. Not actively maintained.
I sought to refactor and improve the ArDewpoint code using an object-oriented programming style. This worked out nice in theory. When put in practice however, i.e., when running on a physical arduino device, the program crashes every other day, possibly due to memory leaks, but I am not sure. I currently don’t have time to further debug, actively maintain or improve this project.
Outside air with a lower dewpoint won’t condense if let inside. The ventilation controller works based on this principle. The controller compares the inside and outside dewpoints in order to turn ventilation on or off using a relay.
This project was inspired by the ArDewpoint project by Michael Niemi, also see his excellent ArDewpoint tutorial and project description and the according ArDewpoint sourcecode on github. All code in this project has been written freshly from scratch using an object-oriented programming principles.
One further source of inspiration is this valuable tutorial about object-oriented programming for Arduino https://paulmurraycbr.github.io/ArduinoTheOOWay.html
This project makes use of the following dependencies that can be installed as libraries in the Arduino IDE:
Arduino Wire library under LGPL
SparkFunBME280 under MIT License
SSD1306Ascii under GPL
TimeLib under LGPL
DewpointVentilation - A ventilation controller powered by Arduino
Copyright (c) 2020 johannesjh. All rights reserved.
This file is part of DewpointVentilation.
DewpointVentilation is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
DewpointVentilation is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with DewpointVentilation. If not, see https://www.gnu.org/licenses.