Hello everyone,
I’m working on an Arduino project with the AMB82-MINI board (based on Realtek RTL8735BDM SoC) and need to implement Bluetooth A2DP to stream audio from an SD card to a Bluetooth speaker. I’ve run into some issues and would appreciate any advice or experiences from the community.
Project Details:
Hardware: AMB82-MINI board,
Environment: Arduino IDE
Goal: Implement A2DP audio streaming (as an A2DP Source) to a Bluetooth speaker.
Issues:
I tried using the ESP32-A2DP library (e.g., pschatzmann/ESP32-A2DP), but it relies on ESP-IDF (requires esp_idf_version.h), which is incompatible with AMB82-MINI, causing compilation errors.
I couldn’t find clear documentation in the Realtek SDK or Ameba resources confirming A2DP support. Does the RTL8735BDM support Bluetooth Classic and A2DP?
Are there any Arduino-compatible A2DP libraries or example code for AMB82-MINI? Or would I need to use low-level Realtek SDK APIs?
Steps Tried:
Added #undef min and #undef max in my sketch to resolve macro conflicts with min/max.
Searched Realtek documentation and GitHub for A2DP resources for AMB82-MINI but found none.
Considered using an external Bluetooth module (e.g., BC127), but I’d prefer to use the built-in Bluetooth if possible.
Questions:
Does the RTL8735BDM in AMB82-MINI support A2DP? If so, are there Arduino-compatible A2DP libraries or examples available?
If the built-in Bluetooth doesn’t support A2DP, are there recommended external Bluetooth modules that integrate well with AMB82-MINI?
Has anyone successfully implemented A2DP audio streaming on AMB82-MINI? Could you share your approach or code?
Additional Info:
Compilation error: esp_idf_version.h: No such file or directory (due to using the incompatible ESP32-A2DP library).
I’d prefer to stick with the Arduino framework and avoid deep dives into Realtek SDK’s low-level code if possible.
Thank you for any suggestions, resources, or pointers! I can provide more details (e.g., sketch code or hardware setup) if needed.