File: /media/j/texas/my msp430/g3tr/g3tr.c Pagina 1 di 5

Size: px
Start display at page:

Download "File: /media/j/texas/my msp430/g3tr/g3tr.c Pagina 1 di 5"

Transcription

1 File: /media/j/texas/my msp430/g3tr/g3tr.c Pagina 1 di 5 /+ filename: g3tr.c G3TR means: Giuseppe Talarico Transistor Type Recognizer This version is for launchpad MSP430 Just only two 10K resistors and a serial terminal program are needed to implement a simple and powerfull digital Transistor Tester. The circuit allows to test any type of transistor ( npn,pnp, n-channel, p-channel ) both low or High Power. The program tell us if the transistor under test is working or not and which is his type for example: NPN-BJT, PNP-BJT, NCHANNEL-MOSFET, PCHANNEL-MOSFET. The program test diode too and tell us where the Anode is attached ( RED CABLE or BLACK CABLE) Devices broken or shorted are decoded too. Here the circuit: > to GATE VCC GND K P1.0 P <-- P1.1(TX_UART) P2.7 - to SOURCE <--- P1.2 TEST - BTN1 --> P1.3 RST > P1.4 P K > to DRAIN > P1.5 P1.6 --> GREEN_LED date: mercoledì, 4 maggio 2011 Author: Giuseppe Talarico ( / // /opt/msp430-gcc-4.4.5/bin/msp430-gcc -Os -mmcu=msp430x2231 g3tr.c tx_uart_lib.c -o g.elf // Connect launchpad to pc-usb. // The following three command are needed to load and run the file g.elf: // mspdebug rf2500 // prog g.elf // run #include <msp430g2231.h> // registers definitions #include "tx_uart_lib.h" // hardware abstractions #define PORT1_DIR P1DIR #define PORT1 P1OUT #define BTN1 3 // bit P1.3 #define DRAIN_IN 5 // bit P1.5 if n-channel (npn) this bit is!(r_gate_out) #define BJT_MOSFET_IN 4 // bit P1.4 if P1,4 = L the devices is a MOSFET // if P1.4 = H the devices is a BJT #define R_GATE_OUT 0 // bit P1.0 gate or base driver #define SOURCE_OUT 2 // bit P1.2 L --> N-Channel select, H --> P-channel select #define R_DRAIN_OUT 7 // bit P1.7 if P1.7 = H then NPN PNP #define RED_LED 0 // bit P1.0 #define GREEN_LED 6 // bit P1.6 // #define BIT(n) (1<<(n)) // this macro sets bit n

2 File: /media/j/texas/my msp430/g3tr/g3tr.c Pagina 2 di 5 enum FALSE,TRUE; // global variables char RECOGNIZED; // void delay_ms(unsigned int d) unsigned int i,j; for(j=0;j<192;j++) for (i = 0; i<d; i++) nop(); // void hardware_setup(void) WDTCTL = WDTPW WDTHOLD; // stop watchdog Timer BCSCTL1 = CALBC1_1MHZ; // Set range DCOCTL = CALDCO_1MHZ; // SMCLK = DCO = 1MHz PORT1_DIR = BIT(GREEN_LED) BIT(R_GATE_OUT) BIT(SOURCE_OUT) BIT( R_DRAIN_OUT); //configure as outputs PORT1_DIR &= ~BIT(BTN1) & ~BIT(BJT_MOSFET_IN) & ~BIT(DRAIN_IN); // configure as inputs tx_uart_setup(); // void try_npn_nchannel(void) // Polarize the transistor under test like NPN or NCHANNEL PORT1 = BIT(R_DRAIN_OUT); // drain (collector)--> H PORT1 &= ~BIT(SOURCE_OUT); // source (emitter) --> L PORT1 = BIT(R_GATE_OUT); // gate (base) > H delay_ms( 20 ); // msec // may be npn or n-channel PORT1 &= ~ BIT(R_GATE_OUT); // gate (base) > L if(( P1IN & BIT(DRAIN_IN))!=0 ) //It is npn or n-channel // now it decides for npn-bjt or nchannel-mosfet PORT1 = BIT(R_GATE_OUT); // gate (base) > H if(( P1IN & BIT(BJT_MOSFET_IN))!=0) sendstring(" N-CHANNEL MOSFET"); sendstring(" NPN BJT"); //end try_npn_nchannel // void try_pnp_pchannel(void) // Polarize the transistor under test like PNP or PCHANNEL

3 File: /media/j/texas/my msp430/g3tr/g3tr.c Pagina 3 di 5 PORT1 &= ~BIT(R_DRAIN_OUT); // drain (collector)---> L PORT1 = BIT(SOURCE_OUT); // source (emitter) ----> H PORT1 = BIT(R_GATE_OUT); // gate (base) > H // may be pnp or p-channel PORT1 &= ~ BIT(R_GATE_OUT); // gate (base) --> L //It is pnp or p-channel // now it decides for pnp-bjt or p-channel mosfet PORT1 &= ~ BIT(R_GATE_OUT); // gate (base) --> L if(( P1IN & BIT(BJT_MOSFET_IN))== 0) sendstring("p-channel MOSFET"); sendstring("pnp BJT"); //end try_pnp_pchannel() // void try_diode(void) //Polarize the DIODE under test PORT1 = BIT(R_DRAIN_OUT); // Anode ---> H PORT1 &= ~BIT(SOURCE_OUT); // Catode---> L //may be a DIODE; to verify, invert Polarization PORT1 &= ~BIT(R_DRAIN_OUT); // Anode ---> L PORT1 = BIT(SOURCE_OUT); // Catode---> H if(( P1IN & BIT(DRAIN_IN)) ==0) sendstring("diode [Anode on RED cable]"); //Polarize the DIODE under test in a different way PORT1 &= ~BIT(R_DRAIN_OUT); // Catode--> L PORT1 = BIT(SOURCE_OUT); // Anode---> H if(( P1IN & BIT(DRAIN_IN))!= 0) //may be a DIODE, so invert Polarization PORT1 = BIT(R_DRAIN_OUT); // Catode --> H PORT1 &= ~BIT(SOURCE_OUT); // Anode --> L sendstring("diode [Anode on BLACK cable]"); //end try_diode() // void try_short(void)

4 File: /media/j/texas/my msp430/g3tr/g3tr.c Pagina 4 di 5 PORT1 = BIT(R_DRAIN_OUT); PORT1 &= ~BIT(SOURCE_OUT); // H // L PORT1 &= ~BIT(R_DRAIN_OUT); PORT1 = BIT(SOURCE_OUT); sendstring("device SHORTED"); //end try_short(); // L // H // void try_broken(void) PORT1 = BIT(R_DRAIN_OUT); // H PORT1 &= ~BIT(SOURCE_OUT); // L PORT1 &= ~BIT(R_DRAIN_OUT); // L PORT1 = BIT(SOURCE_OUT); // H sendstring("device BROKEN"); //end try_broken() //================================= M A I N ===================================== void main(void) char title[] ="\n\n\r Transistor Type Recognizer \n\n\r" ; char prompt[] ="\n\rg3tr> "; hardware_setup(); sendstring(title); sendstring(prompt); while (TRUE) if (RECOGNIZED) PORT1 &=~BIT(RED_LED); PORT1 = BIT(GREEN_LED); while (P1IN & BIT(BTN1)==0); // wait BTN1 pressed delay_ms(200); sendstring(prompt); PORT1 &=~BIT(GREEN_LED); PORT1 = BIT(RED_LED); if((p1in & BIT(BTN1))==0) // wait BTN1 pressed

5 File: /media/j/texas/my msp430/g3tr/g3tr.c Pagina 5 di 5 try_npn_nchannel(); try_pnp_pchannel(); try_diode(); //end while // end main try_short(); try_broken();

File: /home/peppino/sketchbook/g3tr_due/g3tr_due.ino Pagina 1 di 5

File: /home/peppino/sketchbook/g3tr_due/g3tr_due.ino Pagina 1 di 5 File: /home/peppino/sketchbook/g3tr_due/g3tr_due.ino Pagina 1 di 5 / filename: g3tr_due.ino G3TR means: Giuseppe Talarico Transistor Type Recognizer ( Identifier ) This version is for ARDUINO DUE with

More information

Timers and Clocks CS4101 嵌入式系統概論. Prof. Chung-Ta King. Department of Computer Science National Tsing Hua University, Taiwan

Timers and Clocks CS4101 嵌入式系統概論. Prof. Chung-Ta King. Department of Computer Science National Tsing Hua University, Taiwan CS4101 嵌入式系統概論 Timers and Clocks Prof. Chung-Ta King Department of Computer Science, Taiwan Materials from MSP430 Microcontroller Basics, John H. Davies, Newnes, 2008 Recall the Container Thermometer Container

More information

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

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

More information

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

University of Texas at El Paso Electrical and Computer Engineering Department. EE 3176 Laboratory for Microprocessors I. University of Texas at El Paso Electrical and Computer Engineering Department EE 3176 Laboratory for Microprocessors I Fall 2016 LAB 04 Timer Interrupts Goals: Learn about Timer Interrupts. Learn how to

More information

Getting Started with the Texas Instruments ez430

Getting Started with the Texas Instruments ez430 1 of 6 03.01.2009 01:33 HOME Running Your Code>> Getting Started with the Texas Instruments ez430 Working with the Workbench Software Step 1: Each program needs an associated project. The project includes

More information

// Conditions for 9600/4=2400 Baud SW UART, SMCLK = 1MHz #define Bitime_5 0x05*4 // ~ 0.5 bit length + small adjustment #define Bitime 13*4//0x0D

// Conditions for 9600/4=2400 Baud SW UART, SMCLK = 1MHz #define Bitime_5 0x05*4 // ~ 0.5 bit length + small adjustment #define Bitime 13*4//0x0D /****************************************************************************** * * * 1. Device starts up in LPM3 + blinking LED to indicate device is alive * + Upon first button press, device transitions

More information

Interfacing CMA3000-D01 to an MSP430 ultra low-power microcontroller

Interfacing CMA3000-D01 to an MSP430 ultra low-power microcontroller Interfacing CMA3000-D01 to an MSP430 ultra low-power microcontroller 1 INTRODUCTION The objective of this document is to show how to set up SPI/I2C communication between VTI Technologies CMA3000-D01 digital

More information

Texas Instruments Mixed Signal Processor Tutorial Abstract

Texas Instruments Mixed Signal Processor Tutorial Abstract Texas Instruments Mixed Signal Processor Tutorial Abstract This tutorial goes through the process of writing a program that uses buttons to manipulate LEDs. One LED will be hard connected to the output

More information

@databasescaling Wednesday, 18 th April 2013

@databasescaling Wednesday, 18 th April 2013 andyjpb@ashurst.eu.org @databasescaling Wednesday, 18 th April 2013 OSHUG #24 1 / 56 Writing C For Constrained Systems a@jpb.li @databasescaling Wednesday, 18 th April 2013 OSHUG #24 2 / 56 Writing C For

More information

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

CPE 323 Introduction to Embedded Computer Systems: MSP430 System Architecture An Overview CPE 323 Introduction to Embedded Computer Systems: MSP430 System Architecture An Overview Aleksandar Milenkovic Electrical and Computer Engineering The University of Alabama in Huntsville milenka@ece.uah.edu

More information

Interfacing CMR3000-D01 to an MSP430 ultra low-power microcontroller

Interfacing CMR3000-D01 to an MSP430 ultra low-power microcontroller Interfacing CMR3000-D01 to an MSP430 ultra low-power microcontroller 1 INTRODUCTION The objective of this document is to show how to set up SPI/I2C communication between VTI Technologies CMR3000-D01 digital

More information

EEL 4924 Electrical Engineering Design (Senior Design) Team Baudiophile. Wireless Headphones

EEL 4924 Electrical Engineering Design (Senior Design) Team Baudiophile. Wireless Headphones EEL 4924 Electrical Engineering Design (Senior Design) Final Design Report 25 April 2012 Team Baudiophile Wireless Headphones Team Members: Name: Stephen Brewer Name: Eli Chen Project Abstract Our project

More information

LC-E201A. Application note. 1. Mechanical Specification: LC-E021A-application note page 1 of 16 Revision:

LC-E201A. Application note. 1. Mechanical Specification: LC-E021A-application note page 1 of 16 Revision: LC-E201A Application note 1. Mechanical Specification: LC-E021A-application note page 1 of 16 Revision: 2. Input/ Output Pin Assignment Pin No. Symbol I/O Description Remark 1 NC Do not connect 2 GDR O

More information

ECE2049: Embedded Computing in Engineering Design A Term Fall Lecture #8: Making it work: LEDs, Buttons & Keypad

ECE2049: Embedded Computing in Engineering Design A Term Fall Lecture #8: Making it work: LEDs, Buttons & Keypad ECE2049: Embedded Computing in Engineering Design A Term Fall 2018 Lecture #8: Making it work: LEDs, Buttons & Keypad Reading for Today: Users Guide Ch 12 Reading for Next Class: Review all reading, notes,

More information

Digital Fundamentals. Integrated Circuit Technologies

Digital Fundamentals. Integrated Circuit Technologies Digital Fundamentals Integrated Circuit Technologies 1 Objectives Determine the noise margin of a device from data sheet parameters Calculate the power dissipation of a device Explain how propagation delay

More information

Why embedded systems?

Why embedded systems? MSP430 Intro Why embedded systems? Big bang-for-the-buck by adding some intelligence to systems. Embedded Systems are ubiquitous. Embedded Systems more common as prices drop, and power decreases. Which

More information

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

ECE2049 Homework #2 The MSP430 Architecture & Basic Digital IO (DUE Friday 9/8/17 at 4 pm in class) ECE2049 Homework #2 The MSP430 Architecture & Basic Digital IO (DUE Friday 9/8/17 at 4 pm in class) Your homework should be neat and professional looking. You will loose points if your HW is not properly

More information

Texas Instruments Microcontroller HOW-TO GUIDE Interfacing Keypad with MSP430F5529

Texas Instruments Microcontroller HOW-TO GUIDE Interfacing Keypad with MSP430F5529 Texas Instruments Microcontroller HOW-TO GUIDE Interfacing Keypad with MSP430F5529 Contents at a Glance PS PRIMER MSP430 kit... 3 Keypad... 4 Interfacing keypad... 4 Interfacing keypad with MSP430F5529...

More information

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

ECGR 4101/5101, Fall 2016: Lab 1 First Embedded Systems Project Learning Objectives: ECGR 4101/5101, Fall 2016: Lab 1 First Embedded Systems Project Learning Objectives: This lab will introduce basic embedded systems programming concepts by familiarizing the user with an embedded programming

More information

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

ECE PRACTICE EXAM #2 Clocks, Timers, and Digital I/O ECE2049 -- PRACTICE EXAM #2 Clocks, Timers, and Digital I/O Study HW3, Class Notes, Davies Ch 2.6, 5.8, 8, 9.2-3, 9.7, MSP43F5529 User's Guide Ch 5, 17, 28 Work all problems with your note sheet first

More information

Getting Started with the MSP430 LaunchPad

Getting Started with the MSP430 LaunchPad Getting Started with the MSP430 LaunchPad Student Guide and Lab Manual Revision 2.01 February 2012 Technical Training Organization Important Notice Important Notice Texas Instruments and its subsidiaries

More information

Asservissement en température numérique d'une cavité ultra-stable au LPL pour le Strontium

Asservissement en température numérique d'une cavité ultra-stable au LPL pour le Strontium Asservissement en température numérique d'une cavité ultra-stable au LPL pour le Strontium condition de stabilité +/- 10mK Résultas obtenus : 1mk sur la journée Compte tenu des constantes de temps d'intégration

More information

ECE2049: Embedded Computing in Engineering Design C Term Spring Lecture #7: More Digital IO

ECE2049: Embedded Computing in Engineering Design C Term Spring Lecture #7: More Digital IO ECE2049: Embedded Computing in Engineering Design C Term Spring 2018 Lecture #7: More Digital IO Reading for Today: Davies 7.5-7.9, Users Guide Ch 12 Reading for Next Class: Davies 7.5-7.9, Users Guide

More information

Hacettepe University

Hacettepe University MSP430 Teaching Materials Week 5 FUNDAMENTALS OF INTERFACING AND TIMERS for MSP430 Hacettepe University Elements in Basic MCU Interface Power Source Feeds CPU and peripherals Clock Oscillators System synchronization

More information

Review Activity 1 CALL and RET commands in assembler

Review Activity 1 CALL and RET commands in assembler Today's Plan: Announcements Review Activity 1 CALL and RET commands in assembler Lecture test Programming in C continue Announcements: Projects: should be starting to think about. You will need to provide

More information

Using peripherals on the MSP430 (if time)

Using peripherals on the MSP430 (if time) Today's Plan: Announcements Review Activities 1&2 Programming in C Using peripherals on the MSP430 (if time) Activity 3 Announcements: Midterm coming on Feb 9. Will need to write simple programs in C and/or

More information

Lecture test next week

Lecture test next week Lecture test next week Write a short program in Assembler doing. You will be given the print outs of all the assembler programs from the manual You can bring any notes you want Today: Announcements General

More information

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

Lab 1: I/O, timers, interrupts on the ez430-rf2500 Lab 1: I/O, timers, interrupts on the ez430-rf2500 UC Berkeley - EE 290Q Thomas Watteyne January 25, 2010 1 The ez430-rf2500 and its Components 1.1 Crash Course on the MSP430f2274 The heart of this platform

More information

Name: Clint Furrer Project Number: TI003 Project Description: Safety Walking Lights. Description:

Name: Clint Furrer Project Number: TI003 Project Description: Safety Walking Lights. Description: Description: This project addresses the concern and problem of pedestrians walking with automotive traffic. I walk to and from a bus stop every morning and evening for work. There is usually low light

More information

Multi-function Tester (TC-V2.12k)

Multi-function Tester (TC-V2.12k) August 2015 Table of Contents 1 Overview... 3 1.1 Introduction... 3 1.2 Features... 3 2 Operating Instructions... 4 2.1 Key operational definitions... 4 2.2 Power on... 5 2.3 Detect transistor... 5 2.4

More information

What is an Interrupt?

What is an Interrupt? MSP430 Interrupts What is an Interrupt? Reaction to something in I/O (human, comm link) Usually asynchronous to processor activities interrupt handler or interrupt service routine (ISR) invoked to take

More information

Getting Started with the MSP430 LaunchPad

Getting Started with the MSP430 LaunchPad Getting Started with the MSP430 LaunchPad Student Guide and Lab Manual Revision 1.0 October 2010 Technical Training Organization Important Notice Important Notice Texas Instruments and its subsidiaries

More information

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

ECE2049: Embedded Computing in Engineering Design C Term Spring Lecture #11: More Clocks and Timers ECE2049: Embedded Computing in Engineering Design C Term Spring 2018 Lecture #11: More Clocks and Timers Reading for Today: Davie's Ch 8.3-8.4, 8.9-8.10, User's Guide Ch. 17 Reading for Next Class: User's

More information

Interrupts, Low Power Modes

Interrupts, Low Power Modes Interrupts, Low Power Modes Registers Status Register Interrupts (Chapter 6 in text) A computer has 2 basic ways to react to inputs: 1) polling: The processor regularly looks at the input and reacts as

