3.3 Overheat Monitor

Share for us

Overview

You may want to make an overheat monitoring device that applies to various situations. When the temperature of room is above 30°C in summer, the electric fan or the air conditioner will be turned on automatically. If the refrigerator stops to refrigerate, there will emit alarm. When the CPU gets overheated, the watercooling system turns on. Next, we will use thermistor, relay, button, rotary encoder and LCD to make an intelligent temperature monitoring device whose threshold is adjustable. You can make it suitable for the scene you want by inserting different peripherals into the relay and using a rotary encoder to adjust the high temperature threshold.

Components Required

Fritzing Circuit

In this example, the component modules are connected as shown in the table.

Schematic Diagram

Example Explanation

The flow diagram of the project is as follows:

By using EEPROM.h library, the high temperature threshold is saved in EEPROM to avoid the value reset after the restart of MCU.

Library Functions:

void write(address,value)

Write a byte to the EEPROM.

void Read(address)

Reads a byte from the EEPROM. Locations that have never been written to have the value of 255.

void update(address,value)

Write a byte to the EEPROM. The value is written only if differs from the one already saved at the same address.

void put(address,value)

Write any data type or object to the EEPROM.

void get(address)

Read any data type or object from the EEPROM.

Phenomenon Picture