Home

Board ET-MINI MP3

image

Contents

1. ETT CO LTD 5 WWW ETT CO TH
2. 10nF 10nF zr 21 27 ZN 3V3 INO OIdNV S uF MICROPHONE uF 0 1uF Title ET MINI MP3 Size Number Revision WWW ETT CO TH 1 0 Date 21 Jun 2006 Sheet1 of 1 File D My Circuit MINI MP3 MINI MP3 Ddb Drawn By Eakachai Makarn 4 Example Connection ET MINI MP3 with MCS51 ET BASE51 AC3 An Example Connection ET MINI MP3 with MCS51 This example displays using Port SPI of MCS51 No AT89C51AC3 to connect and command IC VS1002D that is a MP3 Decoder The sample program will mention about proceeding to connect and command IC VS1002D to play music and voice only We do not mention about the File systems management so user must learn more how to read file data and send it into MP3 Decoder to convert into voice by self for example the proceeding to use Memory s types as SD MMC memory or others In this case we use Board Microcontroller MCS51 version ET BASE51 to control operation of Decoder and use Board ET MINI MP3 Remember Board Microcontroller version ET BASE51 AC3 actives with Voltage 5V on the other hand ET MINI MP3 actives with Voltage 3V3 so VS1002D that is a MP3 Decoder in Board ET MINI MP3 can not connect with signal Logic TTL with 5V signal level So we can not connect signal from both boards directly we must find device to convert signal 5V into 3V3 In this case we use ET MINI LOGIC LEV
3. DIR B TO A aa A TO B ET MINI LOGIC LEVEL DIR A TO B ET BASE AVR ATMEGA 64 5 PB5 Out 4 In PB3 MISO PB1 SCK PB2 MOSI PBO 55 PB6 Out 3V3 RES DREQ GVCXX lv ET MINI LOGIC LEVEL DIR A TO B 64 ET MINI MP3 VS1002D ST PB2 MOSI GND GND l PBO SS PB6 Out GND show the directions and signal to connect 64 MINI MP3 171 tT ETT CO LTD 2 WWW ETT CO TH An Example Connection ET MINI LPC2138 LPC2148 An Example Connection ET MINI MP3 by ARM7 We will mention about example using Port SPI LPC2138 LPC2148 for connection VS1002D that is MP3 Decoder The sample program will mention about proceeding to connect and command IC VS1002D to play music and voice only We do not mention about the File systems management so user must learn more how to read file data and send it into MP3 decoder to convert into voice by self for example the proceeding to use Memory s types as SD MMC memory or others For this example we use 11 small Wave File type and the memory of each file is not higher than 16 KB We can hear it counting number from 0 to 10 and is saved in Flash memory of LPC2138 LPC2148 Next we must refer to memory position that stores the file and we must send it to MP3 Decoder to c
4. apply it by using memories components such as SD MMC or others to save File data for sending into VS1002D to decode and convert into voice In this case we do not mention about the memory management and File systems so user must study and learn more information by self The well known and easiest proceeding to connect Board ET MINI MP3 with Microcontroller is connecting with SPI Serial Port If Microcontroller is active with power supply from 2 5V to 4 3 3V can connect signal between Microcontroller ETT CO LTD 2 WWW ETT CO TH AM User Manual For ET MINI MP3 and VS10002D of Board ET MINI instantly on the other hand if Board Microcontroller is active with power supply 5V we must find circuit to convert Logic 5V into Logic 3 3V first ETT designs Board LOGIC LEVEL SHIFTER to support this application as shown in the diagram below ET MINI LOGIC LEVEL DIR A TO B ET BASES1 ET MINI MP3 nd VS1002D P4 0 Out P4 1 In P4 2 MISO P4 3 SCK P4 4 MOSI P3 4 Out P3 5 Out 3V3 RES DREQ SO Q N c SVCXX lvZ XC St BSYNC Figure displays the connection between board ET MINI MP3 and Microcontroller that uses 5V Power Supply ETT CO LTD 3 WWW ETT CO TH CAE WHNHZ 3V3 3V3 3V3 47uF 1 1 C 3001 I E ce i 3V3 VS1002D 12 288 MHz 10nF
5. EL SHIFTER for connection both boards Additionally it is necessary to use these devices as follows 1 Board Microcontroller MCS51 version ET BASE51 AC3 2 Board ET MINI LOGIC LEVEL SHIFTER to convert signal Logic 5V into 3 3V 3 Board MP3 Decoder version ET MINI 4 5V Adapter to supply power into Board ET BASE51 AC3 In this case we use 3 small File Wave that are not higher than 48 Kbytes totally and we use File Wave Format that we can hear it counting number from 0 to 2 English version to store in Flash memory of AT89C51AC3 as Table type Next we must refer to memory position that stores the file and we must send it to MP3 Decoder to convert into voice as byte by byte respectively until it is completely In this example it converts File into data as Byte type and it is arranged as Table type in Flash memory If it is C Language it declares variable as Array type and saves it in Flash memory of CPU because it is more convenient to open file This sample is written by C Language and uses Keil C51 to interpret commands Remember C Language Program Keil C51 is used for Complier if it just Demo Version it can not interpret Source Code in this sample program because there is some restriction for using Program Keil C51 Demo version that is not able to Complier Source Code higher than 2KByte However ETT provides Hex File that has already interpreted completely so user can download 551 MP3 PLAY WAVE HEX i
6. N2HEX L16384 O114688 4 A Q 6f wav VOICE HEX BIN2HEX L16384 O131072 4 A Q rf wav VOICE HEX BIN2HEX L16384 14 7456 4 A T Q 8f wav VOICE HEX BIN2HEX L16384 0163840 4 A Q 9f wav VOICE HEX BIN2HEX L16384 0180224 4 Q 10f wav VOICE HEX Figure displays commands in Batch File to interpret audio file HEX When we open Batch File we will get file named VOICE HEX that is a part of 11 audio files and each file is arranged in memory as 16KB respectively as shown in the table above ETT CO LTD 2 WWW ETT CO TH An Example Connection ET MINI by LPC2138 LPC2148 When we get both HEX files Code Program it is interpreted by Keil CARM and HEX File that is voice that is interpreted by Batch file VOICE BAT Next step is downloading both Hex files into CPU by using program LPC2000 from Philips In this case there are two proceedings to do as follows 1 Command to download Hex file as file by file When we open Hex File that is audio file must select type of delete memory as Enter Device that command to delete all memory and then command to download audio file first Next open HEX File of Source Code but we must select type of delete memory as Select Sectors type and must configure position Sector to be 0 3 and then command to download as in the picture below E LPC2000 Flash Utility File Buffer Help PHILIPS LPC2000 Flash Utility V2 2 3 Flash Pragramming Erase Blank Comm
7. User Manual For ET MINI ET MINI MP3 idet 3 Board is Decoder to convert signal into voice ETT uses IC VLSI No VS1002D to decode file MP3 and to be the permanent IC on board VS1002D is the IC MP3 Decoder that of the highest quality the easiest application It can decode File MP3 and File WAVE instantly and there is Analog OUTPUT to be Stereo audio type so we can connect ae with headphone OE amplifier instantly Additionally we can connect with Microcontroller easily by using SPI Serial Port standard So we can apply ET MINI MP3 with Microcontrollers as desired Ihe structural feature of Board ET MINI MP3 is just a part of basic circuit VS1002D because it is not applied to be processed MP3 Player or connect with any version of Board Microcontroller but Board ET MINI MP3 can apply with other project works independently Concept of circuit is designed to connect VS1002D with necessary components such as circuit amplifier with Jack Stereo it is quite convenient to connect with headphone or amplifier and circuit Pre Amplifier to receive signal from Microphone as Condenser type and including to circuit Crystal Oscillator Generator Circuit VS1002D is arranged to be ready to active but there is signal controller only In the part of signal controller there is Connector to connect with external microcontroller easily ETT CO LTD 1 WWW ETT CO TH AM
8. User Manual For ET MINI MP3 Specifications of Board ET MINI MP3 e IC Decoder of VLSI No VS1002D e Be able to decode File MPEG that accesses decoder as MPEG 1 0 amp 2 0 Audio layer III CBR VBR and including of WAV and PCM e Be able to access decode audio signal from Microphone to be standard ADPCM data e Support Streaming Data for File MP3 or WAVE e Be able adjust Bass Control e Active with signal Clock 12 288 MHz and can use X2 Mode internal PLL e There is circuit to convert data into high quality of DAC voice with stereo Amplifier We can connect Audio Out with amplifier or standard stereo headphone that has Impedance value about 300 instantly Connector Audio Out of Board uses high quality Jack Stereo that can be interfaced with headphone or amplifier of computer PC instantly e Active with DC Voltage from 2 5V to 3 6V with LED to display status of Power and Zener Diode to protect over voltage e Support connection between signal and Microcontroller through SPI Serial Port e Be able to modify operation of board to be MP3 player as Standalone type without using the any controller from Microcontroller see more information from Application Note of VLSI e Board size 4 4 x 5 6 cm Applications for Board ET MINI MP3 We can apply Board ET MINI MP3 for many types especially the connection with Microcontroller We can configure preferred conditions by self from program controller that is developed We can
9. as Binary File type and save in the Buffer of program Next we must save file that is converted into Hex ETT CO LTD 1 WWW ETT CO TH An Example Connection ET MINI LPC2138 LPC2148 file completely and we must configure Offset position value for storing data as 0 4000 up as shown in the table above In this case we will mention about using program Utility named BIN2HEX that is downloaded from Website of Keil and we can download this program free without any charge Program BIN2HEX is a program that runs as Command Line and user can study User s Manual of program from HELP of program While we running Program on Dos Prompt program will display the proceeding However we create Batch File named VOIC BAT to Convert duro file into HEX File follow by the position address that is configured as the table above so it is quite convenient for user to apply It is saved in Folder named AudioData that is overlapped internal Folder of Language Source Code Details of Batch File are described as follows ECHO OFF ECHO Generating VOICE HEX with Wave Files DEL VOICE HEX BIN2HEX L16384 O16384 4 Of wav VOICE HEX 2 L16384 O32768 4 Q 1f wav VOICE HEX BIN2HEX L16384 O49152 4 A Q 2f wav VOICE HEX 2 L16384 065536 4 A Q 3f wav VOICE HEX BIN2HEX L16384 O81920 4 A Q 4f wav VOICE HEX BIN2HEX L16384 098304 4 Q 5f wav VOICE HEX BI
10. as in the picture below 00000001FF b Open HEX File of audio file that is interpreted by Batch File VOIC BAT Next copy all data in HEX file to place the end of HEX or Source Code then save HEX File of Source Code that is combined together c Command to download HEX File that is combined together Into boatd NOTE For HEX File named that 15 combined together is LPC2148 PLAY WAVE HEX 1 2138 PLAY WAVE HEX Vale 55 52 50 Tigh DNI S puso ES overlapped internal Folder of C Language Source Code and Hex File that 15 the same Folder of Source Code is Hex File of ode thar OC S Iis ceo c mL CC cima ice Bees EIS EO Ineta lye as amy ater downloaded completely when we press RESET and connect with headphone or amplifier of computer PC we will hear the ee Wl ie sia ciel aie lee repeated continuously ETT CO LTD 4 WWW ETT CO TH An Example Connection ET MINI LPC2138 LPC2148 The connection signal between boards Board CP JR ARM LPC2138 CP JR ARM USB LPC2148 Board ET MINI MP3 VS1002D 3 3 DREQ RES Iu GPIOO Output Shows directions and signal of connection between ARM7 and MINI MP3 XCS 12
11. eeding to connect and command IC VS1002D to play music and voice only We do not mention about the File systems management so user must learn more how to read file data and send it into MP3 decoder to convert into voice by self for example the proceeding to use Memory s types as SD MMC memory or others In this case we use Board Microcontroller AVR version ET BASE AVR ATMEGA64 to control operation of MP3 Decoder and use Board ET MINI MP3 Remember Board Microcontroller version ET BASE AVR ATMEGA64 runs with Voltage 5V on the other hand ET MINI MP3 runs with Voltage 3V3 so IC VS1002D that is MP3 Decoder in Board ET MINI MP3 can not connect with signal Logic TTL with 5V signal level So we can not connect signal from both boards directly we must find device to convert signal 5V into 3V3 In this case we use ET MINI LOGIC LEVEL SHIFTER for connection both boards Additionally it 1s necessary to use these devices as follows Board Microcontroller AVR version ET BASE AVR ATMEGA64 Board to convert signal Logic 5V into 3 3V Board MP3 Decoder version ET MINI 5V Adapter to supply power into Board ET BASE AVR gt WN gt In this case we use 3 small File Wave that are not higher than 48 Kbytes totally For this example we use File Wave Format that we can hear it counting number from 0 to 2 in English version to store in Flash memory of ATMEGA64 as Table type Next we must refer to memory position that sto
12. nto CPU instantly This file is saved in Folder named FINAL HEX TEST to download ETT CO LTD 1 WWW ETT CO TH AM An Example Connection ET MINI MP3 with MCS51 ET BASE51 AC3 into CPU of Board ET BASE51 AC3 and can test it instantly If everything is correct without error after downloaded completely when we press RESET and connect headphone amplifier of computer PC with Board ET MINI MP3 completely we will hear counting number from 0 to 2 in English version and it will be repeated continuously The connection signal between boards 3V3 e ET MINI LOGIC LEVEL DIR A TO B ET BASES1 AC3 MCS51 ET MINI MP3 VS1002D P4 0 Out P4 1 In 3V3 P4 2 MISO RES P4 3 SCK DREQ P4 4 MOSI P3 4 Out P3 5 Out SVCXX lv Board ET MINI LOGIC DIR A TO B ET BASE51 AC3 MCS51 P4 0 Out P4 1 In VS1002D ST show the directions and signal to connect MCS51 MINI MP3 A3 gt B3 4 B4 5 B5 A6 B6 GND 171 YY tT GND lt GND ETT CO LTD 2 WWW ETT CO TH An example Connection MP3 by AVR ET BASE AVR ATMEGA64 An example Connection ET MINI MP3 by AVR This example displays using Port SPI of AVR No ATMEGA64 to connect and command IC VS1002D that is a MP3 Decoder The sample program will mention about proc
13. onvert into voice In the first time we intend to arrange File as Array table type and include them together in Code program because it is quite convenient to open file Remember C Language Program Keil C51 that is used for Complier is just Demo Version so there is some restriction that does not Compiler Source Code is higher than l6KByte Therefore we should solve this problem by dividing Code program and Audio file first so each file is not higher than loKByte After Files are interpreted into HEX completely we must combine Code program and Audio File together Structure of Memory Space for saving Code program and code of Audio file are configured as follows Memory Position Code Application 0 04000 Ox0O7FFF 16KB Voice Zero Of wav 0x08000 OxOBFFF 16KB Volce one lf wav 0x0OCOQO OxOFFEEFE 16KB Voice Two 2f wav 0x10000 Ox13FFF 16KB 0x14000 Ox1l7FFF 16KB Af wav Ox19000 OxlBEEE 16KB Voice Five 5f wav Ox1C000 OxlFFFF 16KB 6f wav 0x20000 0Ox23FFF 16KB Moroe Seven 7f wav O0x24000 0x2 kFEE 416 8f wav 0x28000 Ox2BFFF 16KB Voice Nine 9f wav 0x2C000 Ox2FFFF 16KB Moroce Were lOf wav Table shows the memory management for LPC2138 LPC2148 There are many proceedings to convert audio file into HEX cor example Using program Utility or EPROM programmer to open audio file
14. res the file and we must send it to MP3 Decoder to convert into voice as byte by byte respectively until it is completely In this example it converts File into data as Byte type and it is arranged as table type in Flash memory If it is C Language it declares variable as Array type and saves it in Flash memory of CPU because it is more convenient to open file This sample is written by Language and uses Code Vision AVR to interpret commands Remember C Language Program Code Vision AVR is used for Complier if it just Demo Version it can not interpret Source Code in this sample program because there is some restriction for using Program Code Vision AVR version Demo that is not able to Complier Source Code higher than 2KByte However ETT provides Hex File that has already interpreted completely so user can download into CPU instantly ATMEGA64 MP3 PLAY WAVE HEX This file is ETT CO LTD 1 WWW ETT CO TH example Connection by AVR ET BASE AVR 64 ET saved in Folder named FINAL HEX TEST to download into CPU of Board ET BASE AVR ATMEGA64 can test it instantly If everything is correct without error after downloaded completely when we press RESET and connect headphone amplifier of computer PC with Board ET MINI MP3 completely we will hear counting number in English version from 0 to 2 it will be repeated continuously The connection signal between boards 3V3
15. unication Filename Connected Port 1 2148 21 2n eee fe Entire Device COMZ Selected Sectors Use Baud Hate Upload to Flash ry 384000 Start Sector Erase End Sect Compare Flash Time Out sec E Use DTR RTS Device LPC2148 m Part m for Reset and Boot Loader Freg kHz 18660 Device ID Boot Loader selection t LPC2000 Flash Utility File Buffer Help PHILIPS LPC2000 Flash Utility V2 2 3 Flash Pragramming Erase Blank Communication Filename Connected Port 1 2148 21 E SER EE Ens COM2 Use Baud Hate Upload to Flash 384000 Start Sector Erase End Sect Compare Flash ur Time Out sec m Device Use DTR RTS Device LPC2148 Part for Reset and Boot Loader ATAL Freg kHz 18660 Device ID Boot Loader selection ETT CO LTD 3 WWW ETT CO TH An Example Connection ET MINI LPC2138 LPC2148 2 Must combine both 2 Hex Files into only one file and then command to download only one time as follows a Open Hex file of Source Code that is interpreted by Keil CARM of Program Text Editor such as Notepad Then command to delete the last line that is the end of file Intel HEX End of HEX Record The feature of the last line is shown

Download Pdf Manuals

image

Related Search

Related Contents

Télécharger ce fichier    Presence - The Gas Company  ペンダント用  Raven User`s Manual - Featherweight Altimeters  E-01 仕様書  KSR110用 コンパクトクールキット 取扱説明書  

Copyright © All rights reserved.
Failed to retrieve file