You are on page 1of 28

The AwesomO mp3

“The Swiss Army Knife of mp3 Players”

Critical Design Review


The AwesomO Corporation:

Kevin Landin Greg Russo


Terrance Sample Mike Sells

Jason Taylor
Main Goal
Our main goal is to build a fully functional
mp3 player that not only plays music, but
also includes features not seen on current
mp3 players.
Primary Objectives
 Audio Playback  LCD Display
Capabilities • Display Song & Artist
Information
• Mp3 Decoding • Display Song Clock
• Headphone Port  Compact Flash Storage
 User Interface Buttons  USB 1.1 Interface
• Play & Stop • File Transfer Interface
• Next Song & Previous Song between player and PC
• On/Off Switch
• Temp Switch
• Flashlight Button
• Volume Control
Secondary Objectives
 High-Intensity LED  Mp3 Digital Voice
Flashlight Recording
• Encode mp3 Files From
 Digital Thermometer Microphone Input
• Display Temp on LCD X Touch Screen
X Implement FPGA X Interface on LCD to
Perform Button Functions
X Simplifies Logic (i.e. Play)
Design Process  FM Transmitter
X Easily Modified for • Output Music to an FM
Debugging Radio Frequency
Basic Hardware Diagram
To Ears
ON/OFF
High Intensity LED Flashlight with
Mp3
Dual Action Switch I2C D/A
Decoder
SPI FM
Trans.
Control Bus
XT CLK PC
TX/RX
Reset LCD To Eyes
RST
PA
Mic PIC18F452
DATA[0:7]
A/D PD
Play/Pause
Stop CompactFlash
Next Control Bus
Priority PB
Previous PE ADDR[0:2]
Encoder
A/D
Record
Volume +
To PC
Volume -
USB
Temp.
Temp
Sensor
PRIMARY HARDWARE
SUBSYSTEMS
8-Bit Microcontroller
PIC18LF452
Key Features:
Internal Flash Memory – 32kb program
memory/ 1.5kb RAM

8 Channel 10 bit ADC

34 In/Out Data Channels (5 Ports A-E)

I2C / 3-wire SPI/ EUSART Serial Port


Interfaces

C compiler optimized

Ideal for low power applications

Supported by PIC start plus and


visualization programmer
PIC18LF452 Schematic
Mp3 Decoder/Encoder
STA015

Decodes mp3 files into stereo, mono,


or digital format and extracts ID3 tag info
Encodes an external audio source into
mp3 format
Digital volume, bass, and treble
controls
Supports I2C and SPI interfaces for
communications with the PIC
Uses low power CMOS technology for
portable applications
STA015 Schematic

To D/A
CS43L42 D/A Converter
 Built in headphone amplifier
 2 Extra audio output lines for use by the FM transmitter
 24-bit precision
 Digital bass and treble boost

From mp3
Decoder
I2C/SPI Timing Diagrams
CompactFlash Storage

 8-bit Data Transfers to


Conserve Pins
 Using Memory Mode
for Addressing
Software Interface
PIC Main

Buttons
FAT 16

Mp3

LCD
USB CF

D/A
SECONDARY HARDWARE
SUBSYSTEMS
FM Transmitter
MAX2606

 Designed specifically for


wireless communications
systems
 Can be tuned to frequencies
between 70 and 150Mhz
 Provides a secondary output
channel
 Perfect for using mp3 player in
a car or over a home stereo
MAX2606 Schematic
FTDI USB Controller

Will allow device to interface with a


PC for downloading files to the
CompactFlash card at slow speeds
Data rate of 12Mb/s
Uses RX/TX pins from serial interface
on PIC
Host side drivers available for main
stream operating systems
FTDI USB Schematic
LCD Display
 Size is 20x2 dot matrix
LCD character display.
 Controller is built in using
a port on the PIC.
 LCD will display song and
artist name using ID3 tag.
 LCD will also display
track time and
temperature.
LCD Schematic
High-Intensity LED Flashlight

Another useful tool that will


increase marketability, commonly
seen on key chains – so why not on
an mp3 player?
Even simpler to implement, can
be wired as a separate circuit
Digital Thermometer
Everyone wants to know what the temperature is outside,
making this a very useful marketing tool

Simple circuitry, can easily be monitored by the PIC

To PIC
Milestones
 Milestone I
• Basic interfacing with Compact Flash
• Ability to read data
 Milestone II
• Mp3 playback
• User interface software implemented
 Expo
• Complete working “swiss army knife” of mp3 players!
• Non-essential hardware implemented
Projected Schedule
Divisions of Labor
Kevin: Compact Flash
Greg: LCD Display
John: Mp3 Decoder/Encoder
Mike: USB
Jason: Mp3 Decoder/Encoder

All: Software & Documentation


Parts List & Cost
Processor: PIC18F452 $11.88
Mp3 Decoder: STA015T $19.30
FM Transmitter: MAX2606 $ 0.90
D/A: CS43L42 $ 5.87
LCD: CFAH2002A-RMI-JT $25.00
Temp. Sensor: TC1047 $ 0.88
USB Chip: FT232BM $ 5.20
Volt Level Shifter: 74LVC4245 $ 0.39
8-3 Line Priority Encoder: SN54HC148 $ 0.55
Mic Amp: MAX9813L $ 0.70
High Intensity LED $20.00
CompactFlash Card $19.95
PCB (2-layer) $33.00
Res., Caps., Connectors, etc. $40.00

Total $183.62
Questions?