Академический Документы
Профессиональный Документы
Культура Документы
By:
MD Perwez Alam, 2K12/EE/079
Mohit Jain, 2K12/EE/084
Nitish Kumar, 2K12/EE/095
ABSTRACT
Ever since the invention of thermometer, various techniques have been developed and used to
measure temperature of solid, liquid and gaseous matters. But none of these techniques could
measure the temperature accurately from a remote place, which sometimes becomes a necessity
particularly when the object under testis in a dangerous or inaccessible area. Also, the
conventional methods of measuring temperature like a mercury thermometer are not only
dangerous to use, but also are hazardous to the environment. So an alternate means using modern
electronics technology of measuring and sensing the temperature variations is desired. Presented
here is a remote sensing infrared thermometer to measure the temperature without contact and
display it on a LCD screen.
The temperature of the object under test is sensed by an infrared temperature sensor
(MLX90614) designed for non-contact temperature sensing, which sends the
temperature value over to the microcontroller (Arduino UNO) which is then
displayed in degrees Celsius at the LCD display. The sensor detects the total
energy in the infrared radiation from object over a wide angle, and this
energy gives the temperature of the object.
The IR sensor, which is a digital sensor with its own microcontroller on board, provides two
temperature readings: A) the sensors own (body) temperature and B) the object-in-sight
temperature, measured using infra-red. It can measure from -70C to 380of the object
temperature. In a properly calibrated system, one can measure temperatures of the surroundings
or an object up to high accuracy of 0.5 degrees. Also, a combination of RGB leds indicate the
temperature ranges of the surroundings.
Page | 1
ACKNOWLEDGEMENT
The satisfaction and euphoria that accompany the successful completion of any task would be
incomplete without the mentioning of the people whose constant guidance and encouragement
made it possible. We take pleasure in presenting before you, our project, which is result of
studied blend of both research and knowledge. We express our earnest gratitude to our internal
guide and mentor, Assistant Professor Dr. M. M Tripathi Department of EE for his constant
support, encouragement and guidance. We are grateful for his cooperation and his valuable
suggestions. Also, we are thankful to those physicists and engineers who envisioned, designed
and developed these tools for us to use and apply. Lastly we are thankful to the almighty god and
our parents for their constant support, blessings and wishes.
CERTIFICATE
Page | 2
This is to certify that the Project titled REMOTE SENSING THERMOMETER submitted
by MD Perwez Alam, Mohit Jain & Nitish Kumar in partial fulfillment of the course work
requirement for B.Tech. Program in the Department of ELECTRICAL & ELECTRONICS
Engineering, DELHI TECHNOLOGICAL UNIVERSITY, has been completed by them
under my guidance and supervision. This Project Report has been found quite satisfactory.
Project Mentor
Dr. M.M Tripathi
Asst. Professor
Department of EE
Delhi Technological University
CONTENTS:
1. Introduction
1.1
Page | 3
1.2.2
1.2.3
2. Components
2.1 Arduino Microcontroller
2.2 Lcd display with potentiometer
2.3 MLX90614 IR sensor
2.4 Resistor, Capacitor
2.5 Leds
3. Project Description
3.1 Introduction to the system
3.2 Components used
3.3 Circuit Diagram
4. Results and discussion
5. Conclusion.
6. References
7. Appendix
Thermal flashlight is a speculative object, which enables the user to read the surface
temperature of an object by pointing flashlight at it. Using this one can easily recognize
the target temperature by looking at the LCDs.
Page | 4
This uses state of the art ARM cortex M4 processor for simple interfacing of RGB leds
and concepts like display LCD, and programming the arduino.
Page | 5
[1]
Thermal remote sensing has been used over urban areas to assess the urban heat island, to
perform land cover classifications and as input for models of urban surface atmosphere
exchange. Here, we review the use of thermal remote sensing in the study of urban climates,
focusing primarily on the urban heat island effect and progress made towards answering the
methodological questions posed by Roth et al. [International Journal of Remote Sensing 10
(1989) 1699]. The review demonstrates that while some progress has been made, the thermal
remote sensing of urban areas has been slow to advance beyond qualitative description of
thermal patterns and simple correlations. Advances in the application of thermal remote sensing
to natural and agricultural surfaces suggest insight into possible methods to advance techniques
and capabilities over urban areas. Improvements in the spatial and spectral resolution of current
and next-generation satellite-based sensors, in more detailed surface representations of urban
surfaces and in the availability of low cost, high resolution portable thermal scanners are
expected to allow progress in the application of urban thermal remote sensing to the study of the
climate of urban areas.
[2]
This report is intended to fulfil one objective of the Pilot Remote Sensing Study, specifically, to
provide an organized synthesis and critical assessment of previous and current studies on
relevant remote sensing programs. The information obtained from this task would be used to
define research gaps, establish the need for further studies, and resolve controversies, if any. If
possible, research gaps, controversies, etc. would be resolved by performing the rest of the Pilot
Remote Sensing Study.
Remote sensing measurements can be used to identify some of the vehicles with excessive
tailpipe emissions that should receive a Smog Check in the near future. Since whether a vehicle
can be classified as a high emitter or not depends upon the standards it was designed to meet, a
high emitter manufactured recently may actually emit much less than an older high emitter.
Below certain emission levels, RSDs ability to distinguish between a normal emitter and a
high emitter is greatly diminished, so newer vehicles may be difficult for RSD to identify as
being high emitters.
Abstract:
[3]
Evaluation of body temperature is one of the oldest known diagnostic methods and is still an
important sign of health and disease, both in everyday life and in medical care. Accurate
Temperature measurement is critically important, particularly in neonates and immune
compromised children whom suspicion of infection could result in investigations, treatment and
even hospitalization. Consequently, inaccurate temperature measurement may result in
Patients remain undiagnosed and untreated, or receiving unnecessary or inappropriate
intervention. In health centres and hospitals, nurses are responsible for measuring body
temperature accurately and it is important to take into account the kind of thermometer and the
sites of the body used for taking the measurement Mercury in glass thermometer was the
traditional type of thermometer used to measure body temperature. However, mercury
thermometers are gradually being phased out. This is because of concerns regarding the
Toxic environmental effect of mercury, namely toxicity from the absorption due to breakage and
risk of infection. In recent years, infrared thermometers have been more frequently used. This
type of thermometer determines the temperature of infrared emission from a source rather than
absorbing heat from the tissue and reaching thermal equilibrium with it. Temperatures can
typically be obtained in less than five seconds. Most thermometers of this type measure
temperature at the ear drum (infrared tympanic thermometers)
Chapter 2. COMPONENTS
16 MHz ceramic resonator, a USB connection, a power jack, an ICSP header, and a reset button.
It contains everything needed to support the microcontroller; simply connect it to a computer
with a USB cable or power it with an AC-to-DC adapter or battery to get started.
The Uno differs from all preceding boards in that it does not use the FTDI USB-to-serial driver
chip. Instead, it features the Atmega16U2 (Atmega8U2 up to version R2) programmed as a
USB-to-serial converter.
Arduino is a family of single-board microcontrollers, intended to make it easier to build
interactive objects or environments. The hardware consists of an open-source hardware board
designed around an 8-bit Atmel AVR microcontroller or a 32-bit Atmel ARM. Current models
feature a USB interface together with six analog input pins and 14 digital I/O pins that can
accommodate various extension boards.
"Uno" means one in Italian and is named to mark the upcoming release of Arduino 1.0. The Uno
and version 1.0 will be the reference versions of Arduino, moving forward. The Uno is the latest
in a series of USB Arduino boards, and the reference model for the Arduino platform; for a
comparison with previous versions, see the index of Arduino boards.
The Uno board has a resistor pulling the 8U2 HWB line to ground, making it easier to put
into DFU mode. 1.0 pinout: added SDA and SCL pins that are near to the AREF pin and two
other new pins placed near to the RESET pin, the IOREF that allow the shields to adapt to the
voltage provided from the board. In future, shields will be compatible with both the board that
uses the AVR, which operates with 5V and with the Arduino Due that operates with 3.3V.
The specialty of using Arduino as a microcontroller is its open source hardware and digital and
analog pins provided with PWM operation. The software is easy to use with a vast library of
predefined functions. An Arduino's microcontroller is also pre-programmed with a boot loader
that simplifies uploading of programs to the on-chip flash memory, compared with other devices
that typically need an external programmer. This makes using an Arduino more straightforward
by allowing the use of an ordinary computer as the programmer.
Summary
Microcontroller ATmega328
Operating Voltage 5V
Input Voltage (recommended) 7-12V
Input Voltage (limits) 6-20V
Digital I/O Pins 14 (of which 6 provide PWM output)
Analog Input Pins 6
Page | 9
2.2 LCD
Liquid Crystal Display, LCDs are now commonly used as display devices. The alphanumeric
LCD display with a simple interface that could be connected to a general purpose
microcontroller or microprocessor, comes in variety of formats, like 16X2, 20X4 etc., based on
their screen characteristics.
Page | 10
LCD displays utilize two sheets of polarizing material with a liquid crystal solution
between them. An electric current passed through the liquid causes the crystals to align so that
light cannot pass through them. Each crystal, therefore, is like a shutter, either allowing light to
pass through or blocking the light.
Monochrome LCD images usually appear as blue or dark gray images on top of a grayishwhite background. Color LCD displays use two basic techniques for producing color: Passive
matrix is the less expensive of the two technologies. The other technology, called thin film
transistor (TFT) or active-matrix, produces color images that are as sharp as
traditional CRT displays, but the technology is expensive. Recent passive-matrix displays using
new CSTN and DSTN technologies produce sharp colors rivaling active-matrix displays.
Character LCDs, like the one used here, use a standard 16 contact interface, commonly using
pins or card edge connections on 0.1 inch / 2.54 mm centers. Those without backlights may have
only 14 pins, omitting the final two pins powering the light.
Fig. 3.
Page | 11
Page | 12
Arduino Board
10k Potentiometer
breadboard
hook-up wire
Circuit
Before wiring the LCD screen to your Arduino we suggest to solder a pin header strip to the 14
(or 16) pin count connector of the LCD screen, as you can see in the image above.
To wire your LCD screen to your Arduino, connect the following pins:
Page | 13
2.2.2 POTENTIOMETER
A potentiometer, informally a pot, is a three-terminal resistor with a sliding or rotating contact
that forms an adjustable voltage divider. If only two terminals are used, one end and the wiper, it
acts as a variable resistor or rheostat.
A potentiometer measuring instrument is essentially a voltage divider used for measuring electric
potential (voltage); the component is an implementation of the same principle, hence its name.
Potentiometers are commonly used to control electrical devices such as volume controls on audio
equipment. Potentiometers operated by a mechanism can be used as position transducers, for
example, in a joystick. Potentiometers are rarely used to directly control significant power (more
than a watt), since the power dissipated in the potentiometer would be comparable to the power
in the controlled load.
Page | 14
Here in the system, potentiometer is used to control the voltage to the lcd display so as to control
the Contrast of the font displayed. Turning the potentiometer increases/decreases the voltage and
hence the contrast.
Page | 15
F
Fig. 2.2.3 Pin Diagram of the Controller
temperature readings can vary depending on the emissivity of the target. Metals such as
aluminum have low emissivity and will tend to read lower IR temperatures. Calculations to
compensate the temperature for lower emissivity can be used, if you know the emissivity of the
surface you are measuring.
Page | 17
Fig 2.3.2 M/F jumper wires can be used to attach the sensor to a breadboard.
Wiring
Mbed
MLX90614
Pullups
Gnd
VSS - gnd
Vout
VDD - 3.3V
p27
4.7K
p28
4.7K
Page | 18
2.4.1
RESISTOR
Introduction
A resistor is a passive two-terminal electrical component that implements electrical resistance as
a circuit element
Fig.2.4.1 Resistors
The current through a resistor is in direct proportion to the voltage across the resistor's terminals.
This relationship is represented by Ohm's law:
(EQN 1)
Where I is the current through the conductor in units of amperes, V is the potential difference
measured across the conductor in units of volts, and R is the resistance of the conductor in units
of ohms. The ratio of the voltage applied across a resistor's terminals to the intensity of current in
the circuit is called its resistance, and this can be assumed to be a constant (independent of the
voltage) for ordinary resistors working within their ratings.
Practical resistors have a series inductance and a small parallel capacitance; these specifications
can be important in high-frequency applications. In a low-noise amplifier or pre-amp, the noise
characteristics of a resistor may be an issue. The unwanted inductance, excess noise, and
temperature coefficient are mainly dependent on the technology used in manufacturing the
resistor.
Page | 19
(EQN 2)
Resistors in a parallel configuration are each subject to the same potential difference (voltage),
however the currents through them add.
(EQN 3)
Page | 20
Band D if present, indicates tolerance of value in percent (no band means 20%)
For example, a resistor with bands of yellow, violet, red, and gold will have first digit 4 (yellow
in table below), second digit 7 (violet), followed by 2 (red) zeros: 4,700 ohms. Gold signifies that
the tolerance is 5%, so the real resistance could lie anywhere between 4,465 and 4,935 ohms.
The Standard Resistor Color Code
2.4.2 CAPACITOR
Introduction
A capacitor (originally known as condenser) is a passive two-terminal electrical component used
to store energy in an electric field. The forms of practical capacitors vary widely, but all contain
at least two electrical conductors separated by a dielectric (insulator); for example, one common
construction consists of metal foils separated by a thin layer of insulating film. Capacitors are
widely used as parts of electrical circuits in many common electrical devices.
Fig.2.4.4 Capacitors
Features: ceramic disc capacitor
Specification
Page | 22
When there is a potential difference (voltage) across the conductors, a static electric field
develops across the dielectric, causing positive charge to collect on one plate and negative charge
on the other plate. Energy is stored in the electrostatic field.
An ideal capacitor is characterized by a single constant value, capacitance, measured in farads.
This is the ratio of the electric charge on each conductor to the potential difference between
them. The capacitance is greatest when there is a narrow separation between large areas of
conductor, hence capacitor conductors are often called "plates," referring to an early means of
construction. In practice, the dielectric between the plates passes a small amount of leakage
current and also has an electric field strength limit, resulting in a breakdown voltage, while the
conductors and leads introduce an undesired inductance and resistance.
Page | 23
Theory of operation
A capacitor consists of two conductors separated by a non-conductive region.
The non-conductive region is called the dielectric. In simpler terms, the
dielectric is just an electrical insulator. Examples of dielectric media are
glass, air, paper, vacuum, and even a semiconductor depletion region
chemically identical to the conductors.
Page | 25
Page | 26
LEDs produce more light per watt. Than do incandescent bulbs; this is useful in battery
lighting methods require. This is more efficient and can lower initial costs.
LEDs are Ideal for use in applications that are subject to frequent on-off cycling, unlike
fluorescent lamps that burn out more quickly when cycled frequently, or HID lamps that
Fluorescent and incandescent bulbs are easily broken if dropped on the ground.
LEDs have extremely long life span. One manufacturer has calculated the ETTF
(Estimated Time To Failure) for their LEDs to be between 100,000 and 1,000,000 hours.
Fluorescent tubes typically are rated at about 30,000 hours, and incandescent light bulbs
at 1,000- 2,000 hours.
3. PROJECT DESCRIPTION
Page | 27
3.1 Introduction
The temperature of the object under test is sensed by a temperature sensor MLX90614 which is
an infrared non-contact temperature sensor.
A 5V dc supply is used to operate the IR sensor as well as the microcontroller. The IR sensor has
two parts integrated inside it, the IR sensitive thermopile detector chip and the signal
conditioning ASIC. A low noise amplifier and a 17 bit ADC and powerful DSP units enable high
accuracy and resolution of the thermometer. The thermometer comes calibrated digital SMBus
output giving full access to the measured temperature in the complete temperature range(s) with
a resolution of 0.02C.
The user can configure the digital output to be PWM. As a standard, the 10-bit PWM is
configured to continuously transmit the measured temperature in range of -20 to 120 C, with an
output resolution of 0.14 C.
PWM, the transition is a smooth one when they change color from one temperature range to
other. Also, the sensor being a non-contact one, is based on infrared sensing and hence dependent
on emissivity properties of the objects.
The second part of the system composes of a 16X2 Lcd display which gives the current
temperature in a digital form up to 2nd decimal place. The lcd screen gets the input from the
digital pins (D3-6) of the microcontroller and gets Dc power 5V. The display is backlight by
providing power to the last 2 pins of the 16 pin display. Data pins (D4-7) are connected to the
arduino which provide it with the temperature signal. The contrast of the display is controlled by
the 3 pin potentiometer, connected to the CNT pin of the display. Enable and select pins are
connected to the microcontroller as its interfacing. Since it is used just for display option, R/W is
permanently grounded.
TEMPERATURE SENSOR-MLX90614
16*2 LCD 16 pins
Arduino Uno Microcontroller
10K POTENTIOMETRE
BREADBOARD
LED- red green blue
Resistors : for limiting the current to the devices.
R1 4.7-kilo-ohm
R2 -4.7-kilo-ohm
R3 - 220 -ohm
R4 - 100-ohm
R5- 47-ohm
Page | 29
The system proposed deals with problems faced in remote sensing of temperatures. The system
has an IR sensor which directly reads temperatures of objects without contact. The IR sensor is
connected to the microcontroller Arduino UNO, which stores the value of the temperature and
sends it to the LCD screen for display. This is a real time model which gives the temperature of
surroundings or objects instantaneously. The temperature readings can be stored and later plotted
for studying its variations and analysis.
It has wide applications starting from medical appliances where an IR sensor based thermometer
can gradually phase out the mercury based one, providing better and accurate body temperature
readings. It can be used in climatology as the surface temperature is of prime importance to the
study of urban climatology. It modulates the air temperature of the lowest layers of the urban
atmosphere, is central to the energy balance of the surface, helps to determine the internal
climates of buildings and affects the energy exchanges that affect the comfort of city dwellers.
Also, another major application is in remote sensing of temperature. This project can measure the
temperature in industries where human cannot reach. This project could monitor the temperature
from remote area and show the temperature at receiver side in the form of voltage, with the help
of calibration between temperature and voltage. We can measure the temperature of the machine
in industries at critical area where temperature of machine is not measured directly. This could be
used for temperature control of systems in general and motor drives in particular.
Hence we have achieved through this model, detecting temperatures through IR sensor and
taking cognizance of this fact, it can be further developed for many of the above mentioned
applications, particularly for remote sensing and thermal imaging. Through thermal imaging, one
can sense points of heat leakage in plants or have a have a thermally varying contour of a region.
Also, using the matlab applications of the microcontroller, we can have the temperature
variations of an object over a period of time and can use the plots for analysis.
Page | 31
5. CONCLUSION
Ever since the invention of thermometer, various techniques have been developed and used to
measure temperature of solid, liquid and gaseous matters. But none of these techniques could
measure the temperature from a remote place, which sometimes becomes a necessity, particularly
when the object under test is in a dangerous or inaccessible area. Presented here is a remote
sensing thermometer to measure the temperature from a remote place.
The main scope of this project was to measure the temperature in industries where human cannot
reach. This project has monitored the temperature from remote area and shown the temperature
at receiver side in the form of voltage, with the help of calibration between temperature and
voltage. We measure the temperature of the machine in industries at critical area where
temperature of machine is not measured directly.
This project, on further development can be used extensively in different fields, ranging from
motor drives to medical applications. The main advantage of using an infrared sensor is its
remote sensing capability of an object not within contact with high accuracy. Infrared tympanic
thermometers would measure body temperature detect infrared energy emanating from the ear
canal and tympanic membrane, hence not prune to the harmful effects of a traditional
thermometer.
Also, surface temperatures and thermal imaging applications can be made using such a device.
Page | 32
6. REFERENCES
Literature surveys:
[1]: Author J.A. Voogt and T.R Oke titled Analysis and synthesis of remote sensing
Vol: 86, Issue 3, pages-370-384
[2]:Author Tom Austin, Sierra Research titled Analysis of remote sensing devices
Erg No. 187.00.002.001, Conference Publication
[3]:Author Madam Sin Lian titled Infrared Thermometers
Arduino code:
http://bildr.org/2011/02/mlx90614-arduino/
For i2c library and instructions
http://publiclaboratory.org/tool/thermal-camera
http://splinter.com.au/blog/?p=29
http://www.kasperkamperman.com/blog/arduino/arduino-programming-hsb-to-rgb/
Articles referred:
Author JM Kornflied, RR Reagen titled Flashlight Patent D566,309,208
http://public laboratory.org/tool/thermal-camera/
Page | 33
7. APPENDIX
The code in the microcontroller for operating the leds(thermal flashlight) and displaying the
current temperature on the lcd display as per the input given to the analog pins by sensor is as
follows:
#include <i2cmaster.h>
#include <LiquidCrystal.h>
#include "Wire.h"
//#include "BlinkM_funcs.h"
const float lowReading = 60;
const float highReading = 75;
const unsigned char separatorCharacter = 255;
LiquidCrystal lcd(12, 13, 5, 4, 3, 2);
void setup()
{
pinMode(9,OUTPUT);
pinMode(10,OUTPUT);
pinMode(11,OUTPUT);
lcd.begin(16, 2);
lcd.setCursor(0, 1);
lcd.clear();
i2c_init(); //Initialise the i2c bus
PORTC = (1 << PORTC4) | (1 << PORTC5); //enable pullups
}
float normf(float x, float low, float high)
{
float y = (x - low) * 255.f / (high - low);
if(y > 255)
{
y = 255;
}
if(y < 0)
{
y = 0;
}
return y;
Page | 34
void loop()
{
int dev = 0x5A<<1;
int data_low = 0;
int data_high = 0;
int pec = 0;
//write
i2c_start_wait(dev+I2C_WRITE);
i2c_write(0x07);
// read
i2c_rep_start(dev+I2C_READ);
data_low = i2c_readAck(); //Read 1 byte and then send ack
data_high = i2c_readAck(); //Read 1 byte and then send ack
pec = i2c_readNak();
i2c_stop();
//This converts high and low bytes together and processes temperature, MSB is a
error bit and is ignored for temps
double tempFactor = 0.02; // 0.02 degrees per LSB (measurement resolution of the
MLX90614)
double tempData = 0x0000; // zero out the data
int frac; // data past the decimal point
// This masks off the error bit of the high byte, then moves it left 8 bits and adds
the low byte.
tempData = (double)(((data_high & 0x007F) << 8) + data_low);
tempData = (tempData * tempFactor)-0.01;
float celcius = tempData - 273.15;
//Serial.println(fahrenheit);
float state = normf(celcius, lowReading, highReading);
//Serial.write((unsigned int) state);
//Serial.write(separatorCharacter);
// BlinkM MaxM super-bright LED:
// 165 is blue, 0 is red
//BlinkM_fadeToHSB(blinkm_addr, map(state, 0, 255, 165, 0), 255, 255);
// Regular ol' RGB LED:
int hue = map(state,0,255,359,(359*0.5)); // not the whole color wheel
setLedColorHSV(hue,1,1); //We are using Saturation and Value constant at 1
lcd.setCursor(0, 1);
Page | 35
r = tv;
g = pv;
b = v;
break;
case 5: //
r = v;
g = pv;
b = qv;
break;
}
//set each component to a integer value between 0 and 255
int red=constrain((int)255*r,0,255);
int green=constrain((int)255*g,0,255);
int blue=constrain((int)255*b,0,255);
setLedColor(red,green,blue);
}
//Sets the current color for the RGB LED
void setLedColor(int red, int green, int blue)
{
analogWrite(9,red); //Red pin attached to 9
analogWrite(10,green); //green pin attached to 10
analogWrite(11,blue); //blue pin attached to 11
}
Page | 37