# Timewo Macropad

ESP32 BLE macropad: one firmware for many boards (C3/S3/ESP32), Windows app to configure keys, rename, remap GPIO and flash firmware

一套 BLE 宏键盘固件通吃几种 ESP32：蓝牙名、按键数量、GPIO 编号和按键时长都存在 NVS 里，改这些不用重新编译烧录。

- id: ti014-timewo-macropad
- author: ti014
- repository: https://github.com/ti014/timewo-macropad
- license: MIT
- shape: square
- scenes: tools
- boards: ESP32
- browser_playable: no
- preview: Project screenshots
- html: https://esp32gallery.com/projects/ti014-timewo-macropad/
- html_zh: https://esp32gallery.com/zh/projects/ti014-timewo-macropad/
- json: https://esp32gallery.com/data/catalog/projects/ti014-timewo-macropad.json

## Hardware

Supported hardware: ESP32. Confirm the exact board revision and pin map in the upstream repository.

支持硬件：ESP32。烧录前请在上游仓库核对板卡版本与引脚定义。

## English

```
One BLE macropad firmware serves several ESP32 variants, and the Bluetooth name, button count, GPIO numbers and press timing are settings kept in NVS rather than compiled in. Envs cover ESP32-C3, ESP32-S3 and plain ESP32, up to four buttons wired from GPIO to GND with internal pull-ups, no external resistors. The finished Ti Clicker is an ESP32-C3 Super Mini in a 3D-printed shell with three keys used as a slide remote. A PySide6 desktop app on Windows pairs over USB serial or BLE GATT, writes the profile to flash and can flash firmware itself after checking SHA-256. Macros fall in two groups: shortcuts the board types on its own through Bluetooth HID, and actions such as opening apps or pasting text that need the app running. A plain ESP32-S2 is rejected — no Bluetooth.
```

## 中文

```
一套 BLE 宏键盘固件通吃几种 ESP32：蓝牙名、按键数量、GPIO 编号和按键时长都存在 NVS 里，改这些不用重新编译烧录。环境覆盖 ESP32-C3、ESP32-S3 和普通 ESP32，最多四颗键，一端接 GPIO、一端接 GND，用内部上拉，不需要外接电阻。成品叫 Ti Clicker，ESP32-C3 Super Mini 装进 3D 打印壳，三颗机械键当翻页笔。Windows 上的 PySide6 应用通过 USB 串口或 BLE GATT 配置，把 profile 写进 flash，还能校验 SHA-256 后自己刷固件。宏分两类：板子能自己用蓝牙 HID 敲出的快捷键，以及打开程序、粘贴 Unicode 文本这类必须电脑后台跑着应用才能做的事。ESP32-S2 没有蓝牙，应用会认出来并拒绝。
```
