How mertwhocodes/pid-temperature-control-module-arduino works
This repository is an Arduino-based closed-loop AC heater controller. The documented workflow measures heater temperature with a K-type thermocouple and MAX6675, applies PID control, and triggers a triac to regulate heater power. The repository also includes Eagle hardware designs and component datasheets. No firmware excerpts were provided, so control-flow details beyond the README’s stated behavior are not verified here; edges reflect only documented relationships.
Main entry points: PID.ino PID controller · MAX6675 datasheet.pdf MAX6675 converter · PID_heater.sch BTA-16 triac
Components 7
Temperature sensing
- K-type thermocouple
Hardware/PID_heater.sch - MAX6675 converter
Documentation/MAX6675 datasheet.pdf
Controller firmware
- PID controller
Firmware/PID/PID.ino
AC power stage
- BTA-16 triac
Hardware/PID_heater.sch - MOC3020 optocoupler
Hardware/PID_heater.sch - Zero-cross output
Hardware/PID_heater.sch
Other components
- AC heater
Connections 5
- K-type thermocouple → MAX6675 converter: senses temperature
README.md - MAX6675 converter → PID controller: provides measurement
README.md - PID controller → BTA-16 triac: triggers via Frig
README.md - BTA-16 triac → AC heater: controls power
README.md - Zero-cross output → PID controller: signals AC zero
README.md