Turn your ESP32 into a Bluetooth speaker with this Arduino-friendly A2DP library
AI-generated summary of reporting by GitHub Opensource Projects. Read the original for the full story.
Why it matters
ESP32 developers can now build Bluetooth audio streaming projects with five lines of code and no external DAC hardware, using the free ESP32-A2DP library.
A free open-source library called ESP32-A2DP lets the ESP32, a small, inexpensive hobbyist computer chip, act as a Bluetooth speaker, receiving music from your phone without any extra parts. It supports both receiving and sending audio, using the chip's built-in sound output. Hobbyists building custom speakers or retro radios can get sound playing in under ten minutes.
The ESP32-A2DP library by pschatzmann removes the need to buy dedicated audio chips like the MAX98357 or PCM5102, cutting hardware cost for hobbyist audio products. It is free via Arduino's Library Manager and works with PlatformIO. The main limitation is that it supports only the SBC codec, no AAC or aptX, so it suits casual audio, not premium products.
pschatzmann's ESP32-A2DP implements the Bluetooth A2DP source and sink profiles with SBC codec support directly on the ESP32's radio. Audio output routes via I2S, the internal DAC on GPIO25, or PWM. Installation is through Arduino Library Manager or platformio.ini via lib_deps = pschatzmann/ESP32-A2DP; the SimpleSink example is minimal. Limitation: SBC only, no AAC or aptX.
Read the original
This summary exists to save you time, not to replace the source.
Key terms
Was this summary useful?
One click, anonymous. It tells us which summaries to re-run.
Related reading
Code-driven AI illustrations are more useful than images from dedicated image models
Code-driven AI illustrations let designers edit assets directly in code, saving time on iteration and ensuring consistency, which is a game-changer for teams that need rapid, reusable visual content.
A hierarchical note-taking app for building large personal knowledge bases
Trilium lets users build and navigate massive personal knowledge bases without duplicating content, saving time on organization and retrieval.
Desktop apps in Go with native UI or web frontend
Go developers can now ship cross-platform desktop and mobile apps in a single small binary without cgo or heavy runtimes, cutting build complexity and deployment size.
OpenBitFun: an agent workspace with four harness modes and phone remote control
OpenBitFun lets agents run on any machine and be controlled from a phone, eliminating the need to choose between local power and remote access, saving developers time switching contexts.
Intel One Mono: a monospaced font designed with low-vision developers
Developers with low vision or eye fatigue can read code more clearly, reducing errors and improving productivity.