All tutorials

6 · Full projects

Project: thermostat

Expert40 min

Goal

Regulate a target temperature with hysteresis and a display.

Why it matters

Your first complete closed loop: measure → decide → act → feedback.

Steps

  1. 01Temperature sensor as input, relay as output.
  2. 02Setpoint adjustable with the potentiometer.
  3. 03±1 °C hysteresis to avoid short cycles.
  4. 04Show setpoint, reading and heating state.

This tutorial runs inside the Circuitly simulator: your wiring and your code are checked automatically at every step.

Next tutorials