PrimTC - Primitive Temperature Control
Just a simple temperature controller for a three-way valve, written in Arduino.
Requirements
Install
Just open the sketch in Arduino IDE, install all dependencies through the Library Manager and upload the sketch to your MCU.
Using the Makefile
An alternative to Arduino IDE is to use the included Makefile (that uses arduino-cli).
-
Setup
arduino-cli
.$ go get github.com/arduino/arduino-cli $ arduino-cli core update-index $ arduino-cli core install arduino:avr $ make
Note: Make sure
$HOME/go/bin
is in your$PATH
. -
Modify the
FQBN
andPORT
variables inconfig.mk
to match your MCU and port. See arduino-cli's README for details.FQBN = arduino:avr:nano:cpu=atmega328old PORT = /dev/ttyUSB0
-
Install dependencies, build and upload the sketch.
$ make deps $ make $ make upload
License
Because of copylefted dependencies:
- the whole project is licensed under GPLv3;
- parts written by me are dual-licensed under GPLv3 and MIT.