# Radbuzz

为电动载具显示 GPS 地图、里程和速度的户外仪表。

GPS map / trip meter / speedometer for VESC-based electric vehicles

为电动载具显示 GPS 地图、里程和速度的户外仪表。

- id: simonkagstrom-radbuzz
- author: SimonKagstrom
- repository: https://github.com/SimonKagstrom/radbuzz
- license: MIT
- shape: robot
- scenes: tools
- boards: ESP32
- browser_playable: no
- preview: Project screenshots
- html: https://esp32gallery.com/projects/simonkagstrom-radbuzz/
- html_zh: https://esp32gallery.com/zh/projects/simonkagstrom-radbuzz/
- json: https://esp32gallery.com/data/catalog/projects/simonkagstrom-radbuzz.json

## Hardware

ESP32-class board. Verify the exact board revision, display, power source and wiring in the upstream build guide.

ESP32 类开发板；请在上游构建文档中核对具体板型、屏幕、供电与接线。

## English

```
A trip computer for VESC-driven electric mopeds and motorcycles, built around a Waveshare 4.3-inch ESP32-P4 touch display. It draws an OpenStreetMap map (currently OpenCycleMap) from a UART GPS, shows a speedometer from both VESC data and GPS, trip distance and average consumption, a Tesla-style power bar, range estimation and a colour-coded trip log on the map. Over Bluetooth it reads BMS status from em3ev KingShark and Ali new energy packs; through Gadgetbridge it takes navigation instructions from Google Maps or OsmAnd and forwards calls, SMS and email to the screen. Hardware also needs a rotary encoder, a CAN adapter such as the SN65HVD230, and a DC/DC converter from the VESC's 12 V outlet. The map needs a Thunderforest key, built in or as osm_key.txt on the SD card. Written in C++23 with LVGL; it also builds for Qt or unit tests on a desktop.
```

## 中文

```
给 VESC 驱动的电动摩托和电摩做的行车电脑，主界面是 Waveshare 4.3 英寸 ESP32-P4 触摸屏。它用串口 GPS 定位，画 OpenStreetMap 地图（目前是 OpenCycleMap），速度表同时取 VESC 数据和 GPS，另有里程、平均电耗、一条特斯拉风格的电量条、续航估算，以及按功率着色的轨迹线。蓝牙能读 em3ev KingShark 和 Ali new energy 电池的 BMS 状态；通过 Gadgetbridge 接收 Google Maps、OsmAnd 的导航指令，并把来电、短信和邮件转投到屏幕上。硬件还要一个旋转编码器、一块 CAN 收发器（用过 SN65HVD230），以及从 VESC 的 12V 口取电的 DC/DC 模块。地图要 Thunderforest 的 key，可以编进去，也可以放 SD 卡里的 osm_key.txt；Wi-Fi 账号写在 SSID.TXT。代码是 C++23 加 LVGL，也能在桌面上编成 Qt 版或单元测试。
```
