Tutorial of MP3-TF-16P

30,029

20

12

Introduction: Tutorial of MP3-TF-16P

Description:

The MP3-TF-16P Player For Arduino is a small and low price MP3 module with an simplified output directly to the speaker. The module can be used as a stand alone module with attached battery, speaker and push buttons or used in combination with an Arduino UNO or any other with RX/TX capabilities.


Specification:

  • Supported sampling rates (kHz): 8/11.025/12/16/22.05/24/32/44.1/48
  • 24 -bit DAC output, support for dynamic range 90dB , SNR support 85dB
  • Fully supports FAT16 , FAT32 file system, maximum support 32G of the TF card, support 32G of U disk, 64M bytes NORFLASH
  • A variety of control modes, I/O control mode, serial mode, AD button control mode
  • Advertising sound waiting function, the music can be suspended. when advertising is over in the music continue to play
  • Audio data sorted by folder, supports up to 100 folders, every folder can hold up to 255 songs
  • 30 level adjustable volume, 6 -level EQ adjustable

Step 1: Material Planning

For this tutorial, the items needed to run this project are:

  1. Arduino Uno
  2. USB Cable type A to B
  3. SD Card
  4. Male to male jumper wire
  5. Resistor 1k ohm
  6. Speaker

Step 2: Hardware Installation

After complete your circuit, connect your Arduino Uno Board to your computer via USB Cable. You can see the LED on the MP3 will on. Make sure that the SD card had been installed in the mini MP3. The format of the song must be in MP3 file.

Step 3: Insert Source Code

  1. Download the test code and open it by using Arduino software or IDE.
  2. Make sure that you have choose the right board and the corresponding port. (In this tutorial, Arduino Uno is used)
  3. Then, upload the test code into your Arduino Uno.

Step 4: Video

Enjoy watch the tutorial!

Be the First to Share

    Recommendations

    • The 1000th Contest

      The 1000th Contest
    • Battery Powered Contest

      Battery Powered Contest
    • Hand Tools Only Challenge

      Hand Tools Only Challenge

    12 Discussions

    1
    eyadshurbaji523
    eyadshurbaji523

    6 months ago

    guys i tried the exact code with the exact steps, the moment i upload the code everything start getting hot (definitely something causing high damaging current through the circuit), anyone has any idea what's happening exactly?

    0
    agarwalmayank319
    agarwalmayank319

    Question 6 months ago

    I want to operate MP3-TF-16P mp3 module with ultrasonic sensor. Please send me code for it because my code is inappropriate.

    Please do it.

    0
    Va_Tech_EE
    Va_Tech_EE

    Tip 10 months ago

    If anyone want's a fast and easy to understand library to use with this module, I suggest using this one: https://github.com/PowerBroker2/DFPlayerMini_Fast. You can also download and install through the Arduino IDE's Libraries Manager (search "DFPlayerMini Fast").

    0
    RaViD48
    RaViD48

    Question 1 year ago

    Hello,
    I have connected the dfplayer with nodemcu and inserted the sd card(16gb),But when i power up esp8266,led of drplayer does not turn on.Though i have not connected speakers yet.
    I have tried it with arduino uno but no help.

    0
    SteveA163
    SteveA163

    Answer 11 months ago

    Same here. As soon as I connect the dfplayer chip to arduino 5V the arduino dies.

    0
    AbegailR
    AbegailR

    1 year ago on Step 3

    i tried the codes that i downloaded from this site but i got some trouble , error message"DFRobotDFPlayerMini.h:No files or directory".

    can someone help me? Thanks

    0
    SteveA163
    SteveA163

    Reply 11 months ago

    Did you get this answered? You have to install the DFRobot library and make sure the files are in the arduino's search path. #include <file name here.h> looks in main arduino library directory #include "file name here.h" looks in the local directory

    0
    ArjunG32
    ArjunG32

    1 year ago

    Why do we need the 1k ohm resistor?

    0
    mrjetas
    mrjetas

    Reply 1 year ago

    Because of the level conversion i.e. the UART on the module only supports the 3.3V-logic, whereas all GPIOs on the Arduino UNO are 5.5V. Actually you only need it for RX of the MP3 module as only the level coming from the Arduino is too high. The signal going out from TX of the MP3 module is anyway 3.3V. So you don't need to lower that one. If you do it's even worse as at some point the Arduino might not get the proper signal.

    0
    mrjetas
    mrjetas

    Question 1 year ago on Step 2

    Should the LED go really on after simple power on?
    Somehow, I doubt that because I read in Arduino forum that it only goes on when a song is playing. It would be really good to know this as I have to modules and none of them is working.

    0
    jkneejones
    jkneejones

    1 year ago

    Sample source code will not compile. I have correct board and port chosen.

    0
    tng1907
    tng1907

    Question 2 years ago

    Mp3-tf-16p modul isnt working sometimes, the blue led is off. Sd card has two 192 kbps songs. Where is the wrong?