MP3 module

From ElecFreaks
Jump to: navigation, search

Introduction

MP3 Module is one of our self-developed modules inspired from JQ6500-24SS MP3 chipset of Jiaqiang Electronics. It supports SD cards for FAT16, FAT32 file systems and SPI Flash updates via PC. Via some very simple serial commands to control music playback, it owns the characteristics of easy operation and stable performance. Additionally, with an external headphone (PH) and an external speaker (SP), the MP3 Module provides more interfaces and utility.

Model: EF03154

Mp3a.jpgMp3b.jpgMp3c.jpg

Feature

  • 1.Supports sampling rates (KHz):8/ 11.025 /12 /16 /22.05 /24 /32 /44.1/48
  • 2.24 bit DAC output, dynamic range supports 90dB, SNR supports 85dB
  • 3.Fully supports FAT16、FAT32 File System, maximum supports 32G TF card,32G U disk , 64M bytes of NORFLASH
  • 4.Variety of control modes, serial mode, AD key control mode
  • 5.Broadcast language spots feature, you can pause the background music being played
  • 6.30 levels volume adjustable, 10 levels EQ adjustable.
  • 7.Plug spi flash, and connecting to PC can display spi flash Letter to update contents.
  • 8.Controlled by the microcontroller serial port to play the specified music
  • 9.In Key mode, you can select the play mode: pulse can be repeated, the pulse can not be repeated, maintaining the level of non-recyclable, maintaining the level of recyclable.
  • 10.Audio data is sorted by folder, and supports up to 100 folders, every folder assigned to 1000 songs
  • 11.Size 50.00mm×47.15mm

Application

  • 1.Car navigation voice broadcast
  • 2.Highway transport inspection, toll station voice prompts
  • 3.Train station, bus station security check voice prompts
  • 4.Electricity, communications, financial business hall voice prompts
  • 5.The voice prompts for verification of vehicles into and out of the channel
  • 6.Public security frontier channel voice prompts
  • 7.Multi-channel voice alarm or equipment operating guide voice
  • 8.Electric sightseeing cars safe driving voice notices
  • 9.Electromechanical equipment failure alarm

Schematic

Mp3 sch.jpg

Mp3 size.jpg

2. Parameters

2.1 Module Pin Description

Mp3 pin.jpg


Pin.jpg


2.2 Wiring

Mp3 connecting.jpg

Operation

3.1 Communications Directive

1. Send commands directly no need return parameters


JQ6500 Mini MP3 Module-K.jpg

JQ6500 Mini MP3 Module-L.jpg



  • For example, for next, send: 7E 02 01 EF
  • For previous, send: 7E 02 02 EF
  • For play, send: 7E 02 0D EF


2.Parameter Query


JQ6500 Mini MP3 Module-M.jpg

JQ6500 Mini MP3 Module-O.jpg


  • Example: To read the volume, sent [7E 02 43 EF], it’ll directly return to volume (16 bits)
  • ADKEY resistance function: 0R PLAY 3.3K for Next, V + 6.2K for Pre, V-9.1K for mode switching.

  • Note 1: The folders inside USB and TF card must be named 01 02...99; the files inside the folders must be named 001 002 003....

4. Instructions on Voice Update

Connect the MINI USB of the module to the computer. Open “My Computer”, double-click the “CD Drive”JQ6500 Mini MP3 Module-P.jpg, and you will see an update content of PC software, as shown below:


JQ6500 Mini MP3 Module-Q.jpg


JQ6500 Mini MP3 Module-R.jpg


Select "Audio loading" - Click "Browse".


JQ6500 Mini MP3 Module-S.jpg


Choose the audio, click the "Open".


JQ6500 Mini MP3 Module-T.jpg


The audio is added to the PC software.


JQ6500 Mini MP3 Module-U.jpg


  • Select "update download" tab, click update;
  • Audio writing is shown in picture.


JQ6500 Mini MP3 Module-V.jpg


The picture means that the voice has been downloaded to the spi flash in the module.



Programming

Includes important code snippet. Demo code like :

Demo code
{ mySerial.begin(9600);
  delay(1000);
  mySerial.write(SC_SD,5);
  delay(2000);
  mySerial.write(play_mode,5);
  delay(500);
  mySerial.write(play,6);
}

Example

The projects and application examples.

Version Tracker

Revision Descriptions Release
v0.9b Initial public release date

Bug Tracker

Bug Tracker is the place you can publish any bugs you think you might have found during use. Please write down what you have to say, your answers will help us improve our products.

Additional Idea

The Additional Idea is the place to write your project ideas about this product, or other usages you've found. Or you can write them on Projects page.

Resources

How to buy

Click here to buy:

http://www.elecfreaks.com/estore/mp3-module.html

See Also

Other related products and resources.

Licensing

This documentation is licensed under the Creative Commons Attribution-ShareAlike License 3.0 Source code and libraries are licensed under GPL/LGPL, see source code files for details.

External Links

Links to external webpages which provide more application ideas, documents/datasheet or software libraries