Skip to content
MCU Atlas
ESP32ESP32-S3

Universal Timer: a Nest-style countdown on the CrowPanel round ESP32-S3 display

One module, one twist: a Nest-style countdown timer on Elecrow's CrowPanel 2.1in round ESP32-S3 touch display. Full Arduino sketch published.

Difficulty:BeginnerSource available

What it is

A Nest-style countdown timer on one finished module — Elecrow's CrowPanel 2.1in round ESP32-S3 touch display with a rotary encoder. Twist to set, press to start, touch to switch ranges; the full Arduino sketch is published.

What you need

  • CrowPanel 2.1in HMI ESP32 Rotary Display (DHE03921D) computer + screen + input + housing in one unit; USB cable in the box
  • PCF8574 I2C expander + active buzzer optional two-piece add-on for an audible end-of-countdown
  • Arduino IDE ESP32 Core 2.0.17 + Arduino_GFX — nothing beyond that

How hard

Beginner: one finished module, one optional two-wire add-on and a single sketch to flash — an easy afternoon (our estimate).

Photos

The finished timer in use: hand on the ring, a red sector counting down on the 1-minute range.
The maker's wiring shot: the module's rear with a 4-wire I2C harness to the PCF8574 expander and the active buzzer on P0.

Photos: Photo: mircemk, via Hackaday/PCBWay

Key Facts

  • One finished module — Elecrow CrowPanel 2.1in (ESP32-S3, 480×480 round IPS touch, rotary encoder with push, 16MB flash) — plus an optional PCF8574 expander and active buzzer
  • Twist to set, short press to start/pause, long press (~1.2 s) to reset, touch cycles 1/10/30/60-minute ranges with color-coded scales
  • At zero: screen flashes red 3× + 3 synchronized buzzer beeps (expander at I2C 0x20 drives the buzzer)
  • Build-blocking settings: ESP32 Core 2.0.17, 16MB flash, Huge APP partition, OPI PSRAM — the maker warns wrong settings give a black screen
  • Full Arduino sketch + wiring published free on the maker's PCBWay share (maker states no licence of his own; the share-page footer carries a platform-wide CC BY-SA notice — check before reusing)
  • Built by mircemk; spotted via Tom Nardi on Hackaday, 2026-10-27

About This Project

Some gadgets earn their place on the desk by doing one thing beautifully. The Universal Timer by maker mircemk is a countdown timer that Tom Nardi's Hackaday write-up calls "reminiscent of the Nest thermostat and similar commercial offerings," built on a single module: Elecrow's CrowPanel 2.1-inch HMI ESP32 Rotary Display. That one board carries an ESP32-S3, a round 480×480 IPS touchscreen, a rotary encoder with push button, 16MB of flash and an I2C port for add-ons.

Twist the ring and the graphics rotate with you; the remaining time shows as a red arc that a white area eats away as the countdown runs. When time is up, the screen flashes red three times and — if you've added the optional two-piece buzzer circuit — a buzzer beeps three times in sync. It's a timer for the workshop, kitchen, lab desk or photo corner that you'll actually keep using. MCU Atlas is not affiliated with mircemk, Elecrow or PCBWay.

Why it fits a first build

It's a true one-module build: the CrowPanel unit is a finished product — computer, screen, input and housing in one. No carrier board, no wiring harness, no driver board to match. Soldering is optional-to-light: the timer works on the module alone (Hackaday notes the display is "technically all you need"), and the optional buzzer circuit — a PCF8574 I2C expander and an active buzzer — hangs off the module's small 4-pin I2C connector. The maker lists a soldering iron among his tools, so expect at most a few jumper connections, not board-level soldering. A clear step-by-step already exists: the PCBWay share carries the complete Arduino sketch, wiring photos and the exact Arduino IDE settings — a proven path, not one you're inventing. And it's a desk gadget with daily utility: unlike a demo that lives in a drawer, a countdown timer earns its USB port — the maker suggests workshop, kitchen, laboratory and photography uses. It's also a gentle intro to rotary-encoder UIs: twist-to-set is the interaction behind thermostats, car stereos and smart knobs, and this is the simplest way to experience why it works.

Parts you need

