Industrial manufacturing
Industrial Internet of Things | Industrial materials | Equipment Maintenance and Repair | Industrial programming |
home  MfgRobots >> Industrial manufacturing >  >> Manufacturing Technology >> Manufacturing process

Arduino Temperature Sensor Project: Read, Convert, and Display Fahrenheit

Components and supplies

Arduino Temperature Sensor Project: Read, Convert, and Display Fahrenheit
Arduino UNO
×1
Arduino Temperature Sensor Project: Read, Convert, and Display Fahrenheit
Adafruit Standard LCD - 16x2 White on Blue
×1
Arduino Temperature Sensor Project: Read, Convert, and Display Fahrenheit
Jumper wires (generic)
×1

Apps and online services

Arduino Temperature Sensor Project: Read, Convert, and Display Fahrenheit
Arduino IDE

About this project

This project senses the temperature around it, then converts that to volts, volts to 

celsius, celsius to fahrenheit, then prints fahrenheit.


Arduino Temperature Sensor Project: Read, Convert, and Display Fahrenheit
Arduino Temperature Sensor Project: Read, Convert, and Display Fahrenheit


Code

  • temp
tempArduino
#include <LiquidCrystal.h>

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

const int tmp = A0;
const int p = 8;

void setup() {
  lcd.begin(16, 2);
  Serial.begin(9600);
  pinMode(p, OUTPUT);
  // put your setup code here, to run once:

}

void loop() {
  digitalWrite(p,LOW);
  int Temp = analogRead(tmp);
  float volts = (Temp / 965.0) * 5;
  float c = (volts - .5) * 100;
  float f = (c * 9 / 5 + 32);
  Serial.println(f);
  lcd.setCursor(5, 0);
  lcd.print(f);
  delay(3000);
  // put your main code here, to run repeatedly:

}

Schematics

temp.fzzArduino Temperature Sensor Project: Read, Convert, and Display FahrenheitArduino Temperature Sensor Project: Read, Convert, and Display Fahrenheit

Manufacturing process

  1. DS18B20 Temperature Sensor – Precise 1‑Wire Digital Thermometer for Industrial & Consumer Use
  2. Build a Raspberry Pi Temperature Logger with a $5 I2C Sensor
  3. Build a Remote Temperature Sensor with Raspberry Pi and Python – Step‑by‑Step Guide
  4. Build a Multi‑Sensor Temperature & Light Monitoring System with Raspberry Pi & DS18B20
  5. Build a Raspberry Pi Home Temperature Monitor with MCP9808, InfluxDB & Grafana
  6. Multi‑Position Temperature Sensor System for Smart Home Integration
  7. DasFilisera Smart Greenhouse: Advanced Plant Growth Monitoring System
  8. Smart Health Monitoring Station: Arduino, Bluetooth, and Sensors
  9. Arduino Ultrasonic Distance & Temperature Monitor with LCD Alarm System
  10. Precision Bearing Temperature Sensor – Accurate Detection & Monitoring