More information

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

CPE 325: Embedded Systems Laboratory Laboratory #7 Tutorial MSP430 Timers, Watchdog Timer, Timers A and B CPE 325: Embedded Systems Laboratory Laboratory #7 Tutorial MSP430 Timers, Watchdog Timer, Timers A and B Aleksandar Milenković Email: milenka@uah.edu Web: http://www.ece.uah.edu/~milenka Objective This

More information

Fall. Accelerometer RGB LED control Vishal Shah Rebel Sequeira Pratiksha Patil Pranali Dhuru Chris Blackden. George Mason University

Fall. Accelerometer RGB LED control Vishal Shah Rebel Sequeira Pratiksha Patil Pranali Dhuru Chris Blackden. George Mason University Fall 13 Accelerometer RGB LED control Vishal Shah Rebel Sequeira Pratiksha Patil Pranali Dhuru Chris Blackden George Mason University Introduction The ECE 511 course gave us the opportunity to team up

More information

Before next weeks lab:

Before next weeks lab: Before next weeks lab: - To sign in to lab computers use student and Phys319. - read the lab manual for week two. - look at the tools installation guide for OS of your choice and/or lab computer guide,

More information

Installation tutorial for the Skomer IDE

Installation tutorial for the Skomer IDE Installation tutorial for the Skomer IDE DRAFT The Skomer IDE (Integrated Development Environment) is based on a set of tools: - Eclipse: used the development environment - Cygwin: used as the processor

