Uploaded January 2019 | Updated September 2026, 34 minutes ago
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/lYZMFg
.
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/lYZMFg
.










![WALKMAN CLOCK
壊れた古いウォークマンにOLEDを入れて時計にしてみました。
電源が電池だとあまり持たないのでACアダプターを使っています。
ウォークマンは筐体として使っただけなので音楽を聞くことはできません。
時間を合わせるのはリモコン(OE13KIR)で行います。
マイコンのヒューズ設定は外部クロック8MHzにして、CKDIV8(1/8倍)は解除してください。
時間が少しずつズレてくる場合は、プログラム内のOCR1Bの値と「Milliseconds delay/day」と注釈を入れた行の_delay_ms()の値を変えて調整します。
OLEDは1.3インチ、128×64ドット、SPI、ドライバはSH1106です。
I made a clock by putting OLED in a broken old Walkman.
Since it doesnt operate for a long time in batteries, it uses AC adapter.
Because the Walkman is just a case, it doesnt work as a music player.
The time is adjusted by remote control (OE13KIR).
Please set the FUSE setting of the microcomputer to 8MHz external clock and cancel CKDIV8.
If the clock isnt keeping time, adjust by changing the value of OCR1B in the program and the value of [_delay_ms()] of the line annotated with Milliseconds delay/day.
The OLED is 1.3 inches, 128 x 64 dots, SPI, and the driver is SH1106.
【Circuit Diagram】
https://goo.gl/H5XD86
【Program】
https://yahoo.jp/box/TGSEjO
【SH1106 Datasheet】
http://www.allshore.com/pdf/SH1106.pdf
(2017年10月11日)
プログラムの時間を調整する部分と表示の一部に不具合があったため修正しました。 WALKMAN CLOCK](https://i.ytimg.com/vi/Dtq9f9ZGJTU/mqdefault.jpg)