Project tutorial
Easy Thermometer v1

Easy Thermometer v1

An easy to build thermometer using Arduino, digital temperature sensor, and LCD display.

  • 717 views
  • 0 comments
  • 3 respects

Components and supplies

Apps and online services

About this project

Easy Thermometer

This project is financially low-cost.

Everyone who knows the basics of electronics and programming can do it.

Code

CodeArduino
WARNING: It works only on USB power
#include <OneWire.h>
#include <DallasTemperature.h>
#include <LiquidCrystal.h>

#define ONE_WIRE_BUS 7

OneWire oneWire(ONE_WIRE_BUS);

DallasTemperature sensors(&oneWire);

LiquidCrystal lcd(12, 11, 5, 4, 3, 2);

double x;

void setup(void)
{
  Serial.begin(9600);
  Serial.println("Dallas Temperature Sensor");
  lcd.begin(16, 2);
  sensors.begin();
}

void loop(void)
{
  sensors.requestTemperatures();
  serial();
  x = (sensors.getTempCByIndex(0));
  delay(500);
  lcd.setCursor(0, 1);
  lcd.print(" ");
  lcd.print(x);
  lcd.print("*C");
}

void serial(){
  Serial.print("Requesting temperatures...");
  Serial.println("DONE");
  Serial.println(sensors.getTempCByIndex(0));
}

Schematics

Mounting Plate in Fritzing
Tempsensfzz v5lqvxrkpj

Comments

Similar projects you might like

Ultrasonic Sensor with Alarm, LCD and Temperature

Project tutorial by MichDragstar

  • 5,097 views
  • 7 comments
  • 19 respects

Matrix Orbital GTT TFT Thermometer Stage 1

Project tutorial by MatrixOrbital

  • 5,626 views
  • 0 comments
  • 14 respects

Alexa BBQ/Kitchen Thermometer with IoT Arduino and e-Paper

Project tutorial by Roger Theriault

  • 2,471 views
  • 0 comments
  • 9 respects

Making LCD Thermometer With Arduino And LM35/36

Project tutorial by Konstantin Dimitrov

  • 68,447 views
  • 17 comments
  • 64 respects

DIY: A 5 Minutes Contactless OLED Thermometer With Arduino

Project tutorial by Konstantin Dimitrov

  • 7,213 views
  • 0 comments
  • 18 respects
Add projectSign up / Login