# escapion **Repository Path**: spdf00/escapion ## Basic Information - **Project Name**: escapion - **Description**: No description available - **Primary Language**: Unknown - **License**: GPL-3.0 - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-08-31 - **Last Updated**: 2026-08-31 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ### Escapion天气时钟 ESP32-C3 桌面天气时钟,主机性能监控,名字来源*Escapement*(擒纵器) ![](./readme/1.png) 本项目源自[DuduClock天气时钟](https://www.bilibili.com/video/BV1Vz4y1c7XF),代码已经完全改写,并新增了不少功能 **固件和资料**:[Escapion天气时钟 - 枫糖](https://maplesugar.top/archives/106.html) **你现有的DuduClock可以直接刷提供的固件**,屏幕和按钮接线和DuduClock是一致的。如果没有接DHT22,在配置里关闭即可 ### 功能介绍 - 不用申请和风天气API,本项目通过解析和风天气网页获取数据,**只需填写一个和风天气网址** - 番茄钟,可以配置多个 - **主机监控**页面,检测到主机上线后,自动切换,主机下线后,自动切回时钟页面 - 三种数字样式 - 时钟页面,**自定义banner图片** - **自定义GIF动画**,只需上传图片 - **DHT22支持**,读取环境温度 - 自定义页面顺序 - 时钟页面的城市文字太长,会自动滚动 ### 主机监控服务端 在另一个仓库[escapion-server](https://github.com/flatblowfish/escapion-server),使用GO编写,可编译为不同平台的程序。 ### 硬件 屏幕接线,在`include/User_Setup.h`中 ```c #define TFT_MOSI 3 // In some display driver board, it might be written as "SDA" and so on. #define TFT_SCLK 2 #define TFT_CS 7 // Chip select control pin #define TFT_DC 4 // Data Command control pin #define TFT_RST 5 // Reset pin (could connect to Arduino RESET pin) // #define TFT_BL 13 ``` 按钮接线,在`drivers/button.cpp`中 ```c #define BUTTON_PIN 8 // GPIO08 ``` **屏幕和按钮接线和DuduClock一样** DHT22接线,在`drivers/dht22.cpp`中 ``` #define DHTPIN 1 // GPIO01 ``` ### 图片 ![配置html](./readme/config_html.jpg)