https://github.com/lefucjusz/pico-w-a2dp-sink
Bluetooth A2DP Sink implementation for Raspberry Pi Pico W using BTStack.
https://github.com/lefucjusz/pico-w-a2dp-sink
a2dp audio bluetooth i2s rpi-pico-w
Last synced: 2 months ago
JSON representation
Bluetooth A2DP Sink implementation for Raspberry Pi Pico W using BTStack.
- Host: GitHub
- URL: https://github.com/lefucjusz/pico-w-a2dp-sink
- Owner: Lefucjusz
- License: gpl-3.0
- Created: 2025-03-02T19:46:26.000Z (3 months ago)
- Default Branch: master
- Last Pushed: 2025-03-05T18:24:52.000Z (2 months ago)
- Last Synced: 2025-03-05T19:24:46.345Z (2 months ago)
- Topics: a2dp, audio, bluetooth, i2s, rpi-pico-w
- Language: C
- Homepage:
- Size: 32.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Pico-W-A2DP-Sink
Bluetooth A2DP Sink implementation for Raspberry Pi Pico W using BTStack. This is nothing more than [the example from BTStack repo](https://github.com/bluekitchen/btstack/blob/master/example/a2dp_sink_demo.c), cleaned up from the redundant code and modularized for better readability.
Audio output is done via I2S bus implemented using PIO block and fed with data by chained DMA double-buffering mechanism.
## Functionalities
* A2DP Sink implementation using BTStack
* Advertises as Audio Class Loudspeaker (CoD 0x200414)
* I2S audio output
* Modularized code for better readability and easier modifications# Connections
## I2S
| Signal | Board GPIO pin |
|--------|----------------|
| SDO | GP28 |
| LRCLK | GP27 |
| BCLK | GP26 |