segunda-feira, 13 de setembro de 2010

Arduignon: some pictures...

This picture was taken during a test with a LCD display. I was testing the program, the display shows the temperature and the humidity in the first row. In the second row are some values I needed for the calculating of the relative humidity. At that moment it wasn't working correctly, I made some mistakes, but I was happy to make the LCD to work correctly.





Then I tried another LCD, modified the program, correcting my errors and started the tests with the icebox...











This is the relay card being tested. I could make it with 8 relays, but 4 is enough for this project for now. This was made with a shift register. The relay driver is very simple, only one transistor, one resistor and one diode per output. I connected a heating element (just a Ni-Cr wire) and a peltier element to simulate a heater and an air-conditioner, so I can control the temperature. Humidity is controlled by turning both heating and cooling on at the same time. Water starts to condense on the peltier element and humidity is reduced.

This graph was made with Processing after I corrected the calculation. It now includes the dewpoint. At the right side it shows the exact moment when I switched the drying process off, humidity instantly started to rise. To create a very humid ambient I dropped some water in the icebox, then just turned the heater on. To control humidity by turning heating and cooling on at the same time the program included a temperature setpoint to keep temperature at a maximum level. Building the circuit was the easy part, programming was hell! Although the program is simple at first sight, I had a hard time (and a long one) getting it to work correctly. And it isn't complete yet! This first version only works as a thermo-higrostat, there are lots of function to implement and the circuit lacks a real time clock too.

Nenhum comentário:

Postar um comentário