Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bluetooth A2DP Support #144

Open
djcand opened this issue Feb 3, 2025 · 1 comment
Open

Bluetooth A2DP Support #144

djcand opened this issue Feb 3, 2025 · 1 comment

Comments

@djcand
Copy link

djcand commented Feb 3, 2025

Hello Guys! Is there any workaround to have Bluetooth A2DP Functionality with the yoradio?
That Would be really great.
Thank You!

@trip5
Copy link
Contributor

trip5 commented Feb 13, 2025

I think because the ESP32 outputs to a hardware decoder which then outputs audio, you can't do it internally as part of yoradio. That would be next to impossible as part of this project. There are probably other projects that do software decoding that would be able to use the ESP32's builtin bluetooth ability.

It would seem the best way to do this is with a bluetooth transmitter that either plugs into a headphone jack or taps into the audio output directly. This is the easiest way, especially if you just want bluetooth audio and no speakers. These things are between $2-20 on Aliexpress...

Assuming you want both speaker and bluetooth available... There could be a much more complicated way, wherein a transistor locks the bluetooth module to power on using a GPIO as a switch and then cuts the audio output... but this would be non-trivial to program and add numerous extra parts. It might be easier just to have a physical toggle switch that switches between speaker and bluetooth mode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants