Temperature Level Monitoring & Auto Cooling System
This Project
explains how to build a temperature measurement unit for condition monitoring
purposes with Automatic Cooling System.
This project
can be applied to various type of applications including ICs, Transistors,
Transformers, or any other equipment which dissipate heat.
Temperature
measurement is very useful when keeping track of an equipment condition for its
proper operation & longer life span.
In this Project
we have chosen a transformer for its temperature monitoring.
Heat
is measured using temperature sensor & displayed on LCD module.
If
the heat is under or equals to the safe temperature value(specified in the
code), the LCD module will display the condition is normal & the current
temperature value. Relay will remain at normally open(NO) position.
If
the heat is above the safe temperature value, the LCD will display the overheating
warning and the alarm will be ON. Relay will operate & NO terminals will be
closed. The fan will be ON.
The
fan will be turned on until the temperature level reduce back to normal value.
Tools & Components
1
X Arduino Nano
1
X Relay Module(5V)
1
X 12V Fan Unit(High Flow)
1
X 16x2 LCD Module
1
X 10K Potentiometer
1
X Buzzer speaker
1
X DS18B20 Temperature Sensor
1
X 2.2K Ohm Resistor
12V/1A
DC Power Supply Unit
Connecting
wires
Connecting Components
LCD
Module RS Pin – Arduino Pin A0
LCD
Module EN Pin – Arduino Pin A1
LCD
Module D4 Pin – Arduino Pin A2
LCD Module D5 Pin – Arduino Pin A3
LCD
Module D6 Pin – Arduino Pin A4
LCD
Module D7 Pin – Arduino Pin A5
LCD
Module VEE Pin – Potentiometer Sig. Pin
Relay
Sig. Pin – Arduino Pin D03
Buzzer
Terminal (+) – Arduino Pin D11
Temperature
Sensor Sig Pin – Arduino Pin D12
2.2K
ohm resistor is connected between (+5V) terminal & DS18B20 Sig. Pin
+12V
Power supply terminal to Arduino Vin Pin
Arduino Code
//2020 CraftyBin.blogspot.com
//Author : Chathura H.
#include <OneWire.h>
#include <DallasTemperature.h>
#include <LiquidCrystal.h>
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);
#define ONE_WIRE_BUS 12
OneWire oneWire(ONE_WIRE_BUS);
DallasTemperature sensors(&oneWire);
float Celsius = 0;
void setup() {
sensors.begin();
Serial.begin(9600);
lcd.begin(16, 2);
pinMode(3,OUTPUT);
pinMode(11,OUTPUT);
lcd.print("Measuring Temp.: ");
lcd.print(Celsius);
lcd.print("C ");
lcd.clear();
delay(1);
digitalWrite(3,LOW);
digitalWrite(11,LOW);
}
void loop() {
sensors.requestTemperatures();
Celsius = sensors.getTempCByIndex(0);
delay(1);
Serial.print(Celsius);
Serial.print(" C ");
delay(1);
if(Celsius < 50){
lcd.print("Temp. Level : ");
lcd.print(Celsius);
lcd.print("C ");
lcd.clear();
delay(1);
lcd.setCursor(0,1);
lcd.print("Normal : ");
lcd.print(Celsius);
lcd.print("C ");
lcd.clear();
delay(500);
digitalWrite(3,LOW);
digitalWrite(11,LOW);
}
else if(Celsius >= 50){
lcd.print("Temp. Level : ");
lcd.print(Celsius);
lcd.print("C ");
lcd.clear();
delay(1);
lcd.setCursor(0,1);
lcd.print("Overheating: ");
lcd.print(Celsius);
lcd.print("C ");
lcd.clear();
delay(500);
digitalWrite(3,HIGH);
digitalWrite(11,HIGH);
}
}
//Author : Chathura H.
#include <OneWire.h>
#include <DallasTemperature.h>
#include <LiquidCrystal.h>
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);
#define ONE_WIRE_BUS 12
OneWire oneWire(ONE_WIRE_BUS);
DallasTemperature sensors(&oneWire);
float Celsius = 0;
void setup() {
sensors.begin();
Serial.begin(9600);
lcd.begin(16, 2);
pinMode(3,OUTPUT);
pinMode(11,OUTPUT);
lcd.print("Measuring Temp.: ");
lcd.print(Celsius);
lcd.print("C ");
lcd.clear();
delay(1);
digitalWrite(3,LOW);
digitalWrite(11,LOW);
}
void loop() {
sensors.requestTemperatures();
Celsius = sensors.getTempCByIndex(0);
delay(1);
Serial.print(Celsius);
Serial.print(" C ");
delay(1);
if(Celsius < 50){
lcd.print("Temp. Level : ");
lcd.print(Celsius);
lcd.print("C ");
lcd.clear();
delay(1);
lcd.setCursor(0,1);
lcd.print("Normal : ");
lcd.print(Celsius);
lcd.print("C ");
lcd.clear();
delay(500);
digitalWrite(3,LOW);
digitalWrite(11,LOW);
}
else if(Celsius >= 50){
lcd.print("Temp. Level : ");
lcd.print(Celsius);
lcd.print("C ");
lcd.clear();
delay(1);
lcd.setCursor(0,1);
lcd.print("Overheating: ");
lcd.print(Celsius);
lcd.print("C ");
lcd.clear();
delay(500);
digitalWrite(3,HIGH);
digitalWrite(11,HIGH);
}
}
Safety First !Always Connect the power supply if you are absolutely sure that the components are connected correctly without changing polarity and short circuited the wiring.Even if it seems nothing is wrong : DOUBLE CHECK EVERYTHING !Your Feedback is very important to us.Please Leave a comment about how you feel about this project.
New Jersey casinos 2021 - DrMCD
ReplyDeleteThe state of New 김포 출장마사지 Jersey has been 포천 출장마사지 hit hardest 원주 출장마사지 by the 통영 출장샵 ongoing coronavirus pandemic. New Jersey casinos, licensed 포항 출장안마 by the Gambling Control Board, offer
Post a Comment