More information

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

ECE2049: Embedded Computing in Engineering Design C Term Spring 2019 Lecture #22: MSP430F5529 Operating Mode & the WDT ECE2049: Embedded Computing in Engineering Design C Term Spring 2019 Lecture #22: MSP430F5529 Operating Mode & the WDT Reading for Today: User's Guide 1.4, Ch 16 Reading for Next Class: Review all since

More information

MSP430. More on MSP430

MSP430. More on MSP430 MSP430 More on MSP430 CodeComposer TI recently launched Code Composer Essentials v3. This IDE s latest version (version 3) supports all available MSP430 devices. The new features of CCE v3 include: - Free

More information

MIDTERM#1. 2-(3pts) What is the difference between Von Neumann & Harvard processor architectures?

MIDTERM#1. 2-(3pts) What is the difference between Von Neumann & Harvard processor architectures? CSE421-Microprocessors & Microcontrollers-Spring 2013 (March 26, 2013) NAME: MIDTERM#1 1- (2pts) What does MSP stand for in MSP430? Why? Mixed Signal Processor. It contains both analog and digital circuitry.

More information

4 Degrees of Freedom MEMS Sensor Improvements

4 Degrees of Freedom MEMS Sensor Improvements 4 Degrees of Freedom MEMS Sensor Improvements Design Document Name: Xin Zhou Yue Zhang Team Dec12-09 Ang Lv Nicholas Everett Jenn Grubb Advisor: Degang Chen Client: Bee Line Company Bob Last Updated: Dec

More information

Multi-function Tester (TC-V2.12k)

Multi-function Tester (TC-V2.12k) 1 Overview 1.1 Introduction 1-160x128 TFT display 2 - Multi function key 3 - Transistor test area 4 - Zener Diode test area 5 - IR receiver window 6 - Micro USB Charging Interface 7 - Charge indicator

More information

Architectures and Applications for Wireless Sensor Networks ( ) Node Programming

Architectures and Applications for Wireless Sensor Networks ( ) Node Programming Architectures and Applications for Wireless Sensor Networks (01204525) Node Programming Chaiporn Jaikaeo chaiporn.j@ku.ac.th Department of Computer Engineering Kasetsart University Outline Microcontroller

More information

CPE 323: MSP430 Timers

CPE 323: MSP430 Timers CPE 323: MSP430 Timers Aleksandar Milenkovic Electrical and Computer Engineering The University of Alabama in Huntsville milenka@ece.uah.edu http://www.ece.uah.edu/~milenka Outline Watchdog Timer TimerA

More information

Robosoft Systems in association with JNCE presents. Swarm Robotics

Robosoft Systems in association with JNCE presents. Swarm Robotics Robosoft Systems in association with JNCE presents Swarm Robotics What is a Robot Wall-E Asimo ABB Superior Moti ABB FlexPicker What is Swarm Robotics RoboCup ~ 07 Lets Prepare for the Robotics Age The

