trackmate - web.ece.ucsb.edu · trackmate is a gps enabled mp3 player that allows athletes to track...

35
Trackmate Nathan Beste, Justin Flair, Arzhang Badiozamani, Evan Graves ECE 189 A/B Spring 2013

Upload: others

Post on 27-Sep-2020

7 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Trackmate - web.ece.ucsb.edu · Trackmate is a GPS enabled MP3 player that allows athletes to track their speed and distance using GPS data. It provides ... High Level Block Diagram

Trackmate

Nathan Beste, Justin Flair,Arzhang Badiozamani,

Evan Graves

ECE 189 A/BSpring 2013

Page 2: Trackmate - web.ece.ucsb.edu · Trackmate is a GPS enabled MP3 player that allows athletes to track their speed and distance using GPS data. It provides ... High Level Block Diagram

The Idea!

Page 3: Trackmate - web.ece.ucsb.edu · Trackmate is a GPS enabled MP3 player that allows athletes to track their speed and distance using GPS data. It provides ... High Level Block Diagram

+ = ?

The Idea!

Page 4: Trackmate - web.ece.ucsb.edu · Trackmate is a GPS enabled MP3 player that allows athletes to track their speed and distance using GPS data. It provides ... High Level Block Diagram

Overview

Trackmate is a GPS enabled MP3 player that allows athletes to track their speed and distance using GPS data. It provides an easy and intuitive touch screen interface and an SD card for data transfer.

Page 5: Trackmate - web.ece.ucsb.edu · Trackmate is a GPS enabled MP3 player that allows athletes to track their speed and distance using GPS data. It provides ... High Level Block Diagram

Printed Circuit Board

Page 6: Trackmate - web.ece.ucsb.edu · Trackmate is a GPS enabled MP3 player that allows athletes to track their speed and distance using GPS data. It provides ... High Level Block Diagram

Microprocessor: NXP LPC2478• ARM7 processor• Controls peripherals• SDRAM support• LCD Controller with TFT support• SD card memory interface• SPI interface controller for audio

decoding and LCD display• RS-232 peripheral interface for GPS

and programming the processor

Page 7: Trackmate - web.ece.ucsb.edu · Trackmate is a GPS enabled MP3 player that allows athletes to track their speed and distance using GPS data. It provides ... High Level Block Diagram

High Level Block Diagram

LPC2478 Microprocessor

Page 8: Trackmate - web.ece.ucsb.edu · Trackmate is a GPS enabled MP3 player that allows athletes to track their speed and distance using GPS data. It provides ... High Level Block Diagram

Printed Circuit Board

Page 9: Trackmate - web.ece.ucsb.edu · Trackmate is a GPS enabled MP3 player that allows athletes to track their speed and distance using GPS data. It provides ... High Level Block Diagram

TFT LCD Display With Touchscreen

• Used to display interface to user as well as GPS data and MP3 playback

• Capacitive Touch Panel Control• 24-Bit RGB Interface for display• Each pixel can display over 16

million different colors!

Challenges:• Configuring the interfaces• Parsing the touch data

Page 10: Trackmate - web.ece.ucsb.edu · Trackmate is a GPS enabled MP3 player that allows athletes to track their speed and distance using GPS data. It provides ... High Level Block Diagram

High Level Block Diagram

LPC2478 Microprocessor

TFT LCD Display With Touchscreen

User Interface (buttons/touch screen)

Page 11: Trackmate - web.ece.ucsb.edu · Trackmate is a GPS enabled MP3 player that allows athletes to track their speed and distance using GPS data. It provides ... High Level Block Diagram

Printed Circuit Board

Page 12: Trackmate - web.ece.ucsb.edu · Trackmate is a GPS enabled MP3 player that allows athletes to track their speed and distance using GPS data. It provides ... High Level Block Diagram

MP3 Audio Decoder:• Used to decode MP3 audio files stored

on the SD card• SPI interface• Volume control built in

Audio Output:• Used for the output of the MP3 decoder to any audio system

