Download - MSP430 Project

Transcript
Page 1: MSP430 Project

MSP430 Project

Adam Fraprie

John Glass Dr. Green

Ed Shouse

GROUP #2

Page 2: MSP430 Project

Objectives• Construct Circuit Board

• MSP430

• Load and Test “Hello” Software• Demo.c

• Construct Sensor Circuit• AD590

• Load and Test Sensor Software• Sensor.c

• Accurately Measure Temperature in Celsius and Fahrenheit

Page 3: MSP430 Project

MSP430

• Ultra Low Power Architecture

• Extends Battery Life• 0.1μA RAM Retention

• 16-bit CPU• Low Cost

Page 4: MSP430 Project

Completed Circuit Board

1. LCD

2. Power Supply

3. MSP430

4. PC Connection

5. Reset

6. Input

7. Output

8. Capacitors

Page 5: MSP430 Project

AD590

• Accuracy• +/- 0.5º C

• +/- 0.9º F

• Power Range• 4V – 30V

• Temperature Range• -55º C -- 150º C

• -67º F -- 302º F

• 2 Terminal Device• Voltage in (+)

• Current out (-)– 1μA/K

Page 6: MSP430 Project

Sensor Circuit

Page 7: MSP430 Project

Sensor Circuit

Page 8: MSP430 Project

Software Filter// Filter the signal with a 4th order moving average SIGK = (XIN + XIN1 + XIN2 + XIN3 + XIN4 + XIN5 + XIN6 + XIN7)*.125; XIN7 = XIN6; XIN6 = XIN5; XIN5 = XIN4; XIN4 = XIN3; XIN3 = XIN2; XIN2 = XIN1; XIN1 = XIN; CDEG = (SIGK - 273.2); FDEG = 1.8*CDEG + 32.0; // converting from deg C to deg F

Page 9: MSP430 Project

Temperature Vs. Passes

0

5

10

15

20

25

30

1 2 3 4 5 6 7 8 9 10 11 12

Passes

Tem

per

atu

re O

utp

ut

Filterd Temperature

Page 10: MSP430 Project

Completed Thermometer

Page 11: MSP430 Project

New Experiences

• Soldering

• Construction of Practical Circuit

• Programming Flash Memory

• Calibration Using Potentiometer

• Engineering Team Building

• FUN!!!!

Page 12: MSP430 Project

Questions ???

?

??

??

? ?

?

? ?

?