Embedded Systems and Software. Analog to Digital Conversion

Size: px
Start display at page:

Download "Embedded Systems and Software. Analog to Digital Conversion"

Transcription

1 Embedded Systems and Software Analog to Digital Conversion Slide 1

2 Analog to Digital Conversion Analog or continuous signal Discrete-time or digital signal Other terms ADC, A/D Many different techniques Flash conversion Successive Approximation (SAR) conversion Single-Slope conversion Dual-Slope conversion Delta encoding conversion Sigma Delta conversion Image from Wikipedia Slide 2

3 Digital to Analog Converter (DACs) Digital-to-Analog Converters are inherently simpler to construct. Somewhat ironically, DACs a key sub-circuit in in some ADCs VV OOOOOO = = VV OOOOOO = = VV OOOOOO = = Simple 4-bit DAC VV OOOOOO = RR RR (BB 3) RR 2RR BB 2 BB XX = 0 or 1 RR 4RR BB 1 RR 8RR BB 3 Slide 3

4 Flash Converters Brute-force approach Fastest ADC available Expensive Power Hungry Limited to 8/10 bits Slide 4

5 Successive Approximation (SAR) Slide 5

6 Sigma Delta Slide 6

7 Comparison of ADC Types Sigma Delta SAR Flash Bits of Resolution Sigma Delta SAR Flash K 10K 100K 1M 10M 100M Maximum Conversion (Hz) Slide 7

8 Bits of Resolution Slide 8

9 ADC on ATmega88 The ADC on the ATmega88 is multiplexed to up to 6 inputs The analog power supply must be clean and within ±0.3V of VCC Slide 9

10 Using the ADC Use either ADC5 or ADC4 (ADC5) (ADC4) Suggested pin assignment for ADC/LCD lab Slide 10

11 The ADC sub system has many components Slide 11

12 10- or 8-bit conversion engine Slide 12

13 The analog power supply must be clean to ensure accurate conversions Slide 13

14 An internal reference of 1.1 V is available Slide 14

15 Or one can supply an external reference voltage Slide 15

16 The multiplexer logic selects one of 6 (28-pin packages) or one of 8 (SMT packages) Slide 16

17 The ADMUX register determines which ADC input is routed to the ADC Slide 17

18 The 10-bit conversion result goes into two registers, namely ADCH and ADCL Slide 18

19 These bits determines the conversion clock frequency Slide 19

20 If desired, one can have the ADC generate an interrupt when it is done with a conversion Slide 20

21 Control bits ADEN enables ADC ADSC starts a conversion Slide 21

22 The ADCSRA Register The ADC control and status register A (ADCSRA) configures the ADC In single-conversion mode, writing 1 here starts a conversion Set when a conversion has completed Determines the conversion clock Writing 1 here turns the ADC ON Enables auto triggering Enables Conversion Complete interrupt Slide 22

23 The ADMUX Register The ADMUX determines what external pin is routed to the conversion engine. It also selects the ADC voltage reference and left/right adjustment of the conversion result. Selects voltage reference 1 Left Adjust 0 Right Adjust Selects which analog input is connected to ADC 0b0000 ADC0 0b0101 ADC5 (i.e., PC5) Slide 23

24 The ADCSRB Register The ADC control and status register B (ADCSRB) configures what triggers a conversion Used by Analog Comparator (not ADC) Determines what triggers an ADC conversion Slide 24

25 ADC Conversion Clock The ADC uses an Successive Approximation (SAR) technique and the conversion clock affects the accuracy. The ATmega88 documentation states that for maximum accuracy, the ADC conversion clock frequency must lie between 50 khz and 200 khz. If only 8-bit accuracy is required, the ADC conversion clock frequency can be higher. The ADC has several modes: single conversion, triggered conversion, free-running conversion. Depending on the mode, conversion time is between 13 and 25 ADC clock cycles. Slide 25

26 ADC Conversion Clock Question What is the highest 10-bit sample rate on an Atmega88 with a 10-MHz clock Answer The system clock is not relevant (assuming it is high enough). The highest ADC clock for 10-bit conversion is 200 khz. An ADC clock cycles is 1 200,000 = 50 μμs. Assuming the ADC conversion mode is such that it takes 13 clock for a conversion, it means the ADC can make a conversion so faster than once every 65 μμs. This means the maximum sample rate is 1 5 μμs = 15.4 khz. In practice the sample rate will be lower because there is overhead grabbing and processing the conversion results. Slide 26

27 ADC Timing - Single Conversion Mode ADC Clock ADCEN ADSC ADCH ADCL The first conversion takes 25 ADC clock cycles Note - clock here refers to the ADC clock Slide 27

28 ADC Timing - Single Conversion Mode ADC Clock ADCEN ADSC ADCH ADCL Subsequent conversions take 13 clock cycles Note - clock here refers to the ADC clock Slide 28

