Diy Audio Memes Button (arduino + Dfminimp3)

Photo of alexkaut

Made by alexkaut / Lights / Music

About the project

A button that plays mp3 files uploaded to a micro SD card. The project is based on the Arduino board and the DFminiMP3 audio module

Project info

Difficulty: Easy

Platforms: Arduino

Estimated time: 2 hours

License: GNU General Public License, version 3 or later (GPL3+)

Items used in this project

Hardware components

220 ohm Resistor 1/4 Watt 220 ohm Resistor 1/4 Watt x 2
100 ohm Resistor 1/4 Watt 100 ohm Resistor 1/4 Watt x 1
Arduino Pro Mini 328 - 3.3V/8 MHz Arduino Pro Mini 328 - 3.3V/8 MHz x 1
DFminiMP3 DFminiMP3 x 1
Lithium Ion Battery - 18650 Cell (2600mAh) Lithium Ion Battery - 18650 Cell (2600mAh) x 1
18650 2x-case 18650 2x-case x 1
Button with a lock Button with a lock The button to turn on the audio x 1
Toggle switch Toggle switch To turn on/off the device x 1
TP4056 TP4056 x 1
Adressable LED strip Adressable LED strip x 1
Speaker - 0.5W (8 Ohm) Speaker - 0.5W (8 Ohm) x 1

View all

Software apps and online services

Arduino IDE Arduino IDE
Python Python If there are a lot of mp3 files, a script will be useful to rename them and get an array with file lengths

Hand tools and fabrication machines

Soldering iron Soldering iron x 1
Wire cutters Wire cutters x 1
Arduino Programmer, if you want to use Arduino Pro Mini 3.3V. I used USB TTL (UART) Arduino Programmer, if you want to use Arduino Pro Mini 3.3V. I used USB TTL (UART) x 1

Story

Initially, I was asked to assemble two such buttons for an event. I was given a clear TK - they were supposed to glow yellow and produce a ringing sound. The project is simple, so I coped with it quickly enough. And while testing the firmware, friends suggested uploading some kind of joke there instead of a beep. We uploaded music, memes, and so on to the button, recorded it on video, and dropped it into chats. Everyone liked it very much, someone started asking to assemble such a button to order. After completing the project, I ordered more lamps in the form of a keyboard key and improved the firmware - instead of one color and one audio file, the button glows in a random color and plays many audio files in a random sequence 


Schematics, diagrams and documents

Arduino Pro Mini 3.3V schematic

Code

Arduino Firmware

Credits

Leave your feedback...