Presentation is loading. Please wait.

Presentation is loading. Please wait.

ECE 477 Design Review Team 1  Fall 2008. Outline Project overviewProject overview Project-specific success criteriaProject-specific success criteria.

Similar presentations


Presentation on theme: "ECE 477 Design Review Team 1  Fall 2008. Outline Project overviewProject overview Project-specific success criteriaProject-specific success criteria."— Presentation transcript:

1 ECE 477 Design Review Team 1  Fall 2008

2 Outline Project overviewProject overview Project-specific success criteriaProject-specific success criteria Block diagramBlock diagram Component selection rationaleComponent selection rationale Packaging designPackaging design Schematic and theory of operationSchematic and theory of operation PCB layoutPCB layout Software design/development statusSoftware design/development status Project completion timelineProject completion timeline Questions / discussionQuestions / discussion

3 Project Overview Will measure distance run using GPSWill measure distance run using GPS Will calculate data such as pace and estimated calories burnedWill calculate data such as pace and estimated calories burned Will display information in real time via color screenWill display information in real time via color screen Will store data on a micro-SD cardWill store data on a micro-SD card Will display battery life on screenWill display battery life on screen Will be self-containedWill be self-contained

4 Project-Specific Success Criteria An ability to track distance run via GPS. An ability to store/archive data on on-board non- volatile (flash) memory. An ability to display remaining battery life as a multi- segment fuel gauge (on the LCD), and provide a warning beep when battery life is low An ability to charge the integrated lithium-ion battery via external wall wart. An ability to display running statistics (and other operational information) via the integrated user interface (LCD and pushbuttons).

5 Block Diagram

6 Component Selection Rationale Microcontroller: MC9S12XDT256Microcontroller: MC9S12XDT256 –Necessary number of I/O pins –Necessary peripherals: SCI, PWM, TIM –Enough flash storage for program and one run GPS: EM-406AGPS: EM-406A –Good satellite recognition –Easy communication with microcontroller LCD: TEG13752LCD: TEG13752 –Size (Easily read but small enough) –Full color

7 Component Selection Rationale SD Reader/Writer: BOB-08567SD Reader/Writer: BOB-08567 –Easy communication with microcontroller –Size (very small) Battery: UBBP01Battery: UBBP01 –High energy density (148 Wh/Kg) –High energy (6.8 Wh) –Flat Shape –Compatible with Packaging Design –Rechargeable

8 Component Selection Rationale Speaker: 24M5237Speaker: 24M5237 –Size (very small) –Low impedance RPG: 61C11-01-08-02RPG: 61C11-01-08-02 –Pushbutton for selecting –Free of Cost Fuel Gauge: DS2780Fuel Gauge: DS2780 –Low Cost –Recommended Battery Charger: MAX8677CBattery Charger: MAX8677C –Can supply system with power from wall-wart or battery –Compatible with battery voltage and current

9 Component Selection Rationale Boost Power Supply: TPS61032PWPBoost Power Supply: TPS61032PWP –Supplies Enough Current (200 mA) –Efficient at needed current (94%) LDOs: MIC5203-3.8YM4, MIC5203-3.0YM4LDOs: MIC5203-3.8YM4, MIC5203-3.0YM4 –Supply needed voltages –Input voltage correct AC Adaptor: T314-P6P-NDAC Adaptor: T314-P6P-ND –Correct Voltage (5V) –Current output within bounds (100mA-500mA) AC connector: CP-002BPJCT-NDAC connector: CP-002BPJCT-ND –Same size as adaptor –PCB mountable

10 Packaging Design

11

12 Schematic/Theory of Operation Microcontroller Battery Charger Push Buttons Fuel Gauge SD Tx RPGLCD MIC1, MIC2 GPS Tx, PPS 2 32 SD Rx, Reset LCD GPS Rx 13 2 2

13 Schematic/Theory of Operation

14 POWER SUPPLY Boost switching power supply to boost the battery power to a stable 5 VBoost switching power supply to boost the battery power to a stable 5 V Two LDOs to supply the LCD with voltages needs (3.0V and 3.8V)Two LDOs to supply the LCD with voltages needs (3.0V and 3.8V) Only need to supply about 200 mA of currentOnly need to supply about 200 mA of current 4.35 V Battery Charging IC (Select) Battery (3-4.2 V) Wallwart (5 V) Boost LDO 5.0 V 3.8 V (25 mA current requirement) 3.0 V (25 mA current requirement) 5.0 V (150 mA current requirement)

15 Schematic/Theory of Operation

16 BATTERY CIRCUIT Battery ChargerBattery Charger Battery Fuel GaugeBattery Fuel Gauge Li Ion Battery Battery Charger Fuel Gauge Adaptor 5V 3.7V 4.35V to Boost To Microcontroller

17 Schematic/Theory of Operation

18 LCD To Microcontroller 9RGB Data HSync VSync S/D MCK MIC2 MIC1 From Microcontroller

19 Schematic/Theory of Operation

