Moses Jones Application Note ECE 480 Design Team 7 Programming Altimeters. Using MSP 430 Launch Pad 11/8/2013

Similar documents
Copyright 2015 by Stephen A. Zajac & Gregory M. Wierzba. All rights reserved..spring 2015.

Lab 0 Introduction to the MSP430F5529 Launchpad-based Lab Board and Code Composer Studio

Introduction to EZ430 RF2500

UART Devices. ECE 480: Design Team 3. Application Note. By: Hoyoung Jung. Date: 4/3/15

Team 3. By: Miriel Garcia. Microcontrollers/ TI MSP430F5438A. ECE 480 senior Design. Application Note 4/3/15

MSP430 Interface to LMP91000 Code Library

MSP430 Interface to LMP91000 Code Library

Own Your Technology Pvt Ltd. Own Your Technology Presents Workshop on MSP430

FEATURES: 1.0 INTRODUCTION

ECGR 4101/5101, Fall 2016: Lab 1 First Embedded Systems Project Learning Objectives:

FEATURES: 1.0 INTRODUCTION

Lab 4 Interrupts ReadMeFirst

F28069 ControlCard Lab1

Reading: Davies , 8.3-4, , MSP430x55xx User's Guide Ch. 5,17

As CCS starts up, a splash screen similar to one shown below will appear.

As CCS starts up, a splash screen similar to one shown below will appear.

2 Principal Architect EDU,QuEST Global, Thiruvananthapuram

TI mmwave Labs. Vital Signs Measurement

ECE2049 Embedded Computing in Engineering Design. Lab #0 Introduction to the MSP430F5529 Launchpad-based Lab Board and Code Composer Studio

Software Setup and Introductory Assembly programs for the MSP430 *

Section Objective: Acquaint with specifications of Launchpad Acquaint with location of switches, LEDs, power-on switch, powering the board.

TMS570LS Microcontrollers: Using the NHET as a General Purpose I/O Pin

APPENDIX A. CODE COMPOSER STUDIO (CCS) v5: A BRIEF TUTORIAL FOR THE DSK6713

ECE PRACTICE EXAM #2 Clocks, Timers, and Digital I/O

EMBEDDED SYSTEMS: Jonathan W. Valvano INTRODUCTION TO THE MSP432 MICROCONTROLLER. Volume 1 First Edition June 2015

Lecture 1: Introduction to Microprocessors

Network Embedded Systems Sensor Networks Fall Hardware. Marcus Chang,

MSP-430 Host Software Example for the QF4A512

Section 2: Getting Started with a FPU Demo Project using EK-LM4F232

Getting Started with the Texas Instruments ez430

TI mmwave Training. mmwave Demo

CPE 323 Introduction to Embedded Computer Systems: MSP430 System Architecture An Overview

TMS570LS Microcontrollers: MibADC Example

F28335 ControlCard Lab1

TI mmwave Training. xwr16xx mmwave Demo

Reading: Davies , 8.3-4, , MSP430x55xx User's Guide Ch. 5,17, MSP430F5529 Launchpad User's Guide

Basic SigmaDSP Microcontroller Integration

You have a PC with a USB interface, running Microsoft Windows XP (SP2 or greater) or Vista You have the Workshop Installation Software Flash Drive

Using Code Composer Studio IDE with MSP432

Installing and using CW 10.x for TPMS applications. Revision 5

V1BOOST-STEPPER Unipolar Stepper Motor BoosterPack for the MSP430 LaunchPad. User s Guide

Lab 6 : Introduction to Simulink, Link for CCS & Real-Time Workshop

Texas Instruments Code Composer and ez-dsp Setup Notes

ADC Data Capture using Capture Demo and CCS Memory Browser IWR14xx/AWR14xx example. Document Version V

Embedded Systems. 2. Software Development. Lothar Thiele. Computer Engineering and Networks Laboratory

Code Composer Studio. MSP Project Setup

Research and Design of Universal Proportional Valve Controller

embos Real Time Operating System CPU & Compiler specifics for Texas Instruments MSP430 CPUs and Rowley compiler for MSP430 Document Rev.

RL78 Project Configuration Tips

EE289 Lab Spring 2012

Product Overview -A 16 bit Micro Experimenter for Solderless Breadboards

Getting Started with the MSP430 LaunchPad

ECE 5655/4655 Laboratory Problems

ECE2049: Embedded Computing in Engineering Design C Term Spring 2019 Lecture #22: MSP430F5529 Operating Mode & the WDT

Alex Milenkovich 1. CPE/EE 421 Microcomputers: The MSP430 Introduction. Outline

Laboratory Hardware and Tools

Background Information. Proposed Solution

