The RP2040 W is a microcontroller that provides a Bluetooth A2DP API which can be used to receive and process audio data e.g. from your Mobile Phone. The output is a PCM data stream decoded from SBC format.
The goal of this project is to make the full A2DP functionality available for the RP2040.
I am currently already providing an A2DP library for the ESP32.
The RP2040 W uses the bluekitchen btstack. There, you can find examples for a A2DP source and A2DP sink.
However, it seems that no SBC codec is provided with the RP2040.
I changed the examples to use C++ classes. I also added a proper integration with the Arduino Audio Tools so that you can use the
- Audio Sources (for the A2DP Source)
- Audio Sinks (for the A2DP Sinc)
- SBC codec
Currently I am supporting only SBC, but it should be quite easy to extend the functionality to support other codecs as well.
- Classes
- Further information about the RP2040 Bluetooth integration can be found in the pico documentation.
You need to install the following projects: