280 likes | 422 Views
SERENADE mp3 player The Hardware Perspective. By: Jacob Messick , Marcel Deslauriers , Brendan Simpson, & Nick Miller. Acknowledgements. Craig Damon - Guidance Michael Marceau - Guidance Barry Woodworth - Help in Shop Andy Child - Parts Management BAMC - Technical Support.
E N D
SERENADEmp3 playerThe Hardware Perspective By: Jacob Messick, Marcel Deslauriers, Brendan Simpson, & Nick Miller
Acknowledgements • Craig Damon - Guidance • Michael Marceau - Guidance • Barry Woodworth - Help in Shop • Andy Child - Parts Management • BAMC - Technical Support
Table of Contents • System Diagram • Hardware Description • Main Controller • Power Management • User Interface • Software Description • Beethoven Program • LCD • Audio Graphical EQ • Work Distribution • Bill of Materials
Audio CodecVS1003 System Diagram µSD Card SPI MCU ATmega32U4 LCD Serial GPIO Host PC HID: Tactile Buttons
Hardware Description • Five Major Components • Milled Aluminum Case • Atmega32U4 Microcontroller • VS1003 Audio Codec • 4DSystems µLCD-144 Graphical LCD System • Power Management System
Case Design • Milled aluminum • Three pieces: • Back panel • Front panel • Sidewalls • Cutouts: • LCD/ Buttons • Audio Jack • USB
ATMega32U4 • Coordinates all peripheral functions between chips • Manages SPI communication with µSD card and VS1003 • Manages USB connection • Manages information serving to LCD • Operates at 8MHz @ 3.3V
Audio Codec VS1003 • Decodes MP3 &WMA • SPI Control • High Quality on chip Stereo • 18-bit DAC • Integrated DSP core provides advanced features such as pitch control • Requires 3 voltage domains (3.3, 2.85, 2.7) and runs at 12.288MHz
Micro-Codec SPI Communication Microcontroller (Master) MISO MOSI SCK GPIO1 GPIO2 GPIO3 GPIO4 GPIO5 Vs1003 (Slave) SO SI SCLK xRESET DREQ xCS xDCS
LCD – 4D Systems LCD • 128x128 Color LCD • µSD card storage • 10KiB of flash memory program storage • 510 bytes of RAM for program memory • Integrated Graphics Processor • Interfaces via standard UART (serial)
Lithium Polymer Battery • Single Cell • High Energy Density • Good long term discharge rate • Rechargeable • Works well under extreme conditions
Voltage Regulation • Battery/USB power source • 1 Switching boost regulator (LTC3203) • 3 linear voltage regulators for localized voltage domains
Custom Hardware Design • Atmega32U4 • LCD Screen • Audio Codec VS1003 • SD Card • LiPo Battery • Power Management
Schematic Power Management Micro CODEC
Software Description • Microcontroller • Simple interrupt driven runtime to serve user requests (button input) • Controls file streaming from the µSD to the VS1003 • Sends inputs, the database, and status information about the current song playing to the LCD • LCD • Main GUI for the MP3 player • Uses the database to create menus as needed • Tells the microcontroller what song to play and volume level • Beethoven Program • Media library • Music & database syncing • MP3 playback • Metadata editor
1 2 LCD: Menus Main Menu Song Navigation Menus Current Song View Now Playing Playlist Settings 4 3
Labview: Measurement & Control Right & Left RMS Voltage Measurement Control Options Stop/THD Measurement
Summary • System Diagram • Case • Micro-Codec Communication • Hardware Description • Schematic • Codec • Power Management • Micro • Software • LCD menus • Syncing program • Audio EQ • Work Flow • Bill of materials • Demo
Power Management Charge Controller CHARGE PUMP
Power Management Results • . LCD Draws 220 mA when powered No Sleep/ Hibernate Mode