CPE 325: Embedded Systems Laboratory Laboratory #7 Tutorial MSP430 Timers, Watchdog Timer, Timers A and B

Short Course. LaunchPad Data Logging with Immediate Fast programming Using Free Onboard 4E4th Language

Lab 1: I/O, timers, interrupts on the ez430-rf2500

ECE 487 LAB 1 ÇANKAYA UNIVERSITY Overview of DSP Board

CprE 288 Introduction to Embedded Systems (Project and Platform Overview)

Microcontroller Basics

32 bit Micro Experimenter Board Description and Assembly manual

Microbee Technology FTM-3SE

Amateur Rocketry Flight Data Logging Device Version II

Rear Distance Detection with Ultrasonic Sensors Project Report

Application Report. 1 Hardware Description. John Fahrenbruch... MSP430 Applications

ECE2049: Embedded Computing in Engineering Design C Term Spring Lecture #11: More Clocks and Timers

ECE2049 Homework #2 The MSP430 Architecture & Basic Digital IO (DUE Friday 9/8/17 at 4 pm in class)

Brushless DC motor drive board evaluation

Embedded Systems Lab Lab 1 Introduction to Microcontrollers Eng. Dalia A. Awad

Lab 4- Introduction to C-based Embedded Design Using Code Composer Studio, and the TI 6713 DSK

DLP-RFID2-EDK2 SETUP PROCEDURE

MSP430. More on MSP430

University of Texas at El Paso Electrical and Computer Engineering Department. EE 3176 Laboratory for Microprocessors I.

QUICKSTART CODE COMPOSER STUDIO Stellaris Development and Evaluation Kits for Code Composer Studio

Timer Module Timer A. ReadMeFirst

XDS200 ISO Operating Guide

Lab 5. Using Fpro SoC with Hardware Accelerators Fast Sorting

C Language Programming through the ADC and the MSP430 (ESCAPE)

USB Debug Adapter. Power USB DEBUG ADAPTER. Silicon Laboratories. Stop. Run. Figure 1. Hardware Setup using a USB Debug Adapter

Basic Microcontroller Integration Using Sigma Studio

Worldsens : Development and Prototyping Tools for Application Specific Wireless Sensors Networks

ez430-chronos Wireless Watch Development Tool: Teardown & Getting Started

ECE 492 WINTER 2015 GROUP 2. Texas Instruments MSP430-FR Bit ADC Setup Guide

CS-3410 Systems Programming Spring 2013

SMT107 User Manual User Manual (QCF42); Version 3.0, 8/11/00; Sundance Multiprocessor Technology Ltd. 1999

ECE 492 WINTER 2015 GROUP 2. Texas Instruments MSP430-FR Bit ADC Setup Guide

Mechatronics Laboratory Assignment #1 Programming a Digital Signal Processor and the TI OMAPL138 DSP/ARM

Website Redevelopment Content Information Session. Presentation by

Getting Started with the MSP430 LaunchPad

Visual C++ Tutorial. For Introduction to Programming with C++ By Y. Daniel Liang

USB Debug Adapter. Power USB DEBUG ADAPTER. Silicon Laboratories. Stop. Run. Figure 1. Hardware Setup using a USB Debug Adapter

None. MICROCONTROLLERS III

ONE AVR D EVELOPMENT SECTION I NTRODUCTION TO NTRODUCTION TO AVR EVELOPMENT TOOLS. Section One: Introduction to AVR Development Tools

Goal: We want to build an autonomous vehicle (robot)

Figure 1. Simplicity Studio

Exercise: PWM Generation using the N2HET

MEM Microprocessor-Based Control Systems. Lab 4. Modeling and Simple Feedback Control DSP28355, CCSv Introduction. 2.

Transcription:

Moses Jones Application Note ECE 480 Design Team 7 Programming Altimeters Executive Summary Using MSP 430 Launch Pad 11/8/2013 This document will provide a guide of how to use the MSP 430 Launch Pad while specifically programming an altimeter. The MSP 430 is a Texas Instrument manufactured microcontroller that can be easily found in electronics. In order to gain the accurate pressure and altitude of our rocket during a rocket launch, first the altimeter must be properly programmed to do so. Keywords MSP 430 Launch Pad, Code Composer Studio, Altimeter 1 P a g e

Table of Contents Introduction and Background... 3 Procedure... 5 Using Code Composer Studio... 5 Implementation of Altimeter Programming... 7 Conclusion... 9 References... 10 2 P a g e