More information

Latch-Up. Parasitic Bipolar Transistors

Latch-Up. Parasitic Bipolar Transistors Latch-Up LATCH-UP CIRCUIT Latch-up is caused by an SCR (Silicon Controlled Rectifier) circuit. Fabrication of CMOS integrated circuits with bulk silicon processing creates a parasitic SCR structure. The

More information

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

University of Texas at El Paso Electrical and Computer Engineering Department. EE 3176 Laboratory for Microprocessors I. University of Texas at El Paso Electrical and Computer Engineering Department EE 3176 Laboratory for Microprocessors I Fall 2016 LAB 06 Analog to Digital Conversion Goals: Bonus: Pre Lab Questions: Display

More information

MSP430 Interrupts. Change value of internal variable (count) Read a data value (sensor, receive) Write a data value (actuator, send)

MSP430 Interrupts. Change value of internal variable (count) Read a data value (sensor, receive) Write a data value (actuator, send) MSP430 Interrupts What is an Interrupt? Reaction to something in I/O (human, comm link) Usually asynchronous to processor activities interrupt handler or interrupt service routine (ISR) invoked to take

More information

TPL5000EVM User's Guide

TPL5000EVM User's Guide User's Guide TPL5000EVM User's Guide 1 Introduction The Texas Instruments TPL5000EVM evaluation module (EVM) allows a designer to configure the delay timers of the TPL5000 and measure its very low current

More information

Product Information. IC Outputs Terms & Definitions

Product Information. IC Outputs Terms & Definitions Product Information IC Outputs Terms & Definitions These terms and their definitions are taken from EIA/JEDEC Standard No. 99-A, Terms, Definitions, and Letter Symbols for Microelectronic Devices, clause

More information

Lecture 5: MSP430 Interrupt

Lecture 5: MSP430 Interrupt ECE342 Intro. to Embedded Systems Lecture 5: MSP430 Interrupt Ying Tang Electrical and Computer Engineering Rowan University 1 How A Computer React to Inputs? Polling: the processor regularly looks at

More information

6. General purpose Input/Output

6. General purpose Input/Output Chapter 6 6. General purpose Input/Output This chapter starts with a description of one of the simplest integrated peripherals of the MSP430 the General Purpose 8-bit Input Output (GPIO). The Input/Output

More information

Interrupts CS4101 嵌入式系統概論. Prof. Chung-Ta King. Department of Computer Science National Tsing Hua University, Taiwan

Interrupts CS4101 嵌入式系統概論. Prof. Chung-Ta King. Department of Computer Science National Tsing Hua University, Taiwan CS4101 嵌入式系統概論 Interrupts Prof. Chung-Ta King Department of Computer Science, Taiwan Materials from MSP430 Microcontroller Basics, John H. Davies, Newnes, 2008 Inside MSP430 (MSP430G2551) 1 Introduction

More information

Hacettepe University

Hacettepe University MSP430 Teaching Materials Week 5 FUNDAMENTALS OF INTERFACING AND TIMERS for MSP430 Hacettepe University Elements in Basic MCU Interface Power Source Feeds CPU and peripherals Clock Oscillators System synchronization

More information

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

C Language Programming through the ADC and the MSP430 (ESCAPE) OpenStax-CNX module: m46087 1 C Language Programming through the ADC and the MSP430 (ESCAPE) Matthew Johnson Based on C Language Programming through the ADC and the MSP430 by Matthew Johnson This work

More information

Embedded Systems. 3. Hardware Software Interface. Lothar Thiele. Computer Engineering and Networks Laboratory

Embedded Systems. 3. Hardware Software Interface. Lothar Thiele. Computer Engineering and Networks Laboratory Embedded Systems 3. Hardware Software Interface Lothar Thiele Computer Engineering and Networks Laboratory Do you Remember? 3 2 3 3 High Level Physical View 3 4 High Level Physical View 3 5 What you will

More information

UC Berkeley EE40/100 Lab Lab 6: Microcontroller Input/Output B. Boser, etc.

UC Berkeley EE40/100 Lab Lab 6: Microcontroller Input/Output B. Boser, etc. UCBerkeleyEE40/100Lab Lab6:MicrocontrollerInput/Output B.Boser,etc. NAME1: NAME2: SID: SID: Microcontrollersareverymuchslimmeddowncomputers.Nodisks,novirtualmemory,nooperatingsystem.Thinkofthem justlikeothercircuitcomponentswiththeaddedbenefitofbeingconfigurablewithaprogram.becauseofthis,

More information

MICROPROCESSORS A (17.383) Fall Lecture Outline

MICROPROCESSORS A (17.383) Fall Lecture Outline MICROPROCESSORS A (17.383) Fall 2010 Lecture Outline Class # 04 September 28, 2010 Dohn Bowden 1 Today s Lecture Syllabus review Microcontroller Hardware and/or Interface Programming/Software Lab Homework

More information

Analog and Telecommunication Electronics

Analog and Telecommunication Electronics Politecnico di Torino - ICT School Analog and Telecommunication Electronics F4 - Actuator driving» Driving BJT switches» Driving MOS-FET» SOA and protection» Smart switches 30/05/2014-1 ATLCE - F4-2011

More information

MIFARE Secure OEM Reader Module Data Sheet

MIFARE Secure OEM Reader Module Data Sheet 724-10 MIFARE Secure OEM Reader Module Data Sheet General Description The 724-10 MIFARE Secure OEM Reader Module is a fully encapsulated device containing all the electronics required to perform a secure

More information

Analog and Telecommunication Electronics

Analog and Telecommunication Electronics Politecnico di Torino Electronic Eng. Master Degree Analog and Telecommunication Electronics F2 Active power devices»mos»bjt» IGBT, TRIAC» Safe Operating Area» Thermal analysis AY 2015-16 26/04/2016-1

More information

Power IC 용 ESD 보호기술. 구용서 ( Yong-Seo Koo ) Electronic Engineering Dankook University, Korea

Power IC 용 ESD 보호기술. 구용서 ( Yong-Seo Koo ) Electronic Engineering Dankook University, Korea Power IC 용 ESD 보호기술 구용서 ( Yong-Seo Koo ) Electronic Engineering Dankook University, Korea yskoo@dankook.ac.kr 031-8005-3625 Outline Introduction Basic Concept of ESD Protection Circuit ESD Technology Issue

More information

MC Connector Wiring Diagrams

MC Connector Wiring Diagrams Page of MC Connector Wiring Diagrams Version: 0-0-0 This manual supports: MCHP-L MCHP-R Index MCHP connectors... Fuses... I/O connector... Encoder connector... Support... MCHP connectors Page of Fuses

More information

Analog and Telecommunication Electronics

Analog and Telecommunication Electronics Politecnico di Torino - ICT School Analog and Telecommunication Electronics F2 Active power devices»mos»bjt» IGBT, TRIAC» Safe Operating Area» Thermal analysis 23/05/2014-1 ATLCE - F2-2014 DDC 2014 DDC

More information

Physics 319 Spring 2015: Introduction to the Programming and Use of Microprocessors

Physics 319 Spring 2015: Introduction to the Programming and Use of Microprocessors Physics 319 Spring 2015: Introduction to the Programming and Use of Microprocessors Sing Chow, Andrzej Kotlicki, Ryan Wicks, and Carl Michal December 2014 This lab is going to introduce you to the world

More information

Experiment 1 Introduction to PSpice

Experiment 1 Introduction to PSpice Experiment 1 Introduction to PSpice W.T. Yeung and R.T. Howe UC Berkeley EE 105 Fall 2003 1.0 Objective One of the CAD tools you will be using as an circuit designer is SPICE, a Berkeleydeveloped industry-standard

More information

TABLE OF CONTENTS 1.0 PURPOSE INTRODUCTION ESD CHECKS THROUGHOUT IC DESIGN FLOW... 2

TABLE OF CONTENTS 1.0 PURPOSE INTRODUCTION ESD CHECKS THROUGHOUT IC DESIGN FLOW... 2 TABLE OF CONTENTS 1.0 PURPOSE... 1 2.0 INTRODUCTION... 1 3.0 ESD CHECKS THROUGHOUT IC DESIGN FLOW... 2 3.1 PRODUCT DEFINITION PHASE... 3 3.2 CHIP ARCHITECTURE PHASE... 4 3.3 MODULE AND FULL IC DESIGN PHASE...

More information

P89V51RD2 Development Board May 2010

P89V51RD2 Development Board May 2010 P89V51RD2 Development Board May 2010 NEX Robotics Pvt. Ltd. 1 P89V51RD2 Development Board Introduction: P89V51RD2 Development Board P89V51RD2 Development Board is a low cost development board which have

More information

Simple Infrared Obstacle Sensor

Simple Infrared Obstacle Sensor Simple Infrared Obstacle Sensor Chong Zan Kai ID: 1011101802 Delta year of Computer Engineering Multimedia University, Cyberjaya. Abstract Infrared sensor is always one of the preferred choices in designing

More information

Halloween Pumpkinusing. Wednesday, October 17, 12

Halloween Pumpkinusing. Wednesday, October 17, 12 Halloween Pumpkinusing Blink LED 1 What you will need: 1 MSP-EXP430G2 1 3 x 2 Breadboard 3 560 Ohm Resistors 3 LED s (in Red Color Range) 3 Male to female jumper wires 1 Double AA BatteryPack 2 AA Batteries

More information

Alex Milenkovich 1. CPE/EE 421 Microcomputers. Course Administration. Review: Outline. Getting Started with EasyWeb2. Review: MSP bit RISC

Alex Milenkovich 1. CPE/EE 421 Microcomputers. Course Administration. Review: Outline. Getting Started with EasyWeb2. Review: MSP bit RISC CPE/EE 421 Microcomputers Instructor: Dr Aleksandar Milenkovic Lecture Note S12 Course Administration Instructor: URL: TA: Labs: Test I: Text: Review: Today: Aleksandar Milenkovic milenka@ece.uah.edu www.ece.uah.edu/~milenka

More information

CPE/EE 323 Introduction to Embedded Computer Systems Homework V

CPE/EE 323 Introduction to Embedded Computer Systems Homework V CPE/EE 323 Introduction to Embedded Computer Systems Homework V 1(15) 2(15) 3(25) 4(25) 5(20) Total Problem #1 (15 points) Power, Low power systems A sensor platform features a microcontroller, a sensor,

More information

SYLLABUS OF ADVANCED CARD LEVEL & CHIP LEVEL TRAINING ( DESKTOP AND LAPTOP )

SYLLABUS OF ADVANCED CARD LEVEL & CHIP LEVEL TRAINING ( DESKTOP AND LAPTOP ) SYLLABUS OF ADVANCED CARD LEVEL & CHIP LEVEL TRAINING ( DESKTOP AND LAPTOP ) Module 1 - Basic Electronics Basic Electronics Concept A/C, D/C Concepts & Flow Of Current Resistors - Meaning & Use Of Resistors,

More information

Logic Chip Tester User Manual SW Version /8/2012. Chapter 1 Introduction/Background

Logic Chip Tester User Manual SW Version /8/2012. Chapter 1 Introduction/Background Logic Chip Tester User Manual SW Version 1.00 4/8/2012 Chapter 1 Introduction/Background In the 1970 s and 80 s, many digital devices were designed using a number of 14, 16, 20, or perhaps 24- pin logic

More information

Chapter 9. Input/Output (I/O) Ports and Interfacing. Updated: 3/13/12

Chapter 9. Input/Output (I/O) Ports and Interfacing. Updated: 3/13/12 Chapter 9 Input/Output (I/O) Ports and Interfacing Updated: 3/13/12 Basic Concepts in I/O Interfacing and PIC18 I/O Ports (1 of 2) I/O devices (or peripherals) such as LEDs and keyboards are essential

More information

CPE/EE 421 Microcomputers

CPE/EE 421 Microcomputers CPE/EE 421 Microcomputers Instructor: Dr Aleksandar Milenkovic Lecture Note S11 MSP430 Documentation MSP430 home page (TI) www.ti.com/msp430 User s manual http://www.ece.uah.edu/~milenka/cpe421-05s/manuals/slau049c.pdf

More information

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

University of Texas at El Paso Electrical and Computer Engineering Department. EE 3176 Laboratory for Microprocessors I. University of Texas at El Paso Electrical and Computer Engineering Department EE 3176 Laboratory for Microprocessors I Fall 2016 LAB 08 UART Communication Goals: Learn about UART Communication and the

More information

Lab 4: Interrupt. CS4101 Introduction to Embedded Systems. Prof. Chung-Ta King. Department of Computer Science National Tsing Hua University, Taiwan

Lab 4: Interrupt. CS4101 Introduction to Embedded Systems. Prof. Chung-Ta King. Department of Computer Science National Tsing Hua University, Taiwan CS4101 Introduction to Embedded Systems Lab 4: Interrupt Prof. Chung-Ta King Department of Computer Science, Taiwan Introduction In this lab, we will learn interrupts of MSP430 Handling interrupts in MSP430

More information

UCBB dual port breakout board user's manual

UCBB dual port breakout board user's manual UCBB dual port breakout board user's manual 1/14 Contents 1 Features 2 Dimensions 3 Connectors 3.1 Screw terminals 3.2 IDC ports 3.3 Powering 3.4 Outputs 3.5 Inputs 4 LED indicators 5 Example connections

More information

RAJIV GANDHI COLLEGE OF ENGINEERING AND TECHNOLOGY

RAJIV GANDHI COLLEGE OF ENGINEERING AND TECHNOLOGY RAJIV GANDHI COLLEGE OF ENGINEERING AND TECHNOLOGY DEPARTMENT OF ELECTRICAL & ELECTRONICS ENGINEERING QUESTION BANK EE T34 - Electronic Devices and Circuits II YEAR / III SEMESTER RGCET 1 UNIT-I 1. How

More information

CU2/CUF Connector Wiring Diagrams

CU2/CUF Connector Wiring Diagrams Page of CU/CUF CONNECTOR WIRING DIAGRAMS CU/CUF Connector Wiring Diagrams Version: 0-0-0 This manual supports: CUFHP - CUHP - CUXJ - CUXJ00 Index CU/CUF connectors... Fuses... I/O connector... Encoder

More information

PIXI click PID: MIKROE Weight: 28 g

PIXI click PID: MIKROE Weight: 28 g PIXI click PID: MIKROE-2817 Weight: 28 g PIXI click is equipped with MAX11300 IC from Maxim Integrated, which features Maxim Integrated's versatile, proprietary PIXI technology - it is the industry's first

More information

Grove - Buzzer. Introduction. Features

Grove - Buzzer. Introduction. Features Grove - Buzzer Introduction The Grove - Buzzer module has a piezo buzzer as the main component. The piezo can be connected to digital outputs, and will emit a tone when the output is HIGH. Alternatively,

More information

Introduction to ICs and Transistor Fundamentals

