element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Experimenting with Thermal Switches
  • Challenges & Projects
  • Design Challenges
  • Experimenting with Thermal Switches
  • More
  • Cancel
Experimenting with Thermal Switches
Challenge Blog Experimenting With Thermal Switches #final Blog
  • Challenge Blog
  • Forum
  • Documents
  • Files
  • RoadTests
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: vinayyn
  • Date Created: 27 Mar 2022 10:06 PM Date Created
  • Views 777 views
  • Likes 7 likes
  • Comments 2 comments
  • final
  • kemet
  • Experimenting with Thermal Switches.
Related
Recommended

Experimenting With Thermal Switches #final Blog

vinayyn
vinayyn
27 Mar 2022

In the previous blog, I have tested the sensor working using Multimeter. In this blog, I have created a small project using The thermostat switch.

Thermostat Switch Based Glue gun Temperature Control and alerting Through Notification.

in this project, I am using two temperature sensors to monitor the temperature of the glue gun melted plastic and another temperature sensor to monitor the ambient temperature. The two temperature sensor is based on LM35D. 50 Degree Normally open thermostat switch is used to Monitor the Temperature of the glue gun. When the melted plastic temperature reaches more than 50 Degree Celcius the Thermostat switch goes to the open condition and the relay will be turned off using an optoisolator. When the temperature goes below 50 Degree Celcius the relay will be On Hence the Glue gun is On. The temperature details are displayed on the LCD display and as well as on the Blynk App. When the temperature is more than the threshold the notification is displayed on the app saying that the temperature reached its max level.

Block Diagram 

image

12 volt Dc power supply is used here to power up the microcontroller, Display, and Optoisolator circuit. The Temperature control mechanism is Standalone Circuitry, Microcontroller is not used to control the relay. The thermostat can be replaced Based on the required temperature Rating.

image

Fig. Project Full assembled View 

image

Fig . Temperature sensor and Thermostat is placed To sense The melted plastic Temperature.

image

image

Fig. Temperature Details on the app

image

Fig. Warning Notification About the temperature displayed on the app.

Schematic Diagram

image

Code

#define BLYNK_PRINT Serial
#include <WiFi.h>
#include <WiFiClient.h>
#include <BlynkSimpleEsp32.h>
#include <Wire.h>
#include <LiquidCrystal_I2C.h>
LiquidCrystal_I2C lcd(0x27, 16, 2);

const int Temp_sensor_1= 34;
const int Temp_sensor_2= 35;
int Temp1_ADC_VALUE = 0;
int Temp2_ADC_VALUE = 0;
float Temp1_voltage_value = 0; 
float Temp2_voltage_value = 0; 
char auth[] = "Your Auth token";
char ssid[] = "Your wifi name";
char pass[] = "password";
BlynkTimer timer;
void sendSensor()
{
  Blynk.virtualWrite(V1, Temp1_voltage_value);
  Blynk.virtualWrite(V2, Temp2_voltage_value);
}
void setup() 
{
Wire.begin();//i2c begin
lcd.begin();
Serial.begin(9600);  /* Define baud rate for serial communication */
Blynk.begin(auth, ssid, pass);
timer.setInterval(1000L, sendSensor);
lcd.clear();
}
void loop() 
{
lcd.backlight();  
Temp1_ADC_VALUE = analogRead(Temp_sensor_1);
Temp2_ADC_VALUE = analogRead(Temp_sensor_2);
Temp1_voltage_value = (((Temp1_ADC_VALUE * 3.3 ) / (4095)+0.10)*100);
Temp2_voltage_value = (((Temp2_ADC_VALUE * 3.3 ) / (4095)+0.10)*100);
lcd.setCursor(0,0);
  lcd.print("Temp1:");
  lcd.print(Temp1_voltage_value);
  lcd.setCursor(0,1);
  lcd.print("Amb_temp:");
  lcd.print(Temp2_voltage_value);
Serial.print("Temperature_sensor_1 : ");
Serial.print(Temp1_voltage_value);
Serial.println();
Serial.print("Temperature_sensor_2 : ");
Serial.print(Temp2_voltage_value);
Serial.println();
Blynk.run();
timer.run();
delay(1000);
}

Results Video

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

  • Sign in to reply
  • vinayyn
    vinayyn over 3 years ago in reply to DAB

    Thank you

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • DAB
    DAB over 3 years ago

    Nice experiment.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube