ECE2049: Embedded Computing in Engineering Design C Term Spring Lecture #14: Using the ADC12 Analog-to-Digital Converter

Size: px
Start display at page:

Download "ECE2049: Embedded Computing in Engineering Design C Term Spring Lecture #14: Using the ADC12 Analog-to-Digital Converter"

Transcription

1 ECE2049: Embedded Computing in Engineering Design C Term Spring 2018 Lecture #14: Using the ADC12 Analog-to-Digital Converter Reading for Today: Davies 9.2-3, 9.7, MSP430 User's Guide Ch 28 Reading for Next Class: Example code HW #4 (on web): Due Monday 2/15 (to box outside AK-011 by 9 am) Lab #2 (on web): Bonus sign-off Fri 2/9 (5 pm). Report due Tues 2/13 (in class) Exam #2 FRIDAY 2/16/2018 at 9 am in AK-116 Last Class: >> Introduction to Analog-to-Digital Conversion >> Mapping analog sensors to an ADC > FSR, Resolution, Dynamic Range 3 Key Concepts for Using Analog-to-Digital Converters 1) Full Scale Range (FSR) Max or total range of analog values that can be represented For ADC: FSR = V ref+ V ref- = volts 2) Resolution (Single bit resolution) Smallest change in value that can be measured For ADC: Resolution = FSR/number of codes = FSR/(2 k ) = volts/bit (where k = number of bits) 3) Dynamic Range Ratio of the largest to the smallest values that can be measured (in decibels) For ADC: DR = 20log 10 (2 k ) db (where k = number of bits)

2 Example. A simple digital current meter might measure current by measuring the voltage across a small sensing resistor. How could we use the ADC12 to measure across the range 0 to 1 A to 1 ma accuracy? Yes! Can we get 0.1 ma accuracy? No, not unless we change G such that 2.5 V A Elements of our solution: FSR = 2.5V, 12 bit ADC gives Resolution of ma Now we have to program MSP430F5529 to achieve this! >>> Knowing how your external sensor works and how to map it to the ADC you're using is as critical as knowing how to program the microprocessor to read the ADC!!

3 MSP430F5529 Analog-to-Digital Converter (ADC12_A) 16 channel, 12-bit sample and hold ADC (200k samples per second max) 12 External Analog Inputs A0-A7, A12-15 use same pins as Ports 6 & 7 4 internal Analog Inputs A8-A11 Configure and use by setting values in various control registers ADC12CTL0 controls the following options -- Sample and Hold time (ADC12SHT1x and ADC12SHT0x) -- Multiple sample conversion method (ADC12MSC) -- Reference Voltages (ADC12REF2_5V and ADC12REF_ON) -- ADC12ON bit -- Enable and start conversion (ADC12ENC and ADC12SC) -- Overflow/Conversion time int. enables (ADC120VIE, ADC12TVIE) ADC12CTL1 controls the following options -- Conversion start address (ADC12CSTARTADDx ) -- Sample and hold source select (ADC12SHSx) -- Sample and Hold pulse mode selectable (ADC12SHP) -- Invert signal sample and hold (ADC12ISSH) -- ADC12 clock divider (ADC12DIVx) -- ADC12 clock source select(adc12sselx) -- Conversion mode select (ADC12CONSEQx) -- ADC12 busy/conversion not complete bit (ADC12BSY) >> Results from each channel are stored in the low 12 bits of one of 16 Conversion Memory Registers (ADC12MEMx) >> Each memory register has a corresponding Conversion Memory Control Register (ADC12MCTLx) Each ADC12MCTLx controls the following options for its Memory Register -- End of Sequence (EOS) = Is this channel the end on a sequence of channels that are to be converted

4 -- Select Reference Voltages (ADC12SREFx) = -- Analog input channel selection (ADC12INCHx) = So what does the programmer need to do to use ADC12_A? 1) Select ADC Core Behavior: In ADC12CTL0 and ADC12CTL1 registers -- Clock source and divider -- Sample and hold behavior -- Reference Voltages 2) Select Conversion Mode required: ADC12CONSEQx bits in ADC12CTL1 reg -- Single channel or a sequence of channels -- Also single conversion or repeated conversions

5 3) Select input channel(s): INCHx bits in ADCMCTLx registers >> ADC12 has 12 (external) analog input signals and 4 internal inputs --> ADC12's External Analog Inputs A0 A7 and A12-A15 are multiplexed with Port 6 and 7 pins! Ex: Assume input channels A6 and A7 are to be used with ADC12_A. The Port Selection bits for those pins should be set to 1 = Function Select >> Internal input channels 8, 9 & 11 (ADC12INCHx = 1000, 1001, 1011) are connected to different chip reference voltages Could be used to do health monitoring >> Internal input channel 10 (ADC12INCH_10 = 1010) is connected to an internal Temperature Sensor. 4) Enable appropriate interrupts -- ADC12IE register -- Do not have to use interrupts, but useful for repeated measurements -- Write ISR (should handle all possible ADC interrupts with some default behavior... a switch statement) 5) Enable and Start Conversion(s) -- ADC1CTL0 register Ex. Continuing on with the digital current meter, assume that the gain G is set so 1A equals the full scale voltage of 2.5V. Assume that the the analog input voltage is applied to A0. How would we set the ADC12 registers?

