The Awesome-O MP3 file

advertisement
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
Capabilities
• Mp3 Decoding
• Headphone Port
 User Interface Buttons
•
•
•
•
•
•
Play & Stop
Next Song & Previous Song
On/Off Switch
Temp Switch
Flashlight Button
Volume Control
 LCD Display
• Display Song & Artist
Information
• Display Song Clock
 Compact Flash Storage
 USB 1.1 Interface
• File Transfer Interface
between player and PC
Secondary Objectives
 High-Intensity LED
Flashlight
 Digital Thermometer
• Display Temp on LCD
X Implement FPGA
X Simplifies Logic
Design Process
X Easily Modified for
Debugging
 Mp3 Digital Voice
Recording
• Encode mp3 Files From
Microphone Input
X Touch Screen
X Interface on LCD to
Perform Button Functions
(i.e. Play)
 FM Transmitter
• Output Music to an FM
Radio Frequency
Basic Hardware Diagram
To Ears
ON/OFF
High Intensity LED Flashlight with
Dual Action Switch
I2C
SPI
Mp3
D/A
Decoder
FM
Trans.
PC
CLK
XT
Control Bus
TX/RX
LCD
Reset
To Eyes
RST
PA
Mic
PIC18F452
A/D
PD
DATA[0:7]
Play/Pause
CompactFlash
Stop
Next
Previous
Record
Priority
Encoder
Control Bus
PB
PE
ADDR[0:2]
A/D
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
D/A
CF
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
Mp3 Decoder: STA015T
FM Transmitter: MAX2606
D/A: CS43L42
LCD: CFAH2002A-RMI-JT
Temp. Sensor: TC1047
USB Chip: FT232BM
Volt Level Shifter: 74LVC4245
8-3 Line Priority Encoder: SN54HC148
Mic Amp: MAX9813L
High Intensity LED
CompactFlash Card
PCB (2-layer)
Res., Caps., Connectors, etc.
$11.88
$19.30
$ 0.90
$ 5.87
$25.00
$ 0.88
$ 5.20
$ 0.39
$ 0.55
$ 0.70
$20.00
$19.95
$33.00
$40.00
Total $183.62
Questions?
Related documents
Download