29 ADC Timing Auto Triggered Conversion Mode ADC Clock Tigger ADATE ADCH ADCL Subsequent conversions take 13 clock cycles Note - clock here refers to the ADC clock Slide 29

30 ADC Timing Free Running Conversion Mode ADC Clock ADSC ADCH ADCL Conversions take 3 clock cycles Note - clock here refers to the ADC clock Slide 30

31 Conversion Times Slide 31

32 The ADC Conversion Result The ADC conversion result is a 10-bit number and is related to VV IIII (the analog input voltage) and VV RRRRRR (the selected reference voltage) as follows AAAAAA = VV IIII 1024 VV RRRRRR 0x000 Represents analog ground and 0x3FF ( = 1023 decimal) represents VV RRRRRR minus 1 LSB The ATmega88P is an 8-bit controller while two bytes are required to hold a 10-bit conversion. There are two registers, namely ADCH and ADCL where the results are stored Slide 32

33 The ADC Conversion Result The result of the conversion is stored in two registers, namely ADCH ( high or most significant bits) and ADCL ( low or least significant bits) The result can be left-adjusted or right-adjusted, depending on the ADLAR bit in the ADMUX register. Consider the 10-bit decimal number 0x2B9 = 0b Left-Adjusted x x x x x x ADCH ADCL Right-Adjusted x x x x x x ADCH ADCL Slide 33

34 Left/Right Adjust The ADLAR bit in ADMUX the left/right adjustment of the conversion result. 1 Left Adjust 0 Right Adjust 10-bit conversion result with ADLAR = 0 10-bit conversion result with ADLAR = 1 Slide 34

35 The ADC Conversion Result Question The ADC used a 5-V reference and performs a 10-bit conversion on a 4.8 V input voltage. What are the contents of the ADCH and ADCL register assuming the conversion result is (a) left adjusted, and (b) right adjusted? Answer Slide 35

36 Correctly Reading the ADC Result It is important to read the ADC conversion registers in the proper order From the ATmega88P documentation: When ADCL is read, the ADC Data Register is not updated until ADCH is read. Consequently, if the result is left adjusted and no more than 8-bit precision is required, it is sufficient to read ADCH. Otherwise, ADCL must be read first, then ADCH. Slide 36

37 Configuration Example 1 // ADC Clock frequency: khz // ADC Voltage Reference: AVCC pin // ADC Auto Trigger Source: Free Running The bits below set up the ADC to behave like this #define ADC_VREF_TYPE ((0<<REFS1) (1<<REFS0) (0<<ADLAR)); ADMUX = ADC_VREF_TYPE; ADCSRA = (1<<ADEN) (0<<ADSC) (1<<ADATE) (0<<ADIF); ADCSRA = ADCSRA (0<<ADIE) (1<<ADPS2) (0<<ADPS1) (1<<ADPS0); ADCSRB=(0<<ADTS2) (0<<ADTS1) (0<<ADTS0); unsigned int read_adc(unsigned char adc_input) { ADMUX = adc_input ADC_VREF_TYPE; delay_us(10); // For stabilization of ADC input voltage } ADCSRA =(1<<ADSC); // Start the AD conversion while((adcsra&(1<<adif))==0) // Wait for AD conversion to complete ; ADCSRA =(1<<ADIF); return ADCW; Slide 37

38 Configuration Example 1 // ADC Clock frequency: khz // ADC Voltage Reference: AVCC pin // ADC Auto Trigger Source: Free Running #define ADC_VREF_TYPE ((0<<REFS1) (1<<REFS0) (0<<ADLAR)); ADMUX = ADC_VREF_TYPE; ADCSRA = (1<<ADEN) (0<<ADSC) (1<<ADATE) (0<<ADIF); ADCSRA = ADCSRA (0<<ADIE) (1<<ADPS2) (0<<ADPS1) (1<<ADPS0); ADCSRB=(0<<ADTS2) (0<<ADTS1) (0<<ADTS0); Check with the documentation and convince yourself that these settings match the comments above unsigned int read_adc(unsigned char adc_input) { ADMUX = adc_input ADC_VREF_TYPE; delay_us(10); // For stabilization of ADC input voltage } ADCSRA =(1<<ADSC); // Start the AD conversion while((adcsra&(1<<adif))==0) // Wait for AD conversion to complete ; ADCSRA =(1<<ADIF); return ADCW; Slide 38

39 Configuration Example 1 // ADC Clock frequency: khz // ADC Voltage Reference: AVCC pin // ADC Auto Trigger Source: Free Running Call this function to read the ADC value. The adc_input variable selects the ADC input pin. For example #define ADC_VREF_TYPE ((0<<REFS1) (1<<REFS0) (0<<ADLAR)); ADMUX = ADC_VREF_TYPE; ADCSRA = (1<<ADEN) (0<<ADSC) (1<<ADATE) (0<<ADIF); ADCSRA = ADCSRA (0<<ADIE) (1<<ADPS2) (0<<ADPS1) (1<<ADPS0); ADCSRB=(0<<ADTS2) (0<<ADTS1) (0<<ADTS0); 0b0101 ADC5 (i.e., PC5) unsigned int read_adc(unsigned char adc_input) { ADMUX = adc_input ADC_VREF_TYPE; delay_us(10); // For stabilization of ADC input voltage } ADCSRA =(1<<ADSC); // Start the AD conversion while((adcsra&(1<<adif))==0) // Wait for AD conversion to complete ; ADCSRA =(1<<ADIF); return ADCW; Slide 39

40 Configuration Example 1 // ADC Clock frequency: khz // ADC Voltage Reference: AVCC pin // ADC Auto Trigger Source: Free Running #define ADC_VREF_TYPE ((0<<REFS1) (1<<REFS0) (0<<ADLAR)); This comes from careful reading of the ADMUX = ADC_VREF_TYPE; ADCSRA = (1<<ADEN) (0<<ADSC) (1<<ADATE) (0<<ADIF); documentation ADCSRA = ADCSRA (0<<ADIE) (1<<ADPS2) (0<<ADPS1) (1<<ADPS0); ADCSRB=(0<<ADTS2) (0<<ADTS1) (0<<ADTS0); unsigned int read_adc(unsigned char adc_input) { ADMUX = adc_input ADC_VREF_TYPE; delay_us(10); // For stabilization of ADC input voltage } ADCSRA =(1<<ADSC); // Start the AD conversion while((adcsra&(1<<adif))==0) // Wait for AD conversion to complete ; ADCSRA =(1<<ADIF); return ADCW; Slide 40

41 Configuration Example 1 // ADC Clock frequency: khz // ADC Voltage Reference: AVCC pin // ADC Auto Trigger Source: Free Running #define ADC_VREF_TYPE ((0<<REFS1) (1<<REFS0) (0<<ADLAR)); ADMUX = ADC_VREF_TYPE; ADCSRA = (1<<ADEN) (0<<ADSC) (1<<ADATE) (0<<ADIF); ADCSRA = ADCSRA (0<<ADIE) (1<<ADPS2) (0<<ADPS1) (1<<ADPS0); ADCSRB=(0<<ADTS2) (0<<ADTS1) (0<<ADTS0); unsigned int read_adc(unsigned char adc_input) { ADMUX = adc_input ADC_VREF_TYPE; Note that we are returning two bytes: delay_us(10); // For stabilization of ADC input voltage } ADCL and ADCH. In assembly language you have to make sure you ADCSRA =(1<<ADSC); // Start the AD conversion while((adcsra&(1<<adif))==0) read // Wait the bytes for in AD the conversion correct order to complete ; ADCSRA =(1<<ADIF); return ADCW; Slide 41

42 // ADC initialization // ADC Clock frequency: khz // ADC Voltage Reference: AVCC pin // ADC Auto Trigger Source: Timer0 Overflow #define ADC_VREF_TYPE ((0<<REFS1) (1<<REFS0) (0<<ADLAR)) ADMUX=ADC_VREF_TYPE; ADCSRA =(1<<ADEN) (0<<ADSC) (1<<ADATE) (0<<ADIF); ADCSRA = ADCSRA (1<<ADIE) (0<<ADPS2) (1<<ADPS1) (1<<ADPS0); ADCSRB =(1<<ADTS2) (0<<ADTS1) Note (0<<ADTS0); that we are returning two bytes: interrupt [ADC_INT] void adc_isr(void) { unsigned int adc_data; } adc_data=adcw; // Read the AD conversion result // Place your code here Configuration Example 2 In this example, we configure the ADC to be triggered every time TIMER0 overflows. Once the ADC conversion is complete, the ADC complete ISR is fired ADCL and ADCH. In assembly language you have to make sure you read the bytes in the correct order Slide 42

43 Configuration Example 2 In this example, we configure the ADC to be triggered every time TIMER0 overflows. Once the ADC conversion is complete, the ADC complete ISR is fired // ADC initialization // ADC Clock frequency: khz // ADC Voltage Reference: AVCC pin // ADC Auto Trigger Source: Timer0 Overflow This sets the ADC Interrupt Enable bit and enables the ADC conversion complete ISR #define ADC_VREF_TYPE ((0<<REFS1) (1<<REFS0) (0<<ADLAR)) ADMUX=ADC_VREF_TYPE; ADCSRA =(1<<ADEN) (0<<ADSC) (1<<ADATE) (0<<ADIF); ADCSRA = ADCSRA (1<<ADIE) (0<<ADPS2) (1<<ADPS1) (1<<ADPS0); ADCSRB =(1<<ADTS2) (0<<ADTS1) (0<<ADTS0); interrupt [ADC_INT] void adc_isr(void) { unsigned int adc_data; } adc_data=adcw; // Read the AD conversion result // Place your code here Slide 43

44 Review - ATmega88 Memory Map This is where the program is placed. Program variables Here one can place bootloader code, which is a small program that can have the controller reprogram itself. For example, to download new firmware. Slide 44

45 SRAM Adresses Some location in SRAM have what one can think of as synonyms, namely both a absolute SRAM address and another address within, say, I/O space The Atmel datasheets show the equivalent SRAM address in parenthesis I/O register Equivalent SRAM Slide 45

46 Accessing Various Parts of SRAM Different instructions access various parts of SRAM Instructions such as LDI access the general purpose registers IN and OUT instructions access locations/registers in I/O space STS and LDS access other SRAM locations Note that the ADC registers have only an SRAM address. Thus, one must use STS and LDS instructions to access these registers Slide 46

47 Code Snippets Below are some code snippets for accessing ADC registers. Modify these to suit your needs. ldi r23,0b0000_0101 ; Select PC5 on the ATmega88 sts ADMUX,r23 ldi r23,0b1100_0100 ; Enable, set, and start prescaler to 16 sts ADCSRA,r23 ; Start conversion lds r23,adcl lds r24,adch ; Read low byte of conversion into r23 ; Read high byte of conversion into r23 Slide 47

48 Aliasing and Nyquist The points below are the samples from a sine wave Voltage t Slide 48

49 Reconstruction of the sine wave Aliasing and Nyquist Voltage t Slide 49

50 But why not this reconstruction? Aliasing and Nyquist Voltage t Slide 50

51 Aliasing and Nyquist Both (an many others) are valid reconstructions if we don t exclude higher frequencies Voltage t In other words, if we don t eliminate (filter out) high frequencies, their samples become undistinguishable from low frequency samples. The high frequencies alias as low frequency signals. Slide 51

52 Aliasing and Nyquist Sampling at 2.5 Hz (period = 0.4 s) the following signals are indistinguishable y( t) = sin y( t) = sin ( 6πt) ( πt) Frequency f = 3 Hz Frequency f = 0.5 Hz In fact, with sampling frequency of 2.5 Hz one can only correctly sample signal below the Nyquist frequency 2.5/2 = 1.25 Hz. Slide 52

53 Slide 53

EE 308: Microcontrollers

EE 308: Microcontrollers EE 308: Microcontrollers Timers Aly El-Osery Electrical Engineering Department New Mexico Institute of Mining and Technology Socorro, New Mexico, USA April 2, 2018 Aly El-Osery (NMT) EE 308: Microcontrollers

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

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

Analogue to Digital Conversion on an ATmega168

Analogue to Digital Conversion on an ATmega168 1800 335 330 Shopping Cart: Empty Login or Create Account About Blog Tutorials Library Contact Search... Go Home» Blog» Tutorials» Analogue to Digital Conversion on an ATmega168 Categories Boards Connectors

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

Hardware and software resources on the AVR family for the microcontroller project

Hardware and software resources on the AVR family for the microcontroller project Hardware and software resources on the AVR family for the microcontroller project 1 1. Code Vision The C Compiler you use: CodeVisionAVR (CVAVR) Where can you find it? a (limited) version is available

More information

Design with Microprocessors

Design with Microprocessors Design with Microprocessors Lecture 9 Year 3 CS Academic year 2017/2018 1 st Semester Lecturer: Radu Dănescu Analog Comparator AIN+ AIN- Compares the analog values from AIN+ (positive) & AIN- (negative)

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

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

Human-Robot Interaction Class Koosy Human-Robot Interaction Class

Human-Robot Interaction Class Koosy Human-Robot Interaction Class ATmega128 (8bit AVR Microprocessor) Human-Robot Interaction Class 2008. 4. 28 Koosy 1 Contents Micro Controller Unit Overview ATmega128 Features Necessary Tools General I/O External Interrupt 8bit/16bit

More information

Embedded Hardware Design Lab4

Embedded Hardware Design Lab4 Embedded Hardware Design Lab4 Objective: Controlling the speed of dc motor using light sensor (LDR). In this lab, we would want to control the speed of a DC motor with the help of light sensor. This would

More information

THE PERFORMANCE TEST OF THE AD CONVERTERS EMBEDDED ON SOME MICROCONTROLLERS

THE PERFORMANCE TEST OF THE AD CONVERTERS EMBEDDED ON SOME MICROCONTROLLERS THE PERFORMANCE TEST OF THE AD CONVERTERS EMBEDDED ON SOME MICROCONTROLLERS R. Holcer Department of Electronics and Telecommunications, Technical University of Košice, Park Komenského 13, SK-04120 Košice,

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

uc Crash Course Whats is covered in this lecture Joshua Childs Joshua Hartman A. A. Arroyo 9/7/10

uc Crash Course Whats is covered in this lecture Joshua Childs Joshua Hartman A. A. Arroyo 9/7/10 uc Crash Course Joshua Childs Joshua Hartman A. A. Arroyo Whats is covered in this lecture ESD Choosing A Processor GPIO USARTS o RS232 o SPI Timers o Prescalers o OCR o ICR o PWM ADC Interupts 1 ESD KILLS!

More information

EARTH PEOPLE TECHNOLOGY, Inc. FAST ARDUINO OSCILLOSCOPE PROJECT User Manual

EARTH PEOPLE TECHNOLOGY, Inc. FAST ARDUINO OSCILLOSCOPE PROJECT User Manual EARTH PEOPLE TECHNOLOGY, Inc FAST ARDUINO OSCILLOSCOPE PROJECT User Manual The Fast Oscilloscope is designed for EPT USB CPLD Development System. It converts an analog signal to digital and displays the

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

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

Real time digital audio processing with Arduino

Real time digital audio processing with Arduino Real time digital audio processing with Arduino André J. Bianchi ajb@ime.usp.br Marcelo Queiroz mqz@ime.usp.br Departament of Computer Science Institute of Mathematics and Statistics University of São

More information

Data Acquisition & Computer Control

Data Acquisition & Computer Control Chapter 4 Data Acquisition & Computer Control Now that we have some tools to look at random data we need to understand the fundamental methods employed to acquire data and control experiments. The personal

More information

A Beginners Guide to AVR

A Beginners Guide to AVR See discussions, stats, and author profiles for this publication at: http://www.researchgate.net/publication/263084656 A Beginners Guide to AVR TECHNICAL REPORT JUNE 2014 DOWNLOADS 154 VIEWS 50 1 AUTHOR:

More information

Application Note: Using the Motor Driver on the 3pi Robot and Orangutan Robot Controllers

Application Note: Using the Motor Driver on the 3pi Robot and Orangutan Robot Controllers Application Note: Using the Motor Driver on the 3pi Robot and Orangutan Robot 1. Introduction..................................................... 2 2. Motor Driver Truth Tables.............................................

More information

Analog to digital and digital to analog converters

Analog to digital and digital to analog converters Analog to digital and digital to analog converters A/D converter D/A converter ADC DAC ad da Number bases Decimal, base, numbers - 9 Binary, base, numbers and Oktal, base 8, numbers - 7 Hexadecimal, base

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

8-bit Microcontroller with 1K Bytes Flash. ATtiny15. Advance Information. Features. Description. Pin Configurations

8-bit Microcontroller with 1K Bytes Flash. ATtiny15. Advance Information. Features. Description. Pin Configurations Features High-performance, Low-power AVR 8-bit Microcontroller RISC Architecture 90 Powerful Instructions - Most Single Clock Cycle Execution 32 x 8 General Purpose Working Registers Fully Static Operation

More information

DEVELOPMENT OF REAL TIME DIGITAL CONTROLLER FOR A LIQUID LEVEL SYSTEM USING ATMEGA32 MICROCONTROLLER

DEVELOPMENT OF REAL TIME DIGITAL CONTROLLER FOR A LIQUID LEVEL SYSTEM USING ATMEGA32 MICROCONTROLLER DEVELOPMENT OF REAL TIME DIGITAL CONTROLLER FOR A LIQUID LEVEL SYSTEM USING ATMEGA32 MICROCONTROLLER A REPORT SUBMITTED IN PARTIAL FULFILLMENT OF THE REQUIREMENTS FOR THE DEGREE OF BACHELOR OF TECHNOLOGY

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

Exercise 3: Sound volume robot

Exercise 3: Sound volume robot ETH Course 40-048-00L: Electronics for Physicists II (Digital) 1: Setup uc tools, introduction : Solder SMD Arduino Nano board 3: Build application around ATmega38P 4: Design your own PCB schematic 5:

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

Fundamentals of Data Converters. DAVID KRESS Director of Technical Marketing

Fundamentals of Data Converters. DAVID KRESS Director of Technical Marketing Fundamentals of Data Converters DAVID KRESS Director of Technical Marketing 9/14/2016 Analog to Electronic Signal Processing Sensor (INPUT) Amp Converter Digital Processor Actuator (OUTPUT) Amp Converter

More information

UNIT III Data Acquisition & Microcontroller System. Mr. Manoj Rajale

UNIT III Data Acquisition & Microcontroller System. Mr. Manoj Rajale UNIT III Data Acquisition & Microcontroller System Mr. Manoj Rajale Syllabus Interfacing of Sensors / Actuators to DAQ system, Bit width, Sampling theorem, Sampling Frequency, Aliasing, Sample and hold

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

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

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

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

ATmega 16. Dariusz Chaberski

ATmega 16. Dariusz Chaberski ATmega 16 Dariusz Chaberski Obudowy 2 Schemat blokowy 3 4 5 Pamięć EEPROM The EEPROM Address Register The EEPROM Data Register 6 The EEPROM Control Register EERIE: EEPROM Ready Interrupt Enable EEMWE:

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

Data Converters. Lecture Fall2013 Page 1

