Download presentation
Presentation is loading. Please wait.
Published byRocio Skeffington Modified over 9 years ago
1
SERENADE MP3 PLAYER The Hardware Perspective By: Jacob Messick, Marcel Deslauriers, Brendan Simpson, & Nick Miller
2
Acknowledgements Craig Damon - Guidance Michael Marceau - Guidance Barry Woodworth - Help in Shop Andy Child - Parts Management BAMC - Technical Support
3
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
4
System Diagram MCU ATmega32U4 MCU ATmega32U4 Audio Codec VS1003 Host PC Host PC µSD Card LCD HID: Tactile Buttons HID: Tactile Buttons SPI Serial GPIO
5
Hardware Description Five Major Components Milled Aluminum Case Atmega32U4 Microcontroller VS1003 Audio Codec 4DSystems µLCD-144 Graphical LCD System Power Management System
6
Case Design Milled aluminum Three pieces: Back panel Front panel Sidewalls Cutouts: LCD/ Buttons Audio Jack USB
7
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
8
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
9
Micro-Codec SPI Communication Microcontroller (Master) MISO MOSI SCK GPIO1 GPIO2 GPIO3 GPIO4 GPIO5 Microcontroller (Master) MISO MOSI SCK GPIO1 GPIO2 GPIO3 GPIO4 GPIO5 Vs1003 (Slave) SO SI SCLK xRESET DREQ xCS xDCS
10
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)
11
Lithium Polymer Battery Single Cell High Energy Density Good long term discharge rate Rechargeable Works well under extreme conditions
12
Voltage Regulation Battery/USB power source 1 Switching boost regulator (LTC3203) 3 linear voltage regulators for localized voltage domains
13
Custom Hardware Design Atmega32U4 LCD Screen Audio Codec VS1003 SD Card LiPo Battery Power Management
14
Schematic Power Management Micro CODEC
15
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
16
LCD: Menus 1. Main Menu 2. Song Navigation Menus 3. Current Song View 4. Now Playing Playlist 5. Settings 1 2 3 4
17
LCD - Interfacing : LCD CommandFunction /v+\increase volume /v-\decrease volume /pSong Title Here.mp3\play chosen song /r\resume current song /u\pause current song
18
LCD Database
19
Beethoven
20
Syncing Program Requirements: Syncs media files with MP3 player Cross Platform – Windows, Mac & Linux Built in media player Playlists Execution: Primary Language: Java Development Tools: IntelliJ Libraries: Javax.Swing (GUI), JavaFX (Media Player)
21
Initial Concept
22
About Beethoven ≈ 4000 lines of Java
23
Complications Drag and Drop interface Managing 3 rd Party Libraries Dynamic JTree Modification Database Generation Getting a Coffee…
24
Audio EQ
25
Labview: Measurement & Control Control Options Stop/THD Measurement Right & Left RMS Voltage Measurement
26
LabView: Voltage RMS Measure
27
Labview: THD & 11 Band Filter
28
Labview: 11 Band EQ SubVi
29
Work Distribution
30
Bill Of Materials
31
Demo
32
Summary System Diagram Case Micro-Codec Communication Hardware Description Schematic C odec C odec Power Management Micro Software LCD menus Syncing program Audio EQ Work Flow Bill of materials Demo
33
Power Management CHARGE PUMP Charge Controller
34
Power System Simulation
35
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 Playing a song 280 Volume at 11320 Battery LifeTime Powered On (No music)3 Hours 46 Minutes Playing a song3 Hours 34 Minutes Volume at 113 Hours 08 Minutes
36
Microcontroller
37
Codec
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.