20 SD Reader/Writer Rx Reset Tx To Microcontroller From Microcontroller

21 Schematic/Theory of Operation

22

23

24 RPG To Microcontroller Push Button Output B Output A

25 Schematic/Theory of Operation

26 PCB Layout Top Copper

27 PCB Layout Bottom Copper/Power

28 PCB Layout-Microcontroller

29 PCB Layout – SD/GPS GPS Header SD Card Reader/Writer

30 PCB Layout – LCD Header LCD Header

31 PCB Layout – RPG and Pushbuttons RPG Pushbutton

32 Software Design/Development Status Psuedo-code for LCD is underwayPsuedo-code for LCD is underway

33 Character Bitmaps for LCD interface

34 // LOOKUP VALUES #define ZERO 26 #define COLON 36 #define HYPHEN 37 #define DEGREE 38 #define QMARK 39 #define PERIOD 40 #define SLASH 41 #define PERIOD 42 #define SPACE 43 // THREE BATTERY SEGMENTS #define BAT1C 44// ! #define BAT2C 45// @ #define BAT3C 46// # #define BAT1U 47// $ #define BAT2U 48// % #define BAT3U 49// ^ // COLORS #define BLACK 0X888 #define RED 0X800 #define GREEN 0X080 #define BLUE 0X008 #define D_RED 0X400 #define D_GREEN 0X040 #define D_BLUE 0X004 #define ORANGE 0X840 #define YELLOW 0X880 #define VIOLET 0X808 #define D_ORANGE 0X420 #define D_YELLOW 0X440 #define D_VIOLET 0X404 unsigned short char_table[44][12][8] = /*A*/ [[[0,0,0,1,1,0,0,0],[0,0,1,1,1,1,0,0], [0,1,1,0,0,1,1,0],[0,1,0,0,0,0,1,0], [0,1,0,0,0,0,1,0],[0,1,0,0,0,0,1,0], [0,1,1,1,1,1,1,0],[0,1,1,1,1,1,1,0], [0,1,0,0,0,0,1,0],[0,1,0,0,0,0,1,0], [0,1,0,0,0,0,1,0],[0,1,0,0,0,0,1,0]], /*B*/ [[0,1,1,1,1,0,0,0],[0,1,1,1,1,1,0,0], [0,1,0,0,0,1,0,0],[0,1,0,0,0,0,1,0], [0,1,0,0,0,1,1,0],[0,1,1,1,1,1,0,0], [0,1,1,1,1,1,0,0],[0,1,0,0,0,1,1,0], [0,1,0,0,0,0,1,0],[0,1,0,0,0,1,0,0], [0,1,1,1,1,1,0,0],[0,1,1,1,1,0,0,0]], /*C*/ [[0,0,0,1,1,0,0,0],[0,0,1,1,1,1,0,0], [0,1,1,0,0,1,1,0],[0,1,0,0,0,0,1,0], [0,1,0,0,0,0,0,0],[0,1,0,0,0,0,0,0], [0,1,0,0,0,0,1,0],[0,1,1,0,0,1,1,0], [0,0,1,1,1,1,0,0],[0,0,0,1,1,0,0,0]], … Character Map Definitions and Color Definitions

35 for (i=0; i<12;i++){ vcurr = vsync; for (j=0;j<30;j++){ hcurr = hsync; pixelout(char_table[lookup[j]][i][0]); while (hsync==hcurr){} hcurr = hsync; pixelout(char_table[lookup[j]][i][1]); while (hsync==hcurr){} hcurr = hsync; pixelout(char_table[lookup[j]][i][2]); while (hsync==hcurr){} hcurr = hsync; pixelout(char_table[lookup[j]][i][3]); while (hsync==hcurr){} hcurr = hsync; pixelout(char_table[lookup[j]][i][4]); while (hsync==hcurr){} hcurr = hsync; pixelout(char_table[lookup[j]][i][5]); while (hsync==hcurr){} hcurr = hsync; pixelout(char_table[lookup[j]][i][6]); while (hsync==hcurr){} hcurr = hsync; pixelout(char_table[lookup[j]][i][7]); while (hsync==hcurr){} } while (vsync==vcurr){} }

36 Project Completion Timeline 10/24: PCB Completed, Schematic Completed, Psuedo-Code Completed10/24: PCB Completed, Schematic Completed, Psuedo-Code Completed 10/31: LCD Interface with Microcontroller done10/31: LCD Interface with Microcontroller done 11/7: GPS interface with Microcontroller done, SD Interfacing Done11/7: GPS interface with Microcontroller done, SD Interfacing Done 11/14: Interfacing with battery fuel gauge done, Begin prototyping project11/14: Interfacing with battery fuel gauge done, Begin prototyping project 12/3: Project Completed12/3: Project Completed

37 Questions & Discussion


Download ppt "ECE 477 Design Review Team 1  Fall 2008. Outline Project overviewProject overview Project-specific success criteriaProject-specific success criteria."

Similar presentations


Ads by Google