Skip to content

Contributed by iiv, curated by Ai-Thinker

I saw that speaker that "just makes sound" in Xiaomei's video and wanted to play with one myself, but I searched for a long time and couldn't find the source code. Later I happened to find this demo in the Bouffalo SDK. I compiled it into firmware; if you like it, you can play with it. The sound quality is touching. The Xiao An Pai can play it using the onboard ES8388, but I feel the noise is very loud; the built-in DAC is a bit better, but still not great.

1: I2S using ES8388

Attachments:

BT_audio_i2s.rar(904.41 KB, downloads: 32)

Uploaded 2023-11-13 23:01

Click the filename to download the attachment.

2: Built-in DAC, external amplifier connected to pin 15, or directly use headphones

Attachments:

BT_audio_dac.rar(901.28 KB, downloads: 30)

Uploaded 2023-11-13 23:03

Click the filename to download the attachment.

Flash directly with the Bouffalo flashing tool at address 0. After flashing, restart; there will be a Bluetooth name M61-32. Once connected, it works normally, but the sound quality is really touching. I don't know if I made a mistake somewhere. If any expert finds the problem, please leave a comment and tell me!

Have questions?

For other questions, please visit the unified discussion area: Ai-Thinker Discussions

Released under the MIT License. Build Time 2026-09-11 14:52:23