Capstone Design Course

Size: px
Start display at page:

Download "Capstone Design Course"

Transcription

1 Capstone Design Course Lecture-9: ANALOG-TO-DIGITAL CONVERTER SYSTEM By Syed Masud Mahmud, Ph.D. Copyright 2002 by Syed Masud Mahmud 1

2 A/D Conversion Theory Here, an example is shown for a 3-bit A/D converter. Four capacitors are used for a 3-bit A/D converter. An N-bit A/D converter is built using N+1 capacitors and an analog comparator. 2

3 A/D Conversion Theory (contd.) Sample Mode In this mode the bottom plates of the capacitors are connected to the unknown voltage V x and the top plates are connected to the lower reference voltage V L. 3

4 A/D Conversion Theory (contd.) Charge Stored During the Sample Mode The charge in all the capacitors, stored during the sample mode, can be computed as Q S = 8(V x - V L ). If we assume V L = 0, then Q S = 8V x. 4

5 A/D Conversion Theory (contd.) Hold Mode : In this mode the bottom plates are switched to V L. Since the charge is conserved, we still have the same amount of charge, i.e. Q S = 8(V L - V i ) = -8V i. From the previous slide we know that Q S = 8V x. Hence, V x = -V i. 5

6 A/D Conversion Theory (contd.) Conversion Mode : In this mode, each capacitor, beginning with the largest one, which corresponds to the most significant bit (MSB) of the digital result, is switched from V L to V H. 6

7 A/D Conversion Theory (contd.) Determine the MSB of Digital Output : Let s assume that, V X =3.2v, V H =5.0v and V L =0.0v. Our goal is to determine the digital output. Q S = 8V X = 8*3.2 = 25.6 If the largest capacitor is connected to V H then Q S = 4(V H - V i ) + 4(V L - V i ) = 4*5 8* V i = Hence, V i = -0.7v. Since V i is negative, V out is logic-1, i.e. MSB = 1. 7

8 A/D Conversion Theory (contd.) Determine the Next Bit of Digital Output: Now the capacitor with value 2 is also switched to V H. This time, Q S = 6(V H - V i ) + 2(V L - V i ) = 6*5 8* V i = Hence, V i = 0.55v. Since V i is positive, V out is logic-0, i.e. the next bit of digital output is a 0. 8

9 A/D Conversion Theory (contd.) Determine the LSB of Digital Output: Since the middle bit of digital output is a 0, the capacitor with value 2 will be switched back to V L and the capacitor with value 1 will be switched to V H. This time, Q S = 5(V H - V i ) + 3(V L - V i ) = 5*5 8* V i = Hence, V i = v. Since V i is negative, LSB=1. Thus, DIGITAL OUTPUT =

10 A/D Converter Channels Each one of Port-E line is an A/D converter channel. Thus, altogether there are 8 channels. As a result, signals from 8 analog sources can be collected by the 68HC11 microcontroller. 10

11 A/D Converter Channels Normally V RH and V RL are 5v and 0v lines, respectively. Different voltage signals, in the range 0v to 5v, can be connected to these pin with V RL < V RH. 11

12 Analog Input & Digital Output If analog input is equal to V RH, then digital output is equal to $FF. If analog input is equal to V RL, then digital output is equal to $00. The conversion curve is linear for other voltages in the range V RL to V RH. 12

13 Problems Problem-1: What is the value of digital output for an analog input of 3.2v (assume that V RL = 0v and V RH = 5v)? The slope of the analog to digital conversion line is 255/(V RH - V RL ) = 255/5v = 51units/volt. Hence, the digital output for an analog input of 3.2v is = 3.2v*255/5v = 163. Problem-2: If the digital output is 198, then what is the corresponding analog input (V RL = 0v, V RH = 5v)? Since the slope of the conversion line is 51units/volt, the analog input = 198/51 v = 3.88v. 13

14 More Problems For the following two problems assume that V RL = 1v and V RH = 4v. Problem-3: What is value of digital output for an analog input of 3.2v? The slope of the conversion line is 255/(V RH - V RL ) = 255/3v = 85 units/volt. Hence, the digital output for an analog input of 3.2v is = (3.2v - V RL )*85/v = 2.2*85 = 187. Problem-4: If the digital output is 198, then what is the corresponding analog input? Since the slope of the conversion line is 85 units/volt, the analog input = V RL + 198/85 v = 3.33v. 14

15 Registers of 68HC11 A/D Converter System Bit-7 of OPTION register is used to activate the charge pump of the A/D converter. Bit-6 of OPTION register is used to select the A/D converter clock. 15

16 Registers of 68HC11 A/D Converter System CSEL = 0 CSEL = 1 : E clock is selected for A/D the converter : An internal R/C clock is selected for the A/D converter If the frequency of E clock is less than 750 KHz, then the internal R/C clock should be used for the A/D converter. After setting the ADPU bit (Bit-7) of the OPTION register we should wait for at least 105 micro-seconds before we can ask the A/D converter to start conversion. 16

17 ADCTL A/D Control/Status Register The A/D conversion is started by writing a bit-pattern into ADCTL register. Modes of A/D Converter: MULT (Bit-4) = 0 : Single channel mode Only one channel is selected in this mode. MULT (Bit-4) = 1 : Multi-channel mode Four channels are selected in this mode. 17

18 Non-Scan and Single Channel Mode SCAN (Bit-5) = 0 and MULT (Bit-4)=0 The A/D converter collects four samples from one channel and then stops. These four samples are saved in the following registers: 18

19 Non-Scan and Multi-Channel Mode SCAN (Bit-5) = 0 and MULT (Bit-4)=1 The A/D converter collects four samples from four channels, one from each channel and then stops. These four samples are saved in the following registers: 19

20 Channel Selection 20

21 CCF: Conversions Complete Flag This read-only status bit (Bit-7 of ADCTL) is set when all four A/D result registers contain valid conversion results. Each time the ADCTL register is written, this bit is automatically cleared, and a new conversion sequence is started immediately. In the continuous scan modes, conversions continue in round-robin fashion, and the result registers are updated with current data even though the CCF bit remains set. 21

22 Programs-1: A2DPROG1.txt 22

23 A2DPROG1.txt (contd.) 23

24 A2DPROG1.txt (contd.) 24

25 A2DPROG1.txt (contd.) 25

26 Program-2: A2DPROG2.txt 26

27 A2DPROG2.txt (contd.) 27

28 A2DPROG2.txt (contd.) 28

29 A2DPROG2.txt (contd.) 29

30 A2DPROG2.txt (contd.) 30

31 Program-3: A2DPROG3.txt 31

32 A2DPROG3.txt (contd.) 32

33 A2DPROG3.txt (contd.) 33

34 A2DPROG3.txt (contd.) 34

35 A2DPROG3.txt (contd.) 35

EE-3306 HC6811 Lab #5. Oscilloscope Lab

EE-3306 HC6811 Lab #5. Oscilloscope Lab EE-3306 HC6811 Lab #5 Oscilloscope Lab Objectives: The purpose of this lab is to become familiar with the 68HC11 on chip Analog-to-Digital converter. In this lab, DC input voltages in 0V to +5V range are

More information

ADC Parameters. ECE/CS 5780/6780: Embedded System Design. Common Encoding Schemes. Two-Bit Flash ADC. Sixteen-Bit Dual Slope ADC

ADC Parameters. ECE/CS 5780/6780: Embedded System Design. Common Encoding Schemes. Two-Bit Flash ADC. Sixteen-Bit Dual Slope ADC ADC Parameters ECE/CS 5780/6780: Embedded System Design Chris J. Myers Lecture 19: Analog-to-Digital Conversion Precision is number of distinguishable ADC inputs. Range is maximum and minimum ADC inputs.

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

EE 308 Spring 2015 The MC9S12 A/D Converter

EE 308 Spring 2015 The MC9S12 A/D Converter The MC9S12 A/D Converter o Introduction to A/D Converters o Single Channel vs Multiple Channels o Singe Conversion vs Multiple Conversions o MC9S12 A/C Registers o Using the MC9S12 A/D Converter o A C

More information

Menu EEL 3744 EEL A-to-D, D-to-A

Menu EEL 3744 EEL A-to-D, D-to-A Menu A/D system on the 68HC11/12 & TI DSC F2833 A/D system on the XMEGA A/D Converter Example: EEG Analog-to-Digital Conversion >Basic Charge-Redistribution A/D Analog-to-Digital Conversion >What should

More information

Menu EEL 3744 EEL A-to-D, D-to-A, Part 2

Menu EEL 3744 EEL A-to-D, D-to-A, Part 2 Menu A/D system on the 68HC11/12 & TI DSC F2833 A/D system on the XMEGA A/D Converter Example: EEG Analog-to-Digital Conversion >Basic Charge-Redistribution A/D Analog-to-Digital Conversion >What should

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

EE 308 Spring S12 SUBSYSTEMS: PULSE WIDTH MODULATION, A/D CONVERTER, AND SYNCHRONOUS SERIAN INTERFACE

EE 308 Spring S12 SUBSYSTEMS: PULSE WIDTH MODULATION, A/D CONVERTER, AND SYNCHRONOUS SERIAN INTERFACE 9S12 SUBSYSTEMS: PULSE WIDTH MODULATION, A/D CONVERTER, AND SYNCHRONOUS SERIAN INTERFACE In this sequence of three labs you will learn to use the 9S12 S hardware sybsystem. WEEK 1 PULSE WIDTH MODULATION

More information

Lecture 6: Digital/Analog Techniques

Lecture 6: Digital/Analog Techniques Lecture 6: Digital/Analog Techniques The electronics signals that we ve looked at so far have been analog that means the information is continuous. A voltage of 5.3V represents different information that

More information

EE 308 Lab Spring 2009

EE 308 Lab Spring 2009 9S12 Subsystems: Pulse Width Modulation, A/D Converter, and Synchronous Serial Interface In this sequence of three labs you will learn to use three of the MC9S12's hardware subsystems. WEEK 1 Pulse Width

More information

Lecture 14 Analog to Digital Conversion

Lecture 14 Analog to Digital Conversion CPE 390: Microprocessor Systems Fall 2017 Lecture 14 Analog to Digital Conversion Bryan Ackland Department of Electrical and Computer Engineering Stevens Institute of Technology Hoboken, NJ 07030 Adapted

More information

ADC Description. ECE/CS 5780/6780: Embedded System Design. External Input Pin Descriptions. ADC Block Diagram

ADC Description. ECE/CS 5780/6780: Embedded System Design. External Input Pin Descriptions. ADC Block Diagram ADC Description ECE/CS 578/678: Embedded System Design Scott. Little Lecture 23: Integrated ADC Configuration 8/-bit resolution. 7 µs, -bit single conversion time. Programmable sample time. External trigger

More information

Chapter 12: Analog-to-Digital Converter. EE383: Introduction to Embedded Systems University of Kentucky. Samir Rawashdeh

Chapter 12: Analog-to-Digital Converter. EE383: Introduction to Embedded Systems University of Kentucky. Samir Rawashdeh Chapter 12: Analog-to-Digital Converter EE383: Introduction to Embedded Systems University of Kentucky Samir Rawashdeh With slides based on material by H. Huang Delmar Cengage Learning Basics of A/D Conversion

More information

Technical Brief FAQ (FREQUENCLY ASKED QUESTIONS) For further information, please contact Crystal Semiconductor at (512) or 1 (800)

Technical Brief FAQ (FREQUENCLY ASKED QUESTIONS) For further information, please contact Crystal Semiconductor at (512) or 1 (800) Technical Brief FAQ (FREQUENCLY ASKED QUESTIONS) 1) Do you have a four channel part? Not at this time, but we have plans to do a multichannel product Q4 97. We also have 4 digital output lines which can

More information

ECEN5817 Lecture 4. Transfer function H(s) ) (t) i R. (t) v R

ECEN5817 Lecture 4. Transfer function H(s) ) (t) i R. (t) v R ECEN5817 Lecture 4 A resonant dc-dc converter: Transfer function H(s) ) dc source v g i s L C s i R i v s v R v R N S N T N R N F Switch network Resonant tank network Rectifier network Low-pass dc filter

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

8-Bit, high-speed, µp-compatible A/D converter with track/hold function ADC0820

8-Bit, high-speed, µp-compatible A/D converter with track/hold function ADC0820 8-Bit, high-speed, µp-compatible A/D converter with DESCRIPTION By using a half-flash conversion technique, the 8-bit CMOS A/D offers a 1.5µs conversion time while dissipating a maximum 75mW of power.

More information

Debouncing Switches. The non-ideal behavior of the contacts that creates multiple electrical transitions for a single user input.

Debouncing Switches. The non-ideal behavior of the contacts that creates multiple electrical transitions for a single user input. Mechanical switches are one of the most common interfaces to a uc. Switch inputs are asynchronous to the uc and are not electrically clean. Asynchronous inputs can be handled with a synchronizer (2 FF

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

ROTRONIC HygroClip Digital Input / Output

ROTRONIC HygroClip Digital Input / Output ROTRONIC HygroClip Digital Input / Output OEM customers that use the HygroClip have the choice of using either the analog humidity and temperature output signals or the digital signal input / output (DIO).

More information

Universal LCD driver for low multiplex rates. AEC Q100 grade 2 compliant for automotive applications.

Universal LCD driver for low multiplex rates. AEC Q100 grade 2 compliant for automotive applications. Rev. 1 9 December 2010 Product data sheet 1. General description The is a peripheral device which interfaces to almost any Liquid Crystal Display (LCD) 1 with low multiplex rates. It generates the drive

More information

Advantages of Analog Representation. Varies continuously, like the property being measured. Represents continuous values. See Figure 12.

Advantages of Analog Representation. Varies continuously, like the property being measured. Represents continuous values. See Figure 12. Analog Signals Signals that vary continuously throughout a defined range. Representative of many physical quantities, such as temperature and velocity. Usually a voltage or current level. Digital Signals

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

VCC. Digital 16 Frequency Divider Digital-to-Analog Converter Butterworth Active Filter Sample-and-Hold Amplifier (part 2) Last Update: 03/19/14

VCC. Digital 16 Frequency Divider Digital-to-Analog Converter Butterworth Active Filter Sample-and-Hold Amplifier (part 2) Last Update: 03/19/14 Digital 16 Frequency Divider Digital-to-Analog Converter Butterworth Active Filter Sample-and-Hold Amplifier (part 2) ECE3204 Lab 5 Objective The purpose of this lab is to design and test an active Butterworth

More information

EE 308 Spring Using the HCS12 PWM

EE 308 Spring Using the HCS12 PWM Using the HCS12 PWM 1. Choose 8-bit mode (PWMCTL = x) 2. Choose high polarity (PWMPOL = xff) 3. Choose left-aligned (PWMCAE = x) 4. Select clock mode in PWMCLK: PCLKn = for 2 N, PCLKn = 1 for 2 (N+1) M,

More information

UCS Channel LED Driver / Controller

UCS Channel LED Driver / Controller GENERAL DESCRIPTION 3-Channel LED Driver / Controller The UCS1903 is a 3-channel LED display driver / controller with a built-in MCU digital interface, data latches and LED high voltage driving functions.

More information

Signal conditioning and filtering. Temperature Sensor. 1 SCK 3 MISO 4 MOSI 7 CSB Sensing element 2. Signal conditioning and filtering

Signal conditioning and filtering. Temperature Sensor. 1 SCK 3 MISO 4 MOSI 7 CSB Sensing element 2. Signal conditioning and filtering Data Sheet THE SCA100T DUAL AXIS INCLINOMETER SERIES The SCA100T Series is a 3D-MEMS-based dual axis inclinometer family that provides instrumentation grade performance for leveling applications. The measuring

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

MD03-50Volt 20Amp H Bridge Motor Drive

MD03-50Volt 20Amp H Bridge Motor Drive MD03-50Volt 20Amp H Bridge Motor Drive Overview The MD03 is a medium power motor driver, designed to supply power beyond that of any of the low power single chip H-Bridges that exist. Main features are

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

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

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

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

PHYS225 Lecture 22. Electronic Circuits

PHYS225 Lecture 22. Electronic Circuits PHYS225 Lecture 22 Electronic Circuits Last lecture Digital to Analog Conversion DAC Converts digital signal to an analog signal Computer control of everything! Various types/techniques for conversion

More information

IST TSic Temperature Sensor IC. Technical Notes ZACwire Digital Output

IST TSic Temperature Sensor IC. Technical Notes ZACwire Digital Output IST TSic Temperature Sensor IC Technical Notes ZACwire Digital Output CONTENTS 1 ZACWIRE COMMUNICATION PROTOCOL FOR THE TSIC...2 1.1 TEMPERATURE TRANSMISSION PACKET FROM A TSIC TM...2 1.2 BIT ENCODING...3

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

Reading: Schwarz and Oldham (light on non-ideal) and comparator viewgraphs. Lecture 14: October 17, 2001

Reading: Schwarz and Oldham (light on non-ideal) and comparator viewgraphs. Lecture 14: October 17, 2001 Lecture 4: October 7, 00 Op-Amp Circuits and Comprators A)Cascade Op-Amps B)Integration/Differentiation Op-Amps C)I vs. V of Op-Amps Source Limits D)Comparator Circuits E)D to A Converters Reading: The

More information

Data Sheet THE SCA61T INCLINOMETER SERIES. Features. Applications. Functional block diagram

Data Sheet THE SCA61T INCLINOMETER SERIES. Features. Applications. Functional block diagram Data Sheet THE SCA61T INCLINOMETER SERIES The SCA61T Series is a 3D-MEMS-based single axis inclinometer family that provides instrumentation grade performance for leveling applications. Low temperature

More information

Appendix C. LW400-09A Digital Output Option

Appendix C. LW400-09A Digital Output Option LW400-09A Digital Output Option Introduction The LW400-09A Digital Output option provides 8-bit TTL and ECL, digital outputs corresponding to the current value of the channel 1 analog output. The latched

More information

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

Analog to Digital Converters

Analog to Digital Converters Analog to Digital Converters By: Byron Johns, Danny Carpenter Stephanie Pohl, Harry Bo Marr http://ume.gatech.edu/mechatronics_course/fadc_f05.ppt (unless otherwise marked) Presentation Outline Introduction:

More information

Notes. 1. Midterm 1 Thursday February 24 in class.

Notes. 1. Midterm 1 Thursday February 24 in class. Notes 1. Midterm 1 Thursday February 24 in class. Covers through text Sec. 4.3, topics of HW 4. GSIs will review material in discussion sections prior to the exam. No books at the exam, no cell phones,

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

SZ007A Preliminary Specification

SZ007A Preliminary Specification Features and Benefits VDD range: 4.75V~5.25V Power consumption: 16mA Size: 10.668mmx10.668mmx2.9mm Operating temp range: 40 to 85 High resolution and dynamic range Low zero rate output drift Adjustable

More information

Review for Final Exam

Review for Final Exam Review for Final Exam Numbers Decimal to Hex (signed and unsigned) Hex to Decimal (signed and unsigned) Binary to Hex Hex to Binary Addition and subtraction of fixed-length hex numbers Overflow, Carry,

More information

Microcontroller Systems. ELET 3232 Topic 21: ADC Basics

Microcontroller Systems. ELET 3232 Topic 21: ADC Basics Microcontroller Systems ELET 3232 Topic 21: ADC Basics Objectives To understand the modes and features of the Analog-to-Digital Converter on the ATmega 128 To understand how to perform an Analog-to-Digital

More information

Product Information Using the SENT Communications Output Protocol with A1341 and A1343 Devices

Product Information Using the SENT Communications Output Protocol with A1341 and A1343 Devices Product Information Using the SENT Communications Output Protocol with A1341 and A1343 Devices By Nevenka Kozomora Allegro MicroSystems supports the Single-Edge Nibble Transmission (SENT) protocol in certain

More information

Lab 7 LEDs to the Rescue!

Lab 7 LEDs to the Rescue! Lab 7 LEDs to the Rescue! Figure 7.0. Stoplights with LabVIEW Indicators Have you ever sat in your car stopped at a city intersection waiting for the stoplight to change and wondering how long the red

More information

Implementation of a quasi-digital ADC on PLD

Implementation of a quasi-digital ADC on PLD University of Wollongong Research Online Faculty of Informatics - Papers (Archive) Faculty of Engineering and Information Sciences 2006 Implementation of a quasi-digital ADC on PLD Fu-yuan Wang Zhengzhou

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

TUTORIAL 283 INL/DNL Measurements for High-Speed Analog-to- Digital Converters (ADCs)

TUTORIAL 283 INL/DNL Measurements for High-Speed Analog-to- Digital Converters (ADCs) Maxim > Design Support > Technical Documents > Tutorials > A/D and D/A Conversion/Sampling Circuits > APP 283 Maxim > Design Support > Technical Documents > Tutorials > High-Speed Signal Processing > APP

More information

SCA100T-D07 2-AXIS HIGH PERFORMANCE ANALOG ACCELEROMETER

SCA100T-D07 2-AXIS HIGH PERFORMANCE ANALOG ACCELEROMETER Doc.Nr. 82 1178 00 Data Sheet SCA100T-D07 2-AXIS HIGH PERFORMANCE ANALOG ACCELEROMETER Features Measurement range ±12g Measurement bandwidth 400 Hz Low noise ratiometric analog voltage outputs Excellent

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

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

Sequential Logic Circuits

Sequential Logic Circuits Exercise 2 Sequential Logic Circuits 1 - Introduction Goal of the exercise The goals of this exercise are: - verify the behavior of simple sequential logic circuits; - measure the dynamic parameters of

More information

Interfacing to Analog World Sensor Interfacing

Interfacing to Analog World Sensor Interfacing Interfacing to Analog World Sensor Interfacing Introduction to Analog to digital Conversion Why Analog to Digital? Basics of A/D Conversion. A/D converter inside PIC16F887 Related Problems Prepared By-

More information

ECE215 Lecture 7 Date:

ECE215 Lecture 7 Date: Lecture 7 Date: 29.08.2016 AC Circuits: Impedance and Admittance, Kirchoff s Laws, Phase Shifter, AC bridge Impedance and Admittance we know: we express Ohm s law in phasor form: where Z is a frequency-dependent

More information

Lecture 17 Date: Parallel Resonance Active and Passive Filters

Lecture 17 Date: Parallel Resonance Active and Passive Filters Lecture 17 Date: 09.10.2017 Parallel Resonance Active and Passive Filters Parallel Resonance At resonance: The voltage V as a function of frequency. At resonance, the parallel LC combination acts like

More information

SPECIFICATION. PRODUCT: Relative Humidity&Temperature Sensor System

SPECIFICATION. PRODUCT: Relative Humidity&Temperature Sensor System SPECIFICATION PRODUCT: Relative Humidity&Temperature Sensor System Relative humidity and temperature sensors Dew point Fully calibrated, digital output Excellent long-term stability No external components

More information

A-D and D-A Converters

