ADC and Sensor Programming

Slides:



Advertisements
Similar presentations
Interfacing to the Analog World
Advertisements

Analog to Digital Conversion (ADC)
ECE 265 – LECTURE 14 Analog Signal Acquisition The A/D converters 5/14/ ECE265.
©2008 The McGraw-Hill Companies, Inc. All rights reserved. Digital Electronics Principles & Applications Seventh Edition Chapter 14 Connecting with Analog.
Analog Value Processing
Chapter 11 It’s an Analog World Learning to use the Analog to Digital Converter.
Khaled A. Al-Utaibi  Digital Vs Analog Signals  Converting an Analog Signal to a Digital One  Reading Analog Sensors with the.
5-1 Analogue Input/Output Many sensors/transducers produce voltages representing physical data.  To process transducer data in a computer requires conversion.
Explain the introduction to ADC, ADC characteristics, Programming ADC using PIC18, Introduction to DAC and DAC interfacing with PIC18.
Data Acquisition Systems ACES Presentation Brad Ellison March 11, 2003.
1 Analog-to-Digital Converter (ADC). 2 ADC Features (1/3) ADC conversion rate 1 MHz and 12-bit resolution – 1µs conversion time at 56 MHz – 1.17µs conversion.
Interfacing ADC to 8051.
 Circuit building blocks that compare the strength of two signals (usually Volts) and provide an output signal when one is bigger than the other are.
Interface & Instrumentation. ADC Sensor Interfacing Gas Sensor Temperature Sensor Humidity Sensor Sonar Sensor.
PETER BAKER CAROLE CHEN MICHAEL HERNANDEZ FALL 2009 MECHATRONICS PROF. KAPILA Auto-titrating pH Meter
Analog-to-Digital Converters
7/10/2007 AIIT Summer Course - D# 1 Wireless Embedded Systems and Networking Lab Day 2: Part 1: Add your own external sensors Lab Assistant: Jaein Jeong.
Analogue Input/Output
COMPUCCINO Kalani Rathnabharathi Vithya Shanmugam Robert Armstrong Aaron Kulp.
Ohmmeters pages V A x R How much resistance in a load if the amperage is:.5 amps.5 amps.
Engineering 1040: Mechanisms & Electric Circuits Winter 2015 Analog & Digital Signals Analog to Digital Conversion (ADC)
Electronic Instrumentation & PLC DKT 314 Digital thermometer LCD display using LM35 Lecturer: En Mat Nor Mohamad B Ismail En Zulkifli Husin.
Digital to Analogue Converter
Analog to Digital Converters (ADC) Ben Lester, Mike Steele, Quinn Morrison.
Your Hospital What are sensing circuits ?
Resistive Transducers Sensors Used in Electronics.
Representing Numerical Data Analog Any signal that varies continuously over time Mechanical Pneumatic Hydraulic Electrical Digital Quantities are represented.
Suleyman Demirel University CSS340 Microprocessor Systems – Lecture 2 ATMEGA328P ARCHITECTURE ANALOG INPUTS.
SOLAR CELL PARAMETERS MEASUREMENT
1 Data-Converter Circuits A/D and D/A Chapter 9 1.
Analog on the Arduino int k; // integer = 16 bits k = analogRead(1); Analog volts value (0V → 5V) returns from 0 to 1023 into “k” (10 “bits” = 1024 values)
Analog to Digital Converter (ADC)
SITRANS T3K PA Field Instruments Process Instrumentation and Analytics Technical Data (1) Technical Data (2) Features Block Diagram SITRANS T3K PA Head.
0808/0809 ADC. Block Diagram ADC ADC0808/ADC Bit μP Compatible A/D Converters with 8-Channel Multiplexer The 8-bit A/D converter uses successive.
Light Tracking Servo System Using Cadmium Sulfide Light Dependent Resistors Brandon Agtarap and Branden Nakahara.
WATER LEVEL INDICATOR AND AUTOMATIC MOTOR SWITCHING SYSTEM
By: Shivanshi pandya(30) Ayushi chourasia (3) Pranavi chhikniwala(6)
Ashan Perera Senior Design Project - Electronic System for Remote Water Quality Monitoring.
Front End. Charge pre-amp and detector Voltage regulator. TOP side. Detector linear voltage regulator BOTTOM side. Charge pre-amp.
Chapter 7 ADC, DAC, and Sensor Interfacing 1. Microcontroller Connection to Sensor via ADC 2.
MECH 373 Instrumentation and Measurements
Product Overview Analogue Input, 2fold, SM  Box  Sensor connections
Schedule… ECEN 301 Discussion #24 – DAC Date Day Class No. Title
AUTOMATIC TEMPERATURE CONTROLLED FAN USING 8051
ABB i-bus® EIB / KNX Analogue Input AE/S 4.2
SAR ADC Tao Chen.
Points of measurement Vref=500mV – Voff=800mV Vref=600mV – Voff=800mV
ADC,DAC and sensor interface
Yuchen Chai, Pradeep Shenoy, Philip T. Krein
Potential Divider Aims What is a potential divider
ADC, DAC, and Sensor Interfacing
ADC, DAC, and Sensor Interfacing
ACCIDENT INTIMATION SYSTEM
Digital-to-Analog & Analog-to-Digital Conversion
The resistance of a thermistor changes from 30k to 12k when the temperature changes from 20C to 70 C Calculate the sensitivity if resistance is taken.
ADC, DAC, and Sensor Interfacing
Simple ADC structures.
Simple ADC structures.
ADC, DAC, and Sensor Interfacing
Digital Control Systems Waseem Gulsher
PIC18F458 Analog-to-Digital
Potential Dividers Electric Circuits ☞.
ADC and DAC Programming in AVR
ADC and DAC Data Converter
FIGURE 1: SERIAL ADDER BLOCK DIAGRAM
SPI Protocol and Programming
I2C and DAC Interfacing and Programming
Colorado Space Grant Consortium
ADC and DAC Data Converter
Figure Serial versus Parallel Data Transfer
Presentation transcript:

