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

Sdílet
Vložit
  • čas přidán 3. 07. 2024
  • 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.buymeacoffee.com/thelasto...
    Get the Code here :
    github.com/thelastoutpostwork...
    MP3 Player Project Series : • Arduino MP3 Player Series
    ScFi MP3 Sound:
    www.101soundboards.com
    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
  • Věda a technologie

Komentáře • 22

  • @michealafton1
    @michealafton1 Před 7 měsíci +1

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

  • @ikevz3881
    @ikevz3881 Před 3 měsíci +1

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

  • @richardphillips1891
    @richardphillips1891 Před 8 měsíci +2

    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.

  • @jonicurn100
    @jonicurn100 Před rokem

    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.

  • @cisiel1
    @cisiel1 Před 20 dny

    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?

  • @adeltabsh8578
    @adeltabsh8578 Před 10 měsíci

    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!

  • @mvd0ae_876
    @mvd0ae_876 Před 3 měsíci

    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  Před 3 měsíci

      Yes it possible. If you look at this project : czcams.com/video/-R0lFGUW06M/video.html, I am using an encoder for volume control

  • @colinward322
    @colinward322 Před 11 měsíci +1

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

  • @diodematrix3738
    @diodematrix3738 Před 9 měsíci

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

  • @sanjayadulankateamlead-tra5874

    Suggest to add a display😏

  • @antonionava9428
    @antonionava9428 Před 10 měsíci

    I can use a push button?

    • @thelastoutpostworkshop
      @thelastoutpostworkshop  Před 10 měsíci

      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 Před 10 měsíci +1

      @@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 Před 3 měsíci

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

  • @TheUnofficialMaker
    @TheUnofficialMaker Před 10 měsíci +1

    mp3 burglar alarm