The heart of the build is the CrowPanel 2.1-inch HMI ESP32 Rotary Display (Elecrow SKU DHE03921D) — an ESP32-S3 with a 480×480 round IPS touchscreen, rotary encoder, 16MB of flash and 8MB of PSRAM. The optional sound path is a PCF8574 I2C I/O expander module plus an active buzzer, so the timer can be heard from the next room. Power and flashing both go over one USB data cable (5V/1A) — and a 50 cm cable ships in the module's box. Everything except the CrowPanel module is pocket-change parts most benches already have; the module is the only line that really matters, and the approximate all-in total and per-part prices are recorded in the editor notes.

The controls, mapped

Twist the ring to set the time — the on-screen dial rotates with the encoder. A short press of the knob starts, pauses or resumes the countdown. A long press (about 1.2 seconds) resets to 00:00; the selected range stays put. Touch the lower-center of the screen to cycle ranges: 1, 10, 30, then 60 minutes — each range has its own scale color (yellow, turquoise, orange, magenta), so you can read roughly how much time is left from across the room. At zero, the display flashes red three times while the buzzer gives three synchronized beeps. Framebuffer drawing keeps the arc sweep smooth and flicker-free.

Flashing the firmware

The whole project is one Arduino sketch, published in full on the PCBWay share. Three settings decide whether it works — the maker warns that skipping them causes a black screen or flashing. First, the ESP32 Arduino Core must be 2.0.17 — this exact version. Second, the Arduino_GFX display library: the maker's instructions say v1.6.1, the sketch header 1.4.4 — both are real releases; start with the instructions' version, try the other if the panel misbehaves. Third, board settings: flash size 16MB, Partition Scheme "Huge APP", PSRAM "OPI PSRAM". Most tweakable parameters — colors, geometry, timing — sit in defines at the top of the sketch, so recoloring it for your desk is a two-minute edit, not a rewrite. Wiring for the optional buzzer circuit (expander at I2C address 0x20, buzzer on its P0 pin) is documented in the code header and photos on the same page.

Skill takeaway

The transferable lesson is the input pattern, not the timer: rotary encoder plus round display is one of the most satisfying interfaces in hardware, and this is its gentlest on-ramp. When you're ready for the next step, the same pattern gets richer: SmartKnob adds a motor so the knob pushes back with virtual detents, and X-Knob wires the same idea into smart-home control over MQTT. Elecrow positions the CrowPanel family for dashboards and control panels too — a timer today, a desk controller next month.

Credits