Challenges:• Configuring the registers• Verifying the data path

MP3 Audio Decoder and Output

Page 13: Trackmate - web.ece.ucsb.edu · Trackmate is a GPS enabled MP3 player that allows athletes to track their speed and distance using GPS data. It provides ... High Level Block Diagram

High Level Block Diagram

LPC2478 Microprocessor

TFT LCD Display With Touchscreen

User Interface (buttons/touch screen)

Audio Output

VS1011e Audio Decoder

Page 14: Trackmate - web.ece.ucsb.edu · Trackmate is a GPS enabled MP3 player that allows athletes to track their speed and distance using GPS data. It provides ... High Level Block Diagram

Printed Circuit Board

Page 15: Trackmate - web.ece.ucsb.edu · Trackmate is a GPS enabled MP3 player that allows athletes to track their speed and distance using GPS data. It provides ... High Level Block Diagram

RS-232 Connector and Level Shifter

•Used for programming the processor.•Helpful for debugging and testing peripherals.•Necessary to boot up the processor and run code.

Page 16: Trackmate - web.ece.ucsb.edu · Trackmate is a GPS enabled MP3 player that allows athletes to track their speed and distance using GPS data. It provides ... High Level Block Diagram

High Level Block Diagram

LPC2478 Microprocessor

TFT LCD Display With Touchscreen

User Interface (buttons/touch screen)

Audio Output

VS1011e Audio Decoder

RS-232 Connector and Level Shifter

Page 17: Trackmate - web.ece.ucsb.edu · Trackmate is a GPS enabled MP3 player that allows athletes to track their speed and distance using GPS data. It provides ... High Level Block Diagram

Printed Circuit Board

Page 18: Trackmate - web.ece.ucsb.edu · Trackmate is a GPS enabled MP3 player that allows athletes to track their speed and distance using GPS data. It provides ... High Level Block Diagram

SDRAM • 128MB of storage• Used to store data read from the SD card for fast access later

• send audio data to the audio decoder• send video and pictures to the display

Challenges:• Partitioning the SDRAM addressing

several components.• Configuring the pins

Page 19: Trackmate - web.ece.ucsb.edu · Trackmate is a GPS enabled MP3 player that allows athletes to track their speed and distance using GPS data. It provides ... High Level Block Diagram

High Level Block Diagram

LPC2478 Microprocessor

TFT LCD Display With Touchscreen

User Interface (buttons/touch screen)

Audio Output

VS1011e Audio Decoder

128 MB SDRAMRS-232

Connector and Level Shifter

Page 20: Trackmate - web.ece.ucsb.edu · Trackmate is a GPS enabled MP3 player that allows athletes to track their speed and distance using GPS data. It provides ... High Level Block Diagram

Printed Circuit Board

Page 21: Trackmate - web.ece.ucsb.edu · Trackmate is a GPS enabled MP3 player that allows athletes to track their speed and distance using GPS data. It provides ... High Level Block Diagram

SD Card Reader• Uses proprietary 4-bit SD/MMC interface• Files on card organized using FAT16• Used to store user video, pictures and audio

Difficulties:• Understanding the 4 part SD specification• Figuring out the DMA interface• Parsing the FAT system

Page 22: Trackmate - web.ece.ucsb.edu · Trackmate is a GPS enabled MP3 player that allows athletes to track their speed and distance using GPS data. It provides ... High Level Block Diagram

High Level Block Diagram

LPC2478 Microprocessor

TFT LCD Display With Touchscreen

User Interface (buttons/touch screen)

Audio Output

VS1011e Audio Decoder

128 MB SDRAM

SD Card Reader

RS-232 Connector and Level Shifter

Page 23: Trackmate - web.ece.ucsb.edu · Trackmate is a GPS enabled MP3 player that allows athletes to track their speed and distance using GPS data. It provides ... High Level Block Diagram

Printed Circuit Board

Page 24: Trackmate - web.ece.ucsb.edu · Trackmate is a GPS enabled MP3 player that allows athletes to track their speed and distance using GPS data. It provides ... High Level Block Diagram