ADC and Sensor Programming Chapter 7 ADC and Sensor Programming

Microcontroller Connection to Sensor via ADC

An 8-bit ADC Block Diagram

Resolution versus Step Size for ADC (Vref = 5V) n-bit Number of steps Step size 8 256 5V /256 = 19.53 mV 10 1024 5V /1024 = 4.88 mV 12 4096 5V /4096 = 1.2 mV 16 65,536 5V /65,536 = 0.076 mV Note: Vref = 5V

Vref Relation to Vin Range for an 8-bit ADC Vref (V) Vin in Range (V) Step Size (mV) 5.00 0 to 5 5 / 256 = 19.53 4.00 0 to 4 4 / 256 = 15.62 3.00 0 to 3 3 / 256 = 11.71 2.56 0 to 2.56 2.56 / 256 = 10 2.00 0 to 2 2 / 256 = 7.81 1.28 0 to 1.28 1.28 / 256 = 5 1.00 0 to 1 1 / 256 = 3.90 Note: In an 8-bit ADC, step size is Vref/256

Vref Relation to Vin Range for an 10-bit ADC Vref (V) VinRange (V) Step Size (mV) 5.00 0 to 5 5 / 1024 = 4.88 4.96 0 to 4.096 4.096 / 1024 = 4 3.00 0 to 3 3 / 1024 = 2.93 2.56 0 to 2.56 2.56 / 1024 = 2.5 2.00 0 to 2 2 / 1024 = 2 1.28 0 to 1.28 1.28 / 1024 = 1.25 1.024 0 to 1.024 1.024 / 1024 = 1 Note: In a 10-bit ADC, step size is Vref/1024

A Simultaneous 2-bit ADC

ADC0848 Parallel ADC Block Diagram

MAX1112 Serial ADC Block Diagram

Successive Approximation ADC

Potentiometer Connection in EduPad

Thermistor Resistance vs. Temperature Temperature ('C) Tf (K ohms) 29.490 25 10.000 50 3.893 75 1.700 100 0.817

Thermistor (Copied from http://www.maximintegrated.com)

Thermistor (Copied from http://www.maximintegrated.com)

LM34 and LM35

Getting Data to the CPU

LM45 Connection in EduPad