Data Converters. Lecture Fall2013 Page 1 Data Converters Lecture Fall2013 Page 1 Lecture Fall2013 Page 2 Representing Real Numbers Limited # of Bits Many physically-based values are best represented with realnumbers as opposed to a discrete number

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 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

AVR126: ADC of megaavr in Single-Ended Mode

AVR126: ADC of megaavr in Single-Ended Mode AVR126: ADC of megaavr in Single-Ended Mode Introduction Microchip megaavr devices have a successive approximation Analog-to-Digital Converter (ADC) capable of conversion rates up to 15 ksps with a resolution

More information

Analog input/output. Textbook: Chapter 20, Analog-to-Digital Converter Chapter 21, Digital-to-Analog Converter

Analog input/output. Textbook: Chapter 20, Analog-to-Digital Converter Chapter 21, Digital-to-Analog Converter Analog input/output Textbook: Chapter 20, Analog-to-Digital Converter Chapter 21, Digital-to-Analog Converter STM32F4xx Technical Reference Manual: Chapter 11 Analog to Digital Converters Chapter 12 Digital

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

Electronics II Physics 3620 / 6620

Electronics II Physics 3620 / 6620 Electronics II Physics 3620 / 6620 Feb 09, 2009 Part 1 Analog-to-Digital Converters (ADC) 2/8/2009 1 Why ADC? Digital Signal Processing is more popular Easy to implement, modify, Low cost Data from real

More information

Serial communication inverter. Lab bench scenario. Inverter Board, A/D, D/A, PWM, Filters, Encoders. Inverter board. and Dimmer introduction

Serial communication inverter. Lab bench scenario. Inverter Board, A/D, D/A, PWM, Filters, Encoders. Inverter board. and Dimmer introduction Inverter Board, A/D, D/A, PWM, Filters, Encoders and Dimmer introduction 20181004 Gunnar Lindstedt Serial communication inverter Lund University, Sweden Lab bench scenario Inverter board PC 9pole Dsub

More information

PC-based controller for Mechatronics System

PC-based controller for Mechatronics System Course Code: MDP 454, Course Name:, Second Semester 2014 PC-based controller for Mechatronics System Mechanical System PC Controller Controller in the Mechatronics System Configuration Actuators Power

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

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

Analog-to-Digital Converter (ADC) And Digital-to-Analog Converter (DAC)

Analog-to-Digital Converter (ADC) And Digital-to-Analog Converter (DAC) 1 Analog-to-Digital Converter (ADC) And Digital-to-Analog Converter (DAC) 2 1. DAC In an electronic circuit, a combination of high voltage (+5V) and low voltage (0V) is usually used to represent a binary

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

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

University of Nairobi. Project Title A F OUR CHANNEL-D MICROCONTROLLER BASED DATA ACQUISITION SYSTEM WITH A SERIAL INTERFACE TO THE PC

University of Nairobi. Project Title A F OUR CHANNEL-D MICROCONTROLLER BASED DATA ACQUISITION SYSTEM WITH A SERIAL INTERFACE TO THE PC University of Nairobi Project Title A F OUR CHANNEL-D MICROCONTROLLER BASED DATA ACQUISITION SYSTEM WITH A SERIAL INTERFACE TO THE PC Project Index (Number): PRJ061 By Candidate Name LENNOX ABONG O OGOLA

More information

University of California, Berkeley EE128, Fall Lab 7 A Microcontroller Based Position/Speed Controller

University of California, Berkeley EE128, Fall Lab 7 A Microcontroller Based Position/Speed Controller Introduction University of California, Berkeley EE128, Fall 2005 Lab 7 A Microcontroller Based Position/Speed Controller In this lab, we will develop and evaluate a microcontroller based position/speed

More information

Data Acquisition: A/D & D/A Conversion

Data Acquisition: A/D & D/A Conversion Data Acquisition: A/D & D/A Conversion Mark Colton ME 363 Spring 2011 Sampling: A Review In order to store and process measured variables in a computer, the computer must sample the variables 10 Continuous

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

Section 1. Fundamentals of DDS Technology

Section 1. Fundamentals of DDS Technology Section 1. Fundamentals of DDS Technology Overview Direct digital synthesis (DDS) is a technique for using digital data processing blocks as a means to generate a frequency- and phase-tunable output signal

More information

CSCI1600 Lab 4: Sound

CSCI1600 Lab 4: Sound CSCI1600 Lab 4: Sound November 1, 2017 1 Objectives By the end of this lab, you will: Connect a speaker and play a tone Use the speaker to play a simple melody Materials: We will be providing the parts

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

Analogue-to-Digital Conversion

Analogue-to-Digital Conversion Digital-to-Analogue to Conversion Analogue-to-Digital Conversion Module: EE2C2 Digital Design Lecturer: URL: http://www.personal.rdg.ac.uk/~stsgrimb/ email: j.b.grimbleby reading.ac.uk Number of Lectures:

More information

Abstract Over the last decade, impelled bby the huge open source software community support, the low cost Arduino

