The objective of this application is to control the temperature, inside a controlled environment, using an on/off mechanism: a resistor heats the environment while a cooler chill it, the control is done turning them on or off. The whole mechanism is described with more details in this description.
The application in execution (and window from the live with the equipment):
Abbreviation | Attribute | Description |
---|---|---|
TI | Internal Temperature | Temperature inside the controlled environment |
TE | External Temperature | Temperature of the room |
TR | Reference Temperature | Temperature which the system will try to achieve |
- Hysterisis input by user
- Runtime update of desired temperature through keyboard or potentiometer
- CSV generation with recorded values
- LCD display shows values
- Terminal shows values
The code was developed and tested in a Raspberry Pi.
These are dependencies which are not cloned with this repository:
- Clone the repository:
git clone --recursive https://github.com/icaropires/embedded-temperature-on-off
cd
into project's dir and build it:
cd embedded-temperature-on-off
make
At the project root:
make run
A file errors.log
will be created to keep possible error messages to stderr
.