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

preview_player
Показать описание
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:

How to display Thermocouple readings on the LCD can be found here:

The Arduino LCD Tutorial can be found here:

The MAX31855 board and K Type Thermocouple Arduino Tutorial can be found here:

And here is a playlist for the full project, a temperature controlled relay with LCD display:
We used the Arduino Uno, but this will work with all Arduinos, even clones.

#temperature #controlled #relay #tutorial #arduino #mishmash

Music Credits:
Рекомендации по теме
Комментарии
Автор

I hope you can keep making videos, your stuff is so excellent! You should have a million views and be teaching classes! Thank you!🙏

tenapier
Автор

Great tutorial. I wonder can you suggest a way to avoid bounce in the relay. ?

redtussock
Автор

Hello sir what is the use of potential meter.
And sir please can you and button to adjust the temperature

rajartsandexperiments
Автор

Hello, can you tell me the value of the potentiometer?

manuelfuentestoruno
Автор

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!

arthurmedina
Автор

is a low voltage relay an option? like if you wanted to send a 12v signal instead

DanielWeiszdood
Автор

What about head/cool thermostat with another relay that would turn on a FAN to cool down? Any help appreciated. !

akierum
Автор

Hey there! Can i use a knob here and insert a value that will control the heating element. Using your code?

earhlemmanuelacedilla
Автор

sir why my lcd display is error when the relay got load?

Vellz
Автор

Hi, is your power supply connected to the bulb is 220v?

sarmientolorenzers.
Автор

we can use the same code for turning on/off a water heater system instead of the lamp...right ?

FYI.
Автор

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.

marlonvelezrocha
Автор

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!

simonevilucchi
Автор

do you know how to control a heating element with certain set point with timer?

dema
Автор

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...

jyaniharshil
Автор

Isn't there a more simple way to do this with thermostats?

iuvalclejan
Автор

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

emmanuelgeorge
Автор

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! :(

WouterGrimmie
Автор

Can I use a SSR-40DA Solid State Relay Single Phase Semi-Conductor Relay in replacement of the 5VDC relay?

jordanlowe
Автор

to safe my access point of must a video about it

techmagic