A-D and D-A Converters Chapter 5 A-D and D-A Converters (No mathematical derivations) 04 Hours 08 Marks When digital devices are to be interfaced with analog devices (or vice a versa), Digital to Analog converter and Analog

More information

AN3137 Application note

AN3137 Application note Application note Analog-to-digital converter on STM8L and STM8AL devices: description and precision improvement techniques Introduction This application note describes the 12-bit analog-to-digital converter

More information

arxiv:physics/ v1 [physics.ed-ph] 19 Oct 2004

arxiv:physics/ v1 [physics.ed-ph] 19 Oct 2004 I. SIMPLE 8085 µp COMPATIBLE I/O CARD with Arti Dwivedi Abstract A simple interfacing project with the 8085-microprocessor kits available in under graduate college labs has been discussed. The interface

More information

ELG3336: Converters Analog to Digital Converters (ADCs) Digital to Analog Converters (DACs)

ELG3336: Converters Analog to Digital Converters (ADCs) Digital to Analog Converters (DACs) ELG3336: Converters Analog to Digital Converters (ADCs) Digital to Analog Converters (DACs) Digital Output Dout 111 110 101 100 011 010 001 000 ΔV, V LSB V ref 8 V FSR 4 V 8 ref 7 V 8 ref Analog Input

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

Computerized Data Acquisition Systems. Chapter 4

Computerized Data Acquisition Systems. Chapter 4 Computerized Data Acquisition Systems Chapter 4 Data Acquisition - Objectives State and discuss in terms a bright high school student would understand the following definitions related to data acquisition

More information

HIGH LOW Astable multivibrators HIGH LOW 1:1

HIGH LOW Astable multivibrators HIGH LOW 1:1 1. Multivibrators A multivibrator circuit oscillates between a HIGH state and a LOW state producing a continuous output. Astable multivibrators generally have an even 50% duty cycle, that is that 50% of

More information

Embedded Systems and Software

Embedded Systems and Software Embedded Systems and Software Notes on Lab 2 Embedded Systems in Vehicles Lecture 2-4, Slide 1 Lab 02 In this lab students implement an interval timer using a pushbutton switch, ATtiny45, an LED driver,

More information

DS1202, DS1202S. Serial Timekeeping Chip FEATURES PIN ASSIGNMENT. ORDERING INFORMATION DS pin DIP DS1202S 16 pin SOIC DS1202S8 8 pin SOIC

DS1202, DS1202S. Serial Timekeeping Chip FEATURES PIN ASSIGNMENT. ORDERING INFORMATION DS pin DIP DS1202S 16 pin SOIC DS1202S8 8 pin SOIC DS22, DS22S Serial Timekeeping Chip FEATURES Real time clock counts seconds, minutes, hours, date of the month, month, day of the week, and year with leap year compensation 2 x 8 RAM for scratchpad data

More information

Houngninou 2. Abstract

Houngninou 2. Abstract Houngninou 2 Abstract The project consists of designing and building a system that monitors the phase of two pulses A and B. Three colored LEDs are used to identify the phase comparison. When the rising

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

MOS (PTY) LTD. E Single Channel PIR Signal Processor. Applications. General Description. Features. Digital Sensor Assembly with E931.

MOS (PTY) LTD. E Single Channel PIR Signal Processor. Applications. General Description. Features. Digital Sensor Assembly with E931. General Description The integrated circuit is designed for interfacing Passive Infra Red (PIR) sensors with micro-controllers or processors. A single wire Data Out, Clock In (DOCI) interface is provided

More information

I.E.S-(Conv.)-2007 ELECTRONICS AND TELECOMMUNICATION ENGINEERING PAPER - II Time Allowed: 3 hours Maximum Marks : 200 Candidates should attempt Question No. 1 which is compulsory and FOUR more questions

More information

Timer System Applications. Microcomputer Architecture and Interfacing Colorado School of Mines Professor William Hoff

Timer System Applications. Microcomputer Architecture and Interfacing Colorado School of Mines Professor William Hoff Timer System Applications 1 Ultrasonic sensor An ultrasonic range sensor emits a high frequency sound pulse, then measures the time to the reflected pulse The distance can be determined by the time of

More information

2-, 4-, or 8-Channel, 16/24-Bit Buffered Σ Multi-Range ADC

2-, 4-, or 8-Channel, 16/24-Bit Buffered Σ Multi-Range ADC 2-, 4-, or 8-Channel, 16/24-Bit Buffered Σ Multi-Range ADC The following information is based on the technical data sheet: CS5521/23 DS317PP2 MAR 99 CS5522/24/28 DS265PP3 MAR 99 Please contact Cirrus Logic

More information

The NMIH-0050 H-Bridge