Introduction and Background The MSP 430 is a Texas Instruments produced microcontroller that adds analog to digital converters, comparators, and programmable timers. The microcontroller takes the digital or analog inputs, use them to create functionalities in C programming, and lastly create digital outputs. The MSP 430 is a low powered 16 bit microcontroller that includes advanced peripherals such as high performance analog systems, optimized serial communications, and operate in low power modes along with three adjustable clock cycles (MCLK, SMCLK, and ACLK). The MSP 430 can be connected to a computer via USB. Also, this microcontroller is available for purchase at low cost. Below is Figure 1 and 2 of MSP 430. Figure 1: MSP 430 Launch Pad Figure 2: MSP 430 Schematic View 3 P a g e

An altimeter is an electronic sensor that is specifically used to measure altitude of an object above a fixed level. Altitude can actually be determined by measuring atmospheric pressure. The measurable object in this case is a model rocket. The altimeter would be built onto the MSP 430 Launch Pad and programmed accordingly to output accurate data during and after a rocket launch. This program will be pre-written with algorithms which will control the altimeters functions. Below are Figure 3 and 4 different views of the MPX2102 Altimeter that is used during the team s design process. Figure 3: MPX 2102 Altimeter Figure 4: Block Diagram of MPX 2102 Altimeter 4 P a g e

Procedure Programming the Altimeter The team plan was to create a C program code that would allow the altimeter to display accurate measurements during and after the rocket launch. Using our design, hobbyist should be able to generate precise measurements of the altitude. Using Code Composer Studio The team decided to use Texas Instrument s Code Composer Studio to create the code. Code Composer Studio is a tool that Texas Instrument designed to program the MSP 430. Code Composer Studio is now licensed to Michigan State University Engineering College with unrestricted student access. This software package is popular used throughout the engineering industry, including in software and hardware programming in C. This tool combines software for editing and compiling code, programming microcontrollers, and debugging code. Below are instructions on how to use Code Composer Studio while using a MSP 430 1. Open Code Composer Studio, located at: Start > All Programs > Texas Instruments > Code Composer Studio 5.4.0 > Code Composer Studio 5.4.0. 2. Select File > New > CCS Project. 3. In the Device section, Family: select MSP430 4. In Varient: click on the text box and type 2553. The text box to the right should show at least MSP430G2553. 5. Under Project templates and examples click on Empty Projects > Empty Project. The text box to the right should say Creates an empty project fully initialized for the selected device. Click Finish 5 P a g e

Figure 5: Code Composer Studio 6. Select File > New > Source File. Type a desired name for the Source File. The Click Finish 7. Click on CCS Debug. Switching to the CCS Debug perspective shows you the results of the debug session, and lets you step though the code line by line while watching variable, expression, or register values update dynamically. 6 P a g e

Figure 6: Code Composer Studio (Step7) 8. Add a header file right a line 8 in the.c file. Header file- #include <msp430g2553.h> 9. Take some time to familiarize yourself with the Code composer Studio IDE to create specific coding for the altimeter. 10. Now this is the appropriate time to implement the altimeter coding using the MSP 430 Launch Pad. Implementation of Altimeter Programming Now that we introduced the Code Composer Studio application for programming the MSP 430 Launch Pad next is to create a C program for various altimeters. This program can distinctively tell the altimeter what to do during rocket launches. Specific values and calculations can be included inside the program for accurate and precise data analyses after the rocket launches. The entire MSP430F270 has a software demo application that is contained in a single C file and is provided in versions for use with TI Code Composer Essentials (file name: F4270_Altimeter_SB_CCE.c). The advantage of using this demo application is to have a functioning altimeter program running your inputs values and restrictions. Below are Figures 7, 8, 9, and 10 are altimeter coding provided by Texas Instruments. 7 P a g e

Figure 7: MSP 430 Altimeter Demo Figure 8: Altimeter Circuit Definitions Figure 9: Altimeter Mathematical Equations 8 P a g e

Figure 10: Useful Functions of the Altimeter Using these functions and calculations are vital in programming C codes for the altimeter using the MSP 430. Most of the pressure equations are given to solve, but the equations must be configured properly to output the correct information during and after rocket launches. Conclusion In this document, a brief background of the MSP 430 Launch Pad and altimeters were given, along with specific steps needed to program altimeters using a MSP 430 Launch Pad. The important steps that were mentioned throughout the Application Note included basic functionalities of the MSP 430 Launch Pad, becoming accustomed with Texas Instruments Code Composer Studio application, and the useful altimeter programming demo also provided by Texas instruments. These steps would lead to programming efficient altimeters that output accurate data. 9 P a g e

References Wierzba, Gregory. "Lab III: Digital Color Organ - Code Composer Studio and the MSP430." YouTube. YouTube, 24 Sept. 2013. Web. 30 Oct. 2013. http://www.ti.com/lit/an/slaa254/slaa254.pdf http://wikipedia.org/wiki/altimeter 10 P a g e