Mastering MP3 Player Busy Pin with Arduino & Audio-Visual Synchronization
ฝัง
- เผยแพร่เมื่อ 18 มิ.ย. 2024
- Explore the often-overlooked busy pin feature of the MP3 player module (MP3-TF-16P or DFPlayer mini) in this comprehensive tutorail, ideal for hobbyists and Arduino enthusiasts.
This third installment in our MP3 module series delves into practical applications like audio-visual synchronization, playback management, and user interface feedback, elevating your DIY projects to new heights.
Follow step-by-step instructions for wiring, coding, and integrating components like Neopixels for dynamic audio-responsive displays. Whether you're a beginner or an experienced tinkerer, this video will unlock new possibilities in your creative journey with microcontrollers.
Links:
Source code: github.com/thelastoutpostwork...
SciFi Sounds: www.101soundboards.com
SD Card Formatter: www.sdcard.org/downloads/form...
Components:
MP3 Player: amzn.to/40FqbzD
Neopixel Strip: amzn.to/3P4s5WS
Mini 2 Watts Speaker: amzn.to/47usgkA
Arduino Uno: amzn.to/3G0lHu4
🔔 Support the channel🔔
www.buymeacoffee.com/thelasto...
Please note that the product links are Amazon affiliate links. As an Amazon Associate, I earn from qualifying purchases at no additional cost to you. This helps support the channel and allows me to continue creating content for you. Thank you for your support!
Chapters:
0:00 Introduction to the Project
0:56 Step-by-Step Wiring: MP3 Module, Speaker, and Arduino Uno
1:50 Preparing the Micro SD Card for Use
3:49 Programming Tutorial: Playing an Audio File
6:56 Understanding the Busy Pin: A Guide
7:34 Detailed Wiring Guide for the Busy Pin
7:47 Programming Insights: Reading the Busy Pin
8:40 Implementing Code for LED Indicators During Audio Playback
10:00 Connecting Neopixels: Wiring Instructions
11:02 Programming Neopixels: Syncing Lights with Audio Playback
#ArduinoProjects #MP3Module #Microcontrollers #DIYElectronics #ArduinoUno #AudioVisualSync #HobbyistElectronics #MakerCommunity #CodingTutorial #TechDIY #tutorial - วิทยาศาสตร์และเทคโนโลยี
Nice video 😀
I liked how, due to the nature of the sound, the random neopixels seemed to match the audio, even though they were just random
👍
Yeah, I made it all the way to the end. Keep sharing your great work.
Good video, Charles. You've given me more things to think about for future projects.
These videos are great. I built a very simple MP3 player as a prototype for a museum, but just used buttons to trigger the DFplayer playback functions -- no MCU needed. Easy enough. Now I'm changing it up to use an Arduino Nano, and it will be used in a special project. Working with a local museum, I'm working on replacing the internal components of a WWII aircraft radio so while in flight, visitors can listen to radio recordings of D-Day from what appears to be a vintage radio. The hardest part of reusing the controls on the radio to to control audio playback.
Wow great project! Thanks for sharing
Thank you for this. I watched the entire video and enjoyed the detail within it.
Awesome, thank you!
Well done. Thank you!
Super video with very structured and helpful explanation of code and wiring - all thumbs up !!
Many thanks!
Very nice project.loved your work men..👌👍.
Awesome job, man! Greetings from Argentina 🎉 Canada is such a beatiful country! Recently visited Montreal and Ottawa with my family.
thanks a lot
Great content, thanks
Think I can use this LED idea on my Sith Wayfinder project. Just need to find a way of adding a PIR sensor to the MP3 player and arduino nano so that it automatically plays when picking up movement
What's the "Busy" voltage and current? Is it possible to turn on a single led using it?
Hi and thank you so much for such a helpful video! I have a 5 watt / 8 ohms speaker that i want to use for a project. Will it be okay if I connect the speaker to the DFPlayer Mini module? Or do i need an amplifier?
I am not really sure, I am not an expert in electronics, my concern will be that it could drive too much current for the module.
can you make that audio player connected in a Bluetooth via MIT APP INVENTOR?
Let's say I want to play an audio by sending a signal with the hc05 from an app, but it doesn't work and it doesn't work, would you make a tutorial about that?
I agree with @daveshillito... Was the led actually tied to the sound, even though the code is random? It's not possible to actually synch it is it.. i mean unless you add a sound analyzer, mic, and some logic i guess?
In the code, it is just random, it appears to sync with the sound, but it is not. It would require another component to actually get the sound level.
@@thelastoutpostworkshop right on, thx.. seems like too much extra when it's damn close 💯
.. great work BTW.. that was the exact post I needed, the BUSY pin was totally unknown to me till now 👍
Hello! First of all I would like to thank you for this video and the good explanations. They are very useful and interesting.
Secondly, I have tried to build this project exactly as in the video but I have a problem and I don't understand why. I have a 16GB SD card (hama) and I put a mp3 file on it, a song downloaded from youtube using mp3 converter online. After the mp3 is initialized the song doesn't start to play. The busy pin is always 1. I have checked the wires thousand times without any result. I have also displayed in the serial monitor the number of files on my SD card and the result was kinda weird because it was displaying "-1". I have tried also with another SD card and I had the same result. What can I do to solve this problem?
try format your SD card with www.sdcard.org/downloads/formatter/
@@thelastoutpostworkshop did that. I forgot to mention, sorry
Copy your code here
hi bro.Have a good time. i have one problem. for example in this code
else if (inputvalue == '3') {
mp3.playTrackNumber(5, 30);
}
else if (inputvalue == 't') {
}
what code need for stop mp3 file in secend else if ? thanks
try this : mp3.stop();
didint work with if :(
copy the whole section of the code
@@thelastoutpostworkshop sorry I had a problem. I couldn't answer. stil not working This shit ain't gonna stop.😂. You don't have any other code ?
Are you a Star Wars light side fan or dark side?
Both!