Group Five MSP430 Project Katy Charlton Jeremy McNutt Ben Ealey Aaron Vallance April 14, 2007.

Post on 21-Jan-2016

214 views 0 download

Tags:

transcript

Group Five MSP430 Project

Katy CharltonJeremy McNutt

Ben EaleyAaron Vallance

April 14, 2007

Project Objectives

□To build a functioning circuit board with a microprocessor by soldering different components to the board.

□To construct a sensor board that will connect to the circuit board.

□Write a computer program that will display the temperature sensor reading onto the lcd display of the circuit board.

MSP430 Chip

□ Voltage supply of 1.8 to 3.6 V□ 16-bit design□ 12-bit A/D converter□ 5 power saving modes□ Serial onboard programming□ On-chip comparator□ 60 kB flash memory, 2048 B RAM□ Low power to active mode in less than 6

microseconds

Completed Circuit Board

AD590 Temperature Sensor

9 V ba t te ry

9 V ba t te ry

B

A

C

D P D T s w itc h

V o ltag eS up p lyfo r p ro tob o ard

C (+ 9 V )

B (g rd )

+

_

A D 5 9 0 s e n s o r

7 4 1

B

pin 7

pin 4

pin 6pin 2

pin 3

C

A

+

_+

_

V S

R FB

R IN

1 0 k

1 .8 k

1 k

+

_

V O

T o A /D c o n v e rte ro f th e m s p 4 3 0

• •a b

1 0 0 pot

1 k

•Sensor Output: 1μA/˚K

•Supply voltage: 4 to 30 V

•Temperature range: -55 to 150 ˚C

•2 terminals: voltage in, current out

•Calibration required

AD22103 Temperature Sensor

•Supply voltage: 2.7 to 3.6 V

•Temperature range: 0-100 ˚C

•Temperature coefficient: 28mV/ ˚C

•Transfer function:

V0=(Vs/3.3V)*[0.25V+(28mV/˚C)*TA]

•On-chip signal conditioning – no need to calibrate

Computer Programming

Program Modifications:□ Added 7th order filter□ Conversions from

Kelvin to Celsius and Fahrenheit

□ Change input from sensor to Celsius from Kelvin with new sensor

Filtering:□ 7th order filter allows

the output to be a better representation of the current temperature because the past seven data points have been averaged

□ This can also cause a delay when the sensor is first activated

Troubleshooting

□ Check all pin connections on the circuit board.□ Make sure all components of the sensor board are

wired and powered correctly.□ Test operational amplifier and MSP430 against

working standards.

Success!

Sensor Readings

Temperature vs. Time

0

5

10

15

20

25

30

35

0 50 100 150 200 250 300

Time (sec)

Te

mp

era

ture

(d

eg

ree

s C

)

AD590

22103

Why does the temperature increase quickly and decrease slowly upon placing and releasing a heat source?

Questions?