All packs

Clocks

Interval timer

Work, rest, repeat. Turn the knob to set the work minutes and press it to start; it beeps when each part ends.

  • Medium
  • about 55 min
  • ESP32-S3
  • 8 parts
  • 11 wires
  • 96 lines of code

ESP32 packs are built on real parts: the simulator runs Arduino Uno circuits only.

Idea

A knob is the fastest way to set a number. The encoder inside sends two signals slightly out of step, and which one changes first tells you the direction.

What you learn

Reading a rotary encoder, and a program that moves between states: setting, working, resting.

How it works

  1. input

    Rotary knob

  2. decides

    ESP32-S3

  3. output

    OLED 0.96 in

    Buzzer

Powered with 5 V through the board's USB-C port.

A reference design. The sketch is compiled with the real ESP32 toolchain, and its pins are checked against the wiring table automatically. It has not yet been built and tested on real parts by us, so wire it on the bench and run the checks before you build it into a case. Real modules vary: follow the labels printed on yours, not their position in the picture.