Professional Documents
Culture Documents
Abstract
Abstract
PROJECT TITLE:
MICROCONTROLLER BASED DIGITAL
THERMOMETER CONTROLLER
CHAPTER ONE
INTRODUCTION
Over view of the project
The main goal of this project is to create a digital thermometer that can accurately
measure and display the ambient temperature using an Arduino microcontroller and
the LM35 temperature sensor.
Hardware Components
1. Arduino Board: the Arduino will serve as the main microcontroller for the
project, handling the data acquisition, processing, and display.
2. LM35 Temperature Sensor: the LM35 is an analog temperature sensor that
provides a linear voltage output proportional to the temperature in degrees
Celsius.
3. Display: A display, such as an LCD OR OLED, will be used to show the
temperature readings.
4. Miscellaneous: Jumper wires, breadboard (or perf board), and a power supply
(e.g. USB power or battery) will be required to connect the components.
Software Requirements
1. Arduino IDE: The Arduino integrated development environment (lDE) will be
used to write, compile, and upload the sketch (program) to the Arduino board.
2. Arduino Libraries: Depending on the display used, you may need to include
additional libraries (e.g., Liquid crystal for LCD displays, Adafruit_SSD1306
for OLED displays).
CHAPTER TWO
LITERATURE REVIEW
2.1. Related Works
In this digital temperature sensor with Arduino, Arduino Uno is used to control
the whole process. An LM35 temperature sensor is used for sensing environment
temperature which gives 1 degree temperature on every 10mV change at its output
pin. You can easily check it with voltmeter by connecting Vcc at pin 1 and Ground
at pin 3 and output voltage at pin 2 of LM35 sensor. For an example if the output
voltage of LM35 sensor is 250m volt, that means the temperature is around 25
degrees Celsius.
Arduino reads output voltage of temperature sensor by using Analog pin A0 and
performs the calculation to convert this Analog value to a digital value of current
temperature. After calculations Arduino sends these calculations or temperature to
16x2 LCD unit by using appropriate commands of LCD. We have also built
other digital thermometer projects using DHT11, DS18B20 and other temperature
sensors.
Circuit Components
Arduino
In this project we have used a Arduino to control whole the process of system.
Arduino is a controller which runs on ATmega AVR controller. Arduino is an open-
source hardware platform and very useful for project development purpose. There
are many types of Arduino boards like Arduino UNO, Arduino mega, Arduino pro
mini, Lilypad etc. available in the market or you can also build Arduino by yourself.
LM35 is a 3-pin temperature sensor which gives 1 degree Celsius on every 10mVolt
change. This sensor can sense up to 150-degree Celsius temperature. 1 number pin
of lm35 sensor is Vcc, second is output and third one is Ground. LM35 is the
simplest temperature sensor and can be interfaced easily with any microcontroller.
You can check various Temperature Measurement using LM35 based projects here.
LM35 can be easily interfaced with Raspberry Pi, NodeMCU, PIC microcontroller,
etc to measure the temperature and can also be used standalone with Op-amp to
indicate temperature levels.
LCD
16x2 LCD unit is widely using in embedded system projects because it is cheap,
easily available, small in size and easy to interface. 16x2 have two rows and 16
columns, which means it consist 16 blocks of 5x8 dots. 16 pins for connections in
which 8 data bits D0-D7 and 3 control bits namely RS, RW and EN. Rest of pins are
used for supply, brightness control and for backlight.
Power Supply
Arduino Board already have an inbuilt power supply section. Here we only need to
connect a 9 volt or 12-volt adaptors with the board.
CODE
#include˂LiquidCrystal .h˃
LiquidCrystal lcd(7,6,5,4,3,2);
#define sensor A0
byte degree[8] =
0b00011,
0b00011,
0b00000,
0b00000,
0b00000,
0b00000,
0b00000,
0b00000,
0b00000,
};
Void setup()
lcd.begin(16,2);
lcd.createChar(1, degree);
lcd.setCursor(0,0);
lcd.print(“ Digital “);
lcd.setCursor(0,1);
lcd.print(“ Thermometer “);
delay(4000);
lcd.clear();
void loop()
{
/*----------Temperature----------*/
float reading=analogRead(sensor);
float temperature=reading*(5.0/1023.0)*100;
delay(10);
/*----------Display Result----------*/
lcd.clear();
lcd.setCureor(2,0);
lcd.print(“Temperature”);
lcd.setCursor(4,1);
lcd.print(temperature);
lcd.write(1);
lcd.print(“C”);
delay(1000);
}
Flow chart for project Development phase
Flow of the development of the project is divided into two that are the
hardware and software. The hardware part is divided into two parts that are
the temperature sensor LM35 part and the output LCD display part.
CHAPTER FOUR
4. BUDGET AND WORK PLAN
The work plane and Budget Allocation for accomplishing my thesis work can be summarized as follows:
REFERENCES:
1. Texas instruments, “LM35 precision centigrade temperature sensors,”
[online].
2. Arduino, “Arduino – Home,” [online]. Available: https://www,arduino.cc/.
3. S. Sahu, J. K. Mandal, and M.Tiwari, “Arduino-based low-cost temperature
monitoring system,” in 2017 international conference on wireless
communications, signal processing and networking (WiSPNET), 2017
#include <LiquidCrystal.h>
#include <LM35.h>
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);
LM35 tempSensor(A0);
void setup() {
lcd.begin(16, 2);
lcd.print("Temperature:");
}
void loop()
{
float temperature = tempSensor.read();
lcd.setCursor(0, 1);
lcd.print(temperature, 1);
lcd.print((char)223); // Degree symbol
lcd.print("C");
delay(1000);
}