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

แชร์
ฝัง
  • เผยแพร่เมื่อ 2 มิ.ย. 2024
  • 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:
    th-cam.com/users/playlist?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

ความคิดเห็น • 36

  • @tenapier
    @tenapier 3 ปีที่แล้ว +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

  • @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 11 หลายเดือนก่อน

    excellent video

  • @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

  • @earhlemmanuelacedilla4346
    @earhlemmanuelacedilla4346 ปีที่แล้ว

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

  • @user-yp5yx1pt7r
    @user-yp5yx1pt7r 3 ปีที่แล้ว

    Thank you very much

  • @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?

  • @akierum
    @akierum 10 หลายเดือนก่อน

    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!

  • @rajartsandexperiments5092
    @rajartsandexperiments5092 9 หลายเดือนก่อน

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

  • @marlonvelezrocha9128
    @marlonvelezrocha9128 11 หลายเดือนก่อน

    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 ปีที่แล้ว

    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 ?

  • @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

  • @abdulrahmanchoughary3017
    @abdulrahmanchoughary3017 3 ปีที่แล้ว +1

    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 2 ปีที่แล้ว

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

  • @sarmientolorenzers.7887
    @sarmientolorenzers.7887 2 ปีที่แล้ว +1

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

    • @MishMashLabs
      @MishMashLabs  2 ปีที่แล้ว +1

      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❤️

  • @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?

  • @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?

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