
这是一款基于 ESP32 的番茄钟计时器,配备 4.26 英寸黑白电子墨水屏,并通过旋转编码器进行输入。该计时器可高效管理工作与休息间隔。
基于 ESP32 的番茄钟计时器
番茄工作法是一种有效的时间管理方法,通过工作与休息的间隔来提升专注力与效率。此计时器基于 ESP32,配备 4.26 英寸黑白电子墨水屏,并通过旋转编码器进行输入。
本项目主要以开源软件实现,硬件采用模块化设计,接线简单。
ESP32(AZDelivery ESP32 NodeMCU,基于 ESP32-WROOM-32;一款较旧的型号,可能已停产)
Waveshare 4.26 英寸电子墨水屏,分辨率为 800x480(选择黑白电子墨水屏是因为其 0.3 秒的刷新速度和静态显示特性,不会在工作期间干扰你的注意力)
KY-040 旋转编码器(带按键)
WS2812 RGB LED(也可用普通 RGB LED 替代)
USB-C 接口(Type-C 母座)
若干电阻和 0.1uF 电容
软件使用 C++ 基于 Arduino 框架编写,项目使用 PlatformIO 管理,并大量依赖 GxEPD2 库。更多信息请参考 GitHub 仓库。
设备启动后,你可以调整设置或进入预设选择模式。在此可从三种预设计时模式中进行选择。
随后计时器开始计时,并在时间结束时通知你(通过 LED 闪烁与屏幕显示提示)。你可以继续工作(但不推荐),然后开始休息。
在休息期间,你可以查看一些统计数据。在完成若干个循环后(默认为 4 个),休息时间会延长,以便你有更多时间恢复。
本文来源:https://www.esp32cube.com/post/pomodoro-timer-based-on-esp32-with-e-ink-display
若有版权问题,请来信告知:13951431913#139.com 或在右方提交评论。
This is a Pomodoro timer based on ESP32 with a 4.26-inch black-and-white E-Ink display, featuring a rotary encoder for input. The timer helps manage work and break intervals efficiently.
The Pomodoro Technique is an effective time management method that uses intervals of work and rest to improve focus and productivity. This timer is based on ESP32, featuring a 4.26-inch black-and-white E-Ink display and an input via a rotary encoder.
This project is mostly open-source software, and the hardware is modular, requiring simple wiring.
ESP32 (AZDelivery ESP32 NodeMCU, based on the ESP32-WROOM-32; an older model that might have been discontinued)
Waveshare 4.26-inch E-Ink Display with a resolution of 800x480 (The choice of black-and-white E-Ink is due to its 0.3s refresh speed and static display, which doesn't interfere with your focus while working)
WS2812 RGB LED (can be replaced with a simple RGB LED)

The software is written in C++ using the Arduino framework, and the project is managed with PlatformIO. It relies heavily on the GxEPD2 library. For more details, please refer to the GitHub repository.
Upon starting the device, you can adjust settings or enter the preset selection mode. From there, you can choose from three predefined timer modes.
The timer will then start and notify you when the time is up (by flashing the LED and showing a message on the screen). You can continue working (though not recommended), then start your break.
During the breaks, you can check some statistics. After a few iterations (default is 4), your break time will be longer, giving you time to recover.