The NMIH-0050 H-Bridge The NMIH-0050 H-Bridge Features: 5 A continuous, 6 A peak current Supply voltages from 5.3V up to 40V Terminal block for power / motor Onboard LEDs for motor operation/direction Onboard LED for motor supply

More information

Electronics A/D and D/A converters

Electronics A/D and D/A converters Electronics A/D and D/A converters Prof. Márta Rencz, Gábor Takács, Dr. György Bognár, Dr. Péter G. Szabó BME DED December 1, 2014 1 / 26 Introduction The world is analog, signal processing nowadays is

More information

DS Wire Digital Potentiometer

DS Wire Digital Potentiometer Preliminary 1-Wire Digital Potentiometer www.dalsemi.com FEATURES Single element 256-position linear taper potentiometer Supports potentiometer terminal working voltages up to 11V Potentiometer terminal

More information

ITM-1601A LCM. User s Guide. (Liquid Crystal Display Module) 1998 Intech LCD Group Ltd. Document No. TE nd Edition Jan.

ITM-1601A LCM. User s Guide. (Liquid Crystal Display Module) 1998 Intech LCD Group Ltd. Document No. TE nd Edition Jan. User s Guide Document No. TE-014-001 2 nd Edition Jan. 1999 ITM-1601A LCM 16 Characters X 1 lines with 5 X 8 dots format (Liquid Crystal Display Module) 1998 Intech LCD Group Ltd. ITM-1601A LCM Use s Guide

More information

FYS3240 PC-based instrumentation and microcontrollers. Signal sampling. Spring 2015 Lecture #5

FYS3240 PC-based instrumentation and microcontrollers. Signal sampling. Spring 2015 Lecture #5 FYS3240 PC-based instrumentation and microcontrollers Signal sampling Spring 2015 Lecture #5 Bekkeng, 29.1.2015 Content Aliasing Nyquist (Sampling) ADC Filtering Oversampling Triggering Analog Signal Information

More information

MD04-24Volt 20Amp H Bridge Motor Drive

MD04-24Volt 20Amp H Bridge Motor Drive MD04-24Volt 20Amp H Bridge Motor Drive Overview The MD04 is a medium power motor driver, designed to supply power beyond that of any of the low power single chip H-Bridges that exist. Main features are

More information

Review for Final Exam

Review for Final Exam Review for Final Exam Numbers Decimal to Hex (signed and unsigned) Hex to Decimal (signed and unsigned) Binary to Hex Hex to Binary Addition and subtraction of fixed-length hex numbers Overflow, Carry,

More information

Tuesday, March 1st, 9:15 11:00. Snorre Aunet Nanoelectronics group Department of Informatics University of Oslo.

Tuesday, March 1st, 9:15 11:00. Snorre Aunet Nanoelectronics group Department of Informatics University of Oslo. Nyquist Analog to Digital it Converters Tuesday, March 1st, 9:15 11:00 Snorre Aunet (sa@ifi.uio.no) Nanoelectronics group Department of Informatics University of Oslo 3.1 Introduction 3.1.1 DAC applications

More information

824BP Series. 8 Bit Programmable 2-Pole Pair Filters. Band Pass

824BP Series. 8 Bit Programmable 2-Pole Pair Filters. Band Pass 824BP Series Band Pass 8 Bit Programmable 2-Pole Pair Filters Description: The 824BP Series is a 2-pole-pair digitally programmable precision band-pass active filter that provides high performance in a

More information

FYS3240 PC-based instrumentation and microcontrollers. Signal sampling. Spring 2017 Lecture #5

FYS3240 PC-based instrumentation and microcontrollers. Signal sampling. Spring 2017 Lecture #5 FYS3240 PC-based instrumentation and microcontrollers Signal sampling Spring 2017 Lecture #5 Bekkeng, 30.01.2017 Content Aliasing Sampling Analog to Digital Conversion (ADC) Filtering Oversampling Triggering

More information

Chapter 23 Circuits. Chapter Goal: To understand the fundamental physical principles that govern electric circuits. Slide 23-1

Chapter 23 Circuits. Chapter Goal: To understand the fundamental physical principles that govern electric circuits. Slide 23-1 Chapter 23 Circuits Chapter Goal: To understand the fundamental physical principles that govern electric circuits. Slide 23-1 Chapter 23 Preview Looking Ahead: Analyzing Circuits Practical circuits consist

More information

2.6GHz Bidirectional I 2 C BUS Controlled Synthesiser

2.6GHz Bidirectional I 2 C BUS Controlled Synthesiser SP555.6GHz Bidirectional I C BUS Controlled Synthesiser The SP555 is a single chip frequency synthesiser designed for T tuning systems. Control data is entered in the standard I C BUS format. The device

More information

Microcontroller Based MPPT Buck-Boost Converter