Introduction to ICs and Transistor Fundamentals Introduction to ICs and Transistor Fundamentals A Brief History 1958: First integrated circuit Flip-flop using two transistors Built by Jack Kilby at Texas Instruments 2003 Intel Pentium 4 mprocessor (55

More information

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

ECE 492 WINTER 2015 GROUP 2. Texas Instruments MSP430-FR Bit ADC Setup Guide APPLICATION NOTE MIKE PAPPAS ECE 492 WINTER 2015 GROUP 2 Texas Instruments MSP430-FR5969 12-Bit ADC Setup Guide March 2015 Table of Contents Preface... 3 Pin Assignments... 4 Configuring the ADC... 4 Sampling

More information

CPE/EE 323 Introduction to Embedded Computer Systems Homework III

CPE/EE 323 Introduction to Embedded Computer Systems Homework III CPE/EE 323 Introduction to Embedded Computer Systems Homework III 1(40) 2(30) 3(30) Total Problem #1 (40 points) Consider the following C program. Assume all variables are allocated on the stack in the

More information

5xx Active & Low Power Mode Operation

5xx Active & Low Power Mode Operation 5xx Active & Low Power Mode Operation 38 Lab 2: ULP Operation Lab Goals Learn ULP Best Practices Learn & understand how to configure two key modules of the 5xx to achieve ultra-low power operation. Power

More information

IV B.Tech. I Sem (R13) ECE : Embedded Systems : UNIT -2 1 UNIT 2

IV B.Tech. I Sem (R13) ECE : Embedded Systems : UNIT -2 1 UNIT 2 IV B.Tech. I Sem (R13) ECE : Embedded Systems : UNIT -2 1 UNIT 2 1. Block diagram of MSP430x5xx series micro-controller --------------------- 1 2. CPU architecture of MSP430x5xx ------------------------------------------------

More information

CONTENTS: Program 1 in C:

CONTENTS: Program 1 in C: CONTENTS: 1) Program 1 in C (Blink) 2) Program 2 in C (Interrupt ) 3) ADC example 4) Addressing Modes 5) Selected Assembly instructions 6) ADC10 register descriptions Program 1 in C: /* * PHYS319 Lab3

More information

ECE2049: Embedded Computing in Engineering Design C Term Spring 2018 Lecture #15: More ADC Examples

ECE2049: Embedded Computing in Engineering Design C Term Spring 2018 Lecture #15: More ADC Examples ECE2049: Embedded Computing in Engineering Design C Term Spring 2018 Lecture #15: More ADC Examples Reading for Today: TI example code Reading for Next Class: Users Guide 6.2, Davies Ch 6.6-6.9 HW #4 (on

More information

MSP430F149 P3.4/UTXD0 P3.5/URXD0 P1.5 P1.6 P1.7 MSP430F149 P1.0 P5.4 P5.3 P5.2 P5.1. Figure B-1. BSL Replicator Block Diagram

MSP430F149 P3.4/UTXD0 P3.5/URXD0 P1.5 P1.6 P1.7 MSP430F149 P1.0 P5.4 P5.3 P5.2 P5.1. Figure B-1. BSL Replicator Block Diagram Appendix B Appendix B MSP430 BSL Replicator Author: Greg Morton, MSP430 Applications B.1 BSL Replicator Overview The BSL Replicator application, executing on a host MSP430F149 device, uses the BSL protocol

More information

EE 105 Microelectronic Devices & Circuits FALL 2018 C. Nguyen

EE 105 Microelectronic Devices & Circuits FALL 2018 C. Nguyen 1. Objective UNIVERSITY OF CALIFORNIA College of Engineering Department of Electrical Engineering and Computer Sciences HSPICE Tutorial The objective of this session is to give initial exposure to the

More information

1. Attempt any three of the following: 15

1. Attempt any three of the following: 15 (2½ hours) Total Marks: 75 N. B.: (1) All questions are compulsory. (2) Make suitable assumptions wherever necessary and state the assumptions made. (3) Answers to the same question must be written together.

More information

Vector 3D printer complete wire list including extruder PWA listing

Vector 3D printer complete wire list including extruder PWA listing Vector 3D printer complete wire list including extruder PWA listing Conventions Pin numbering for connectors It is normal practice in print circuit board (PCB) layout to denote pin 1 of a PCB mounted connector

More information

Laboratory 1 Introduction to the Arduino boards

Laboratory 1 Introduction to the Arduino boards Laboratory 1 Introduction to the Arduino boards The set of Arduino development tools include µc (microcontroller) boards, accessories (peripheral modules, components etc.) and open source software tools

More information

Wireless Sensor Networks (WSN)

Wireless Sensor Networks (WSN) Wireless Sensor Networks (WSN) Operating Systems M. Schölzel Operating System Tasks Traditional OS Controlling and protecting access to resources (memory, I/O, computing resources) managing their allocation

More information

USB UART 4 click PID: MIKROE Weight: 23 g

USB UART 4 click PID: MIKROE Weight: 23 g USB UART 4 click PID: MIKROE-2810 Weight: 23 g USB UART 4 click features well-known FT232RL USB-to-UART interface module from FDTI. It provides USB to asynchronous serial data transfer interface, allowing

More information

Touch Control Switch + - R6 R4 R8 R7 CAT# Grading. Assembly Instructions by Earl D. Gates SUNY Oswego Fall Conference 2007.

Touch Control Switch + - R6 R4 R8 R7 CAT# Grading. Assembly Instructions by Earl D. Gates SUNY Oswego Fall Conference 2007. Grading Name: Class: Shade the number in column A that reflects your ability. In column B, have your instructor do the same. 6. Ability to identify and use basic electronic assembly tools. 8. Ability to

More information

SIDDHARTH GROUP OF INSTITUTIONS :: PUTTUR (AUTONOMOUS) Siddharth Nagar, Narayanavanam Road QUESTION BANK (DESCRIPTIVE) UNIT I

SIDDHARTH GROUP OF INSTITUTIONS :: PUTTUR (AUTONOMOUS) Siddharth Nagar, Narayanavanam Road QUESTION BANK (DESCRIPTIVE) UNIT I QUESTION BANK 2017 SIDDHARTH GROUP OF INSTITUTIONS :: PUTTUR (AUTONOMOUS) Siddharth Nagar, Narayanavanam Road 517583 QUESTION BANK (DESCRIPTIVE) Subject with Code : Basic Electronic Devices (16EC401) Year

More information