MP3 DFPlayer Mini and PIC MCU


Closed Thread
Results 1 to 14 of 14

Hybrid View

  1. #1
    Join Date
    Oct 2004
    Location
    Porto - Portugal
    Posts
    28

    Default MP3 DFPlayer Mini and PIC MCU

    Hello to all

    Does anyone in this knowledge comunnity ever used an MP3 player like "FN-M16P Embedded MP3 Audio Module" and did successfully controlled the player with a (any) PIC MCU.

    Thanks in advance

    Vicente
    Attached Images Attached Images
    nomada

  2. #2
    Join Date
    Mar 2003
    Location
    Commerce Michigan USA
    Posts
    1,166


    Did you find this post helpful? Yes | No

    Default Re: MP3 DFPlayer Mini and PIC MCU

    This is real interesting. It looks to be rather straight forward to operate.
    Dave Purola,
    N8NTA
    EN82fn

  3. #3


    Did you find this post helpful? Yes | No

    Default Re: MP3 DFPlayer Mini and PIC MCU

    I have used this http://geekmatic.in.ua/pdf/Catalex_MP3_board.pdf

    ebay

    https://www.ebay.co.uk/itm/Wemos-YX5...0AAOSwatda0Odb

    TTL 3.3-5v

    Made a speaking clock with it, also used some other similar modules but not tried yours.

    Just found my youtube link to it



    forget what account I had used !!
    Last edited by aerostar; - 27th June 2018 at 19:52. Reason: extra info

  4. #4
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    3,807


    Did you find this post helpful? Yes | No

    Default Re: MP3 DFPlayer Mini and PIC MCU

    Are DFPlayer and FN-16 the same one?

    Anyway, here are my snippets using the DFPlayer module:

    Code:
    'Set volume
    hserout [$7e,$ff,$06,$06,$00,$00,$07,$fe,$ee,$ef]   'Volume 7/30
    
    pause 500
    
    'Play track 3
    hserout [$7e,$ff,$06,$03,$00,$00,$03,$fe,$f5,$ef] 'Play 3rd track in folder 00. Dial tone
    ......
    hserout [$7e,$ff,$06,$03,$00,$00,$02,$fe,$f6,$ef] 'Play error tone, 2nd track in folder 00
    
    error:
        hserout [$7e,$ff,$06,$03,$00,$00,$01,$fe,$f7,$ef] 'Play message, 1rst track in folder 00
        ......
    
    start1:
        hserout [$7e,$ff,$06,$11,$00,$00,$00,$fe,$ea,$ef]' Stop playing
    .......
    The above are part of a bigger program but you get the idea of using volume and play/stop commands.

    Ioannis

  5. #5
    Join Date
    Oct 2004
    Location
    Porto - Portugal
    Posts
    28


    Did you find this post helpful? Yes | No

    Default Re: MP3 DFPlayer Mini and PIC MCU

    Hello to all

    Ionnis you are right, soon after I started this thread, I have found that when I ordered the FN-M16P, the module I received is identified as DFPlayer Mini SKU DFR0299 or SKU 204222 depending on the supplier.

    I've tried the module and it seems to work nice (for the price), the stereo hearphones out has a very good quality not so good is the 3W powered output (mono out).

    If any of you plan to use this module do not use checksum and try each module to check if returns the power-on status, if not discard the module because it will never work good.

    Thank you (obrigado!) to you all for your replies and contribution - Dave Purola - aerostar - Ioannis

    Vicente
    nomada

  6. #6
    Join Date
    Feb 2013
    Posts
    1,078


    Did you find this post helpful? Yes | No

    Default Re: MP3 DFPlayer Mini and PIC MCU

    Is it possible to use it with software serial port, instead of hserout?

  7. #7
    Join Date
    Feb 2013
    Posts
    1,078


    Did you find this post helpful? Yes | No

    Default Re: MP3 DFPlayer Mini and PIC MCU

    And how big is delay?
    These modules also support WAV file playback, so my idea is to load a bunch of samples, say 32 different wav files, and create music keyboard

Similar Threads

  1. Any 8 pin PIC MCU, that can use MCLR as ADCIN or output?
    By CuriousOne in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 11th December 2016, 19:38
  2. ABS brake Pic code with 16f917 mcu
    By Foodie in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 26th November 2009, 20:58
  3. interaction between Bluetooth and PIC MCU
    By veenadari in forum Bluetooth
    Replies: 1
    Last Post: - 23rd June 2009, 15:03
  4. Block diagram for PIC based mp3 player
    By joseph Degorio in forum Schematics
    Replies: 13
    Last Post: - 18th December 2007, 16:13
  5. mini speaker
    By Ron Marcus in forum Off Topic
    Replies: 3
    Last Post: - 4th March 2007, 23:43

Members who have read this thread : 3

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts