Controlling a Relay using Temperature (Temperature Controlled Relay with Thermocouple, Arduino, LCD)

  Рет қаралды 53,069

Mish Mash Labs

Mish Mash Labs

Күн бұрын

Mish Mash Labs demonstrate how to control a high voltage (230V AC) Relay using a temperature value set-point. The temperature value is read from a K-Type Thermocouple, which is interfaced using a MAX31855 breakout board over SPI to an Arduino. The measured temperature values are displayed on an LCD.
In our example, the temperature controlled relay is switched ON, by the Arduino , once the temperature reaches 40 degrees C, and OFF if its below. This value can be adjusted to suit you. The light bulb can be swapped with a heating element.
Code on Mish Mash's Git:
github.com/mishmashlabs/MAX31...
How to display Thermocouple readings on the LCD can be found here:
• Arduino Thermocouple a...
The Arduino LCD Tutorial can be found here:
www.youtube.com/watch?v=rj9S7...
The MAX31855 board and K Type Thermocouple Arduino Tutorial can be found here:
www.youtube.com/watch?v=CISms...
And here is a playlist for the full project, a temperature controlled relay with LCD display:
kzfaq.info?list...
We used the Arduino Uno, but this will work with all Arduinos, even clones.
#temperature #controlled #relay #tutorial #arduino #mishmash
Instagram: mishmashlabs
Twitter: mishmashlabs/
Music Credits:
Intro & Outro by audionautix.com