Microcontroller Based MPPT Buck-Boost Converter GRD Journals- Global Research and Development Journal for Engineering Volume 1 Issue 6 May 2016 ISSN: 2455-5703 Microcontroller Based MPPT Buck-Boost Converter Anagha Mudki Assistant Professor Department

More information

Grundlagen Microcontroller Counter/Timer. Günther Gridling Bettina Weiss

Grundlagen Microcontroller Counter/Timer. Günther Gridling Bettina Weiss Grundlagen Microcontroller Counter/Timer Günther Gridling Bettina Weiss 1 Counter/Timer Lecture Overview Counter Timer Prescaler Input Capture Output Compare PWM 2 important feature of microcontroller

More information

Ocean Controls KT-5198 Dual Bidirectional DC Motor Speed Controller

Ocean Controls KT-5198 Dual Bidirectional DC Motor Speed Controller Ocean Controls KT-5198 Dual Bidirectional DC Motor Speed Controller Microcontroller Based Controls 2 DC Motors 0-5V Analog, 1-2mS pulse or Serial Inputs for Motor Speed 10KHz, 1.25KHz or 156Hz selectable

More information

Digital Integrated CircuitDesign

Digital Integrated CircuitDesign Digital Integrated CircuitDesign Lecture 13 Building Blocks (Multipliers) Register Adder Shift Register Adib Abrishamifar EE Department IUST Acknowledgement This lecture note has been summarized and categorized

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

USB4. Encoder Data Acquisition USB Device Page 1 of 8. Description. Features

USB4. Encoder Data Acquisition USB Device Page 1 of 8. Description. Features USB4 Page 1 of 8 The USB4 is a data acquisition device designed to record data from 4 incremental encoders, 8 digital inputs and 4 analog input channels. In addition, the USB4 provides 8 digital outputs

More information

Section 22. Basic 8-bit A/D Converter

Section 22. Basic 8-bit A/D Converter M Section 22. A/D Converter HIGHLIGHTS This section of the manual contains the following major topics: 22.1 Introduction...22-2 22.2 Control Registers...22-3 22.3 A/D Acquisition Requirements...22-6 22.4

More information

Application Note 160 Using the DS1808 in Audio Applications

Application Note 160 Using the DS1808 in Audio Applications www.maxim-ic.com Application Note 160 Using the DS1808 in Audio Applications Introduction The DS1808 Dual Log Audio Potentiometer was designed to provide superior audio performance in applications that

More information

ADC Bit µp Compatible A/D Converter

ADC Bit µp Compatible A/D Converter ADC1001 10-Bit µp Compatible A/D Converter General Description The ADC1001 is a CMOS, 10-bit successive approximation A/D converter. The 20-pin ADC1001 is pin compatible with the ADC0801 8-bit A/D family.

More information

EC4205 Microprocessor and Microcontroller

EC4205 Microprocessor and Microcontroller EC4205 Microprocessor and Microcontroller Webcast link: https://sites.google.com/a/bitmesra.ac.in/aminulislam/home All announcement made through webpage: check back often Students are welcome outside the

More information

Tel: Fax:

Tel: Fax: B Tel: 78.39.4700 Fax: 78.46.33 SPECIFICATIONS (T A = +5 C, V+ = +5 V, V = V or 5 V, all voltages measured with respect to digital common, unless otherwise noted) AD57J AD57K AD57S Model Min Typ Max Min

More information

DS1867 Dual Digital Potentiometer with EEPROM

DS1867 Dual Digital Potentiometer with EEPROM Dual Digital Potentiometer with EEPROM www.dalsemi.com FEATURES Nonvolatile version of the popular DS1267 Low power consumption, quiet, pumpless design Operates from single 5V or ±5V supplies Two digitally

More information

Chapter 6 PROGRAMMING THE TIMERS

Chapter 6 PROGRAMMING THE TIMERS Chapter 6 PROGRAMMING THE TIMERS Force Outputs on Outcompare Input Captures Programmabl e Prescaling Prescaling Internal clock inputs Timer-counter Device Free Running Outcompares Lesson 2 Free Running

More information

Application Note USING THE CS5521/23, CS5522/24/28, AND CS5525/26 CHARGE PUMP DRIVE FOR EXTERNAL LOADS + - NBV. 1N4148 External Load BAT85

Application Note USING THE CS5521/23, CS5522/24/28, AND CS5525/26 CHARGE PUMP DRIVE FOR EXTERNAL LOADS + - NBV. 1N4148 External Load BAT85 Application Note USING THE CS5521/23, CS5522/24/28, AN CS5525/26 CHARGE PUMP RIVE FOR EXTERNAL LOAS By Bill urbin and Jerome Johnston INTROUCTION The CS5521/23, CS5522/24/28, and CS5525/26 1 series of

More information