0% found this document useful (0 votes)
154 views3 pages

Assignment Sensor Interfacing-ADC

This document discusses analog sensor interfacing and signal conditioning. It describes how transducers convert physical data like temperature, light, and flow into electrical signals. Signal conditioning is then needed to modify the transducer output into a voltage signal that can be read by an analog-to-digital converter. As an example, the LM35 temperature sensor is discussed which outputs a voltage linearly proportional to Celsius temperature without external calibration. The document provides instructions for setting up a circuit to read temperature data from the LM35 using an AVR microcontroller and displaying it on LEDs.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
Download as pdf or txt
0% found this document useful (0 votes)
154 views3 pages

Assignment Sensor Interfacing-ADC

This document discusses analog sensor interfacing and signal conditioning. It describes how transducers convert physical data like temperature, light, and flow into electrical signals. Signal conditioning is then needed to modify the transducer output into a voltage signal that can be read by an analog-to-digital converter. As an example, the LM35 temperature sensor is discussed which outputs a voltage linearly proportional to Celsius temperature without external calibration. The document provides instructions for setting up a circuit to read temperature data from the LM35 using an AVR microcontroller and displaying it on LEDs.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
Download as pdf or txt
Download as pdf or txt
You are on page 1/ 3

1

FSB33403
EMBEDDED SYSTEMS EMBEDDED SYSTEMS
Analog Sensor Interfacing
Sensor Interfacing and Signal
Conditioning
Transducer
Transducer convert physical data such as
temperature, light intensity, flow and speed to
electrical signals electrical signals.
Depending on the transducer, the output produced
is in the form of voltage, current, resistance or
capacitance.
Signal Conditioning
In order to send input to an A-to-D converter,
the transducer output in the form of voltage,
current, charge, capacitance or resistance should
b t d t f f lt
2
be converted to form of voltage.
This conversion (modification) is commonly
called as Signal Conditioning.
Signal conditioning can be current-voltage
conversion or signal amplification.
Getting data from Analog World
Mohd
Fadzil
Digitally signed by Mohd
Fadzil
DN: cn=Mohd Fadzil, o, ou,
email=fdzl_hssn@yahoo.fr,
c=MY
Date: 2013.03.15 12:33:27
+08'00'
2
Sensor Interfacing and Signal
Conditioning
Temperature Sensor: LM35 Series
The sensors of the LM35 series are precision integrated-circuit
temperature sensors whose output voltage is linearly
ti l t th C l i t t proportional to the Celsius temperature.
Requires no external calibration because it is internally
calibrated.
It outputs 10 mV for each degree of Celsius temperature.
If we use the internal 2.56 V reference voltage, the step size
would be 2.56V / 1024 =2.5mV
This binary output number for the ADC four times the real
3
temperature because the sensor produces 10 mV for each degree
of temperature change and the step size is 2.5 mV (10 mV/2.5 mV
= 4).
Thus, we can scale it by dividing it by 4 to get real number of
temperature.
Sensor Interfacing and Signal
Conditioning
Temperature (F) Vs Vout for AVR with Vref = 2.56 V LM34/35 Connection to AVR and its Pin
4
p ( ) 3 /35 Co ect o to a d ts
Configuration
3
Characteristics of the ADC
1) Draw the circuit in Proteus and write a program to read
analog data (e g temperature) and displaying the data using analog data (e.g temperature) and displaying the data using
8 LEDs.The following pints must be noted:
The analog temperature device is represented by using
variable resistor and connected to channel 0.
The 8 LEDs connected to PORT B of AVR.
The 10-bit output of A/D is divided by 4 to get real
5
temperature.
To divide the 10-bit output of A/D by 4, choose the left-
justified option and only read ADCH register.
Remark: You are recommended to simulate your program in
Proteus
Characteristics of the ADC
2)By referring the Table: Temperature (F) Vs Vout for AVR
withVref = 2.56V
Verify the AVR output for a temperature of 70 degrees
Fahrenheit. Find values in the AVR A/D registers of ADCH
and ADCL for left-justified.
6

You might also like