midterm presentation music alarm clock. craig bilberry team leader electrical engineering layout and...

26
Midterm Presentation Music Alarm Clock

Upload: hilda-sharp

Post on 18-Jan-2016

222 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Midterm Presentation Music Alarm Clock. Craig Bilberry Team Leader Electrical Engineering Layout and Design Atomic Clock Signal Will Kalish Electrical

Midterm Presentation

Music Alarm Clock

Page 2: Midterm Presentation Music Alarm Clock. Craig Bilberry Team Leader Electrical Engineering Layout and Design Atomic Clock Signal Will Kalish Electrical

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

Page 3: Midterm Presentation Music Alarm Clock. Craig Bilberry Team Leader Electrical Engineering Layout and Design Atomic Clock Signal Will Kalish Electrical

Overview• Introduction

Problem Solution

• Constraints Technical Practical

• Design Approach• Progress• References• Questions

Page 4: Midterm Presentation Music Alarm Clock. Craig Bilberry Team Leader Electrical Engineering Layout and Design Atomic Clock Signal Will Kalish Electrical

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

Page 5: Midterm Presentation Music Alarm Clock. Craig Bilberry Team Leader Electrical Engineering Layout and Design Atomic Clock Signal Will Kalish Electrical

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.

Page 6: Midterm Presentation Music Alarm Clock. Craig Bilberry Team Leader Electrical Engineering Layout and Design Atomic Clock Signal Will Kalish Electrical

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.

Page 7: Midterm Presentation Music Alarm Clock. Craig Bilberry Team Leader Electrical Engineering Layout and Design Atomic Clock Signal Will Kalish Electrical

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.

Page 8: Midterm Presentation Music Alarm Clock. Craig Bilberry Team Leader Electrical Engineering Layout and Design Atomic Clock Signal Will Kalish Electrical

Atomic Receiver and Antenna

Page 9: Midterm Presentation Music Alarm Clock. Craig Bilberry Team Leader Electrical Engineering Layout and Design Atomic Clock Signal Will Kalish Electrical

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]

Page 10: Midterm Presentation Music Alarm Clock. Craig Bilberry Team Leader Electrical Engineering Layout and Design Atomic Clock Signal Will Kalish Electrical

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

Page 11: Midterm Presentation Music Alarm Clock. Craig Bilberry Team Leader Electrical Engineering Layout and Design Atomic Clock Signal Will Kalish Electrical

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

Page 12: Midterm Presentation Music Alarm Clock. Craig Bilberry Team Leader Electrical Engineering Layout and Design Atomic Clock Signal Will Kalish Electrical

CMMR-8P RC Module Layout

Crystal Filters

Ferrite AntennaCME8000 RC Receiver IC

Microcontroller

[1]

Page 13: Midterm Presentation Music Alarm Clock. Craig Bilberry Team Leader Electrical Engineering Layout and Design Atomic Clock Signal Will Kalish Electrical

PIC 24

Page 14: Midterm Presentation Music Alarm Clock. Craig Bilberry Team Leader Electrical Engineering Layout and Design Atomic Clock Signal Will Kalish Electrical

PIC24HJ32GP202-I/SP Microcontroller

[3]

[2]

• Prototyping (1-25) - $3.51 per chip

• Mass Production (5000+) - $2.53 per chip

•Requires Additional Parts

Page 15: Midterm Presentation Music Alarm Clock. Craig Bilberry Team Leader Electrical Engineering Layout and Design Atomic Clock Signal Will Kalish Electrical

Breakout Board for PIC24HJ32 Microcontroller

• Prototyping (1-10) - $19.95 per board

• Mass Production (100+) - $15.96 per board

• Compact

• Fully Assembled

[4]

Page 16: Midterm Presentation Music Alarm Clock. Craig Bilberry Team Leader Electrical Engineering Layout and Design Atomic Clock Signal Will Kalish Electrical

Removable Media Controller

Page 17: Midterm Presentation Music Alarm Clock. Craig Bilberry Team Leader Electrical Engineering Layout and Design Atomic Clock Signal Will Kalish Electrical

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]

Page 18: Midterm Presentation Music Alarm Clock. Craig Bilberry Team Leader Electrical Engineering Layout and Design Atomic Clock Signal Will Kalish Electrical

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]

Page 19: Midterm Presentation Music Alarm Clock. Craig Bilberry Team Leader Electrical Engineering Layout and Design Atomic Clock Signal Will Kalish Electrical

USB-PIC Interface

VDIP1PIC24

SCK1SDO1

PIO

MP3 Decoder

Chip

[8]

CS

SCLK

SDI

SDO

Page 20: Midterm Presentation Music Alarm Clock. Craig Bilberry Team Leader Electrical Engineering Layout and Design Atomic Clock Signal Will Kalish Electrical

Audio Decoder

Page 21: Midterm Presentation Music Alarm Clock. Craig Bilberry Team Leader Electrical Engineering Layout and Design Atomic Clock Signal Will Kalish Electrical

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]

Page 22: Midterm Presentation Music Alarm Clock. Craig Bilberry Team Leader Electrical Engineering Layout and Design Atomic Clock Signal Will Kalish Electrical

MP3 Decoder

[10]

Page 23: Midterm Presentation Music Alarm Clock. Craig Bilberry Team Leader Electrical Engineering Layout and Design Atomic Clock Signal Will Kalish Electrical

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]

Page 24: Midterm Presentation Music Alarm Clock. Craig Bilberry Team Leader Electrical Engineering Layout and Design Atomic Clock Signal Will Kalish Electrical

Timeline

Jan Feb Mar April May

Research →→ →→ →→ →→

Atomic Signal Prototype

→→ →→

MP3 DecoderPrototype

→→ →→

Removable Media Prototype

→→ →→

Programming →→ →→ →→ →→

Testing →→ →→ →→ →→

Page 25: Midterm Presentation Music Alarm Clock. Craig Bilberry Team Leader Electrical Engineering Layout and Design Atomic Clock Signal Will Kalish Electrical

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.

Page 26: Midterm Presentation Music Alarm Clock. Craig Bilberry Team Leader Electrical Engineering Layout and Design Atomic Clock Signal Will Kalish Electrical

Questions?