IoT MQTT PID Temperature Controller

Hardware IoT DIY Automation

ESP8266-based PID temperature controller with MQTT connectivity for smart heating and cooling applications.

Overview

This project implements a PID (Proportional-Integral-Derivative) temperature controller on ESP8266 with MQTT integration for IoT automation.

Features

  • PID Control — Precise temperature regulation
  • MQTT Connectivity — Integration with Home Assistant and other IoT platforms
  • Configurable Parameters — Tunable PID constants
  • Temperature Sensing — Support for common sensor modules
  • Output Control — Relay or PWM output for heating/cooling

Hardware

  • ESP8266 microcontroller
  • Temperature sensor input (DS18B20, thermistor, etc.)
  • Relay or PWM output for heater/cooler control
  • Status LEDs

Firmware

The firmware includes:

  • PID algorithm implementation
  • MQTT client with auto-reconnect
  • Configuration via MQTT or serial
  • Temperature calibration
  • Safety limits and fault detection

Applications

  • Home brewing temperature control
  • 3D printer heated bed optimization
  • Aquarium temperature regulation
  • Greenhouse climate control
  • Sous vide cooking
  • Incubator temperature management

Configuration

PID parameters, setpoints, and safety limits can be configured via:

  • MQTT commands
  • Serial console
  • Stored configuration (EEPROM)

Documentation

Full firmware source, hardware design files, and configuration examples included.


Firmware, hardware design, and documentation available in the project repository.