Group Five MSP430 Project Katy Charlton Jeremy McNutt Ben Ealey

advertisement
Group Five MSP430 Project
Katy Charlton
Jeremy McNutt
Ben Ealey
Aaron 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
•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
A
Voltage
Supply
for proto
board
9 V battery
B
9 V battery
C
DPDT switch
RFB
C (+9V)
10 k
+
C
AD590 sensor
pin 7
+
_
100 
pot
pin 2
a
b
•
•
_
pin 3
+
1k
1k 
pin 6
741
pin 4
+
A
VS
VO
RIN
1.8 k
_
_
B (grd)
B
To A/D converter
of the msp430
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
Temperature (degrees C)
35
30
25
20
AD590
22103
15
10
5
0
0
50
100
150
200
250
300
Time (sec)
Why does the temperature increase quickly and decrease slowly upon
placing and releasing a heat source?
Questions?
Download