Skip to content

dougofredo/esp-adf-spiffsBTstream

Repository files navigation

Bluetooth Source Example

This example will download an mp3 file from HTTP and decode it into PCM format, then push it to the BT Speaker through BT Source to play it.

To run this example you need a compatible audio board and BT Speaker (or you can use another audio board to run the pipeline_bt_sink example as a BT Speaker).

Compatibility

This example is will run on boards marked with green checkbox. Please remember to select the board in menuconfig as discussed is section Usage below.

Board Name Getting Started Chip Compatible
ESP32-LyraT alt text ESP32 alt text
ESP32-LyraTD-MSC alt text ESP32 alt text
ESP32-LyraT-Mini alt text ESP32 alt text
ESP32-Korvo-DU1906 alt text ESP32 alt text
ESP32-S2-Kaluga-1 Kit alt text ESP32-S2 alt text

Usage

Prepare the audio board and the BT Speaker:

  • Connect speakers or headphones to the board.
  • Switch the BT Speaker on.

Configure the example:

  • Select compatible audio board in menuconfig > Audio HAL.
  • Set up the Wi-Fi and BT connection in menuconfig -> Example Configuration -> Fill in Wi-Fi SSID & WiFi Password and BT remote device name.

Load and run the example:

  • The audio board will first connect to the Wi-Fi and the BT Speaker.
  • Then the audio board will start transmitting to play on the BT Speaker.

About

Playing mp3 files from spiffs to Bluetooth Device

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published