6 // Some code to implement the current sensor example from last // class. Input voltage range 0 to 2.5V corresponds to 0 to 1A. unsigned int in_value; // Reset REFMSTR to hand over control of internal reference // voltages to ADC12_A control registers REFCTL0 &= ~REFMSTR; // Initialize control register ADC12CTL0 = // ADC12SHT0x = 9h (384 clk cycles), MCS = 0 = no burst mode // ADC12 REF2_5V = 1 (2.5V), ADCREFON = 1 = use internal ref volt // and ADC12ON = 1 = turn ADC on ADC12CTL0 = ADC12SHT0_9 ADC12REFON ADC12REF2_5V ADC12ON; // Initialize control register ADC12CTL1 = // ADC12CSTART_ADDx = 0000 = start conversion with ADC12MEM0, // ADC12SHSx = 00 = use SW conversion trigger, ADC12SC bits // ADC12SHP = 1 = SAMPCON signal sourced from sampling timer, // ADC12ISSH = 0 = sample input signal not inverted, // ADC12DIVx = 000= divide ADC12CLK by 1, // ADC12SSEL=00= ADC clock ADC12OSC (~5 MHz), // ADC12CONSEQx = 00 single channel, single conversion, // ADC12BUSY = 0 = no ADC operation active ADC12CTL1 = ADC12SHP; // Set conversion mem control register ADC12MCTL0 = // EOS = 0, SREF =001 -->Voltage refs = GND to (Vref+) // INCHx = 0000 = analog input from A0 ADC12MCTL0 = ADC12SREF_1 + ADC12INCH_0; P6SEL = BIT0; // Set Port 6 Pin 0 to FUNCTION mode for ADC ADC12CTL0 &= ~ADC12SC; // clear the start bit //Enable and start (single) conversion (not using ADC int) ADC12CTL0 = ADC12SC + ADC12ENC; // Poll busy bit waiting for conversion to complete while (ADC12CTL1 & ADC12BUSY) no_operation(); in_value = ADC12MEM0 & 0x0FFF; // keep only low 12 bits >> How would we use the results from the ADC in our program?

Lecture 7: Analog Signals and Conversion

Lecture 7: Analog Signals and Conversion ECE342 Introduction to Embedded Systems Lecture 7: Analog Signals and Conversion Ying Tang Electrical and Computer Engineering Rowan University 1 Analog Signals Everywhere Everything is an analogy in the

More information

Lecture 5 ECEN 4517/5517

Lecture 5 ECEN 4517/5517 Lecture 5 ECEN 4517/5517 Experiment 3 Buck converter Battery charge controller Peak power tracker 1 Due dates Next week: Exp. 3 part 2 prelab assignment: MPPT algorithm Late assignments will not be accepted.

More information

Analog to Digital Conversion

Analog to Digital Conversion Analog to Digital Conversion The MSP in the name of our microcontroller MSP430G2554 is abbreviation for Mixed Signal Processor. This means that our microcontroller can be used to handle both analog and

More information

ME 461 Laboratory #3 Analog-to-Digital Conversion

ME 461 Laboratory #3 Analog-to-Digital Conversion ME 461 Laboratory #3 Analog-to-Digital Conversion Goals: 1. Learn how to configure and use the MSP430 s 10-bit SAR ADC. 2. Measure the output voltage of your home-made DAC and compare it to the expected

More information

MSP430 Teaching Materials

MSP430 Teaching Materials MSP430 Teaching Materials Lecture 6 Data Acquisition Texas Instruments Incorporated University of Beira Interior (PT) Pedro Dinis Gaspar, António Espírito Santo, Bruno Ribeiro, Humberto Santos University

More information

9. Data Acquisition. Chapter 9

9. Data Acquisition. Chapter 9 Chapter 9 9. Data Acquisition Microcontrollers offer a complete signal-chain on a chip for a wide range of applications. One of the most important interfaces between the microcontroller and the real word

More information

MSP430 Interfacing Programs

MSP430 Interfacing Programs IV B.Tech. I Sem (R13) ECE : Embedded Systems : UNIT -5 1 MSP430 Interfacing Programs 1. Blinking LED 2. LED control using switch 3. GPIO interrupt 4. ADC & PWM application speed control of dc motor 5.

More information

16.1 ADC ADC ADC10

16.1 ADC ADC ADC10 Chapter 27 The module is a high-performance 10-bit analog-to-digital converter. This chapter describes the operation of the module of the 4xx family. The is implemented on the MSP4340F41x2 devices. Topic

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 # 07 October 26, 2010 Dohn Bowden 1 Today s Lecture Syllabus review Microcontroller Hardware and/or Interface Finish Analog to Digital Conversion

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

1uW Embedded Computing Using Off-the Shelf Components for Energy Harvesting Applications

1uW Embedded Computing Using Off-the Shelf Components for Energy Harvesting Applications 1uW Embedded Computing Using Off-the Shelf Components for Energy Harvesting Applications Mark E. Buccini March 2013 03/2013 M. Buccini 1 Full Disclosure A processor guy 25+ years TI applications and marketing

More information

P89LPC935 ADC/DAC Tutorial

P89LPC935 ADC/DAC Tutorial P89LPC935 ADC/DAC Tutorial The P89LPC935 microcontroller has 2 on-board analog to digital modules Each module contains a 4-channel 8-bit successive approximation ADC 89LPC935 ADC/DAC Tutorial 1 ADC Module

More information

EEE3410 Microcontroller Applications Department of Electrical Engineering. Lecture 10. Analogue Interfacing. Vocational Training Council, Hong Kong.

EEE3410 Microcontroller Applications Department of Electrical Engineering. Lecture 10. Analogue Interfacing. Vocational Training Council, Hong Kong. Department of Electrical Engineering Lecture 10 Analogue Interfacing 1 In this Lecture. Interface 8051 with the following Input/Output Devices Transducer/Sensors Analogue-to-Digital Conversion (ADC) Digital-to-Analogue

