# Dotmic

Push-to-talk USB microphone and dot-matrix clock for the S3AI Game (ESP32-S3) handheld. Real FFT spectrum, NTP clock, UAC1 audio input.

按着 AI 键说话，松开就静音，S3AI 掌机在这里当一支标准 USB 麦克风：UAC1、单声道、48 kHz、16 位，电脑上的录音或听写软件直接就能选它，识别全在主机上做。

- id: sameclub-dotmic
- author: sameclub
- repository: https://github.com/sameclub/dotmic
- license: MIT
- shape: square
- scenes: games, art, home
- boards: ESP32-S3
- browser_playable: no
- preview: Project screenshots
- html: https://esp32gallery.com/projects/sameclub-dotmic/
- html_zh: https://esp32gallery.com/zh/projects/sameclub-dotmic/
- json: https://esp32gallery.com/data/catalog/projects/sameclub-dotmic.json

## Hardware

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

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

## English

```
Hold the AI key, talk, release to mute: the S3AI handheld enumerates as a standard UAC1 USB microphone — mono, 48 kHz, 16-bit — and any recorder on the host can use it, because speech-to-text happens on the computer. While you speak, a 240×240 ST7789 shows a real 1024-point Hann-window FFT split into 24 bands across roughly 94 Hz to 12 kHz; when you stop, it falls back to a clock synced over Wi-Fi against `ntp.aliyun.com`, `time.cloudflare.com` and `pool.ntp.org`, displayed in Beijing time. Install is application-only through the Launcher SD browser, never at flash offset `0x0`. Audio quality and sleep current were not measured on hardware.
```

## 中文

```
按着 AI 键说话，松开就静音，S3AI 掌机在这里当一支标准 USB 麦克风：UAC1、单声道、48 kHz、16 位，电脑上的录音或听写软件直接就能选它，识别全在主机上做。说话时 240×240 的 ST7789 上跑的是真 FFT，1024 点汉宁窗，分成 24 个频带铺到约 94 Hz 至 12 kHz，不是跟着音量乱跳的动画；不说话了就切回时钟，走 Wi-Fi 对 ntp.aliyun.com 等服务器校时，显示北京时间。装的时候只能把 bin 当应用放进 Launcher 的 SD 文件浏览器，别写到 0x0。音频质量、显示和休眠电流都还没在实机上测过。
```