Abstract Over the last decade, impelled bby the huge open source software community support, the low cost Arduino Digital Sound Science and Information Conference 215 Processing using Arduino and MATLAB Sérgio Silva 1,3 1 School of Sciences and Technology Engineering Department UTAD, Vila Real sergio.s.silva@inescporto.pt

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

ANALOG-TO-DIGITAL CONVERTERS

ANALOG-TO-DIGITAL CONVERTERS ANALOG-TO-DIGITAL CONVERTERS Definition An analog-to-digital converter is a device which converts continuous signals to discrete digital numbers. Basics An analog-to-digital converter (abbreviated ADC,

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

Candidate: Achema Hosea Egbubu (142773) Title: Monitoring 50/60Hz Grid Coupling A Study In Conjunction with Wind-Energy Feed to Main Grids

Candidate: Achema Hosea Egbubu (142773) Title: Monitoring 50/60Hz Grid Coupling A Study In Conjunction with Wind-Energy Feed to Main Grids Master Thesis 2016 Candidate: Achema Hosea Egbubu (142773) Title: Monitoring 50/60Hz Grid Coupling A Study In Conjunction with Wind-Energy Feed to Main Grids 0 CONTENTS ii Telemark University College Faculty

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

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

Digital Acquisition of Analog Signals A Practical Guide

Digital Acquisition of Analog Signals A Practical Guide Digital Acquisition of Analog Signals A Practical Guide Nathan M. Neihart Senior Design Presentation Motivation A common task for many senior design projects is to interface an analog signal with a digital

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

Digital to Analog Conversion. Data Acquisition

Digital to Analog Conversion. Data Acquisition Digital to Analog Conversion (DAC) Digital to Analog Conversion Data Acquisition DACs or D/A converters are used to convert digital signals representing binary numbers into proportional analog voltages.

More information

Lab 5: Interrupts, Timing, and Frequency Analysis of PWM Signals

Lab 5: Interrupts, Timing, and Frequency Analysis of PWM Signals Lab 5: Interrupts, Timing, and Frequency Analysis of PWM Signals 1 Lab 5: Interrupts and Timing Thus far, we have not worried about time in our real-time code Almost all real-time code involves sampling

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

Analogue Interfacing. What is a signal? Continuous vs. Discrete Time. Continuous time signals

Analogue Interfacing. What is a signal? Continuous vs. Discrete Time. Continuous time signals Analogue Interfacing What is a signal? Signal: Function of one or more independent variable(s) such as space or time Examples include images and speech Continuous vs. Discrete Time Continuous time signals

More information

ESE 350 Microcontroller Laboratory Lab 5: Sensor-Actuator Lab

ESE 350 Microcontroller Laboratory Lab 5: Sensor-Actuator Lab ESE 350 Microcontroller Laboratory Lab 5: Sensor-Actuator Lab The purpose of this lab is to learn about sensors and use the ADC module to digitize the sensor signals. You will use the digitized signals

More information

Analog to Digital Conversion

Analog to Digital Conversion Analog to Digital Conversion Why It s Needed Embedded systems often need to measure values of physical parameters These parameters are usually continuous (analog) and not in a digital form which computers

More information

APPLICATION NOTE. Atmel AVR127: Understanding ADC Parameters. Atmel 8-bit Microcontroller. Features. Introduction

APPLICATION NOTE. Atmel AVR127: Understanding ADC Parameters. Atmel 8-bit Microcontroller. Features. Introduction APPLICATION NOTE Atmel AVR127: Understanding ADC Parameters Atmel 8-bit Microcontroller Features Getting introduced to ADC concepts Understanding various ADC parameters Understanding the effect of ADC

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

System on a Chip. Prof. Dr. Michael Kraft

System on a Chip. Prof. Dr. Michael Kraft System on a Chip Prof. Dr. Michael Kraft Lecture 5: Data Conversion ADC Background/Theory Examples Background Physical systems are typically analogue To apply digital signal processing, the analogue signal

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

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

UM-005 UM005-doc In reference to UM005-c-01.04

UM-005 UM005-doc In reference to UM005-c-01.04 NE T R ONI X Technical Data Sheet UM005-doc-01.04 In reference to UM005-c-01.04 Contents Contents... 2 Introductions... 3 Specifications... 3 Pin description... 4 Connection diagram... 4 Module PCB dimensions...

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

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

Timer 0 Modes of Operation. Normal Mode Clear Timer on Compare Match (CTC) Fast PWM Mode Phase Corrected PWM Mode

Timer 0 Modes of Operation. Normal Mode Clear Timer on Compare Match (CTC) Fast PWM Mode Phase Corrected PWM Mode Timer 0 Modes of Operation Normal Mode Clear Timer on Compare Match (CTC) Fast PWM Mode Phase Corrected PWM Mode PWM - Introduction Recall: PWM = Pulse Width Modulation We will mostly use it for controlling

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

DIGITAL FILTERING OF MULTIPLE ANALOG CHANNELS

DIGITAL FILTERING OF MULTIPLE ANALOG CHANNELS DIGITAL FILTERING OF MULTIPLE ANALOG CHANNELS Item Type text; Proceedings Authors Hicks, William T. Publisher International Foundation for Telemetering Journal International Telemetering Conference Proceedings

More information

A DSP IMPLEMENTED DIGITAL FM MULTIPLEXING SYSTEM

A DSP IMPLEMENTED DIGITAL FM MULTIPLEXING SYSTEM A DSP IMPLEMENTED DIGITAL FM MULTIPLEXING SYSTEM Item Type text; Proceedings Authors Rosenthal, Glenn K. Publisher International Foundation for Telemetering Journal International Telemetering Conference

More information

Inductor saturation tester

Inductor saturation tester Before building this project, I always tested my inductors with quick and dirty method. a LF generators a lab power supply a MOSFET a shunt resistor The setup changed every time I decided to check an inductor,

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

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

Inductor saturation tester

Inductor saturation tester Before building this project, I always tested my inductors with quick and dirty method. a LF generators a lab power supply a MOSFET a shunt resistor The setup changed every time I decided to check an inductor,

More information

10. Chapter: A/D and D/A converter principles

10. Chapter: A/D and D/A converter principles Punčochář, Mohylová: TELO, Chapter 10: A/D and D/A converter principles 1 10. Chapter: A/D and D/A converter principles Time of study: 6 hours Goals: the student should be able to define basic principles

More information

Part (A) Using the Potentiometer and the ADC* Part (B) LEDs and Stepper Motors with Interrupts* Part (D) Breadboard PIC Running a Stepper Motor

Part (A) Using the Potentiometer and the ADC* Part (B) LEDs and Stepper Motors with Interrupts* Part (D) Breadboard PIC Running a Stepper Motor Name Name (Most parts are team so maintain only 1 sheet per team) ME430 Mechatronic Systems: Lab 5: ADC, Interrupts, Steppers, and Servos The lab team has demonstrated the following tasks: Part (A) Using

More information

1. R-2R ladder Digital-Analog Converters (DAC). Connect the DAC boards (2 channels) and Nexys 4 board according to Fig. 1.

1. R-2R ladder Digital-Analog Converters (DAC). Connect the DAC boards (2 channels) and Nexys 4 board according to Fig. 1. Analog-Digital and Digital-Analog Converters Digital Electronics Labolatory Ernest Jamro, Maciej Wielgosz, Piotr Rzeszut Dep. of Electronics, AGH-UST, Kraków Poland, 2015-01-10 1. R-2R ladder Digital-Analog

More information

Chapter 2 Signal Conditioning, Propagation, and Conversion

Chapter 2 Signal Conditioning, Propagation, and Conversion 09/0 PHY 4330 Instrumentation I Chapter Signal Conditioning, Propagation, and Conversion. Amplification (Review of Op-amps) Reference: D. A. Bell, Operational Amplifiers Applications, Troubleshooting,

More information

Microcomputers. Digital Signal Processing

Microcomputers. Digital Signal Processing Microcomputers Analog-to-Digital and Digital-to-Analog Conversion Lecture 7-1 Digital Signal Processing Analog-to-Digital Converter (ADC) converts an input analog value to an output digital representation.

More information

EECS 373 Design of Microprocessor-Based Systems

EECS 373 Design of Microprocessor-Based Systems EECS 373 Design of Microprocessor-Based Systems Ronald Dreslinski University of Michigan Sampling, ADCs, and DACs and more Some slides adapted from Mark Brehob, Prabal Dutta, Jonathan Hui & Steve Reinhardt

More information

Development of microcontroller based over-current relay controls

Development of microcontroller based over-current relay controls Development of microcontroller based over-current relay controls A Thesis submitted in partial fulfillment of the requirements for the degree of Bachelor of Technology in Electrical Engineering By SAMBIT

More information

Data Converters 2. Selection Guides HIGH PERFORMANCE ANALOG

Data Converters 2. Selection Guides HIGH PERFORMANCE ANALOG 2 HIGH PERFORMANCE Selection Guides to Digital (ADCs) 1-Channel (ADCs)................................................... 2-2 6-Bit............................................................. 2-2 8-Bit.............................................................

More information

DASL 120 Introduction to Microcontrollers

DASL 120 Introduction to Microcontrollers DASL 120 Introduction to Microcontrollers Lecture 2 Introduction to 8-bit Microcontrollers Introduction to 8-bit Microcontrollers Introduction to 8-bit Microcontrollers Introduction to Atmel Atmega328

More information

Cyber-Physical Systems ADC / DAC

Cyber-Physical Systems ADC / DAC Cyber-Physical Systems ADC / DAC ICEN 553/453 Fall 2018 Prof. Dola Saha 1 Analog-to-Digital Converter (ADC) Ø ADC is important almost to all application fields Ø Converts a continuous-time voltage signal

More information