TOP Contributors

  1. MIKROE (2653 codes)
  2. Alcides Ramos (352 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (112 codes)
  5. Chisanga Mumba (90 codes)
  6. S P (73 codes)
  7. dany (71 codes)
  8. MikroBUS.NET Team (35 codes)
  9. NART SCHINACKOW (34 codes)
  10. Armstrong Subero (27 codes)

Most Downloaded

  1. Timer Calculator (136727 times)
  2. FAT32 Library (69947 times)
  3. Network Ethernet Library (55941 times)
  4. USB Device Library (46265 times)
  5. Network WiFi Library (41886 times)
  6. FT800 Library (41169 times)
  7. GSM click (28983 times)
  8. PID Library (26413 times)
  9. mikroSDK (26359 times)
  10. microSD click (25372 times)
Libstock prefers package manager

Package Manager

We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]

< Back
Library

DFplayer mini

Rating:

0

Author: Israel Redondo

Last Updated: 2020-07-22

Package Version: 1.0.0.0

Category: Audio & Speech

Downloaded: 225 times

Not followed.

License: De libre uso y Distribución  

Código parar modulo MP3 DFplayer mini, Con archivo de ejemplo

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "DFplayer mini" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "DFplayer mini" changes.

Do you want to report abuse regarding "DFplayer mini".

  • Information
  • Comments (0)
DOWNLOAD LINK RELATED COMPILER CONTAINS
mikroC PRO for PIC
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc

Library Blog

/*------------------------------------------------------------------------------
PROGRAMA DE EJEMPLO CON EL PIC16F628A CONFIGURADO CON OSCILADOR INTERNO A 4MHZ
UTILIZANDO LA LIBRERIA "DFplayer.h" LA CUAL TIENE COMO UNICA FUNCION
DFplayer(parametro, parametro);
------------------------------------------------------------------------------*/

#include "DFplayer.h"
void main(){
OSCF_Bit=1;/*OSCF: INTOSC Oscillator Frequency bit
1 = 4 MHz typical---0 = 48 kHz typical*/
CMCON = 7; //apaga comparadores
TRISB = 0b00000010;
portb = 0;
TRISA = 0b00000000;
porta = 0;
UART1_Init(9600);
Delay_ms(2000);/*para esperar que encienda el amplificador y otros*/
DFplayer(track, 1);/*Define la pista (1) para reproducir en DFplayer*/
delay_ms(100);
DFplayer(volume,30);/*Establece el volumen en 30*/
delay_ms(100);
DFplayer( play ); /*reproduce*/
delay_ms(100);
DFplayer(repeat_track, 1); /*Reproduce repetidamente la pista */
while(1){
}
}

RELATED CODES

how use the mikroe ARM bootloader with blue pill

0

how use the mikroe ARM bootloader with blue pill video: https://youtu.be/pLlrpCLtZXI

[Learn More]

MP3 Player rev4 Automatic Play

5

MP3 Player is based on Mikroelektronika’s MP3 Player for Pic32 MX795 on Easypic Fusion v7 Micro SD card READ COMMENTS. Rev4 with many improvements and to my knowledge, fully functional and fully automatic. MP3 sample rate must be 128KB

[Learn More]

Read multiple pulse width signal (PWM) at time with DSPIC Mplab xc16 version

0

Read multiple pulse width signal (PWM) at time with DSPIC Mplab xc16 version Video: https://youtu.be/nVF_b1Fxd2s

[Learn More]

Lisencia libre