MakeA Wishlist Open The Clipboard Tab Clossed If Clicked Freeonlineusers Di Blog Mengubah Domain Biasa Ke Kode Untuk Banner Banner Marquee(Bergerak) Redirect Ctrl + U Post Footer Berbackground Memasang Footer Sendiri Stylish Post Title Mendapatkan URL Lagu Lewat Soundcloud Menukar Posisi SCM Player Screenshot Di Komputer atauPada tutorial sebelumnya saya menjelaskan cara pembuatan mp3 player dengan kontrol 2 buah tombol dan Kontrol mode Analog to Digital. Untuk mempelajari tutorial tersebut silahkan kunjungi TUTORIAL DFPLAYER MINI MP3-TF-16P MP3 PLAYER STANDALONE . Untuk mengakses DFPLAYER MINI MP3-TF-16P MP3 PLAYER menggunakan arduino ini terbilang sangat mudah. Di sini saya menggunakan Arduino Uno, karena Arduino Uno ini jenis yang paling umum di daerah saya. Untuk mempermudah mengakses DFPLAYER MINI MP3-TF-16P MP3 PLAYER ini kita membutuhkan sebuah library arduino. Library ini sudah saya sediakan, jadi tinggal di download saja di sini. Mengakses DFPLAYER MINI MP3-TF-16P MP3 PLAYER menggunakan Arduino yaitu melalui komunikasi serial pin RX dan TX. Berikut adalah contoh sederhana menggunakan module DFPLAYER MINI MP3-TF-16P MP3 PLAYER melalui Arduino. DFPLAYER MINI MP3-TF-16P MP3 PLAYER dengan Arduino Pada rangkaian di atas terdapat resistor pada kabel TX, ini berfungsi untuk menahan noise pada modul DFPLAYER MINI MP3-TF-16P MP3 PLAYER yang dapat mengganggu output pada mengakses DFPLAYER MINI MP3-TF-16P MP3 PLAYER seperti pada rangkaian di atas menggunakan Arduino perlu menambahkan library bernama SoftwareSerial-master. Library ini berfungsi untuk memindahkan pin RX dan TX arduino pada pin juga memerlukan library DFPlayer_Mini_Mp3 yang akan membantu kita untuk menyederhanakan program perintah pada module tersebut. File yang dapat terbaca oleh module DFPLAYER MINI MP3-TF-16P MP3 PLAYER harus berformat “.mp3”.Untuk cara menyimpan file mp3 supaya terbaca oleh modul DFPLAYER MINI MP3-TF-16P MP3 PLAYER ini sudah saya jelaskan di tutorial sebelumnya, yaitu TUTORIAL DFPLAYER MINI MP3-TF-16P MP3 PLAYER STANDALONE. Download file DFPlayer_Mini_Mp3SoftwareSerial-masterSource CodeFile mp3 Di bawah ini Source Code memutar file tertentu //DFPLAYER MINI MP3-TF-16P MP3 PLAYER //PLAY dengan memanggil nama file mp3 include //memanggil library SoftwareSerial include //memanggil library DFPlayer mini SoftwareSerial mySerial3, 2; // Declare pin RX & TX //TX DF Player disambung ke pin D3 //RX DF Player disambung ke pin D2 melalui const int busyPin =4; void setup { pinMode busyPin, INPUT; 9600; mp3_set_serial mySerial; //set softwareSerial for DFPlayer delay10; mp3_reset; //soft-Reset module DFPlayer delay10; //wait 1ms for respon command mp3_set_volume 15; //set Volume module DFPlayer, bisa diatur hingga maksimal 25 delay1000; } void loop { mp3_play 1; //Play mp3 dalam folder mp3 di memory delay 10000; mp3_play 2; //Play mp3 dalam folder mp3 di memory delay 9000; mp3_play 3; //Play mp3 dalam folder mp3 di memory delay 11000; mp3_play 4; //Play mp3 dalam folder mp3 di memory delay 11000; // setelah play selesai akan kembali ke baris awal pada void loop, yaitu play } Source Code untuk memutar semua file secara berurutan. //DFPLAYER MINI MP3-TF-16P MP3 PLAYER //PLAY ALL dengan delay 15 detik include //memanggil library SoftwareSerial include //memanggil library DFPlayer mini SoftwareSerial mySerial3, 2; // Declare pin TX & RX //TX DF Player disambungkan ke pin D3 //RX DF Player disambungkan ke pin D2 melalui R const int busyPin =4; void setup { pinMode busyPin, INPUT; 9600; mp3_set_serial mySerial; //set softwareSerial for DFPlayer delay10; mp3_reset; //soft-Reset module DFPlayer delay10; //wait 1ms for respon command mp3_set_volume 80; //set Volume module DFPlayer delay1000; } void loop { mp3_play 1; //Play mp3 dalam folder mp3 di memory //memainkan file berikutnya jika lagu sebelumnya sudah selesai if busyPin == HIGH { mp3_next ; } //memainkan file s/d selama 15detik/file secara berurutan for int i=1; i<=10; i++{ mp3_play i; delay15000; } } Demikianlah tutorial mengakses DFPLAYER Mini MP3 dengan Arduino. Terimakasih telah berkunjung ke blog saya. Semoga tulisan ini bermanfaat bagi banyak orang. Tonton Video
DFPLAYERMINI MP3-TF-16P MP3 PLAYER dengan Arduino. Pada rangkaian di atas terdapat resistor 4.7kΩ pada kabel TX, ini berfungsi untuk menahan noise pada modul DFPLAYER MINI MP3-TF-16P MP3 PLAYER yang dapat mengganggu output pada speaker. Untuk mengakses DFPLAYER MINI MP3-TF-16P MP3 PLAYER seperti pada rangkaian di atas menggunakan Arduino perlu menambahkan library bernama SoftwareSerial-master. Library ini berfungsi untuk memindahkan pin RX dan TX arduino pada pin lain.
Introduction Make MP3 PlayerI am still looking for the right housing for the make mp3 player kit. It sounds really nice. But I have yet to find the right box to drop it in. Step 1 Tools and PartsTools Required Wire StrippersPliersHelping HandsSoldering ironDrill DremelParts RequiredMake MP3 Player KitProject BoxReturn to Center DPST Toggle Switches 3SPST Toggle Switch 1 LEDLED HolderPower Plug5v Power Source150 ohm resistor Yes I have an extra switch shown... I can't count. Step 2 Assemble Make KitAssemble to make mp3 kit, it comes with great instructions. I did use a small piece of solderless breadboard instead of soldering right to the make kit, Step 3 Cut Holes for Mounting KitCut some holes in the bottom of the project box to mount the kit. I used a marker to mark the holes in the box. Step 4 Holes in the Side Cut holes in the side of the project box to allow the SD card to be changed and for a headphone cord to be inserted. I used a dremel with the cut off wheel for this. Step 5 Cut Holes for SwitchesLayout your switches and LED light, plus power connector, mark the spot and drill holes. I can't count and added an extra switch... Step 6 Wire the LEDWire up your LED, I solder the 150ohm resistor in line with the positive leg of the LED, then send the other side of the positive to the positive line in your piece of solderless breadboard Step 7 Power SwitchSolderup your power switch, one leg to the postiive end of the power connector. The other to the +5 pin on the make mp3 kit. Step 8 Toggle SwitchesI had used momentary switches in the past and didn't like the look. For this I purchased the spring loaded toggle switches and think the work and look cool. On the kit you send the pins a negative load to activate them. So run negative to the middle, and then two other wires from the switch. I soldered all three switches off of on piece of wire to make it easier to run the wires. Step 9 Add the SwitchesAdd the switches to the cover and then run the wires to the correct spot on the solderless breadboard. D0 - Track Up D1 - Track Down D2 - Volume Up D3 - Volume Down D4 - Pause D5 - Zero/Stop Step 10 Try It OutTry it out. I am excited about thise version. But I'd still like to find the right case.2007 Cara Membuat MP3 di Blog No comments. pada artikel ini saya akan membahas Cara membuat MP3 Player di BLOGGER untuk menambah widget mungkin widget yang satu ini boleh anda pakai, karena bisa membuat Pengunjung tidak bosan karena dengan mendengar lagu yang enak di dengar, dengan Fungsi bisa tidak langsung Play dan ada juga yang AutoPlayBismillahirahmanirahim, mp3 player adalah radas yang digunakan untuk memainkan dengan dimensi mp3, jadi ini banyak kita jumpai lega perangkat pemutar irama yang bercap misalkan simbadda, polytron dan lain tidak. Sebenernya kita bisa lakukan perkakas itu dengan mudah dan murah, tidak takhlik tapi merakit karena modulnya sudah banyak yang jual dan harganya cukup murah. Makin murah pecah harga selongsong kuota internet kalian barangkali hehe. Seperti segala alatnya mari kita baca artikel dibawah ini. Sebelumnya kita harus membeli modul sampai-sampai adv amat bisa online banyak Modul yang digunakan Mp3 Decoder Amplifier Audio Player Module Speaker 4 Ohm / 10 Watt Tombol 4 buah Kabel Usb dan Kabel Jumper Setelah kita membeli modul modul tersebut kita merakitnya sesuai pernah dibawah ini Bikin spesifikasi modul Mp3 Player dibawah ini Board Mp3 Player sejadi dipasang plong mobil ataupun modifikasi lega biang keladi, Home Audio. File lagu boleh dari flashdisk dan SD Card. Untuk membangkitkan module mp3 ini bisa mengguanakan power bank alias charger batere tegangan V – 5V. Sudah dilengkapi Mini Amplifier 3 watt output sehingga bisa simultan dihubungkan ke mini speaker atau headphone. Dilengkapi setopan speaker, famale headphone mm, connector power micro USB untuk sumber tegangan. Support Flashdisk Up to 32 GB SD Card / TF Card Up to 16 GB Format Board 45×36 mm Cara pemakaianan Support Format Mp3, auto play Mempunyai 4 biji zakar cembul Button Prev/V– Tekan sekali untuk track mundur lagu, tekan lama kerjakan menurunkan volume celaan Button Next/V++ Tekan sekali bagi track maju, tekan lama bagi menaikan volume kritik Button P/P/Kecenderungan tekan sekali bagi Play/Selang antara, tekan lama untuk pindah sumber file lagu dari flashdisk alias SD Card Button Repeat Tekan sekali bagi fungsi repeat single dan repeat all Note Untuk kenop saya paralel dengan kenop external karena saya membuatnya menggunakan box seperti mana video dibawah ini, tapi bikin fungsinya masih sama hanya memparalel interelasi cembul di modul tersebut Lakukan video youtubenya dapat di asal ini Sekian artikel tentang Membuat Mp3 Player Terbelakang Seharusnya bermanfaat bermula goresan ini terus membuat sesuatu nan berguna salam dari saya
Procurando um módulo MP3 para o seu projeto? O módulo MP3 DFPlayer Mini é compacto, tem baixo consumo de energia e se saiu muito bem nos testes, mostrando ser uma ótima alternativa para você que pretende utilizar música ou efeitos sonoros de forma simples e eficiente. Com este módulo você pode criar sistemas de som, avisos, alarmes inteligentes e outros projetos na área maker, automação industrial e IoT Internet das Coisas. Utilize por exemplo para emitir um aviso sonoro quando um sensor atingir determinada temperatura, tocar uma música quando determinada tarefa for finalizada ou executar comandos de voz para guiar o usuário em ações que devem ser executadas. O Módulo MP3 DFPlayer Mini O módulo é muito parecido fisicamente com o WTV020-SD, que já vimos aqui no Arduino e Cia, mas o DFPlayer Mini tem dois grandes diferenciais, na minha opinião a possibilidade de conexão de um alto-falante de até 3W sem que você precise utilizar um amplificador, e a capacidade de executar arquivos MP3 sem nenhum tipo de conversão. Na imagem abaixo temos a pinagem do módulo, onde vemos as conexões RX/TX para comunicação serial e controle utilizando um microcontrolador como Arduino ou outro microcontrolador/placa que tenha interface serial/UART, pinos ADKEY para utilização de um teclado analógico, saída para alto falante SPK_1 e SPK_2 e também os pinos DAC, se você preferir ligar o seu DFPlayer Mini em um amplificador. Você pode alimentar o módulo com tensões entre e 5VDC. O DFPlayer Mini suporta sampling rates de 8/ KHz, tem saída DAC de 24 bits, suporta cartões micro SD de até 32GB nos formatos FAT16 e FAT32, reconhece até 100 pastas com 255 músicas cada uma, e tem também 30 níveis de volume e 6 formatos de equalização, além de um “modo propaganda”, que você pode usar para pausar a música quando precisar emitir algum aviso, e assim que o aviso terminar a música continua de onde parou. Usando o módulo no modo standalone Vimos acima que temos 3 modos de controlar o DFPlayer Mini teclado analógico, botões e interface serial, sendo que neste post vamos mostrar como utilizar as duas últimas opções. No circuito abaixo, utilizamos botões tipo push-button para executar as funções de PLAY NEXT/Volume- e PREV/Volume+. Um toque curto no botão da esquerda avança para a próxima música. Mantenha esse botão pressionado para diminuir o volume do som. No botão da direita, um toque curto retorna para a música anterior e mantendo pressionado você aumenta o volume. Depois de montado, o seu circuito vai ficar mais ou menos assim Não esqueça, claro, de conectar a alimentação e o alto-falante. 🙂 DFPlayer Mini com Arduino Para usar o módulo MP3 DFPlayer Mini com Arduino, utilize as conexões abaixo O resistor de 330 ohms no pino RX do módulo eliminou um ruído no alto-falante causado, segundo eu pesquisei, pela alimentação do Arduino. Uma outra opção é você utilizar alimentação externa para o DFPlayer Mini. Vamos controlar a execução das músicas pela serial do Arduino. Carregue o programa abaixo, que utiliza a biblioteca DFPlayer Mini. Essa biblioteca você pode instalar à partir da própria IDE do Arduino. Vá em Sketch => Incluir Biblioteca => Gerenciar Bibliotecas e procure por DFPlayer Mini, da DFRobot Após a instalação da biblioteca, carregue o programa abaixo //Programa Modulo MP3 DFPlayer Mini com Arduino //Autor Arduino e Cia /*************************************************** DFPlayer - A Mini MP3 Player For Arduino *************************************************** Created 2016-12-07 By [Angelo qiao][email protected] GNU Lesser General Public License. See for details. ****************************************************/ include " include " include " //Inicia a serial por software nos pinos 10 e 11 SoftwareSerial mySoftwareSerial10, 11; // RX, TX DFRobotDFPlayerMini myDFPlayer; char buf; int pausa = 0; int equalizacao = 0; void setup { //Comunicacao serial com o modulo //Inicializa a serial do Arduino //Verifica se o modulo esta respondendo e se o //cartao SD foi encontrado DFPlayer Mini"; modulo DFPlayer... 3~5 segundos"; if ! { inicializado"; as conexoes do DFPlayer Mini"; um cartao SD"; while true; } DFPlayer Mini inicializado!"; //Definicoes iniciais //Timeout serial 500ms //Volume 5 //Equalizacao normal //Mostra o menu de comandos de arquivos no cartao SD "; menu_opcoes; } void loop { //Aguarda a entrada de dados pela serial while > 0 { buf = //Reproducao if buf >= '1' && buf <= '9' { musica "; buf = buf - 48; menu_opcoes; } //Parada if buf == 's' { parada!"; menu_opcoes; } //Pausa/Continua a musica if buf == 'p' { pausa = !pausa; if pausa == 0 { musica..."; } if pausa == 1 { pausada..."; } menu_opcoes; } //Seleciona equalizacao if buf == 'e' { equalizacao++; if equalizacao == 6 { equalizacao = 0; } "; 0 = Normal, 1 = Pop, 2 = Rock, 3 = Jazz, 4 = Classic, 5 = Bass"; menu_opcoes; } //Aumenta volume if buf == '+' { atual"; menu_opcoes; } //Diminui volume if buf == '-' { atual"; menu_opcoes; } } } void menu_opcoes { [1-9] Para selecionar o arquivo MP3"; [s] parar reproducao"; [p] pausa/continua a musica"; [e] seleciona equalizacao"; [+ or -] aumenta ou diminui o volume"; } Coloque um cartão SD com os arquivos MP3 no slot do módulo e abra o serial monitor. Será exibido o menu de opções para controlar a execução das músicas Na parte superior do serial monitor você deve digitar os comandos para controle. Digite números de 1 a 9 para escutar a música correspondente, + ou – para aumentar ou diminuir o som, “s” para parar a reprodução e “p” para pausar/continuar a música. Selecione “e”para escolher entre os 6 modos de equalização disponíveis Normal, Pop, Rock, Jazz, Classic e Bass.1byJ.