midterm presentation music alarm clock. craig bilberry team leader electrical engineering layout and...
TRANSCRIPT
Midterm Presentation
Music Alarm Clock
Craig BilberryTeam LeaderElectrical Engineering•Layout and Design•Atomic Clock Signal
Will KalishElectrical Engineering•Removable Media Device
•User Interface
Erik LaVineElectrical Engineering•Layout and Design•MP3 Decoder
Eric WomackElectrical Engineering•MCU Setup•MCU Programming
Team Members
Overview• Introduction
Problem Solution
• Constraints Technical Practical
• Design Approach• Progress• References• Questions
Problem
• Restricted option of alarm clock waking mechanism Beeping Buzzing Radio
• Limited customizable options for people without mp3 players
• Conventional clocks develop inaccuracies over long periods of time
Solution
A device that combines the functionality of an atomic clock, alarm clock, and an mp3 docking station without the need of an mp3 player.
Technical Constraints
Name Description
Audio Quality Music must be played at a sample rate of 44.1 kHz
Audio Compatibility
The Music Alarm Clock must be able to play audio files that are widely used in order to be compatible with users existing audio libraries.
Storage Capacity The storage device must be able to store 30 minutes worth of audio files.
Time Accuracy The clock must be able to keep time accurately using the atomic signal.
Display Characteristics
The display must be readable in all lighting conditions from across the room.
Practical Constraints
Type Name Description
Sustainability Durability The Music Alarm Clock must be able to withstand mistreatment by the user.
Health and Safety
Standards The Music Alarm Clock must meet the UL 826 standard and part 15 of the FCC rules.
Manufacturability Size The Music Alarm Clock should be 8” x 5” x 6” or less.
Social Compatibility The removable storage device must be compatible with current operating systems and hardware in PCs.
Economic Cost The projected retail price is $50.
Atomic Receiver and Antenna
CMMR-8P RC Module• Receives Long Wave Analog
Signal broadcast by WWVB via a 60mm ferrite antenna
• Decodes the Long Wave Analog Signal into a digital signal
• Interfaced with PIC24 microcontroller for interpretation of digital signal
[1]
CMMR-8P Major Components
• CME8000 RC Receiver IC by C-MAX
• 77.5 kHz Crystal Filter
• 60 kHz Crystal Filter
• 40 kHz Crystal Filter
• 60mm Ferrite Antenna
CMMR-8P Features & Requirements
• 3V Power Supply
• 1024 Hz External Clock
• Low Power Consumption (<100uA)
• True Bit Strength Detection
• High Sensitivity (0.4uV)
• Data Transfer to CPU (100ms)
• Power Down Mode
CMMR-8P RC Module Layout
Crystal Filters
Ferrite AntennaCME8000 RC Receiver IC
Microcontroller
[1]
PIC 24
PIC24HJ32GP202-I/SP Microcontroller
[3]
[2]
• Prototyping (1-25) - $3.51 per chip
• Mass Production (5000+) - $2.53 per chip
•Requires Additional Parts
Breakout Board for PIC24HJ32 Microcontroller
• Prototyping (1-10) - $19.95 per board
• Mass Production (100+) - $15.96 per board
• Compact
• Fully Assembled
[4]
Removable Media Controller
Removable Media
Cost(2 GB) Advantages Disadvantages
USB Flash Drive $10.84 •High Availability•Module Available ($24.50)
SD Card $8.84 •Inexpensive•Module Available ($17.95)
Memory Stick PRO Duo
$18.89 •Expensive•No Module
21.5 x 31mm[5] [6] [7]
USB Host Controller
Future Technology Devices International, Ltd. VDIP1 Module
•Uses F.T.D.I.’s VN1CL USB host controller IC
•Handles entire USB protocol
•Firmware for easy communication
•Simple interface with PIC24[8]
USB-PIC Interface
VDIP1PIC24
SCK1SDO1
PIO
MP3 Decoder
Chip
[8]
CS
SCLK
SDI
SDO
Audio Decoder
VS1011E-L Audio Decoder
• Decodes mp1, mp2, mp3, and wav audio files
• Bass, treble, and volume controls
• Operates with internal or external clock
• On board high quality stereo DAC
• Stereo earphone driver on board (up to 30 ohm)
• Separate operating voltages for analog and digital [9]
MP3 Decoder
[10]
Data Flow
•Receives input through a serial input bus.
• Input stream is decoded
•Passed through a digital volume control and then to the DAC
[11]
Timeline
Jan Feb Mar April May
Research →→ →→ →→ →→
Atomic Signal Prototype
→→ →→
MP3 DecoderPrototype
→→ →→
Removable Media Prototype
→→ →→
Programming →→ →→ →→ →→
Testing →→ →→ →→ →→
References[1] “Specification for CMMR-8P RC Module,” http://www.c-max-time.com/downloads/index.php .
Accessed February 11, 2009
[2] “Photo of Pin Diagram,” February 11, 2009. [Online.] Available: http://ww1.microchip.com/downloads/en/DeviceDoc/70289C.pdf
[3] “Photo of PIC24,” February 11, 2009. [Online.] Available: http://www.cippsites.com/Merchant4/graphics/00000003/F452.jpg
[4] “Photo of PIC24 Breakout Board,” February 11, 2009. [Online.] Available: http://www.sparkfun.com/commerce/product_info.php?products_id=8787
[5] “Example code from the textbook,” February 10, 2009. [Online.] Available:http://www.ece.msstate.edu/courses/ece3724/main_pic24/docs/textbookexamples.html
[6] “Photo of USB drive,” February 10, 2009. [Online.] Available: http://en.wikipedia.org/wiki/USB_flash_drive
[7] “Photo of SD card,” February 10, 2009. [Online.] Available: http://en.wikipedia.org/wiki/Secure_Digital_card
[8] “Photo of Memory Stick Pro,” February 10, 2009. [Online.] Available: http://en.wikipedia.org/wiki/USB_flash_drive
[9] “Breakout Board for VS1011E-L MP3,” http://www.sparkfun.com/commerce/images/products/08820-03-L.jpg. Accessed February 11, 2009
[10] Future Technology Devices International, Ltd., “Vinculum VNC1L Prototyping Module,” VDIP1 datasheet, 2006-2007.
[11] “vs1011 Datasheet,” http://www.vlsi.fi/datasheets/vs1011.pdf. Accessed February 9, 2009.
Questions?