Пікірлер: 38
@tenapier
@tenapier 3 жыл бұрын
I hope you can keep making videos, your stuff is so excellent! You should have a million views and be teaching classes! Thank you!🙏
@MishMashLabs
@MishMashLabs 3 жыл бұрын
Thanks for your kind words. Please like and share with any frineds you think this would be useful for. The more subscibers we have the more videos we can make.
@jasolis8368
@jasolis8368 2 жыл бұрын
@@MishMashLabs Hi, I was wondering if you create an Arduino code for a project I have in mind. Just tell me how much it will cost me. Thanks
@user-yp5yx1pt7r
@user-yp5yx1pt7r 3 жыл бұрын
Thank you very much
@marlonvelezrocha9128
@marlonvelezrocha9128 Жыл бұрын
excellent video
@arthurmedina3097
@arthurmedina3097 3 жыл бұрын
Hello, thank you so much for your video! Do you have a page where I can look at the wiring schematic for the entire system? Thank you!
@marlonvelezrocha9128
@marlonvelezrocha9128 Жыл бұрын
You can make a video of something similar but that controls the speed of a fan, the idea is to control the temperature of a wood oven. Wearing: 1. Arduino UNO R4 WiFi. 2. Thermocouple K with its controller. 3. 12Volt fan. 4. Arduino Cloud. The K thermocouple will be in the smoke box, the fan will supply variable flow air, this air will pass through the heat box and take it to the smoke box, the cloud application will control everything, ignition, the desired temperature, By giving it a temperature of 250°F in the App, it varies the fan speed to maintain the temperature. In the leds of the Arduino you can see the temperature in real time. Greetings.
@shoppingoneclick2044
@shoppingoneclick2044 2 жыл бұрын
Does this code will work for PT100 ? If not , which is best ADC chip for PT100 temperature sensor? Any liberary function for PT100 temperature sensor?
@emmanuelgeorge1750
@emmanuelgeorge1750 2 жыл бұрын
I have used relay in automatic plant watering system to pump water based on soil moisture sensor readings. My LCD is messing up after relay turns on. It just showing some weird things on the LCD. Do you have any idea on this
@rajartsandexperiments5092
@rajartsandexperiments5092 11 ай бұрын
Hello sir what is the use of potential meter. And sir please can you and button to adjust the temperature
@earhlemmanuelacedilla4346
@earhlemmanuelacedilla4346 Жыл бұрын
Hey there! Can i use a knob here and insert a value that will control the heating element. Using your code?
@akierum
@akierum Жыл бұрын
What about head/cool thermostat with another relay that would turn on a FAN to cool down? Any help appreciated. !
@jyaniharshil5585
@jyaniharshil5585 2 жыл бұрын
Hey brother can you tell me the code for my project . ds18b20 temperature sensor , LCD 16×2 , arduino UNO & fan , all connected . As the temperature rises , fan goes fast or Start rotating and if temperature goes low , fan slows or stops down...
@simonevilucchi4758
@simonevilucchi4758 Жыл бұрын
Hi! I have a Chinese x99 motherboard that have some temperature sensors that doesn't provide the motherboard temperature. I'm searching a solution to this problem and I think to add in my case a fan controller. The controller interact with the motherboard through the usb 2.0 connector, but if the motherboard doesn't provide its temperature, I think that this link between fan controller and motherboard will not be useful. If I will use one of this Arduino-based temperature sensor, how can I transmit the results to the fan controller? Is it possible doing something like that? Thanks if you respond!
@DanielWeiszdood
@DanielWeiszdood Ай бұрын
is a low voltage relay an option? like if you wanted to send a 12v signal instead
@jordanlowe2429
@jordanlowe2429 2 жыл бұрын
Can I use a SSR-40DA Solid State Relay Single Phase Semi-Conductor Relay in replacement of the 5VDC relay?
@MishMashLabs
@MishMashLabs 2 жыл бұрын
Hi, yes I believe so as its 3-32v. Refer to the datasheet and make suer the current required to activate the relay can be supplied by the device you are using
@shoppingoneclick2044
@shoppingoneclick2044 2 жыл бұрын
Can you modify the code too take input temperature value used for comparison? SV set value compared with PV (present value from thermocouple) Can SV through capastive keyboard? Or keypad ?
@francovillarreal7266
@francovillarreal7266 2 жыл бұрын
Yes, you can modify the code as you want
@FYI.96
@FYI.96 3 жыл бұрын
we can use the same code for turning on/off a water heater system instead of the lamp...right ?
@MishMashLabs
@MishMashLabs 3 жыл бұрын
Yes absolutely.
@bartverboom6612
@bartverboom6612 2 жыл бұрын
@@MishMashLabs Yes and I tried that one to, but I got constantly the reading; ̈ c" is not declared in this scope... and I don't get what I am doing wrong
@Vellz08
@Vellz08 Жыл бұрын
sir why my lcd display is error when the relay got load?
@WouterGrimmie
@WouterGrimmie 3 жыл бұрын
I'm probably an idiot, but if I apply similar "if/else statements" with a TMP36 the relay keeps switching on every second (because of the delay), even if it is already on... Guess some more endless googling is in order! :(
@techmagic7435
@techmagic7435 3 жыл бұрын
Bro......how to safe my access point of NodeMCU......it must secured.......plzzz...give a video about it
@MishMashLabs
@MishMashLabs 3 жыл бұрын
We are currently developing some NodeMCU applications on the ESP range. What exactly did you have in mind?
@iuvalclejan
@iuvalclejan Ай бұрын
Isn't there a more simple way to do this with thermostats?
@dem3a538
@dem3a538 2 жыл бұрын
do you know how to control a heating element with certain set point with timer?
@francovillarreal7266
@francovillarreal7266 2 жыл бұрын
Just replace the light bulb with the heating element and code it to turn on whenever the temp on the sensor is lower than the set temperature
@earhlemmanuelacedilla4346
@earhlemmanuelacedilla4346 Жыл бұрын
@@francovillarreal7266 Hey, can i integrate a Knob here and set a value to control the heating element?
@sarmientolorenzers.7887
@sarmientolorenzers.7887 2 жыл бұрын
Hi, is your power supply connected to the bulb is 220v?
@MishMashLabs
@MishMashLabs 2 жыл бұрын
In this case yes, but you can change the bulb to one rated for another build thefore changing the supply if it's an issue. For example 12v, 24v, 48v or 110v bulbs and suppy
@sarmientolorenzers.7887
@sarmientolorenzers.7887 2 жыл бұрын
@@MishMashLabs thanks a lot❤️
@caturhermawan2190
@caturhermawan2190 3 жыл бұрын
How much it cost to make like this?
@MishMashLabs
@MishMashLabs 3 жыл бұрын
Approximately 10 euro, all parts can be bought on Aliexpress
@narayananeshwaran1753
@narayananeshwaran1753 3 жыл бұрын
Can you share the code
@MishMashLabs
@MishMashLabs 3 жыл бұрын
Hi, The code is linked in the description, but you can also follow this link: github.com/mishmashlabs/MAX31855_LCD_Relay/tree/main/Thermocouple_with_LCD_and_Relay
@jyaniharshil5585
@jyaniharshil5585 2 жыл бұрын
Hey brother can you tell me the code for my project . ds18b20 temperature sensor , LCD 16×2 , arduino UNO & fan , all connected . As the temperature rises , fan goes fast or Start rotating and if temperature goes low , fan slows or stops down...
Automate A Fan: Arduino + Relay + Temperature Sensor
11:58
Techplant
Рет қаралды 88 М.
How To Make Digital Temperature Controller
13:12
Kiyani's Lab
Рет қаралды 46 М.
Measuring Temperature with Arduino - 5 Sensors
29:55
DroneBot Workshop
Рет қаралды 141 М.
How to Build an Arduino PID Temperature Controller with MAX6675 IC
3:51