Thermo Guard

by Crazy_ Whale in Circuits > Electronics

32 Views, 2 Favorites, 0 Comments

Thermo Guard

photo_2026-06-12_11-48-26.jpg
ThermoGuard: Smart Temperature Monitoring & Alert System v1

ThermoGuard transforms a simple thermometer into a smart monitoring system by combining real-time temperature sensing, intelligent analysis, and automatic alerts. Users can monitor temperature remotely through a web dashboard and receive instant warnings when conditions become unsafe.

#arduinoIde

Supplies

ThermoGuard is an IoT-enabled Smart Temperature Monitoring and Alert System designed to monitor, analyze, and protect temperature-sensitive environments in real time. The system utilizes an ESP32 microcontroller, DS18B20 temperature sensor, 16×2 LCD display, and buzzer alarm to provide intelligent temperature monitoring through a wireless web dashboard.

Unlike conventional thermometers that only display temperature values, ThermoGuard continuously compares live temperature readings against predefined safe ranges and automatically generates alerts whenever abnormal conditions are detected.

The project is designed for applications such as healthcare monitoring, food storage, greenhouses, laboratories, fish tanks, server rooms, and smart homes.


Components Used:

  1. ESP32 Dev board
  2. DS18B20 Temperature Sensors
  3. 16×2 LCD Display (I2C)
  4. 18650 Battery
  5. Buzzer
  6. 4.7kΩ
  7. Breadboard Half Size
  8. 18650 Battery Holder
  9. Jumper Wires


Code:

Gather Components

Collect all required components:

  1. ESP32
  2. DS18B20
  3. LCD 16×2 I2C
  4. Active Buzzer
  5. Breadboard
  6. Jumper Wires


Circuit Diagram

Gemini_Generated_Image_n79gw4n79gw4n79g.png

Connect DS18B20

photo_2026-06-12_14-16-23.jpg

DS18B20 PinESP32 Pin

VCC 3.3V

GND GND

DATA GPIO4

Note: Connect a 4.7kΩ resistor between DATA and 3.3V.

Add a 4.7kΩ pull-up resistor between DATA and 3.3V.

Connect LCD

photo_2026-06-12_14-16-27.jpg
LCD Pin ESP32 Pin
VCC 5V
GND GND
SDA GPIO21
SCL GPIO22

Connect Buzzer

photo_2026-06-12_14-16-32.jpg
Buzzer Pin ESP32 Pin
Positive (+) GPIO25
Negative (-) GND

Install Required Libraries

Screenshot 2026-06-12 004439.png

Install:

  1. WiFi.h
  2. WebServer.h
  3. OneWire.h
  4. DallasTemperature.h
  5. Wire.h
  6. LiquidCrystal_I2C.h


Connect to WiFi

Update:

const char* ssid = "YourWiFi";
const char* password = "YourPassword";

Upload the program.


Upload the Code

Screenshot 2026-06-12 004637.png

Upload the ThermoGuard firmware to the ESP32 using Arduino IDE.

Open Dashboard

Screenshot 2026-06-12 004753.png

Find:

192.168.x.x


Open Dashboard

Screenshot 2026-06-12 004951.png

Enter the IP address into a browser.

Example:

http://192.168.1.105


Select Monitoring Category

Screenshot 2026-06-12 112635.png

Ready To use