Skip to content

Compiling for Arduino Uno R3 fails #1999

Answered by pschatzmann
mawidme asked this question in Q&A
Discussion options

You must be logged in to vote

The Arduino UNO just has not enough RAM and PROGMEM to use the AudioTools: to make it compile, I have deactivated the logger (in the AudioToolsConfig.h), but as you can see, even with this you run out of memory.

You can try to use some vs1053 and SD library only and just copy the data from your files to the vs1053 instead of using the AudioPlayer which implements a lot of functionality (including some recursive file retrieval).

The UNO R4, which has much more RAM might be a slightly better choice if you want to stick with Arduino boards.
However, I recommend to use some RP2040/RP2050 or better a ESP32 together with an I2S DAC which gives some perfect audio quality. This also allows you to…

Replies: 3 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@mawidme
Comment options

Answer selected by pschatzmann
Comment options

You must be logged in to vote
4 replies
@mawidme
Comment options

@pschatzmann
Comment options

@mawidme
Comment options

@pschatzmann
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1998 on April 04, 2025 16:50.