This MP3 is just a prototype and is based on a female 3 pins jack that could be connected in this way: sleeve to ground, tip and ring respectively to speaker 1 and 2 on the 16P.
By the software side, songs can be skipped, paused and the volome can be regulated (all of this can be visualized by the OLED) by the joystick.
In order to insert songs, just put them in micro SD
---> (I numbered it with "01")


WIRING DIAGRAMS

VIDEO
https://youtube.com/shorts/T9hMwF5QtIE?feature=share (Sorry for overclicking, but this is probably because of "INPUT_PULLUP" of the "pp" variable. Maybe it could be solved thanks to a resistor and changing the previous PULLUP in PULLDOWN)
🛠️ เจาะลึกเบื้องหลังการทำงาน (Deep Dive / Technical Analysis)
The standard Arduino Nano uses the old ATmega328P chip. The Arduino Nano Every upgrades to the massively improved ATmega4809. This project proves why upgrading your processor allows for incredibly complex soundboard or DJ mixer capabilities without the system crashing.
Overcoming Software Serial Lag
When dealing with Serial audio players like the DFPlayer Mini, the Uno/Nano forces you to use the <SoftwareSerial.h> library on standard digital pins to communicate with the MP3 chip.
- The Problem: SoftwareSerial freezes the processor to manually read the
1s and0s over the pin. If you use it while running an I2C OLED screen and reading 10 analog dials, the audio will crackle and stutter severely! - The Nano Every Solution: The ATmega4809 has Multiple Hardware UARTs. You use
Serial1.print()directly on dedicated hardware pins! This frees up massive amounts of processing power.
Multi-Track Mixing and Queuing
With the free RAM and speed of the Every board, you can build a more complex audio player.
- You wire 10 massive arcade buttons to an IO expander.
- You create an array queuing system in C++. The user can mash 5 different buttons in rapid succession, and the Arduino Every remembers the queue, feeding the tracks flawlessly to the DFPlayer track by track in the correct order!
The Ultimate Soundboard Setup
- Arduino Nano Every: The 4809 3rd Generation Processor.
- DFPlayer Mini MP3 + MicroSD card.
- Arcade Push Buttons or Capacitive Touch Pads.
- 3 Watt 8-Ohm Speaker AND an external PAM8403 Amplifier if you want it incredibly loud!