GPS with Internal Antenna• Outputs a timestamp with GPS

coordinates• Distance and Speed is displayedon LCD

Difficulties:• Communication through UART• Parsing the GPS strings

Page 25: Trackmate - web.ece.ucsb.edu · Trackmate is a GPS enabled MP3 player that allows athletes to track their speed and distance using GPS data. It provides ... High Level Block Diagram

High Level Block Diagram

LPC2478 Microprocessor

PMB-648 GPS Module

TFT LCD Display With Touchscreen

User Interface (buttons/touch screen)

Audio Output

VS1011e Audio Decoder

128 MB SDRAM

SD Card Reader

RS-232 Connector and Level Shifter

Page 26: Trackmate - web.ece.ucsb.edu · Trackmate is a GPS enabled MP3 player that allows athletes to track their speed and distance using GPS data. It provides ... High Level Block Diagram

Video Demonstration:

Page 27: Trackmate - web.ece.ucsb.edu · Trackmate is a GPS enabled MP3 player that allows athletes to track their speed and distance using GPS data. It provides ... High Level Block Diagram

• GPS Module• SDRAM• Processor• Audio Decoder• LCD Display and Touch Screen• RS-232 Level Shifter• SD Card

Technology and IP Re-use

Page 28: Trackmate - web.ece.ucsb.edu · Trackmate is a GPS enabled MP3 player that allows athletes to track their speed and distance using GPS data. It provides ... High Level Block Diagram

What we did right:

• Good organization and design• Effective teamwork• Kept the project to a reasonable level of implementation• Dedicated ourselves to specific peripherals to be able to work in

parallel after fabrication• Read through individual data sheets before programming

peripherals• Sacrificed most of our social lives to complete the project

Page 29: Trackmate - web.ece.ucsb.edu · Trackmate is a GPS enabled MP3 player that allows athletes to track their speed and distance using GPS data. It provides ... High Level Block Diagram

What we did wrong:

• Correctness of board layout and error checking• Leaving parts of the board until the last minute to fix• Waiting too long to start programming the board• Voltage regulators• Not preparing GPIO pins for testing the processor• DIP switch issues

Page 30: Trackmate - web.ece.ucsb.edu · Trackmate is a GPS enabled MP3 player that allows athletes to track their speed and distance using GPS data. It provides ... High Level Block Diagram

Advice to future students:

• Get a head start and make sure to read and understand ALL of thedatasheets (especially for the processor)

• Check for errors in board layout and peripheral specifications over and over again, there's never too much you can check for

• Test Pins are cheap! Use them freely! Makes debugging easier• Make sure there is plenty of support for a peripheral before buying

it

Page 31: Trackmate - web.ece.ucsb.edu · Trackmate is a GPS enabled MP3 player that allows athletes to track their speed and distance using GPS data. It provides ... High Level Block Diagram

• PCB is proof-of-concept• Final product could be much smaller• A final implementation could use a low power, low cost

processor.o (NXP generously donated current processor)

• Mass production will drop the cost

Improvements and thoughts

Page 32: Trackmate - web.ece.ucsb.edu · Trackmate is a GPS enabled MP3 player that allows athletes to track their speed and distance using GPS data. It provides ... High Level Block Diagram

Group Photo

Page 33: Trackmate - web.ece.ucsb.edu · Trackmate is a GPS enabled MP3 player that allows athletes to track their speed and distance using GPS data. It provides ... High Level Block Diagram

Thanks to all!!!

UCSB ECE Department Professor JohnsonJoseph MalcomECE Shop

Page 34: Trackmate - web.ece.ucsb.edu · Trackmate is a GPS enabled MP3 player that allows athletes to track their speed and distance using GPS data. It provides ... High Level Block Diagram

And one final thank you to….

Page 35: Trackmate - web.ece.ucsb.edu · Trackmate is a GPS enabled MP3 player that allows athletes to track their speed and distance using GPS data. It provides ... High Level Block Diagram

Questions?