msp430 project

13
MSP430 Project MSP430 Project Group Members Group Members Rosie West Rosie West Quest Tibbs Quest Tibbs John Trinos John Trinos

Upload: kory

Post on 06-Jan-2016

87 views

Category:

Documents


0 download

DESCRIPTION

MSP430 Project. Group Members Rosie West Quest Tibbs John Trinos. Objectives. To solder components to the board and program the MSP430 microcontroller to display the message “Hello” on the LCD. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: MSP430 Project

MSP430 ProjectMSP430 Project

Group MembersGroup MembersRosie WestRosie WestQuest TibbsQuest TibbsJohn TrinosJohn Trinos

Page 2: MSP430 Project

ObjectivesObjectives

To solder components to the To solder components to the board and program the MSP430 board and program the MSP430 microcontroller to display the microcontroller to display the message “Hello” on the LCD.message “Hello” on the LCD.

To create a sensor circuit and To create a sensor circuit and program the MSP430 to display program the MSP430 to display the measurements taken by the the measurements taken by the sensor.sensor.

Page 3: MSP430 Project

MSP430 OverviewMSP430 Overview

Captures analog signalsCaptures analog signals

Converts them to digital values

Processes this data and displays it on an LCD panel

Page 4: MSP430 Project

MSP430MSP430

Low Supply-Voltage Range, 1.8 V to 3.6 V Low Supply-Voltage Range, 1.8 V to 3.6 V Ultralow-Power Consumption: Ultralow-Power Consumption:

Active Mode: 280 µA at 1 MHz, 2.2 V Active Mode: 280 µA at 1 MHz, 2.2 V Wake-Up From Standby Mode in less than 6 µs Wake-Up From Standby Mode in less than 6 µs 16-Bit RISC Architecture, 125-ns Instruction Cycle Time 16-Bit RISC Architecture, 125-ns Instruction Cycle Time 12-Bit A/D Converter With Internal Reference, Sample-and-Hold and 12-Bit A/D Converter With Internal Reference, Sample-and-Hold and

Autoscan Feature Autoscan Feature 16-Bit Timer_B With Seven Capture/Compare-With-Shadow Registers 16-Bit Timer_B With Seven Capture/Compare-With-Shadow Registers 16-Bit Timer_A With Three Capture/Compare Registers 16-Bit Timer_A With Three Capture/Compare Registers On-Chip Comparator On-Chip Comparator Serial Communication Interface (USART), Select Asynchronous UART Serial Communication Interface (USART), Select Asynchronous UART

or Synchronous SPI by Software: or Synchronous SPI by Software: Two USARTs (USART0, USART1) — MSP430x44x Devices Two USARTs (USART0, USART1) — MSP430x44x Devices Brownout Detector Brownout Detector Supply Voltage Supervisor/Monitor With Programmable Level Supply Voltage Supervisor/Monitor With Programmable Level

Detection Detection Serial Onboard Programming, No External Programming Voltage Serial Onboard Programming, No External Programming Voltage

Needed Programmable Code Protection by Security Fuse Needed Programmable Code Protection by Security Fuse Integrated LCD Driver for Up to 160 Segments Integrated LCD Driver for Up to 160 Segments 60KB+256B Flash Memory, 2KB RAM60KB+256B Flash Memory, 2KB RAM

Page 5: MSP430 Project

MSP430MSP430

Page 6: MSP430 Project

The Finished ProductThe Finished Product

Page 7: MSP430 Project

AD590AD590Temperature SensorTemperature Sensor

Page 8: MSP430 Project

AD590 AD590 Temperature SensorTemperature Sensor Linear current output: 1 µA/K Linear current output: 1 µA/K Wide temperature range: -55°C to +150°C Wide temperature range: -55°C to +150°C Probe compatible ceramic sensor package Probe compatible ceramic sensor package 2-terminal device: voltage in/current out 2-terminal device: voltage in/current out Laser trimmed to ±0.5°C calibration Laser trimmed to ±0.5°C calibration

accuracy (AD590M) accuracy (AD590M) Excellent linearity: ±0.3°C over fullExcellent linearity: ±0.3°C over full

range (AD590M) range (AD590M) Wide power supply range: 4 V to 30 V Wide power supply range: 4 V to 30 V Sensor isolation from case Sensor isolation from case

Page 9: MSP430 Project

Sensor Circuit Sensor Circuit ApproachApproach We decided to use both of the sample We decided to use both of the sample

temperature sensors to decrease the temperature sensors to decrease the amount of noise in the measurement.amount of noise in the measurement.

We also used the suggestions Dr. Green We also used the suggestions Dr. Green gave us in class and used a turnpot gave us in class and used a turnpot resistor in series with a resistor to resistor in series with a resistor to produce 1 mV/produce 1 mV/ºK going into a ºK going into a noninverting op amp with a gain of 5, noninverting op amp with a gain of 5, which was achieved by using resistors so which was achieved by using resistors so that Vthat V00=(1+R=(1+Rfbfb/R/Rinin)V)Vinin . .

Page 10: MSP430 Project

Soldering the Soldering the Sensor CircuitSensor Circuit

Page 11: MSP430 Project

Sensor CircuitSensor Circuit

Page 12: MSP430 Project

Modifications to Modifications to Sensor.cSensor.c The only needed adjustments to The only needed adjustments to

the code was to change the A/D the code was to change the A/D converter value.converter value.

Our value was found to Our value was found to be .0605765 instead of .0613be .0605765 instead of .0613

Page 13: MSP430 Project

ResultsResults