Universal Timer was designed and built by mircemk, who publishes the full code and wiring on the PCBWay project share (sponsored by PCBWay, per the maker's own disclosure) with a build log on Hackaday.io. The maker states no licence of his own for the sketch; the share page's footer carries a platform-wide Attribution-ShareAlike (CC BY-SA) notice — check the share page before reusing the code. We spotted it through Tom Nardi's October 27, 2026 write-up on Hackaday.

Source & Attribution

Creator: mircemk
Source:
License: No licence stated by the maker; the PCBWay share-page footer carries a platform-wide Attribution-ShareAlike (CC BY-SA) notice — check the share page before reusing code
Last verified: 11/12/2026
Universal Timer: a Nest-style countdown on the CrowPanel round ESP32-S3 display

How to Build It

A real build-along: the maker's complete Arduino sketch, wiring photos and exact IDE settings are published on the PCBWay share — a proven path, not one you invent.

Parts Needed

  • Elecrow CrowPanel 2.1-inch HMI ESP32 Rotary Display (DHE03921D) — the finished module; a 50 cm MX1.25-to-USB cable ships in the box
  • Optional: a PCF8574 I2C expander module and an active buzzer — two wires on the module's 4-pin I2C connector
  • Arduino IDE with the ESP32 Arduino Core 2.0.17 and the Arduino_GFX library

Steps

  1. 1

    Unbox and power up

    The module is the whole computer: ESP32-S3, round 480×480 IPS touchscreen and rotary encoder in Elecrow's housing. It has no USB socket — power and flashing go through the 4-pin MX1.25 (ZX-MX 1.25-4P) USB-IN connector, and the box includes a 50 cm MX1.25-to-USB cable plus a 4-pin Dupont cable. Feed it 5V/1A. Two notes from Elecrow's wiki that the maker's instructions omit: hold BOOT while powering on to enter download mode, and enable USB CDC On Boot if you want serial output — neither blocks the build.

  2. 2

    Wire the optional buzzer circuit

    The timer is complete without it, but sound is worth two wires: a PCF8574 I2C expander on the module's 4-pin I2C connector (address 0x20 in the sketch) with an active buzzer on the expander's P0 — P0 LOW means beep. The code header documents the wiring and the maker's photo shows his exact layout. Expect a few jumper connections at most; the maker lists a soldering iron among his tools, but there's no board-level soldering.

    Diagram in two panels. Left: the Arduino IDE settings that decide whether the build works — ESP32 Arduino Core 2.0.17, board ESP32S3 Dev Module, Flash Size 16MB, Partition Scheme Huge APP, PSRAM OPI PSRAM, Arduino_GFX v1.6.1 (sketch header says 1.4.4). Right: the optional buzzer wiring — a PCF8574 expander at I2C address 0x20 on the module's 4-pin I2C connector, an active buzzer on the expander's P0 with P0 LOW meaning beep.
    The make-or-break Arduino IDE settings, and the optional two-part buzzer circuit. Diagram: MCU Atlas, after mircemk's wiring.
  3. 3

    Set up the Arduino IDE

    Install the ESP32 Arduino Core 2.0.17 — this exact version, per the maker. Then the Arduino_GFX display library: the maker's instructions say v1.6.1 while the sketch header says 1.4.4. Both are real releases and both contain everything the sketch uses; start with the instructions' v1.6.1 and drop to 1.4.4 only if the panel misbehaves.

  4. 4

    Pick the board settings

    Board: ESP32S3 Dev Module. Flash Size 16MB, Partition Scheme "Huge APP", PSRAM "OPI PSRAM". The maker warns that skipping any of these causes a black screen or unpleasant flashing — these three lines are the whole difference between bricked-looking and working.

  5. 5

    Flash, twist, go

    Paste the maker's sketch from the PCBWay share, upload, and the timer is live. Twist the ring to set the time — the on-screen dial rotates with the encoder. Short press starts, pauses or resumes; a long press (about 1.2 s) resets to 00:00 with the selected range kept. Touch the lower-center of the screen to cycle the 1/10/30/60-minute ranges, each with its own scale color — yellow, turquoise, orange, magenta. At zero the screen flashes red three times and the buzzer (if fitted) beeps three times in sync. Colors, geometry and timing all sit in defines at the top of the sketch, so recoloring it for your desk is a two-minute edit, not a rewrite.

    Annotated control map of the round timer: twist the ring to set the time (the on-screen dial rotates with the encoder), short press to start, pause or resume, a long press of about 1.2 seconds to reset to 00:00, and a touch zone at the lower-center of the dial cycling the four ranges — 1, 10, 30 and 60 minutes — with a color legend of yellow, turquoise, orange and magenta.
    One knob, four moves — the whole interface of the Universal Timer. Diagram: MCU Atlas.

Bill of Materials

Parts list

4 parts · 0 linked

Heads up: some Buy links are affiliate links. If you buy through one, MCU Atlas may earn a small commission at no extra cost to you. It never changes which parts we list. How this works

1× CrowPanel 2.1-inch HMI ESP32 Rotary Display (Elecrow DHE03921D)

No verified link — check the original project

1× PCF8574 I2C I/O expander module

No verified link — check the original project

1× Active buzzer module

No verified link — check the original project
No verified link — check the original project

Not included: Case or stand — the module's own housing is the product, 3D-printed parts — none in this build

Download CSV

Related Projects

SmartKnob: haptic knob with virtual detents (ESP32-S3)
Illustration
ESP32ESP32-S3
A haptic input knob with software-defined detents and endstops, built from a BLDC motor, encoder and round LCD on ESP32.
Advanced·Code
5 parts listed
X-Knob: LVGL smart knob for MQTT smart home and Surface Dial
Illustration
ESP32ESP32-S3
X-Knob is an ESP32-S3 smart knob inspired by SmartKnob: an LVGL interface, MQTT smart-home control and a Surface Dial mode over USB.
Advanced·Code
4 parts listed
LVGL watch UI for the ESP32-C3 1.28in round display
Illustration
ESP32ESP32-C3
A polished smartwatch-style LVGL interface for the cheap ESP32-2424S012 round touchscreen board, paired via the Chronos app.
Beginner·Code
1 part listed