Home
About Us
Achievement
Home
Raspberry-Pi Projects
_Raspberry Pi 4 Complete Guide
Arduino Project
_All Projects
Esp8266 Project
_All Projects
Esp32 Project
_Automation-with-feedback
Industry Temperature monitoring system using Arduino
Just Do Electronics
January 31, 2020
Industry Temperature monitoring system using Arduino | Arduino Project
CIRCUIT DIAGRAM
CODE
//PRATEEK //WWW.PRATEEKS.IN #include
LiquidCrystal lcd(8, 9, 10, 11, 12, 13); //const int LED_RED=2; //Red LED //const int LED_GREEN=4; //Green LED //const int RELAY=5; //Lock Relay or motor //Key connections with arduino //const int up_key=6; //const int down_key=3; int SetPoint=30; void setup(){ pinMode(LED_RED,OUTPUT); pinMode(LED_GREEN,OUTPUT); pinMode(RELAY,OUTPUT); pinMode(up_key,INPUT); pinMode(down_key,INPUT); //Pull up for setpoint keys digitalWrite(up_key,HIGH); digitalWrite(down_key,HIGH); // set up the LCD's number of columns and rows: lcd.begin(16, 2); // Print a message to the LCD. lcd.print("AKSHADA - ROHINI"); delay(1000); lcd.setCursor(0,1); //Move coursor to second Line //lcd.print("Temp. Controller"); digitalWrite(LED_GREEN,HIGH); //Green LED Off digitalWrite(LED_RED,LOW); //Red LED On digitalWrite(RELAY,LOW); //Turn off Relay delay(2000); } void loop(){ double Temperature = ((5.0/1024.0) * analogRead(A0)) * 100; lcd.setCursor(0,0); lcd.print("Temperature:"); lcd.print(Temperature); //Get user input for setpoints if(digitalRead(down_key)==LOW) { if(SetPoint>0) { SetPoint--; } } if(digitalRead(up_key)==LOW) { if(SetPoint<150) { SetPoint++; } } lcd.setCursor(0,1); lcd.print("Set Point:"); lcd.print(SetPoint); lcd.print("C "); if(Temperature > SetPoint) { digitalWrite(RELAY,LOW); //Turn off heater digitalWrite(LED_RED,LOW); digitalWrite(LED_GREEN,HIGH); //Turn on Green LED } else { digitalWrite(RELAY,HIGH); //Turn on heater digitalWrite(LED_GREEN,LOW); digitalWrite(LED_RED,HIGH); //Turn on RED LED } delay(100); //Update at every 100mSeconds }
0 Comments
Newer
Older
ESP32 Interfacing With LDR Sensor
How To Make RFID & Keypad Based Door Lock
Ultrasonic Sensor as a Counter with Arduino
IoT Based Patient Health Monitoring System Using Blynk App
How to Make Gas Leak Detector & Auto Exhaust Fan Using Arduino
MLX90614 Non-Contact Infrared Thermometer With Arduino
Measure CO2 Level in Air Using Arduino
Esp32 Cam Based Face Unlock
ESP32 Led Blink With Push Button
Smart Street Light Using Arduino
YouTube
Like on Facebook
Follow on Twitter
Follow on Google+
Follow on Instagram
Subscribe on Youtube
Hi WelCome To My Website If you have a creative mind and want to learn Electronics even without studying it then FRIENDS this Website And Youtube Channel is for you, I am crazy creators who love making Electronics things. I have a bunch of more than 130 Tutorial Videos on My YouTube Channel and I upload a new Tutorial every Sunday.
Tags
Arduino Project
Esp32 Project
Esp8266 Project
0 Comments