SERENADE MP3 PLAYER The Hardware Perspective By: Jacob Messick, Marcel Deslauriers, Brendan Simpson,...
-
Upload
rocio-skeffington -
Category
Documents
-
view
218 -
download
3
Transcript of SERENADE MP3 PLAYER The Hardware Perspective By: Jacob Messick, Marcel Deslauriers, Brendan Simpson,...
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
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
System Diagram
MCUATmega32U4
Audio CodecVS1003
HostPC
µSD Card
LCD
HID:Tactile Buttons
SPI
Serial
GPIO
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)
MISOMOSISCK
GPIO1GPIO2GPIO3GPIO4GPIO5
Vs1003(Slave)
SOSISCLKxRESETDREQxCSxDCS
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
LCD: Menus
1. Main Menu
2. Song Navigation Menus
3. Current Song View
4. Now Playing Playlist
5. Settings
1 2
3 4
Beethoven
Audio EQ
Labview: Measurement & Control
Control Options
Stop/THD Measurement
Right & Left RMS Voltage Measurement
Work Distribution
Bill Of Materials
Demo
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 PUMP
Charge Controller
Power System Simulation
Power Management
Results
• .
• LCD Draws 220 mA when powered
• No Sleep/ Hibernate Mode
Current Draw On Battery (mA)
USB Power (mA)
On (No music) 265 265
Playing a song
280 280
Volume at 11 320 320
Battery Life Time Powered
On (No music) 3 Hours 46 Minutes
Playing a song 3 Hours 34 Minutes
Volume at 11 3 Hours 08 Minutes
Microcontroller
Codec