More information

Microprocessor & Interfacing Lecture Programmable Interval Timer

Microprocessor & Interfacing Lecture Programmable Interval Timer Microprocessor & Interfacing Lecture 30 8254 Programmable Interval Timer P A R U L B A N S A L A S S T P R O F E S S O R E C S D E P A R T M E N T D R O N A C H A R Y A C O L L E G E O F E N G I N E E

More information

Module 13: Interfacing ADC. Introduction ADC Programming DAC Programming Sensor Interfacing

Module 13: Interfacing ADC. Introduction ADC Programming DAC Programming Sensor Interfacing Module 13: Interfacing ADC Introduction ADC Programming DAC Programming Sensor Interfacing Introduction ADC Devices o Analog-to-digital converters (ADC) are among the most widely used devices for data

More information

Lecture #4 Outline. Announcements Project Proposal. AVR Processor Resources

Lecture #4 Outline. Announcements Project Proposal. AVR Processor Resources October 11, 2002 Stanford University - EE281 Lecture #4 #1 Announcements Project Proposal Lecture #4 Outline AVR Processor Resources A/D Converter (Analog to Digital) Analog Comparator Real-Time clock

More information

Linear Integrated Circuits

Linear Integrated Circuits Linear Integrated Circuits Single Slope ADC Comparator checks input voltage with integrated reference voltage, V REF At the same time the number of clock cycles is being counted. When the integrator output

More information

DSP Project. Reminder: Project proposal is due Friday, October 19, 2012 by 5pm in my office (Small 239).

DSP Project. Reminder: Project proposal is due Friday, October 19, 2012 by 5pm in my office (Small 239). DSP Project eminder: Project proposal is due Friday, October 19, 2012 by 5pm in my office (Small 239). Budget: $150 for project. Free parts: Surplus parts from previous year s project are available on

More information

Switch/ Jumper Table 1-1: Factory Settings Factory Settings (Jumpers Installed) Function Controlled Activates pull-up/ pull-down resistors on Port 0 digital P7 I/O lines Activates pull-up/ pull-down resistors

More information

CprE 288 Introduction to Embedded Systems (Output Compare and PWM) Instructors: Dr. Phillip Jones

CprE 288 Introduction to Embedded Systems (Output Compare and PWM) Instructors: Dr. Phillip Jones CprE 288 Introduction to Embedded Systems (Output Compare and PWM) Instructors: Dr. Phillip Jones 1 Announcements HW8: Due Sunday 10/29 (midnight) Exam 2: In class Thursday 11/9 This object detection lab

More information

Analog Digital Converter

Analog Digital Converter Analog Digital Converter - Overview Analog Digital Conversion - Operation Modes: Single Mode vs. Scan mode - Registers for Data, Control, Status - Using the ADC in Software - Handling of Interrupts Karl-Ragmar

More information

LM12L Bit + Sign Data Acquisition System with Self-Calibration

LM12L Bit + Sign Data Acquisition System with Self-Calibration LM12L458 12-Bit + Sign Data Acquisition System with Self-Calibration General Description The LM12L458 is a highly integrated 3.3V Data Acquisition System. It combines a fully-differential self-calibrating

More information

MARMARA UNIVERSITY CSE315 DIGITAL DESIGN LABORATORY MANUAL. EXPERIMENT 7: Analog-to-Digital Conversion. Research Assistant Müzeyyen KARAMANOĞLU

MARMARA UNIVERSITY CSE315 DIGITAL DESIGN LABORATORY MANUAL. EXPERIMENT 7: Analog-to-Digital Conversion. Research Assistant Müzeyyen KARAMANOĞLU MARMARA UNIVERSITY CSE315 DIGITAL DESIGN LABORATORY MANUAL EXPERIMENT 7: Analog-to-Digital Conversion Research Assistant Müzeyyen KARAMANOĞLU Electrical&Electronics Engineering Department Marmara University

More information

dspic Analogue to Digital Converter

dspic Analogue to Digital Converter dspic Analogue to Digital Converter The dspic30f4012 has a 10-bit successive approximation architecture ADC on board and provides maximum sampling rate of 1 Msps. The ADC module has 6 analogue inputs which

More information

Analog I/O. ECE 153B Sensor & Peripheral Interface Design Winter 2016

Analog I/O. ECE 153B Sensor & Peripheral Interface Design Winter 2016 Analog I/O ECE 153B Sensor & Peripheral Interface Design Introduction Anytime we need to monitor or control analog signals with a digital system, we require analogto-digital (ADC) and digital-to-analog

More information

Lab 10. Speed Control of a D.C. motor

Lab 10. Speed Control of a D.C. motor Lab 10. Speed Control of a D.C. motor Speed Measurement: Tach Amplitude Method References: STM32L100 Data Sheet (pin definitions) STM32L100 Ref. Manual (ADC, GPIO, Clocks) Motor Speed Control Project 1.

More information

Topics Introduction to Microprocessors

Topics Introduction to Microprocessors Topics 2244 Introduction to Microprocessors Chapter 8253 Programmable Interval Timer/Counter Suree Pumrin,, Ph.D. Interfacing with 886/888 Programming Mode 2244 Introduction to Microprocessors 2 8253/54

More information

Micro-RF Receiver for Bat-Like Robot Final Report

Micro-RF Receiver for Bat-Like Robot Final Report Micro-RF Receiver for Bat-Like Robot Final Report ECE445 Senior Design Spring 2015 Zhongzhu Guo, Temitayo Ade-Oshifogun TA: Dennis Yuan Project 62 i Abstract In this project, we aimed to design a micro-rf

