# Waveshare Weather Calendar

使用 Waveshare 电子墨水屏显示天气与日历的个人桌面设备。

Personal ESP32 Waveshare EPaper Weather Calendar

使用 Waveshare 电子墨水屏显示天气与日历的个人桌面设备。

- id: rokan8-esp32waveshareepapercalendar
- author: rokaN8
- repository: https://github.com/rokaN8/ESP32WaveshareEPaperCalendar
- license: MIT
- shape: epaper
- scenes: home
- boards: Waveshare
- browser_playable: no
- preview: Project screenshots
- html: https://esp32gallery.com/projects/rokan8-esp32waveshareepapercalendar/
- html_zh: https://esp32gallery.com/zh/projects/rokan8-esp32waveshareepapercalendar/
- json: https://esp32gallery.com/data/catalog/projects/rokan8-esp32waveshareepapercalendar.json

## Hardware

Waveshare. Verify the exact board revision, wiring and power requirements in the upstream build guide.

Waveshare；请在上游构建文档中核对具体板型、供电与接线。

## English

```
Date, time, today's weather and a 24-hour temperature curve sit on a Waveshare 4.26-inch 800x480 e-paper panel, redrawn with a partial refresh so the clock ticks without flashing the whole page and a full refresh whenever the date changes. Weather arrives from OpenWeatherMap every 30 minutes, tomorrow's minimum, maximum and rain chance included; the curve is smoothed with a Catmull-Rom spline. It is one .ino in the Arduino IDE with GxEPD2, Adafruit GFX and ArduinoJson, and a config.h holds the Wi-Fi details, API key, latitude and longitude, with the timezone set separately in the sketch. Six wires go to the panel on fixed GPIOs. A 3D-printed stand in the models folder holds the display at a viewing angle; the parts glue together.
```

## 中文

```
日期、时间、当前天气和一条 24 小时温度曲线放在一块 4.26 英寸 800x480 的微雪墨水屏上。时钟用局部刷新走秒，不会整屏闪；日期一变才做一次全刷。天气每 30 分钟从 OpenWeatherMap 取一次，带明天的最高、最低温和降雨概率，曲线用 Catmull-Rom 样条平滑。工程是一个 .ino，在 Arduino IDE 里配 GxEPD2、Adafruit GFX 和 ArduinoJson 编译；WiFi、API key、经纬度填在 config.h，时区则单独改草图里的字符串。屏用六根线接在固定 GPIO 上。models 目录里有 3D 打印的桌面支架，把屏托在一个舒服的角度，几个零件是粘起来的。
```
