Humidity & Temperature automation system with data logging

Similar projects worth following
We are humans, as humans we make mistakes, sometimes we learn from them, other times we forget about the mistakes and are doomed to repeat them again (with bad consequences), so i started building this system that monitors humidity & temperature by area, the collected data can be used to actuate humidifiers or AC equipment automatically, and the data is logged to a database for analysis.

The system can be applied to different fields where strict control of temperature & humidity are required, thus allowing us humans to worry less about monitoring & logging data, and focus that attention on the analysis of collected data to take action when needed.


  • Capture humidity & temperature data from different areas in a facility.
  • Register the collected data into a central database.
  • Automatically actuate humidifiers or AC equipment to keep the areas in the required temperature & humidity range.

Established Goals

  1. Buy the damn components & materials
  2. Build H&T module sensor
  3. Build Solenoid valve control module
  4. Create database server
  5. Setup MQTT or ... build WEB API???
  6. Program H&T modules to send their data to the server ... broker?
  7. Program control modules to receive commands & actuate solenoid valves
  8. Setup
  9. Analysis & Calibration
  10. Success!!!
  11. Profit? ... Maybe? ... Hope so ...


Humidifier, Sensor & Valve Layout

JPEG Image - 1.32 MB - 05/24/2016 at 22:54


  • 6 × Wemos D1 mini ESP8266 node modules to read sensor data & control relay board
  • 1 × 8 Channel Relay Board
  • 5 × Wemos DHT22 Shield
  • 4 × Sirai Electrovalve
  • 6 × USB Charger

  • In the meantime ...

    Arturo Aldaco Perea06/27/2016 at 16:15 0 comments

    Well, right now i'm waiting for the parts to arrive, so in the meantime i would like to explain the reason this project was started and how controlling humidity helps us do our job.

    I work at a branch of an LCD TV manufacturer company (i'm not sure if i can say what company), in this branch we do refurbishment of LCD Open Cell that didn't met customer specifications, such as polarize stains, foreign materials, vertical lines etc.

    As you already know these are delicate electronics, specially when dealing with expensive 80" ~ 90" sizes (yikes).

    For the repair process we have a clean room with controlled access, temperature & humidity, for these last two the control is manual, that means that someone has to be checking the temperature & humidity monitor and adjusting the devices accordingly to be within specified range.

    We are human after all, we make mistakes, forget things and when we think we are really awesome we tend to do both at the same time.

    The big issue this project is trying to solve is air particle control by having an automatic system instead of a manual one. These pesky particles can screw up things big time, polarize repairs are the ones affected the most, imagine applying a polarizer sheet to an 80" Open Cell, only to have a particle less than a mm in size screw up the whole process, throwing away a $300 polarizer sheet, making you start all over risking breaking the Open Cell ...

    Other affected area is SOF repair (they are the Tabs you see at the top & sides of the Open Cell), the part of the SOF that's bonded to the LCD glass has tiny traces for wish we need a microscope, having a particle fall in this place can cause vertical lines to appear in the LCD or if the particle is big enough it can create irregular heat pattern when bonding, and this can cause the LCD to brake.

    By controlling the humidity we can lower the amount of particles in the air, and avoid dispersing particles someone might have already with them.

  • AC/DC

    Arturo Aldaco Perea05/24/2016 at 23:27 0 comments

    Turns out the valves i'm going to use are AC solenoid valves, so i will have to add Relays to my BOM.

    I have been doing my research to make the project as simple as possible, and all point out that i will be using the ESP8266 Module to connect the Humidity & Temperature sensors and the relay modules that actuate the valves.

    The advantages of using the ESP8266 are price, modularity, price, small package, price, independent, price, there are a ton of libraries already available so i think this makes a good start, BTW did i mentioned how cheap it is?.

    Believe it or not one of my colleagues that has been out of the electronics scene for a while (he became a business manager with a degree in electronics engineering), was surprised to see how inexpensive this modules are, from the looks of his face he might be tempted to buy some and experiment with it in his free time.

    That's all for today, checkout my mad drawing skills in the bellow layout diagram, its the projected final result but i might start working in some areas (H1, H2, H3, S1, S2, V1 & V2) first before automating the whole thing.

View all 2 project logs

Enjoy this project?


Discussions wrote 06/04/2016 at 17:28 point

What are you intending to use to control the humidity?

  Are you sure? yes | no

Arturo Aldaco Perea wrote 06/06/2016 at 20:41 point

The humidifier units are "Mini Fogger MF-3", these units need a water and pressurized air supply, to control it we only need to close/open the air lines, for this we will use Sirai AC Electrovalves (L139BB082110AH0)

  Are you sure? yes | no

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates