Presentation is loading. Please wait.

Presentation is loading. Please wait.

MSP 430 Project ECE 300 Spring 2004 William S. McLemore Ruben D. Briano Cheng-Han Tsai.

Similar presentations


Presentation on theme: "MSP 430 Project ECE 300 Spring 2004 William S. McLemore Ruben D. Briano Cheng-Han Tsai."— Presentation transcript:

1 MSP 430 Project ECE 300 Spring 2004 William S. McLemore Ruben D. Briano Cheng-Han Tsai

2 Purpose of this Project Have an opportunity to work as member of a team. Learn basic skills of soldering Learn to compile program in order to flash the computer chip Select and study the characteristic of a sensor Learn to calibrate the chosen sensor in order to get accurate readings through the computer chip and to the LCD

3 Process of Building the Project Solder all components to the board Test the board by flashing demo file Create working circuit between board and sensor Change and correct the code to display wanted results Test sensor and board together in various cases

4 Soldering Order Surface mounted capacitors and resistors Push button switch, voltage regulator, 5 volt input, and slider switch MSP430 chip LCD JTAG connector

5 Steps for Programming the MSP430 Chip Copy the files from the ECE 300 website Create a new project in the IAR software Add the Delay, Demo, and LCD files to the project Compile the project and then select the Debugger Open the lcdDisplay and select f430p Now the chip has been flashed and it should scroll ‘HELLO’ across LCD display.

6 Choosing a Sensor SensorLinearInputOutputAccuracy (+/-) (deg C) Temp. Range (deg C) AD590  VoltageCurrent0.5-55 - 150 LM19  CurrentVoltage3.5-55 - 130 DS56Voltage 3.0-40 - 125 AD7818  Voltage 1.0-55 - 125

7 AD590 Temperature Sensor Features Linear current output Wide Temperature Range: -55°C to 150 °C 4 V to 30 V supply voltage range allows for versatility Very accurate when compared to other sensors Output current is not dependant on the exact value of the input voltage; as long as it is within the specified range, the current will be the same

8 Graph of the Input vs. the Output Linear relationship between the output current and input voltage. Anywhere between the specified voltage range, the output current is proportional to the temperature in Kelvin, equal to 1 micro-amp per Kelvin

9 Schematic of Our First Circuit This schematic was highly unstable Measured the correct room temperature Jumped around randomly when an ice cube was placed on it, varying from –20ºC to 58ºC Vo AD590 9V9V 1Kohm

10 Schematic of Circuit Operating voltage used for the op amp is 9V This schematic gave the most stable results Gives the room temperature and went down to 1ºC when an ice cube was placed on it. The Vo is tied into the board Vo 9 V AD590 1 kOhms

11 Block Diagram AD590 Op Amp And Resistor MSP 430 9 V Battery LCD

12 Intelligent Sensor Microcode Initializations Input Output Convert data Send Voltage MSP 430 Processor

13 Source Code sample = ADC12MEM6; X = sample; Y =.2*(X+X1+X2+X3+X4);// moving average filter X4 = X3; X3 = X2; X2 = X1; X1 = X; Y = Y – 3756.2;// Y – offset Y = Y * 10.1; lcd_word(Y,2); lcd_char(0,’C’);// displays a ‘C’ for Celsius

14 Complications Between the time that we got our board to flash and connected to our sensor, some of the pins on the chip came loose, and we had to re-solder some of the pins. Our first op amp was bad and gave us unstable results. We switched it with another one, which gave us better results.

15 Picture of the Board and Circuit

16 Sources Analog Devices: http://www.analog.com/ The University of North Florida College of Computing, Engineering, and Construction: http://www.unf.edu/ccec/


Download ppt "MSP 430 Project ECE 300 Spring 2004 William S. McLemore Ruben D. Briano Cheng-Han Tsai."

Similar presentations


Ads by Google