MP3 Player with DFPlayer Mini

Поделиться
HTML-код
  • Опубликовано: 7 сен 2024
  • DFPlayer MiniでMP3プレーヤーを作ってみました。
    DFPlayer Miniでスピーカーを鳴らすときは電圧を4~5Vにした方が安定します。
    Audio Output端子(DAC_L, DAC_R)を使う場合は3.3~5VでOKです。
    停止状態でもNextまたはPreviousを押すとその回数だけ曲を送ることができ、Playで曲が始まります。
    Pauseで一時停止中にNextまたはPreviousを押すと次の曲または前の曲が再生を始めます。
    Intro Searchは曲の最初の5秒間だけを順番に再生します。
    Intro Search中はNextとPreviousは有効で、その曲を全部聞きたい場合はPlayを押します。Pauseは無効です。
    マイコンのPC0-PC3,PD2-PD5につなぐ16キーは1~16曲目を直接選曲できます。(この動画内では省略しています)
    PC4のContinuation or Only One Songは何もつながないと曲を連続で再生し、GNDにつなぐと一曲のみ再生して停止します。
    曲順はSDカードに記録した順番です。
    SDカードを入れ替えた時は電源を入れ直してください。
    正確な曲数が認識されない場合はSDカードをフォーマットしてから曲を記録してください
    I made MP3 Player with DFPlayer Mini.
    When you use a speaker at DFPlayer Mini, it is more stable to set the voltage at 4V-5V.
    When using the Audio Output terminal (DAC_L, DAC_R) it is OK at 3.3V-5V.
    Even in the stopped state, pressing Next or Previous will send the songs that many times, and the song will start with Play.
    If you press Next or Previous while paused at Pause, the next song or the previous song will start playing.
    Intro Search plays back a 5-second segment from the beginning of each song.
    During Intro Search Next and Previous are valid, and press Play if you want to listen to all the songs. Pause is invalid.
    The 16 keys that connect to the PC0-PC3 and PD2-PD5 of the microcontroller can directly select the 1st - 16th songs. (It is omitted in this video)
    PC4 "Continuation or Only One Song" plays songs continuously unless anything is connected, and plays only one song and stops when connected to GND.
    The order of the songs is the order recorded on the SD memory card.
    Please turn the power off and on again when replaced the SD memory card.
    If the microcontroller does not recognize the exact number of songs, format the SD memory card and record the songs.
    【Circuit Diagram】
    goo.gl/RTiFMK
    【Program】
    yahoo.jp/box/l...
    .

Комментарии • 8