# S3 Hi-Fi

Network Hi-Fi player: ESP32-S3 + ES9038Q2M DAC streaming FLAC from your home server

基于 ESP32-S3 和 ES9038Q2M DAC 的家庭网络 Hi-Fi 播放器，可从家庭服务器串流无损音乐。

- id: michkar-ekb-esp32-hifi-player
- author: michkar-ekb
- repository: https://github.com/michkar-ekb/esp32-hifi-player
- license: MIT
- shape: headless
- scenes: home
- boards: ESP32-S3 DevKitC-1 N16R8
- browser_playable: no
- preview: Project screenshots
- html: https://esp32gallery.com/projects/michkar-ekb-esp32-hifi-player/
- html_zh: https://esp32gallery.com/zh/projects/michkar-ekb-esp32-hifi-player/
- json: https://esp32gallery.com/data/catalog/projects/michkar-ekb-esp32-hifi-player.json

## Hardware

ESP32-S3 DevKitC-1 N16R8 with PSRAM, ES9038Q2M DAC, 12 V/2 A supply and a 12 V→5 V DC-DC converter.

ESP32-S3 DevKitC-1 N16R8（需 PSRAM）、ES9038Q2M DAC、12V/2A 电源与 12V→5V 降压模块。

## English

```
The server that stores the FLAC does the decoding while the ESP32-S3 merely carries bytes: it receives PCM over TCP, buffers about ten seconds in PSRAM and clocks it out over I2S to an ES9038Q2M, with the player setting the pace and the server following so the two clocks never drift. Having no screen is deliberate; cover art and track choice live in a phone browser. Two USB-C ports are not interchangeable, one for flashing and one for turning the box into a driver-free sound card called S3 Hi-Fi on a PC. The ceiling is 24 bit / 96 kHz, and DSD is converted to 24-bit / 88.2 kHz on the server.
```

## 中文

```
自己那台放 FLAC 的服务器负责解码，ESP32-S3 只做搬运工：它从 TCP 收 PCM，在 PSRAM 里存约十秒的缓冲，再按 I2S 稳定送进 ES9038Q2M，节拍由播放器这边定，服务器跟着走，两边时钟不会漂。没有屏幕是故意的，封面和选曲都在手机浏览器里，听什么取决于服务器上的曲库和电台列表。板上插着两个 USB-C 口，刷机走 COM 口，要当电脑声卡时线得换到另一个口，然后系统里就多出一张叫 S3 Hi-Fi 的免驱声卡，走异步反馈，采样率上限 24 bit / 96 kHz。DSD 在服务端先转成 24 bit / 88.2 kHz，因为板子的 I2S 接不了原生 DSD。电源是 12V 适配器加一路降压给开发板，外壳 3D 打印，接线板开源。
```
