Files
klubhaus-doorbell/libraries/audio-tools/examples/examples-communication/a2dp/player-sdfat-a2dp
2026-02-16 19:05:11 -08:00
..
2026-02-16 19:05:11 -08:00
2026-02-16 19:05:11 -08:00

A Simple SdFat Audio Player

The example demonstrates how to implement an MP3 Player: which provides the data from a SD drive and provides the audio via A2DP (e.g. to a Bluetooth Speaker): The AudioSourceSdFat class builds on the SdFat Library from Bill Greiman which provides FAT16/FAT32 and exFAT support.

SD Card

Here is the information how to wire the SD card to the ESP32

SD ESP32
CS VSPI-CS0 (GPIO 05)
SCK VSPI-CLK (GPIO 18)
MOSI VSPI-MOSI (GPIO 23)
MISO VSPI-MISO (GPIO 19)
VCC VIN (5V)
GND GND

SD

Dependencies