You are on page 1of 11

MICRO PROCESSOR LAB

PROGRAM: BS (EE)

PROJECT REPORT

[Temperature Sensor]
Submitted to: Mr. Jawadullah Submitted by: [Group Members] Majid ALI Osama Zaid 091320-079 071020-149

DATE: 19-01-2012

Acknowledgements:

First or foremost, we are grateful to ALMIGHTY ALLAH, most beneficent and most merciful who made us able to complete our project successfully.

We should also like to pay tribute to the benefactor of humanity HOLLY PROPHET S.A.W. Who gave us complete knowledge on every aspect and field of knowledge.

In short of words, to express our modest gratitude and recognition to our beloved Parents, who at each and every moment pray for our success. We are also deeply thankful to our Teacher Sir Mr. Jawadullah who teaches us Modern Micro Processor.

Thank you all, without you this would have not been possible.

Temperature Sensor
Summary:
This circuit is used to detect the temperature. The purpose of making this circuit is that the present temperature is increasing day by day due to global warming .So this circuit show where the area we live in normal condition . Temperature is sense by LM35 then it converts a Celsius to corresponding voltage. 1C=10mV then it give to pic controller which is doing analog to digital converting. After this the LEDs glow corresponding temperature range that is show on LCD

Components:

PIC16F877A Varro Board LCD Temperature Sensor (LM35) Resistances Capacitors LEDs Connectors Other electric components (jumpers etc) L7805C

The basic purpose is

Start

ADC process to get analog input from LM35

Display Temperature on LCD

Working:
The main purpose of temperature sensor is when temperature is high than we adjust fan is on and when temperature is low buzzer or led is on and when temperature is normal a simple led is on to show normal condition The basic part is LM35 for temperature control. Its pin are

General Description: LM35:

The LM35 series are precision integrated-circuit temperature Sensors, whose output voltage is linearly proportional to the Celsius (Centigrade) temperature, The LM35 thus has an advantage over linear temperature sensors calibrated in Kelvin, as the user is not required to subtract a large constant voltage from its output to obtain convenient Centigrade scaling. The LM35 does not require any external calibration or trimming to provide typical accuracies of 14C at room temperature and 34C over a full 55 to +150C temperature range. Low cost is assured by trimming and calibration at the wafer level. The LM35s low output impedance, linear output, and precise inherent calibration make interfacing to readout or control circuitry especially easy. It can be used with single power supplies, or with plus and minus supplies.

As it draws only 60A from its supply, it has very low self-heating, less than 0.1C in still air. The LM35 is rated to operate over a 55 to +150C temperature range, while the LM35C is rated for a 40 to +110C range (10 with improved accuracy). The LM35 series is available packaged in hermetic TO-46 transistor packages, while the LM35C, LM35CA, and LM35D are also available in the plastic TO-92 transistor package. The LM35D is also available in an 8-lead surface mount small outline package and a plastic TO-220 package.

Features
Calibrated directly in Celsius (Centigrade) Linear + 10.0 mV/C scale factor 0.5C accuracy guarantee able (at +25C) Rated for full 55 to +150C range Suitable for remote applications Low cost due to wafer-level trimming Operates from 4 to 30 volts Less than 60 A current drain Low self-heating, 0.08C in still air Nonlinearity only 14C typical Low impedance output, 0.1 for 1 mA

L7805C:

The L7805C of three-terminal positive Regulators making several fixed output voltages, making it useful in a wide range of applications. These regulators can provide local on-card regulation, eliminating the distribution problems associated with single point regulation. Each type employs internal current Limiting, thermal shut-down and safe area protection, making it essentially indestructible. If adequate heat sinking is provided, they can deliver over 1A output current. Although designed Primarily as fixed voltage regulators, these devices can be used with external components to obtain adjustable voltage and currents.

Interface PIC16F876A with LCD (2x16 character)

LCD used in this project is JHD162A, for other type of LCD, Refer to its data sheet. The 16 header pin should be soldered to the LCD first. The following table shows the LCD (2x 16 characters)

Microprocessor Oscillator:

Most microprocessors, micro-controllers and PICs have two oscillator pins labeled OSC1 and OSC2 to connect to an external quartz crystal, RC network or even a ceramic resonator. In this application the Quartz Crystal Oscillator produces a train of continuous square wave pulses whose frequency is controlled by the crystal which intern regulates the instructions that controls the device.

For example, the master clock and system timing.

Hardware Configuration:

104J100:
Capacitance Range Voltage Range Vac - 250 Vac ) 0.0022 F to 10.0 F 63 Vdc to 1000 Vdc (40

Capacitance Tolerance
5%,

10%, 20%55 C to +125 C (with 50% Vdc derating >85 C)

Voltage Range:
The voltage range of power source could be given for this circuit board is between 7V and 15V. Higher input voltage will produce more heat at LM7805 voltage regulator. Typical voltage is 12V. Anyhow, LM7805 will still generate some heat at 12V.

Uses and Application


A temperature sensor, for use on Global Wave, Satellite communications products. Infrared beam technology, Used extensively in household remotes appliances

You might also like