0% found this document useful (0 votes)
6 views

BATCH 10

Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views

BATCH 10

Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 9

IOT BASED COMPUTER OVERHEAT

SENSOR USING ESP32


REPORT2022-2026

DEPARTMENT OF BIOMEDICAL ENGINEERING

SUBMITTED BY

NAME REGISTERNUMBER

KIRUTHIKA. S 724022121011

SAFA BASHEER 724022121030

SHYMA VN 724022121037

VIPANCHIKA MENON. R 724022121044

GUIDED BY

N. KARTHIKEYAN (IOT ENGINEER)


Approved by AICTE, New Delhi, Affiliated to Anna University, Chennai & An ISO Certified Institution

BONAFIDECERTIFICATE

Certified that this Naan Mudhalvan project report on “ COMPUTER OVERHEAT SENSOR
USING ESP 32” the bonfire record of work done by KIRUTHIKA S (724022121011), SAFA
BASHEER (724022121030), SHYMA VN (724022121037) , VIPANCHIKA MENON R
(724022121044) from the Department of Biomedical Engineering by Anna University, Chennai.

Submitted for the board examination held on 25-10-2024 _

Internal Guide Head of the Department

Internal Examiner External Examiner


ABSTRACT
This project presents the development of a computer overheat sensor using the ESP32
microcontroller, designed to monitor and alert users to temperature thresholds that could lead to
hardware damage. Overheating can severely impact a computer's performance and longevity, making
real-time temperature monitoring essential, especially in systems without built-in sensors or older
computers. By integrating a temperature sensor (such as the DS18B20 or DHT22) with the ESP32, this
solution collects and processes temperature data. The ESP32 then transmits the data to a user interface,
which can be accessed via Wi-Fi on a mobile device or computer. Alerts are issued through
notifications when predefined temperature thresholds are exceeded, allowing for timely corrective
action. This cost-effective and efficient system provides an accessible method for hardware protection,
with potential applications in servers, desktop computers, and other temperature-sensitive electronics.
The design can be expanded by integrating additional sensors, enabling comprehensive environmental
monitoring.
The ESP32 serves as the central processing unit, communicating with various sensors and relays to
automate home functions based on user preferences or sensor readings. By leveraging IoT capabilities,
this project simplifies the user’s interaction with their home, enabling them to control and monitor
appliances, receive alerts, and automate tasks based on sensor data such as motion detection and
environmental conditions.

KEYWORDS:

 ESP32
 DHT22 Sensor

ESP 32:

The ESP32 is a highly integrated microcontroller designed for IoT applications. It features built-in Wi-
Fi and Bluetooth capabilities, making it ideal for projects requiring wireless communication. Developed
by Espressif Systems, the ESP32 includes a powerful dual-core 32-bit Tensilica LX6 CPU, operating at
speeds up to 240 MHz It also has a variety of peripheral interfaces, including GPIO, PWM, ADC, and
DAC, making it versatile for use in home automation, wearable, and other smart devices. Its low power
consumption and deep-sleep modes enhance its suitability for battery-powered projects.
ESP 32

ESP 32 SPECIFICATIONS

CPU: Dual-core Tensilica LX6 with clock speeds up to 240 MHz


Memory: 520 KB SRAM, 448 KB ROM, with external SPI flash and SRAM support.
Wi-Fi: 802.11 b/g/n/e/i with support for 2.4 GHz.
Bluetooth: Classic and BLE (Bluetooth Low Energy) capabilities.
GPIO: 34 General Purpose Input/output pins.
ADC: 18 channels of 12-bit Analog-to-Digital Converter.
DAC: 2 channels of 8-bit Digital-to-Analog Converter.
Communication Protocols: I2C, I2S, SPI, UART, PWM.
Operating Voltage: 3.3V.
Power Modes: Deep-sleep, light-sleep, and hibernation modes for power efficiency.
ESP 32 PINDIAGRAM
DHT22 SENSOR:
The DHT22, also known as the AM2302, is a widely used digital temperature and humidity sensor
suitable for various applications, including home automation and environmental monitoring. It operates
within a temperature range of -40 to 80°C and a humidity range of 0 to 100% RH, providing accurate
measurements with an accuracy of ±0.5°C and ±2-5% RH.
With its digital output, the DHT22 easily integrates with microcontrollers like Arduino and Raspberry
Pi, allowing for straightforward data collection. Powered by 3.3V to 6V, it features low power
consumption, making it ideal for battery-operated devices. Its affordability and reliability make the
DHT22 a popular choice in both DIY projects and professional applications.

DHT22

CIRCUITDIAGRAM
PROGRAM:

#include "DHT.h"

#define DHTPIN 14 // Digital pin connected to the DHT sensor


// Feather HUZZAH ESP8266 note: use pins 3, 4, 5, 12, 13 or 14 --
// Pin 15 can work but DHT must be disconnected during program upload.

// Uncomment whatever type you're using!


//#define DHTTYPE DHT11 // DHT 11
#define DHTTYPE DHT22 // DHT 22 (AM2302), AM2321
//#define DHTTYPE DHT21 // DHT 21 (AM2301)

// Connect pin 1 (on the left) of the sensor to +5V


// NOTE: If using a board with 3.3V logic like an Arduino Due connect pin 1
// to 3.3V instead of 5V!
// Connect pin 2 of the sensor to whatever your DHTPIN is
// Connect pin 4 (on the right) of the sensor to GROUND
// Connect a 10K resistor from pin 2 (data) to pin 1 (power) of the sensor

// Initialize DHT sensor.


// Note that older versions of this library took an optional third parameter to
// tweak the timings for faster processors. This parameter is no longer needed
// as the current DHT reading algorithm adjusts itself to work on faster procs.
DHT dht(DHTPIN, DHTTYPE);

void setup() {
Serial.begin(9600);
Serial.println(F("DHTxx test!"));

dht.begin();
}

void loop() {
// Wait a few seconds between measurements.
delay(2000);

// Reading temperature or humidity takes about 250 milliseconds!


// Sensor readings may also be up to 2 seconds 'old' (its a very slow sensor)
float h = dht.readHumidity();
// Read temperature as Celsius (the default)
float t = dht.readTemperature();
// Read temperature as Fahrenheit (isFahrenheit = true)
float f = dht.readTemperature(true);

// Check if any reads failed and exit early (to try again).
if (isnan(h) || isnan(t) || isnan(f)) {
Serial.println(F("Failed to read from DHT sensor!"));
return;
}

// Compute heat index in Fahrenheit (the default)


float hif = dht.computeHeatIndex(f, h);
// Compute heat index in Celsius (isFahreheit = false)
float hic = dht.computeHeatIndex(t, h, false);

Serial.print(F("Humidity: "));
Serial.print(h);
Serial.print(F("% Temperature: "));
Serial.print(t);
Serial.print(F("°C "));
Serial.print(f);
Serial.print(F("°F Heat index: "));
Serial.print(hic);
Serial.print(F("°C "));
Serial.print(hif);
Serial.println(F("°F"));
}
OUTPUT:

CONCLUSIONS:

In conclusion, a computer overheat sensor using an ESP32 provides an effective and affordable
solution for monitoring CPU or other system temperatures in real time. By utilizing the ESP32's
capabilities, including its Wi-Fi connectivity, the system can continuously monitor temperature data
and send alerts if the temperature exceeds a safe threshold. This can help prevent hardware damage
due to overheating by prompting timely interventions, such as shutting down processes, triggering
cooling fans, or sending notifications to users.

You might also like