Close

Audio module

Christoph TackChristoph Tack wrote 10/09/2019 at 17:56 • 2 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.

Yuexin YX5200-24SS module

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