Arduino Temperature Sensor Project: Read, Convert, and Display Fahrenheit
Components and supplies
![]() |
| × | 1 | |||
![]() |
| × | 1 | |||
![]() |
| × | 1 |
Apps and online services
![]() |
|
About this project
This project senses the temperature around it, then converts that to volts, volts to
celsius, celsius to fahrenheit, then prints 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.fzz

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



