MP3 Player/Boombox
description
Transcript of MP3 Player/Boombox
MP3 Player/BoomboxMP3 Player/BoomboxKevin DavisKevin Davis
Shane NeuvilleShane NeuvilleDan ChaoDan Chao
Andy OwensAndy OwensChristopher TilleryChristopher Tillery
ECEN 4610: Capstone Laboratory ECEN 4610: Capstone Laboratory
Preliminary Design Review (PDR)Preliminary Design Review (PDR)
Project ObjectivesProject Objectives
Record MP3s off CD-Rom onto hard driveRecord MP3s off CD-Rom onto hard drive Play MP3s off of hard drivePlay MP3s off of hard drive
Ability to select current trackAbility to select current track Ability to stop, pause, rewind, and fast forward Ability to stop, pause, rewind, and fast forward Ability to delete songsAbility to delete songs
Interactive LCD display Interactive LCD display Display artist and song titleDisplay artist and song title Display volume levelDisplay volume level
Division of LaborDivision of LaborChris:Chris:•ProcessorProcessor
•Hard Drive / File StorageHard Drive / File Storage
•CD-RomCD-Rom
Dan:Dan:•ProcessorProcessor
•PCBPCB
•MP3 DecoderMP3 DecoderShane:Shane:•Logic / Bus ControlLogic / Bus Control
•Hard drive / File StorageHard drive / File Storage
•CD-RomCD-Rom
Andy:Andy:•Logic / Bus ControlLogic / Bus Control
•PCBPCB
•LCDLCD
Kevin:Kevin:•Logic / Bus ControlLogic / Bus Control
•PCBPCB
•User InterfaceUser Interface
FPGAFPGAXilinxXilinxBus ArbitrationBus ArbitrationGlue LogicGlue Logic
File StorageFile Storage IDE Hard DriveIDE Hard Drive
Store the songs in mp3 format.Store the songs in mp3 format. Fat 16Fat 16 Interface via an 8255 chipInterface via an 8255 chip
Mp3 Format CD’sMp3 Format CD’s Utilize ID3 tags to separate songs into Utilize ID3 tags to separate songs into
directories on the hard drive.directories on the hard drive. User can either play the CD, copy the CD to User can either play the CD, copy the CD to
internal hard drive, or both.internal hard drive, or both.
File StorageFile Storage
Wav format CD’sWav format CD’s User can either play the CD, copy the CD to User can either play the CD, copy the CD to
internal hard drive, or both.internal hard drive, or both. User Specifies CD Name and Artist for wav User Specifies CD Name and Artist for wav
format CDs.format CDs. Files are stored in directories according to Files are stored in directories according to
Artist and CD.Artist and CD.
8255A Chip Description8255A Chip Description
ChipChip Mode Selection Mode Selection
ProcessorProcessor
Motorola M68HC12BC32Motorola M68HC12BC32
Processing PowerProcessing Power
16 bit Address and Data Bus Capability16 bit Address and Data Bus Capability SCI and SPI serial interface SCI and SPI serial interface
Interfacing with RS232Interfacing with RS232 Upward Compatible with M68HC11 Upward Compatible with M68HC11
instruction setinstruction set
Project ComponentsProject Components
Processor
Data Bus
Address Bus
FPGA
LCD
CD RomHard Drive
Audio Out Decoder
RAM EPROM
Keypad
MP3 Encoder/DecoderMP3 Encoder/Decoder
MAS 3587FMAS 3587F
Encoder/Decoder SpecsEncoder/Decoder Specs
Internal ClockInternal Clock ADC/DACADC/DAC Encoding up to 192 kbit/sEncoding up to 192 kbit/s I2C Serial InterfaceI2C Serial Interface
ID3 Tag InformationID3 Tag Information
128 bytes at end of MP3 file128 bytes at end of MP3 file Song title: 30 charactersSong title: 30 characters Artist: 30 charactersArtist: 30 characters Album: 30 charactersAlbum: 30 characters Year: 4 charactersYear: 4 characters Comment: 30 charactersComment: 30 characters Genre: 1 byteGenre: 1 byte
Storage StructureStorage Structure
11stst level of directory structure will be artists level of directory structure will be artists name.name.
22ndnd level of directory structure will be CD level of directory structure will be CD titletitle
Songs can be stored at any level of the Songs can be stored at any level of the directory structure.directory structure.
LCD Display - 4x20 characters LCD Display - 4x20 characters Custom Start-up logo Custom Start-up logo Menu to Choose:Menu to Choose:
Play Song / PlaylistPlay Song / Playlist Copy from CDCopy from CD Delete SongsDelete Songs Possible Playlist EditorPossible Playlist Editor
Display ID3 tag information: Include at Display ID3 tag information: Include at least Song Title and Artistleast Song Title and Artist
Playtime and Volume displays possibly Playtime and Volume displays possibly using barsusing bars
LCD ContinuedLCD Continued
LCD interacts with keypad through User LCD interacts with keypad through User InterfaceInterface
LCD display controlled through RS-232 or LCD display controlled through RS-232 or I2C interfaceI2C interface
Buy LCD with controller or use HD44780 Buy LCD with controller or use HD44780 chip as controllerchip as controller
Backlight to make viewing easier Backlight to make viewing easier
ScheduleSchedule
Cost EstimatesCost Estimates FPGA board: Free (provided by course)FPGA board: Free (provided by course) Processor: $15Processor: $15 MP3 Encoder/Decoder: $35MP3 Encoder/Decoder: $35 LCD Screen with controller: $60LCD Screen with controller: $60 PCB board: $100PCB board: $100 RAM: $10RAM: $10 CD-ROM Drive: Free (used)CD-ROM Drive: Free (used) Hard Drive: Free (used)Hard Drive: Free (used) Speakers: Free (used)Speakers: Free (used) Miscellaneous Parts: $100Miscellaneous Parts: $100 Labor: FreeLabor: Free Hours spent in basement of engineering center: PricelessHours spent in basement of engineering center: Priceless
Total Estimated Cost: $320Total Estimated Cost: $320
Positive Impact on SocietyPositive Impact on Society Less space wasted by CDs and casesLess space wasted by CDs and cases Eliminates problem of scratched CDs and Eliminates problem of scratched CDs and
misplaced CDsmisplaced CDs Better parties with greater selection of songs for Better parties with greater selection of songs for
easier DJing easier DJing Adapted to car would result in less accidents Adapted to car would result in less accidents
caused by careless CD changingcaused by careless CD changing Less CD sales force bands to put on more Less CD sales force bands to put on more
showsshows
Negative ImpactsNegative Impacts
Increased piracy of songsIncreased piracy of songs Less music produced as profits are driven Less music produced as profits are driven
downdown Wasted time listening to music may lead to Wasted time listening to music may lead to
less social interactionsless social interactions Sound noise may cause deafnessSound noise may cause deafness Electrical noise may cause interferences Electrical noise may cause interferences
with other deviceswith other devices
Risks and Contingency Plan Problem with Hard Drive storage systemProblem with Hard Drive storage system
Simplify folders and file systemSimplify folders and file systemStore songs on standard size increments of Store songs on standard size increments of
space to make addressing easierspace to make addressing easier Problem with reading CD-RomProblem with reading CD-Rom
Use alternative interface such as USB to Use alternative interface such as USB to upload songsupload songs
Preload Mp3s on Hard drivePreload Mp3s on Hard drive
Risks and Contingency Plan LCD LCD
Switch to character instead of graphicalSwitch to character instead of graphical Display just file name if ID3 tag information is Display just file name if ID3 tag information is
not availablenot available PCB Board does not workPCB Board does not work
Debug or redesign layoutDebug or redesign layout Use Protoboard setup Use Protoboard setup
QuestionsQuestions
??????????