mirror of
https://github.com/pschatzmann/arduino-audio-tools.git
synced 2024-09-22 02:47:31 +00:00
.. | ||
base-file_raw-serial.ino | ||
README.md |
Stream SD File to A2DP Bluetooth
We are reading a raw audio file from the SD card and send it to a Bluetooth A2DP device. The audio file must be available using 16 bit integers with 2 channels.
Audacity might help you out here: export with the file name audio.raw as RAW signed 16 bit PCM and copy it to the SD card. In my example I was using the file audio.raw.
The SD module is connected with the help of the SPI bus
Pins:
We connect the SD to the ESP32:
SD | ESP32 |
---|---|
VCC | 5V |
GND | GND |
CS | CS GP5 |
SCK | SCK GP18 |
MOSI | MOSI GP23 |
MISO | MISO GP19 |