cancel
Showing results for 
Search instead for 
Did you mean: 

How to Use STM32 for a DIY Music Streaming Device (Inspired by Open-Source Apps)

notmerry3322
Visitor

I’m working on a DIY project that combines embedded audio hardware with the functionality of open-source music streaming apps — like BlackHole APK and ViMusic. My goal is to build a portable music streaming device (offline or Bluetooth-based), powered by STM32 + external DAC + Bluetooth module, that can pull content from a paired phone running an open-source app.

Here’s what I’m exploring so far:


:wrench: Concept Setup:

  • MCU: STM32F4 series (considering its DSP and audio capabilities)

  • Audio Output: I2S interface + external DAC (PCM5102A)

  • Bluetooth: HC-05 or newer BLE modules

  • Storage: SD card or onboard flash for offline playback

  • Power: Rechargeable Li-Po + charging circuit (TP4056)


:light_bulb: Inspiration from Open-Source Apps:

I've been testing apps like BlackHole APK and ViMusic, which support offline downloads, high-quality streaming (320kbps), and clean UIs. I run a small project blog at bhapk.com where I write about these apps and how they can be used beyond smartphones — like powering offline devices or custom Android builds.


:question_mark: What I Need Help With:

  • Any STM32 models you’d recommend specifically for low-latency audio handling?

  • Best way to buffer and stream audio over Bluetooth from a phone to STM32?

  • Should I integrate a basic UI (OLED) or go headless and control via phone app?

  • Any examples of STM32 + Bluetooth + Audio codec projects to learn from?

I’m open to suggestions on modules, firmware libraries (HAL, LL, STM32Cube), and even real-time OS ideas if needed for smoother streaming.

Thanks in advance — I’ll document the build on the blog as it evolves!

Best regards,
Mr Blogger
https://bhapk.com

0 REPLIES 0