# CYD Bike Computer

A homemade handlebar dashboard with light and dark themes.

为自行车制作的车把仪表，提供明暗两种主题。

- id: drundia666-esp32-cyd-bike-computer
- author: Drundia666
- repository: https://github.com/Drundia666/ESP32-CYD-Bike-Computer
- license: MIT
- shape: wide
- scenes: tools
- boards: ESP32 CYD
- browser_playable: no
- preview: Project screenshots
- html: https://esp32gallery.com/projects/drundia666-esp32-cyd-bike-computer/
- html_zh: https://esp32gallery.com/zh/projects/drundia666-esp32-cyd-bike-computer/
- json: https://esp32gallery.com/data/catalog/projects/drundia666-esp32-cyd-bike-computer.json

## Hardware

ESP32 Cheap Yellow Display bicycle computer. Physical mounting, weather protection and sensors require upstream build review.

## English

```
Mounted on the handlebars of a personal KTM bicycle, this Cheap Yellow Display build reads speed from a Hall sensor triggered by wheel magnets and keeps two independent trips plus a running odometer that is written to non-volatile memory every 100 meters. A BME280 adds temperature, atmospheric pressure and humidity. Touching the Timer or Trip area switches or resets it, and the wrench icon opens settings for light, dark or ambient-light-driven theme, wheel circumference (default 2275 mm, 5 mm steps), magnet count, hours, minutes and metric or imperial units. The enclosure copies the instrument cluster of a KTM Duke 790–890, with brackets sized for a 35 mm fork tube and a 32 mm handlebar. Assembly needs soldering, and the case is not waterproof, so rain riding is discouraged.
```

## 中文

```
装在自家 KTM 自行车车把上的 Cheap Yellow Display 仪表：霍尔传感器数轮子上的磁铁算速度，两个独立的 Trip 加一个总里程，总里程每 100 米写一次非易失存储。BME280 补上温度、气压和湿度。点 Timer、Trip 区域切换或清零，扳手图标进设置，能选浅色、深色或按环境光自动换主题，改轮周长（默认 2275 mm，步进 5 mm）、磁铁数量、时、分，以及公制或英制单位。外壳照 KTM Duke 790–890 的仪表盘做，支架按 35 mm 前叉管和 32 mm 车把设计，别的车要改 3D 模型。日期在编译固件时写死，所以编译和烧录得在同一天完成；装配要会基本焊接，接反极性后果自负，设备不防水，不建议雨天骑。
```