More information

Real Time Embedded Systems. Lecture 1 January 17, 2012

Real Time Embedded Systems.  Lecture 1 January 17, 2012 Analog Real Time Embedded Systems www.atomicrhubarb.com/embedded Lecture 1 January 17, 2012 Topic Section Topic Where in the books Catsoulis chapter/page Simon chapter/page Zilog UM197 (ZNEO Z16F Series

More information

PIC Analog Voltage to PWM Duty Cycle

PIC Analog Voltage to PWM Duty Cycle Name Lab Section PIC Analog Voltage to PWM Duty Cycle Lab 5 Introduction: In this lab you will convert an analog voltage into a pulse width modulation (PWM) duty cycle. The source of the analog voltage

More information

Getting Precise with MSP430 Sigma-Delta ADC Peripherals Vincent Chan MSP430 Business Development Manager TI Asia

Getting Precise with MSP430 Sigma-Delta ADC Peripherals Vincent Chan MSP430 Business Development Manager TI Asia Getting Precise with MSP43 Sigma-Delta ADC Peripherals Vincent Chan MSP43 Business Development Manager TI Asia vince-chan@ti.com 25 Texas Instruments Inc, Slide 1 Agenda Sigma-Delta basics & benefits Understanding

More information

Measuring Distance Using Sound

Measuring Distance Using Sound Measuring Distance Using Sound Distance can be measured in various ways: directly, using a ruler or measuring tape, or indirectly, using radio or sound waves. The indirect method measures another variable

More information

Embedded Systems. Interfacing PIC with external devices Analog to digital Converter. Eng. Anis Nazer Second Semester

Embedded Systems. Interfacing PIC with external devices Analog to digital Converter. Eng. Anis Nazer Second Semester Embedded Systems Interfacing PIC with external devices Analog to digital Converter Eng. Anis Nazer Second Semester 2016-2017 What is the time? What is the time? Definition Analog: can take any value Digital:

More information

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

IV B.Tech. I Sem (R13) ECE : Embedded Systems : UNIT -3 1 UNIT 3 IV B.Tech. I Sem (R13) ECE : Embedded Systems : UNIT -3 1 UNIT 3 Timers of MSP430 3.1. Basic Timer1 3.2. Timer_A 3.3. Edge aligned PWM output 3.4. Measurement in Capture mode ( Time period, duration, frequency)

More information

PIC ADC to PWM and Mosfet Low-Side Driver

PIC ADC to PWM and Mosfet Low-Side Driver Name Lab Section PIC ADC to PWM and Mosfet Low-Side Driver Lab 6 Introduction: In this lab you will convert an analog voltage into a pulse width modulation (PWM) duty cycle. The source of the analog voltage

More information

Brian Hanna Meteor IP 2007 Microcontroller

Brian Hanna Meteor IP 2007 Microcontroller MSP430 Overview: The purpose of the microcontroller is to execute a series of commands in a loop while waiting for commands from ground control to do otherwise. While it has not received a command it populates

More information

MICROCONTROLLER TUTORIAL II TIMERS

MICROCONTROLLER TUTORIAL II TIMERS MICROCONTROLLER TUTORIAL II TIMERS WHAT IS A TIMER? We use timers every day - the simplest one can be found on your wrist A simple clock will time the seconds, minutes and hours elapsed in a given day

More information

Lab 7 ADC Apr

Lab 7 ADC Apr Lab 7 ADC Apr. 2016 1 Objective 1. To be familiar with analog to digital converter module in LPC2138. Introduction Analog-to-digital conversion (ADC) is necessary because, while embedded systems deal with

More information

EE445L Fall 2011 Quiz 2A Page 1 of 6

EE445L Fall 2011 Quiz 2A Page 1 of 6 EE445L Fall 2011 Quiz 2A Page 1 of 6 Jonathan W. Valvano First: Last: November 18, 2011, 2:00pm-2:50pm. Open book, open notes, calculator (no laptops, phones, devices with screens larger than a TI-89 calculator,

More information

MICROPROCESSOR TECHNICS II

MICROPROCESSOR TECHNICS II AGH University of Science and Technology Faculty of Computer Science, Electronics and Telecommunication Department of Electronics MICROPROCESSOR TECHNICS II Tutorial 5 Combining ADC & PWM Mariusz Sokołowski

More information

I hope you have completed Part 2 of the Experiment and is ready for Part 3.

I hope you have completed Part 2 of the Experiment and is ready for Part 3. I hope you have completed Part 2 of the Experiment and is ready for Part 3. In part 3, you are going to use the FPGA to interface with the external world through a DAC and a ADC on the add-on card. You

More information

a8259 Features General Description Programmable Interrupt Controller

a8259 Features General Description Programmable Interrupt Controller a8259 Programmable Interrupt Controller July 1997, ver. 1 Data Sheet Features Optimized for FLEX and MAX architectures Offers eight levels of individually maskable interrupts Expandable to 64 interrupts

More information

SOLAR PATIO UMBRELLA

SOLAR PATIO UMBRELLA SOLAR PATIO UMBRELLA By Viren Mascarenhas Christian Ngeleza Luis Pe-Ferrer Final Report for ECE 445, Senior Design, Spring 2016 TA: Brady Salz 04 May 2016 Project No. 37 Abstract The project aims at designing

More information

L13: (25%), (20%), (5%) ECTE333

L13: (25%), (20%), (5%) ECTE333 ECTE333 s schedule ECTE333 Lecture 1 - Pulse Width Modulator School of Electrical, Computer and Telecommunications Engineering University of Wollongong Australia Week Lecture (2h) Tutorial (1h) Lab (2h)

More information

EE251: Tuesday October 10

EE251: Tuesday October 10 EE251: Tuesday October 10 Analog to Digital Conversion Text Chapter 20 through section 20.2 TM4C Data Sheet Chapter 13 Lab #5 Writeup Lab Practical #1 this week Homework #4 is due on Thursday at 4:30 p.m.

More information

Module 3. Embedded Systems I/O. Version 2 EE IIT, Kharagpur 1

Module 3. Embedded Systems I/O. Version 2 EE IIT, Kharagpur 1 Module 3 Embedded Systems I/O Version 2 EE IIT, Kharagpur 1 esson 19 Analog Interfacing Version 2 EE IIT, Kharagpur 2 Instructional Objectives After going through this lesson the student would be able

More information

EECS 140/240A Final Project spec, version 1 Spring 17. FINAL DESIGN due Monday, 5/1/2017 9am

EECS 140/240A Final Project spec, version 1 Spring 17. FINAL DESIGN due Monday, 5/1/2017 9am EECS 140/240A Final Project spec, version 1 Spring 17 FINAL DESIGN due Monday, 5/1/2017 9am 1 1.2 no layout? XC? Golden Bear Circuits is working on its next exciting circuit product. This is a mixedsignal

More information

The University of Texas at Arlington Lecture 10 ADC and DAC

The University of Texas at Arlington Lecture 10 ADC and DAC The University of Texas at Arlington Lecture 10 ADC and DAC CSE 3442/5442 Measuring Physical Quantities (Digital) computers use discrete values, and use these to emulate continuous values if needed. In

More information

Unit-6 PROGRAMMABLE INTERRUPT CONTROLLERS 8259A-PROGRAMMABLE INTERRUPT CONTROLLER (PIC) INTRODUCTION

Unit-6 PROGRAMMABLE INTERRUPT CONTROLLERS 8259A-PROGRAMMABLE INTERRUPT CONTROLLER (PIC) INTRODUCTION M i c r o p r o c e s s o r s a n d M i c r o c o n t r o l l e r s P a g e 1 PROGRAMMABLE INTERRUPT CONTROLLERS 8259A-PROGRAMMABLE INTERRUPT CONTROLLER (PIC) INTRODUCTION Microcomputer system design requires

More information

LM12454,LM12458,LM12H458

LM12454,LM12458,LM12H458 LM12454,LM12458,LM12H458 LM12454/LM12458/LM12H458 12-Bit + Sign Data Acquisition System with Self-Calibration Literature Number: SNAS079A 12-Bit + Sign Data Acquisition System with Self-Calibration General

More information

Timer A (0 and 1) and PWM EE3376

Timer A (0 and 1) and PWM EE3376 Timer A (0 and 1) and PWM EE3376 General Peripheral Programming Model l l l l Each peripheral has a range of addresses in the memory map peripheral has base address (i.e. 0x00A0) each register used in

More information

IP-48ADM16TH. High Density 48-channel, 16-bit A/D Converter. REFERENCE MANUAL Version 1.6 August 2008

IP-48ADM16TH. High Density 48-channel, 16-bit A/D Converter. REFERENCE MANUAL Version 1.6 August 2008 IP-48ADM16TH High Density 48-channel, 16-bit A/D Converter REFERENCE MANUAL 833-14-000-4000 Version 1.6 August 2008 ALPHI TECHNOLOGY CORPORATION 1898 E. Southern Avenue Tempe, AZ 85282 USA Tel: (480) 838-2428

More information

A Smart Multy-Sensory System for Environmental Monitoring. DIEEI Dipartimento di Ingegneria Elettrica, Elettronica e Informatica

A Smart Multy-Sensory System for Environmental Monitoring. DIEEI Dipartimento di Ingegneria Elettrica, Elettronica e Informatica A Smart Multy-Sensory System for Environmental Monitoring DIEEI Dipartimento di Ingegneria Elettrica, Elettronica e Informatica Contents Goals Solutions Methodologies Implementations Hardware 3-axis Accelerometer

More information

ELCT 912: Advanced Embedded Systems

ELCT 912: Advanced Embedded Systems ELCT 912: Advanced Embedded Systems Lecture 5: PIC Peripherals on Chip Dr. Mohamed Abd El Ghany, Department of Electronics and Electrical Engineering The PIC Family: Peripherals Different PICs have different

More information

ADC0808/ADC Bit µp Compatible A/D Converters with 8-Channel Multiplexer

ADC0808/ADC Bit µp Compatible A/D Converters with 8-Channel Multiplexer ADC0808/ADC0809 8-Bit µp Compatible A/D Converters with 8-Channel Multiplexer General Description The ADC0808, ADC0809 data acquisition component is a monolithic CMOS device with an 8-bit analog-to-digital

More information

Using the Z8 Encore! XP Timer

Using the Z8 Encore! XP Timer Application Note Using the Z8 Encore! XP Timer AN013104-1207 Abstract Zilog s Z8 Encore! XP microcontroller consists of four 16-bit reloadable timers that can be used for timing, event counting or for

More information

ECE 511: FINAL PROJECT REPORT GROUP 7 MSP430 TANK

ECE 511: FINAL PROJECT REPORT GROUP 7 MSP430 TANK ECE 511: FINAL PROJECT REPORT GROUP 7 MSP430 TANK Team Members: Andrew Blanford Matthew Drummond Krishnaveni Das Dheeraj Reddy 1 Abstract: The goal of the project was to build an interactive and mobile

More information

Lab Exercise 6: Digital/Analog conversion

Lab Exercise 6: Digital/Analog conversion Lab Exercise 6: Digital/Analog conversion Introduction In this lab exercise, you will study circuits for analog-to-digital and digital-to-analog conversion Preparation Before arriving at the lab, you should

More information

Dedan Kimathi University of technology. Department of Electrical and Electronic Engineering. EEE2406: Instrumentation. Lab 2

Dedan Kimathi University of technology. Department of Electrical and Electronic Engineering. EEE2406: Instrumentation. Lab 2 Dedan Kimathi University of technology Department of Electrical and Electronic Engineering EEE2406: Instrumentation Lab 2 Title: Analogue to Digital Conversion October 2, 2015 1 Analogue to Digital Conversion

More information

Intelligent and passive RFID tag for Identification and Sensing

Intelligent and passive RFID tag for Identification and Sensing Zürich University Of Applied Sciences Institute of Embedded Systems InES Intelligent and passive RFID tag for Identification and Sensing (Presented at Embedded World, Nürnberg, 3 rd March 2009) Dipl. Ing.

More information

Page 1. Midterm #2. OpAmp Review. Inverting & Non-inverting Circuits CS/ECE 6780/5780. Al Davis. Almost ubiquitous analog circuit element since ~1968

Page 1. Midterm #2. OpAmp Review. Inverting & Non-inverting Circuits CS/ECE 6780/5780. Al Davis. Almost ubiquitous analog circuit element since ~1968 Midterm #2 Midterm 2 hints CS/ECE 6780/5780 Al Davis Today s topics: no practice midterm since it didn t help last time ADC s and DAC s chapter 11 of your text your kit has an A/D (Port D w/ DDR set to

More information

Chapter 7. Introduction. Analog Signal and Discrete Time Series. Sampling, Digital Devices, and Data Acquisition

Chapter 7. Introduction. Analog Signal and Discrete Time Series. Sampling, Digital Devices, and Data Acquisition Chapter 7 Sampling, Digital Devices, and Data Acquisition Material from Theory and Design for Mechanical Measurements; Figliola, Third Edition Introduction Integrating analog electrical transducers with

More information

Heliotrack Programmable Wind Alarm Switch V1.0 Developed in partnership with Inspeed.com, LLC

Heliotrack Programmable Wind Alarm Switch V1.0 Developed in partnership with Inspeed.com, LLC Heliotrack Programmable Wind Alarm Switch V1.0 Developed in partnership with Inspeed.com, LLC IMPORTANT DISCLAIMER: Niether Heliotrack,LLC nor Inspeed assume any responsibility for damages caused by the

More information

Embedded Control. Week 3 (7/13/11)

Embedded Control. Week 3 (7/13/11) Embedded Control Week 3 (7/13/11) Week 3 15:00 Lecture Overview of analog signals Digital-to-analog conversion Analog-to-digital conversion 16:00 Lab NXT analog IO Overview of Analog Signals Continuous

More information

Microprocessor Control Board Set Up Procedures (OR PLC)

Microprocessor Control Board Set Up Procedures (OR PLC) Microprocessor Control Board Set Up Procedures (OR-00 PLC) SWITCHES/PUSHBUTTONS Push Buttons at display SW Enter button SW Back button SW Down SW UP Back light on/off switch Rotary switches on main board

More information

Midterm Exam ECE 448 Spring 2013 Thursday Section (15 points)

Midterm Exam ECE 448 Spring 2013 Thursday Section (15 points) ECE 8 Midterm Midterm Exam ECE 8 Spring 2 Thursday Section (5 points) Instructions: Zip all your deliverables into an archive .zip and submit it through Blackboard no later than Thursday, March

More information

Digital Design Laboratory Lecture 7. A/D and D/A

Digital Design Laboratory Lecture 7. A/D and D/A ECE 280 / CSE 280 Digital Design Laboratory Lecture 7 A/D and D/A Analog/Digital Conversion A/D conversion is the process of sampling a continuous signal Two significant implications 1. The information

More information

Microcontroller: Timers, ADC

Microcontroller: Timers, ADC Microcontroller: Timers, ADC Amarjeet Singh February 1, 2013 Logistics Please share the JTAG and USB cables for your assignment Lecture tomorrow by Nipun 2 Revision from last class When servicing an interrupt,

More information

Using the M16C/62 Analog to Digital Converter in Repeat Sweep Mode 0

Using the M16C/62 Analog to Digital Converter in Repeat Sweep Mode 0 APPLICATION NOTE M16C/62 1.0 Abstract The following article outlines the steps necessary to set up, perform, and read multiple conversions on multiple channels using the onboard analog to digital converter

More information

ADS9850 Signal Generator Module

ADS9850 Signal Generator Module 1. Introduction ADS9850 Signal Generator Module This module described here is based on ADS9850, a CMOS, 125MHz, and Complete DDS Synthesizer. The AD9850 is a highly integrated device that uses advanced

More information

In this lab, you ll build and program a meter that measures voltage, current, power, and energy at DC and AC.

In this lab, you ll build and program a meter that measures voltage, current, power, and energy at DC and AC. EE 155/255 Lab #2 Revision 1, October 5, 2017 Lab2: Energy Meter In this lab, you ll build and program a meter that measures voltage, current, power, and energy at DC and AC. Assigned: October 2, 2017

More information

Application Circuits 3. 3V R2. C4 100n G PI O. 0 G PI O S e t u p d a ta G PI O. 5 G PI O M o t i o n I n t G PI O. 4 G PI O.

Application Circuits 3. 3V R2. C4 100n G PI O. 0 G PI O S e t u p d a ta G PI O. 5 G PI O M o t i o n I n t G PI O. 4 G PI O. General Description The is an ultra-low power motion detector controller integrated circuit. The device is ideally suited for battery operated wireless motion sensors that make use of an MCU for handling

More information

Analog-to-Digital Converter. Student's name & ID (1): Partner's name & ID (2): Your Section number & TA's name

Analog-to-Digital Converter. Student's name & ID (1): Partner's name & ID (2): Your Section number & TA's name MPSD A/D Lab Exercise Analog-to-Digital Converter Student's name & ID (1): Partner's name & ID (2): Your Section number & TA's name Notes: You must work on this assignment with your partner. Hand in a

More information

Monitoring of Intravenous Drip Rate

Monitoring of Intravenous Drip Rate Monitoring of Intravenous Drip Rate Vidyadhar V. Kamble, Prem C. Pandey, Chandrashekar P. Gadgil, and Dinesh S. Choudhary Abstract A drip rate meter, for monitoring intravenous infusion, is developed using

More information

Motor Control using NXP s LPC2900

Motor Control using NXP s LPC2900 Motor Control using NXP s LPC2900 Agenda LPC2900 Overview and Development tools Control of BLDC Motors using the LPC2900 CPU Load of BLDCM and PMSM Enhancing performance LPC2900 Demo BLDC motor 2 LPC2900

More information

Embedded Systems Lecture 2: Interfacing with the Environment. Björn Franke University of Edinburgh

Embedded Systems Lecture 2: Interfacing with the Environment. Björn Franke University of Edinburgh Embedded Systems Lecture 2: Interfacing with the Environment Björn Franke University of Edinburgh Overview Interfacing with the Physical Environment Signals, Discretisation Input (Sensors) Output (Actuators)

More information

EECS150 - Digital Design Lecture 2 - CMOS

EECS150 - Digital Design Lecture 2 - CMOS EECS150 - Digital Design Lecture 2 - CMOS August 29, 2002 John Wawrzynek Fall 2002 EECS150 - Lec02-CMOS Page 1 Outline Overview of Physical Implementations CMOS devices Announcements/Break CMOS transistor

More information

Lab 8. Stepper Motor Controller

Lab 8. Stepper Motor Controller Lab 8. Stepper Motor Controller Overview of this Session In this laboratory, you will learn: To continue to use an oscilloscope How to use a Step Motor driver chip. Introduction This lab is focused around

More information

The Need. Reliable, repeatable, stable time base. Memory Access. Interval/Event timers ADC DAC

The Need. Reliable, repeatable, stable time base. Memory Access. Interval/Event timers ADC DAC Timers The Need Reliable, repeatable, stable time base Memory Access /Event timers ADC DAC Time Base: Crystal Oscillator Silicon Dioxide forms a piezoelectric crystal that can deform in eclectic field,

More information

802.11g Wireless Sensor Network Modules

802.11g Wireless Sensor Network Modules RFMProducts are now Murata Products Small Size, Integral Antenna, Light Weight, Low Cost 7.5 µa Sleep Current Supports Battery Operation Timer and Event Triggered Auto-reporting Capability Analog, Digital,

More information

Analog to Digital Conversion

Analog to Digital Conversion Analog to Digital Conversion 02534567998 6 4 2 3 4 5 6 ANALOG to DIGITAL CONVERSION Analog variation (Continuous, smooth variation) Digitized Variation (Discrete set of points) N2 N1 Digitization applied

More information

L9: Analog Building Blocks (OpAmps, A/D, D/A)

L9: Analog Building Blocks (OpAmps, A/D, D/A) L9: Analog Building Blocks (OpAmps, A/D, D/A) Courtesy of Dave Wentzloff. Used with permission. 1 Introduction to Operational Amplifiers v id in DC Model a v id LM741 Pinout out 10 to 15V Typically very

More information

Roland Kammerer. 13. October 2010

Roland Kammerer. 13. October 2010 Peripherals Roland Institute of Computer Engineering Vienna University of Technology 13. October 2010 Overview 1. Analog/Digital Converter (ADC) 2. Pulse Width Modulation (PWM) 3. Serial Peripheral Interface

More information

Data Conversion and Lab Lab 3 Spring Analog to Digital Converter

Data Conversion and Lab Lab 3 Spring Analog to Digital Converter Analog to Digital Converter Lab Report Objectives See separate report form located on the course webpage. This form should be completed during the performance of this lab. 1) To construct and operate an

More information

Data Logger Subsystems Mark Buccini February 2012

Data Logger Subsystems Mark Buccini February 2012 Data Logger Subsystems Mark Buccini February 2012 Full Disclosure Mark E. Buccini ULP Staff at TI 25+ years strategy, applications, marketing, sales, and management experience Lead MSP430 worldwide introduction

More information

2.7 V to 5.5 V, 400 ksps 8-/10-Bit Sampling ADC AD7813

2.7 V to 5.5 V, 400 ksps 8-/10-Bit Sampling ADC AD7813 a FEATURES 8-/10-Bit ADC with 2.3 s Conversion Time On-Chip Track and Hold Operating Supply Range: 2.7 V to 5.5 V Specifications at 2.7 V 3.6 V and 5 V 10% 8-Bit Parallel Interface 8-Bit + 2-Bit Read Power

More information

4 x 10 bit Free Run A/D 4 x Hi Comparator 4 x Low Comparator IRQ on Compare MX839. C-BUS Interface & Control Logic

4 x 10 bit Free Run A/D 4 x Hi Comparator 4 x Low Comparator IRQ on Compare MX839. C-BUS Interface & Control Logic DATA BULLETIN MX839 Digitally Controlled Analog I/O Processor PRELIMINARY INFORMATION Features x 4 input intelligent 10 bit A/D monitoring subsystem 4 High and 4 Low Comparators External IRQ Generator

More information

Preliminary. 4-Channel RTD/4-20 ma Wireless Sensor Node SN24R420-4

Preliminary. 4-Channel RTD/4-20 ma Wireless Sensor Node SN24R420-4 Preliminary - 4 Analog Channel, Battery Powered Wireless Sensor Node - 2 RTD Inputs and 2 4-20 ma Inputs Plus 2 Switch Inputs - Supports 2- and 3-Wire 100 ohm Platinum RTDs - Switch State and Change-of-State

More information

AN-742 APPLICATION NOTE

AN-742 APPLICATION NOTE APPLICATION NOTE One Technology Way P.O. Box 9106 Norwood, MA 02062-9106, U.S.A. Tel: 781.329.4700 Fax: 781.461.3113 www.analog.com Frequency Domain Response of Switched-Capacitor ADCs by Rob Reeder INTRODUCTION

More information

Synchronizing Receiver Node Hardware Operations and Node M&C and hardware Interaction: Version 1.0

Synchronizing Receiver Node Hardware Operations and Node M&C and hardware Interaction: Version 1.0 RRI Internal Technical Report Library ref no. TR: AA-2007-1 Synchronizing Receiver de Hardware Operations and de M&C and hardware Interaction: Version 1.0 Authors: D. Anish Roshi 1 Affiliation: 1 Raman

More information

Microprocessor-compatible 8-Bit ADC. Memory FEATURES: Logic Diagram DESCRIPTION:

Microprocessor-compatible 8-Bit ADC. Memory FEATURES: Logic Diagram DESCRIPTION: 7820 Microprocessor-compatible 8-Bit ADC FEATURES: 1.36 µs Conversion Time Built-in-Track-and-Hold Function Single +5 Volt Supply No External Clock Required Tri-State Output Buffered Total Ionization Dose:

More information

6.111 Lecture # 15. Operational Amplifiers. Uses of Op Amps

6.111 Lecture # 15. Operational Amplifiers. Uses of Op Amps 6.111 Lecture # 15 Operational Amplifiers Parameter Ideal '741 '357 Int Gain A Infinity 200,000/f(Hz) 20x10^6/f(Hz) Uses of Op Amps Analog uses employ negative feedback to drive + input to (nearly) the

More information

EE 109 Midterm Review

EE 109 Midterm Review EE 109 Midterm Review 1 2 Number Systems Computer use base 2 (binary) 0 and 1 Humans use base 10 (decimal) 0 to 9 Humans using computers: Base 16 (hexadecimal) 0 to 15 (0 to 9,A,B,C,D,E,F) Base 8 (octal)

More information

ADC Board 4 Channel Notes September 29, DRAFT - May not be correct

ADC Board 4 Channel Notes September 29, DRAFT - May not be correct ADC Board 4 Channel Notes September 29, 2006 - DRAFT - May not be correct Board Features 4 Chan - 130MSPS 16 bit ADCs LTC2208 - Data clocked into 64k Sample FIFOs 1 buffered clock input to CPLD 1 buffered

More information

ANALOG TO DIGITAL (ADC) and DIGITAL TO ANALOG CONVERTERS (DAC)

ANALOG TO DIGITAL (ADC) and DIGITAL TO ANALOG CONVERTERS (DAC) COURSE / CODE DIGITAL SYSTEM FUNDAMENTALS (ECE421) DIGITAL ELECTRONICS FUNDAMENTAL (ECE422) ANALOG TO DIGITAL (ADC) and DIGITAL TO ANALOG CONVERTERS (DAC) Connecting digital circuitry to sensor devices

More information

Sensorless Vector Control with RL78G14

Sensorless Vector Control with RL78G14 Sensorless Vector Control with RL78G14 Renesas Electronics America Inc. Renesas Technology & Solution Portfolio 2 Microcontroller and Microprocessor Line-up 2010 2013 32-bit 8/16-bit 1200 DMIPS, Superscalar

More information

Analog-to-Digital Conversion

Analog-to-Digital Conversion CHEM 411L Instrumental Analysis Laboratory Revision 1.0 Analog-to-Digital Conversion In this laboratory exercise we will construct an Analog-to-Digital Converter (ADC) using the staircase technique. In

More information

6-Bit A/D converter (parallel outputs)

6-Bit A/D converter (parallel outputs) DESCRIPTION The is a low cost, complete successive-approximation analog-to-digital (A/D) converter, fabricated using Bipolar/I L technology. With an external reference voltage, the will accept input voltages

More information

Java Bread Board Introductory Digital Electronics Exercise 2, Page 1

Java Bread Board Introductory Digital Electronics Exercise 2, Page 1 Java Bread Board Introductory Digital Electronics Exercise 2, Page 1 JBB Excercise 2 The aim of this lab is to demonstrate how basic logic gates can be used to implement simple memory functions, introduce

More information

EE445L Fall 2015 Quiz 2 Page 1 of 5

EE445L Fall 2015 Quiz 2 Page 1 of 5 EE445L Fall 2015 Quiz 2 Page 1 of 5 Jonathan W. Valvano First: Last: November 20, 2015, 10:00-10:50am. Open book, open notes, calculator (no laptops, phones, devices with screens larger than a TI-89 calculator,

More information