Control temperature for up to 8 separate processes! Cooling/heating control with humidity sensing. Based on Arduino and DS18B20/DHT22.
Project in progress by Leo
Ok, I've created a branch called feat/ArduinoUNO. With this branch you should be able to compile for other boards that do not have 'Serial1' support by specifying NOFRESCALINK=1 when calling make. Also set BOARD_TAG=uno BOARD_SUB=atmega328 when compiling for Arduino UNO. I haven't actually tested in UNO hardware cause I don't have it. Remember to set pinout in 'fresca_pinout.h' and set the actual number of sensors in 'fresca.h', let me know if it works :)
1- The 'Serial1' is used for the fresca-link part of the application, where you connect a more powerful processor to do your data logging and webserver (I use a Raspberry Pi). If you don't need that we can take them out of the code and it will compile, just without that feature (Uno has only one serial UART). Let me get back to you with this, because I have never tried to do this myself (it's doable though).
2-There is a restriction that only one temperature probe will be used per digital pin in this project. Yes One-Wire should allow you to use more, but it's not implemented in the code. It was determined that it is a bit of a mess, cause as you pointed out you need to know the ID of each sensor. This becomes a mess when the wiring is long and you need to match it to a UI index (Sensor 0, 1,2 and so on) and is generally more complicated to use (think if you need to replace one sensor)
The project does use a lot of pins, since you have LCD (7 pins) + Keypad (1 analog), plus 3 sensors (3 pins) and 6 relays (and maybe you want to add 7-segment displays for easier temperature monitoring) so an Arduino part with more pins would be convenient (specially if you want to expand).
Hi all, happy new year for all, it's been a long time since last update, but I haven't stopped working on the project.
I finally got around to create a python webapp using flask. flask is a micro-framework for developing web apps with python. The webapp is currently able to display in a chart all log data from fresca-link temperature updates. The charts are being generated using Google Charts.
For now it's the barebones, but the functionality is there. You just need to point at the directory where the log files reside and the webapp will take care of everything (uncompressing, parsing and formatting). Then select the desired day of the year that you wish to view, the desired sensor, and it will be neatly displayed in an nice interactive chart.
The log files are created by connecting the arduino and the Raspberry Pi using fresca-link (it will generate one log file per day), then fresca-link will get the data from the sensors and output a nice CSV format log file, and, when it is done for the day, it will compress the file to .tar.gz format to save space (log files can get to 10s of MB depending on the sampling interval).
I will be cleaning up all the code, committing it nicely with documentation to github in the next weeks, and then next move on to more features! :)
Or connect with your social account:
New here? Create an account