Skip to content

Latest commit

 

History

History
44 lines (26 loc) · 2.86 KB

README.md

File metadata and controls

44 lines (26 loc) · 2.86 KB

dewpoint-control-uPy

dew point controller using m5stack Atom switch, 20x4 LCD, AM2315 Sensors.

How it works

The dew point refers to the temperature at which the air becomes saturated with water vapor. When the air temperature drops below its dew point, water vapor condenses into liquid water. This is the reason you see condensation on your windows in the morning, when the outside air is cooler than the inside air.

In the winter, when you heat your garage, the absolute humidity in the air increases. This is because warm air can hold more water vapor than cold air. When you turn off the heat, the air cools down and the relative humidity increases. If the relative humidity gets high enough, the air will become saturated and water will condense on surfaces.

This condensation can lead to corrosion on metal, and can also damage other materials, such as wood and drywall.

A dew point controller can help to prevent condensation by ventilating the garage when the dew point inside is higher than the dew point outside. This brings in drier air from outside, which helps to reduce the humidity inside the garage.

Wiki

Concept

The main idea came from make. The source code can be found here

The main difference to the original project is the use of micropython instead of the Arduino framework. This was my first micropython project and I wanted to try it out.

Hardware

The enclosure is not essential, I used a normal plastic junction box to house the electronics with a cutout for the display.

Assembly

The advantage of using the m5stack Atom Switch with the Atom lite MCU has the advantage that the relays are already connected to the MCU. Since the 3 i2c devices are connected, an additional i2c hub is necessary for easier distribution and connection of the sensors and the display.

I used a fully encapsulated power supply to power the Microcontroller for additional safety and ease of use.

Software

Written in python, using the MicroPython Aosong AM2320 I2C driver for the temperature and humidity sensor.

The easiest way to install the software is to use Thonny. It is a python IDE with a build in file transfer tool.