Arduino Magic: Navigating MP3 Files with Rotary Encoder | MP3 Player Project Series

Ғылым және технология

Welcome, fellow builders! This second video in our MP3 Player Project Series (MP3-TF-16P or DF Player Mini) takes you on a thrilling journey of navigating MP3 files using a rotary encoder with Arduino. With simple turns, you'll be able to browse your MP3 list on your SD card, just like I did with my Star Wars Communications Interceptor!
This tutorial stands alone but if you need any further insights on MP3 player troubleshooting and SD card preparation, see this video: • Master the MP3-TF-16P ...
🔔 Support the channel🔔
www.buymeacoff...
Get the Code here :
github.com/the...
MP3 Player Project Series : • Arduino MP3 Player Series
ScFi MP3 Sound:
www.101soundbo...
Rotary Encoder:
amzn.to/3Cj7t61
MP3-TF-16P DFPlayer Mini:
amzn.to/40FqbzD
Arduino 2 watts speaker:
amzn.to/3Xmsswx
Arduino Nano:
amzn.to/3HOhNF9
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 Getting Started: Introduction
0:50 Diving Into the Details: Wiring Process
4:50 Ready, Set, Load: Copying Files onto SD Card
6:15 Setting the Stage: Code Preparation
7:43 Essential Tools: Library Installation
8:54 Witness the Magic: Rotary Encoder Demonstration
12:56 Behind the Scenes: Code Walkthrough
#Arduino #MP3Player #RotaryEncoder #DIYProjects #TechTutorial #StarWarsProps #Electronics #Coding #beginners #tutorial #guide #stepbystep

Пікірлер: 22

  • @michealafton1
    @michealafton19 ай бұрын

    Love this project! Am thinking of making something similar this was so helpful!

  • @richardphillips1891
    @richardphillips18919 ай бұрын

    I appreciate the various Arduino and ESP32 videos you've done. I tried doing this one on an ESP32 but don't quite have the knowledge of how to do it. It worked as you described on my Arduino UNO R3 (Elegoo version). I do have a large number of mp3 files on my micro SD card so the count and random features didn't quite work as you described. Would you consider doing a video on how to do this same project using an ESP32? I've been playing with the ESP32s and loading up numerous features on them because of their faster speeds and more memory. I share your enthusiasm regarding Star wars and really like the various displays you've developed and adding sounds is fun. Thank you.

  • @thelastoutpostworkshop

    @thelastoutpostworkshop

    9 ай бұрын

    Thanks for the suggestion, I will add it to my list.

  • @cisiel1
    @cisiel12 ай бұрын

    Great thanks for good explanations. How to change the code when I have 2 minute track and I want it to stop playing after 1 second when I stop spinning encoder? Enyone?

  • @ikevz3881
    @ikevz38815 ай бұрын

    How can I change or stop the song? you should show all the functions of the library

  • @adeltabsh8578
    @adeltabsh8578 Жыл бұрын

    Hi Wonderful project! I have a special needs kid who loves turning knobs. I have bought him several old fashioned radios (with knobs) and he plays with them all day! I was in the middle of making a very similar project like yours. Here are some ideas that I need in addition to all of your nice work: 1- it needs to run on a rechargeable li-ion battery so is it possible to use 3.3 volts instead of 5v? It spares me having to boost the 4.2volts from the battery 2- it needs to go to very low power mode if the knob is not turned for over m-minutes. Then it comes to life after the knob is turned. This is to allow the child to go to sleep and save battery. 3- it would be nice to set the volume level by pressing and holding the knob for say x seconds. Then turning the knob left or right would play a test track at that volume level. If no knob turning is detected for more than y seconds, then knob function would return to normal 4- a config.txt file contains all the variables can be saved to the sd card (m,x,y) I intend to plant this device inside his favourite stuffed teddy bear which he takes to bed to help home sleep. He is 29 years old with the brain capabilities of a 4 year old. Thank you SO much!

  • @thelastoutpostworkshop

    @thelastoutpostworkshop

    Жыл бұрын

    Wow that' a good plan!

  • @jonicurn100
    @jonicurn100 Жыл бұрын

    I love Arduino and Star Wars as well. Your work is really good. When we go to DisneyWorld, we see lots of Starwars props but I never knew the work that was involved. Thanks for posting this. Recently, I was able to make mp3 selections using a 4x4 keypad (only 16 choices). However, I would like to use the keypad to select 100+ tracks (and show the chosen selection number on LCDi2c) but I have been unsuccessful. I am going to keep watching tho because I'm learning from you.

  • @thelastoutpostworkshop

    @thelastoutpostworkshop

    Жыл бұрын

    Thank you very much!

  • @MichaelSchubertPhoto

    @MichaelSchubertPhoto

    4 ай бұрын

    I wanted to also create a project to selectup up to 16 songs with different buttons. How did you get this done?

  • @mvd0ae_876
    @mvd0ae_8764 ай бұрын

    Hi, do you know if it is possible to control volume with an encoder as well? and play/stop functions with a button or something similar?

  • @thelastoutpostworkshop

    @thelastoutpostworkshop

    4 ай бұрын

    Yes it possible. If you look at this project : kzread.info/dash/bejne/X4ZkzqiAhbqWZrA.html, I am using an encoder for volume control

  • @colinward322
    @colinward322 Жыл бұрын

    Would be great if you could add an LCD 20x4 menu display.

  • @thelastoutpostworkshop

    @thelastoutpostworkshop

    Жыл бұрын

    Great suggestion!

  • @diodematrix3738
    @diodematrix373810 ай бұрын

    Great little project, is there a way to display the file name thats playing on an oled display.

  • @thelastoutpostworkshop

    @thelastoutpostworkshop

    10 ай бұрын

    Yes it could be done, there a method to get the filename from a file number

  • @sanjayadulankateamlead-tra5874
    @sanjayadulankateamlead-tra587411 ай бұрын

    Suggest to add a display😏

  • @antonionava9428
    @antonionava942811 ай бұрын

    I can use a push button?

  • @thelastoutpostworkshop

    @thelastoutpostworkshop

    11 ай бұрын

    Yes you could adapt the code to use a push button instead, for exemple a push goes to the next sound and a long push reverse the direction

  • @antonionava9428

    @antonionava9428

    11 ай бұрын

    @@thelastoutpostworkshop Can you make a video using several buttons to play different audios? I tried to do it but it didn't work for me.

  • @MichaelSchubertPhoto

    @MichaelSchubertPhoto

    4 ай бұрын

    @@antonionava9428I would also love to see multiple buttons that play different songs/audio files.

  • @TheUnofficialMaker
    @TheUnofficialMaker Жыл бұрын

    mp3 burglar alarm

Келесі