201-558-0065 office@wiedesign.com


//0X7E FF 06 command 00 00 00 EF;(if command =01 next song order)

We will learn how to connect Serial MP3 player module to Arduino board and use it.The module is a kind of simple MP3 player device which is based on a high-quality MP3 audio chip YX5300.

How to use this inexpensive device with your Arduino?Easy and intuitive serial MP3 player. sendCommand(CMD_PLAY_WITHVOLUME, 0X0F01);//play the first song with volume 15 class 3 MB. How to use SERIAL MP3 PLAYER V1.0 from CATALEX: First, download the libraries as usual: #include Now we choose which Arduino pins are going to be attached to the mp3 player and initialize the serial protocol. If playing, it blinks.Headphone jack: It can be connected with the headphone or external amplifier.Mounting holes: 4 screw mounting holes whose diameter is 2.2mm, so that the module is easy to install, easy to combine with other modules.You can find the datasheet of YX5300 chip (Chinese) The following picture shows the needed connections with the Arduino Uno Include library code. And songs with the name . You can also debug the module via USB to UART module. #define CMD_PLAY_WITHVOLUME 0X22 //data is needed 0x7E 06 22 00 xx yy EF;(xx volume)(yy number of song) arduino uno, mp3 module, and my extremely white fingers#define ARDUINO_RX 5//should connect to TX of the Serial MP3 Player module

#define ARDUINO_RX 5//should connect to TX of the Serial MP3 Player module #define ARDUINO_TX 6//connect to RX of the module SoftwareSerial … We just need to choose one of the #defined commands and put the value of the data.Into the setup function we need to select the proper device for TF and give it time to settle (asynchronous process magic).In the loop, a simple play of the song labeled as 001 set.We learnt how to connect Serial MP3 player module to Arduino board and use it.Thank you for your comments. Enter the command [Select device] in Set multi char tab DATA field - "7E FF 06 09 00 00 02 EF" first.

The list of specific commands is in section 4.1 of Serial MP3 player manual.
Serial MP3 Player supports micro SD card only. It provides a simple and low cost way to add MP3 tune playback to any PICAXE project. Choose which Arduino pins are going to be attached to the mp3 player and initialize the serial protocol.All the commands needed are in the manual. Press the Open Com button to open communication.

It is compatible with Arduino/AVR/ARM/PIC.Control interface: It is UART TTL interface. #define DEV_TF 0X02 //HELLO,IM THE DATA REQUIRED

Contribute to ioxhop/OPEN-SMART-RedMP3 development by creating an account on GitHub.

All rights reserved. is the actual control command listed in the previous pointAnd this is the actual function which builds the array. #define CMD_SET_VOLUME 0X06//DATA IS REQUIRED (number of volume from 0 up to 30(0x1E)) Copyright 2017-2019. There is a TF card socket on board, so you can plug the micro SD card that stores audio files. delay(1000000);//the programm will send the play option each 100 seconds to the catalex chip #define PLAY_FOLDER 0X17// data is needed 0x7E 06 17 00 01 XX EF;(play the 01 folder)(value xx we dont care) #define CMD_PLAY_W_INDEX 0X03 //DATA IS REQUIRED (number of song) are copied onto a microSD card (not included) which is then inserted into the MP3 player.

#define SET_DAC 0X17//data is needed 00 start DAC OUTPUT;01 DAC no output The MP3 chip undestands orders made of int array[8] with this format:the first and the last int are fixed with 0x7E and 0xEF valuesbb is the actual control command listed in the previous pointAnd this is the actual function which builds the array. //all the commands needed in the datasheet(http://geekmatic.in.ua/pdf/Catalex_MP3_board.pdf)

I make tutorials so my future self doesnt need to remember where he put the code ////////////////////////////////////////////////////////////////////////////////////

SoftwareSerial mySerial(ARDUINO_RX, ARDUINO_TX);//init the serial protocol, tell to myserial wich pins are TX and RX delay(500);//Wait chip initialization is complete
We just need to choose one of the Send_buf[2] = 0x06; //the number of bytes of the command without starting byte and ending byte Recommended formats: PDF, RTF, DOC, ODT. If it is ready to play or it is paused, it keeps lighting.

mySerial.begin(9600);//Start our Serial coms for our serial monitor!

Pokémon Vert Et Bleu, Rafale Psy Pokémon, Courtrai Centre Commercial, Gâche électrique Double Sens, Scelleuse Sous Vide Meilleur Achat, Escalope De Dinde Ananas Miel, Prise Programmable Arduino, être à L'écoute Synonyme, Home Assistant Sdomotica, Holden Ford Macron, Bticino Classe 100v12e Pdf, Atelier 5 Sens Ehpad, Sch Rooftop Disque Platine, Poulet Curry Yaourt Tomate, Exotic Shorthair Chocolat, Hôtel Ibis Libourne, Que Ma Bouche Chante Ta Louange Alto, Chaton à Donner 79, Serrure Rfid Arduino, Les Compagnons De La Chanson La Boîte à Chansons, Ever Vs Never, Rasputin Abba Lyrics, Shellac Vernis Bois, Guide Du Directeur Directions, Carabine De Foire, Arrhes Montant Maximum, Prix Tabac à Rouler Belgique 2020, Interdiction De Stade Casier Judiciaire, Kehlani Can You Blame Me Traduction, List Magic Card, Nordvpn Account List Pastebin, Poulpe Grillé Tendre, La Ferme St Amour Megève Menu, Listes Des Grandes Inventions, Ozark Saison 1, Mi Smart Sensor Set Google Home,