Close

Audio module

christoph-tackChristoph Tack wrote 10/09/2019 at 17:56 • 3 min read • Like

Most clocks use sound to wake you up.  This clock is no exception.

A little "DFPlayer Mini" module does all of that, also MP3 decoding.  It even includes a speaker driver.

Yue Xin YX5200-24SS module

! Check for short circuit between pin 3 and ground!  The corner of the SD-card connector is very close to pin 3.  Two of my boards had that issue.

Works like a breeze with the platformio.  Be careful to connect your module correctly.  I've already destroyed one by wrongly connecting it and nearly killed a second one.  Strange...the polarity is clearly marked on the module.

WTV020 module

GeneralPlus GPD2846A module

This module doesn't seem to allow control by a MCU, except through USB.

GeneralPlus GPD2856A module

This module doesn't seem to allow control by a MCU, except through USB.

PWM output

It doesn't look like there's already an established solution for the STM32 platform.  This will require lots of work.

The cheapest option would be to generate sound using PWM, but it requires some work.  The sound files also need special conversion before storing them to flash.  An output amplifier is needed for connection to a speaker.

Arduino Wave shield

It uses a MCP4921 DAC and an SD-card.  Both are SPI devices, but they're connected to a different bus.

Like

Discussions