• Skip to main content
  • Skip to primary sidebar

Homemade Circuit Projects

Need circuit help? Post them in the comments! I've answered over 50,000!

Blog | Categories | About | Contact | Calculators-online
You are here: Home / Temperature Controllers / Temperature Controlled Relay Switch Circuit

Temperature Controlled Relay Switch Circuit

Last Updated on January 2, 2024 by Swagatam 223 Comments

In this article I have explained a simple temperature controlled relay circuit which can be switched ON/OFF depending on the temperature on its temperature sensor.

Meaning, when the temperature on its temperature sensor rises above a set threshold point, the relay switches ON, and when the temperature drops below the threshold, the relay switches OFF.

Any load connected across the relay contacts thus also switches ON/OFF depending on the temperature level of the sensor.

Using a Thermistor

Clearly for this temperature switch relay circuit to work we require some sort of electronic sensor whose characteristics change with temperature.

You will find a couple of primary types of components that exhibit ideal temperature sensing qualities: semiconductor junctions and thermistors.

For this circuit we have decided to work with a thermistor.

Thermistors are exclusive varieties of resistors constructed from heavy metal oxides and built to possess highly varying "resistance versus temperature" properties.

Circuit Description

The following figure exhibits our simple temperature controlled relay switch circuit, which even with its ease-of-use has the ability of providing precise and dependable results over an extensive range of temperatures.

temperature controlled relay circuit
Thermistor TH1 can be any 10K NTC thermisor

The preset, RV1 enables the working temperature to be established, and is tweaked to make sure that below the preferred cut-off point, the voltage across base of Q2 is adequate to allow it to be in the switched on condition.

As the thermistor temperature increases, the voltage around the base of Q1, which is extracted from the resistive divider network comprising of R1,R2, RV1 and TH1, starts falling, ultimately permitting Q1 to turn off.

The moment Q1 turns off the voltage around the base of Q2 goes up and the relay is switched on.

The diode, D1 delivers temperature compensation to the a pair of transistors, and C1 functions like a back EMF preventer for the relay. As indicated in the diagram, the circuit temperature range could be anywhere around 35 to 100 degrees centigrade.

As long as the relay is in an inactive condition, the current draw of the circuit is very little at around 2 to 3mA. Therefore, the circuit could be powered from either battery packs,or a tiny DC power sources.

Construction

A straightforward circuit which is explained here might be constructed over a tiny PCB. When constructed, the circuit must be two times inspected for proper positioning of diodes, transistors and capacitors, and only after that should be powered ON.

The thermistors possess no built-in polarity, and could therefore be hooked up without worrying about its direction.

How to Set Up

To set up the circuit, adjust the preset RV1 to roughly at the midway, and then slightly heat up the thermistor using some sort of external heating source, for example you can take a light bulb, or a soldering iron in close proximity to the thermistor.

Within a few seconds you should find the the relay clicking ON and any kind of device connected to the relay contacts could be seen switched on.

Next, as soon as the heat source moved away from the thermistor, the thermistor will start cooling down, until its temperature decreases below the trip-point and the relay switches OFF, turning off the connected load.

Applications

The relay output of this temperature controlled relay circuit could be attached to either an alarm device, or any kind of heating system, or cooling system.

For example the circuit could be used for switching ON a cooling fan as soon as the temperature is detected to be beyond a high threshold.

It could used for cooling heatsinks or for cooling semiconductor devices in inverters.

While picking out a appropriate location for the temperature sensor, be cautious to stay away from putting it in a situation where it will likely be exposed to external heating agents.

You'll also like:

  • inductionInduction Heater for Labs and Shops
  • TEMPERATURECONTROLLEDMOTORTemperature Triggered DC Fan Speed Controller
  • incubator2BheaterEmergency Incubator Heater Circuit with Battery Charger
  • solar ater heater regulator for drip irrigationSimple Greenhouse Temperature Regulator Circuit

Filed Under: Temperature Controllers Tagged With: Controlled, Relay, Switch, Temperature

About Swagatam

I am an electronics engineer and doing practical hands-on work from more than 15 years now. Building real circuits, testing them and also making PCB layouts by myself. I really love doing all these things like inventing something new, designing electronics and also helping other people like hobby guys who want to make their own cool circuits at home.

And that is the main reason why I started this website homemade-circuits.com, to share different types of circuit ideas..

If you are having any kind of doubt or question related to circuits then just write down your question in the comment box below, I am like always checking, so I guarantee I will reply you for sure!

Previous Post: « Electronic Cricket Sound Generator Circuit
Next Post: DC Lamp Dimmer Circuit using IC 555 »

Reader Interactions

Comments

Lisborn says:
November 1, 2024 at 7:55 am

Thanks for the good work.
Please how can this circuit diagram be adjusted to activate the relay at 37.8°C and deactivate it at 37.6°C?
Thanks in anticipation.

Reply
Swagatam says:
November 1, 2024 at 8:25 am

It is not possible to get such sharp accuracy from this design.
You might need to modify one of the following circuits, for getting that much accuracy:
https://www.homemade-circuits.com/making-simplest-room-thermometer/

Reply
Lisborn says:
November 1, 2024 at 5:29 pm

Thanks Swag.
I checked the link you suggested (https://www.homemade-circuits.com/making-simplest-room-thermometer/) and found thermometer projects, but the one I am requesting for should be a thermostat project instead since it switches the relay on and off at different temperatures.
Please, if you can help, I will be very grateful Sir.

Reply
Swagatam says:
November 2, 2024 at 8:31 am

Hi Lisbon,
“….activate the relay at 37.8°C and deactivate it at 37.6°C”
These are not two different temperatures, they are almost the same, with a difference of just 0.2 °C, this can be achieved only through an IC based temperature sensor and an opamp based driver.
If you add a relay to one of the thermometer projects then it will do the job exactly as you have specified.
Please build and this design and let me know, then we can add a relay to it afterwards.
https://www.homemade-circuits.com/wp-content/uploads/2019/05/room-thermometer-using-LM324.jpg
Explanation is given in the thermometer article.

Reply
Victor Braun says:
February 7, 2024 at 11:08 am

Hi. I can solder up a circuit but not able to design one effectively.
I have a 12V/3A water pump that I am going to use to circulate water from a diy heat panel on the roof to the hws under house. I want to use a supercapacitor to do the heavy lifting driven from a 36V solar panel with a buck converter on it. I want to use a relay that would switch the capacitor ON for the pump when the voltage is, say, 15V and then switch OFF if the voltage drops below, say, 9V. I don’t want to burn the pump motor out with under voltage during dim light hours.
i am guessing that the circuit would be simple but is beyond me. Thank you, in advance. Vic.

Reply
Swagatam says:
February 9, 2024 at 6:31 pm

I have designed the required circuit, you can view it under the following link. If you have any further questions please feel free to ask.
https://www.homemade-circuits.com/wp-content/uploads/2024/02/solar-motor-controller-circuit.jpg

Reply
Victor Braun says:
February 10, 2024 at 3:48 am

Swagatam
What a great service you provide! The work you do isn’t work. It is best very best form of play. It must give you great pleasure to use your brilliance to provide solutions to the many problems people have.
Thank you very much.
I will begin gathering components and solder it up. I will let you know how it goes.
One question. Are D1 and D2 special types of diodes?
Victor

Reply
Swagatam says:
February 10, 2024 at 8:50 am

You are most welcome Victor,
D1, D2 are standard zener diodes.
P1 and P2 are presets or trimpots. P2 is connected with pin#6 of the IC.
P1 and P2 can be set in the following manner:
Keep P2 disconnected initially.
Rotate the slider arm of the P1 preset completely towards ground or R2.
Feed 14V or 15V DC from the super-capacitor side. Now, slowly adjust the P1 preset until the relay just clicks ON (D3 is illuminated). If you have problems, try removing R2 and replace it with a short.
Next, connect P2 back and adjust its slider so that its resistance becomes minimum or 0.
Now reduce the 15V DC down to 9V, and adjust P2 again so that the relay just turns OFF (D3 shuts off).
P1, P2 setting may interact with each slightly so you may have to tweak the setting a few times until the right balance is achieved.
The setting up is now complete.

Reply
Victor Braun says:
February 24, 2024 at 11:05 am

Hi Swagatam
We have had some fine weather so have been in the paddock working. Today was showers so I decided to have some fun with the cct. I played with it in stages so that I could try to understand how it all works and mostly OK. For testing, I am using a 13V battery with a buck as my variable supply and set the upper limit to 12V and lower at 9. Once ON at 12, I slide it down to 9 and it switches OFF – as it should. However, it will not turn on again when I slide it back up to 12+. It only switches on again if I briefly remove the feedback loop and reinsert it and then the cycle repeats. Removing the capacitor had no effect. Any ideas? I will keep playing with it tomorrow as showers again predicted.
Have a great day.
Vic

Reply
Swagatam says:
February 24, 2024 at 2:08 pm

Thanks Victor,
Yes, the P1, and P2 settings will interact with each other a bit, and therefore the hysteresis will need some extra effort in order to make the cut-offs accurate.
You can do one thing, reduce the R5 33k to 1k and replace the P2 preset with a 100k preset of a 220k preset, this will allow you to get wider range of adjustment for the hysteresis control.
Have a nice weekend.

Reply
Swagatam says:
February 7, 2024 at 2:06 pm

Hi, I can help you with the circuit design, however there are some confusions.
How is the super capacitor connected with the buck converter output? Are they connected directly with the output of the buck converter or through a relay? And where is the motor supply connected? Once the power is cut off at 9V, the motor should not be switched ON until 15V is reached, is that correct??
According to my understanding, it should be like this: Solar panel output connected to a buck converter, buck converter output connected to the super capacitors, this buck/super-capacitor output supply connected to an opamp circuit for detecting the low voltage at 9V which activates a relay for powering or turning off the motor.

Reply
Neeraj says:
February 5, 2024 at 4:52 pm

Hello sir I hope you are healthy and well ☺️
Actually I have a issue with is this because sometimes when I use this circuit that you have made for me is getting off without reaching the targeted temperature and some times it’s works fine but at another time after reaching targeted temperature it don’t off ! Relay don’t even switch why ?
Did you understood my point ☝️

Reply
Swagatam says:
February 5, 2024 at 6:07 pm

Hello Neeraj,
We have already made too many modification in your circuit so it can be difficult for me to understand the issue without practically checking your circuit.
Moreover, thermistors are not so accurate, so if you want more accuracy then you may have too employ an opamp circuit with LM35 IC.
https://www.homemade-circuits.com/wp-content/uploads/2023/05/LM35-heater-controller-circuit-diagram.jpg

Reply
Neeraj says:
February 5, 2024 at 6:59 pm

Hey why you didn’t give me earlier! It’s beautiful but how can I add Lm7812 ic?
And what about its efficiency and accuracy?

Reply
Swagatam says:
February 5, 2024 at 10:08 pm

You can add the 7812 between the +12v input supply and the positive line of the circuit. Meaning, the input of the 7812 will connect with the +12v DC, output of the 7812 will connect with the positive of the circuit, 7812 ground will connect with the ground line of the circuit.

Reply
Neeraj says:
February 6, 2024 at 11:39 am

I have a doubt ? I can see the relays connections are wrong! And the input voltage is 24v 15a 360w ! And where is the push button function ? And it will work like the previous circuit? After pressing the push button it will on and after reaching the desired temperature it will cut-off the power !

These are my Little doubts !

Reply
Swagatam says:
February 6, 2024 at 11:45 am

You can change relay/heater connections as per your requirement, just check whether the circuit is responding accurately or not.

Reply
Neeraj says:
February 6, 2024 at 11:54 am

Sir you are the genius person why don’t you change it ! It gonna make me confused and again I will come back to you again I know it’s a bit quacky! Sorry

Reply
Neeraj says:
February 6, 2024 at 11:52 am

What’s about other stuff like push button function and cut off functions ?

Reply
Swagatam says:
February 6, 2024 at 1:45 pm

Neeraj, You can try the following design:
https://www.homemade-circuits.com/wp-content/uploads/2024/02/heater-controller-using-lm35-and-push-button.jpg

Reply
Neeraj says:
February 6, 2024 at 1:51 pm

Okay sir ? i will update you as soon as possible ☺️

Reply
Swagatam says:
February 6, 2024 at 2:05 pm

OK!!

Neeraj says:
February 10, 2024 at 7:09 pm

Sir I got the problem! The 7812 is heating madly and push button function is not working and whole circuit is not working! I double checked everything every connection but still got this issue!

Swagatam says:
February 11, 2024 at 9:05 am

Neeraj,
It will surely work if you do it with proper understanding and in a step by step manner. The setting up procedure is important.
I will update the whole procedure in another article and I will let you know soon.
However, the 7812 heating cannot be eliminated. Therefore i would recommend you to use a 24V relay instead, which will allow the circuit to work directly from 24V DC source without the 7812.

Neeraj says:
February 11, 2024 at 9:16 am

Sir I will try to make it again with proper way and elimination of the 7812 is not needed because 24v relays are so heavy ! I will make this again with proper way ? thanks

Swagatam says:
February 11, 2024 at 10:02 am

Neeraj, 24V relay is not heavy, I would recommend using 24v relay only so that the circuit becomes very simple.
Please do not make the previous circuit, I will make it smaller, so you can try the new modified circuit.

Neeraj says:
February 11, 2024 at 10:04 am

Okay master I will wait for it

Swagatam says:
February 11, 2024 at 11:43 am

I have published it in the following link, you can check it out and if you have questions you can comment under this article.
https://www.homemade-circuits.com/lm35-ic-temperature-controller-circuit-with-push-button/

Swagatam says:
February 5, 2024 at 10:09 pm

It will be highly accurate.

Reply
Neeraj says:
January 7, 2024 at 12:28 pm

Hello sir btw first off all happy new year and I have a problem for you ! So I have tried 5v for the touch module but the whole circuit didn’t worked the temperature sensing function is not working and the touch module also it’s got straight on when connected to the power !

Reply
Swagatam says:
January 7, 2024 at 2:16 pm

Hello Neeraj,
Happy New Year to you!

I hope you have correctly integrated the following two circuits as per the given suggestions.

https://www.homemade-circuits.com/wp-content/uploads/2023/12/automatic-temperature-cut-off-using-relay-and-thermistor.jpg

https://www.homemade-circuits.com/wp-content/uploads/2023/12/how-to-connect-capacitive-touch-switch-TTP223.jpg

Firstly, are two circuits working normally when they are not integrated with each other.

Is the capacitive switch module working OK with the 4.7V zener, 4.7k resistor, from 24V DC input, without the BC557 connection?

Please confirm these.

Reply
Neeraj says:
January 7, 2024 at 2:23 pm

I have checked then when I connect them to each other and it’s works finely no issues but after that I bought lm7805 and added to the main temperature circuit in the circuit was working but the functions were not quite good after that I connect capacitive touch module with direct bc557 and it didn’t work as it should be ! Thats my issue your capacitive circuit worked super efficiently!

Reply
Swagatam says:
January 7, 2024 at 2:29 pm

Then don’t use 7805, use 7812 for the temperature sensor circuit…

Reply
Neeraj says:
January 7, 2024 at 3:28 pm

But I don’t wanna use another circuit for capacitive touch module ! Isn’t there any other way ! ☹️

Reply
Swagatam says:
January 7, 2024 at 4:38 pm

You will have to add the extra parts on the ttp223 as shown in the previous linked diagram, there is no other option.

Reply
Carlos says:
January 1, 2024 at 4:23 pm

Hello, good morning, first of all, happy new year 2024. I just need this circuit, but on the contrary… I mean, when the temperature rises beyond a certain value, the relay must be disconnected, turned off… Thank you very much. Best regards from Italy ??

Reply
Swagatam says:
January 1, 2024 at 7:56 pm

Happy New Year to You! I think you can replace R1 with the Thermistor, and replace the existing Thermistor point with a short, then it will do exactly as per your specifications.

Reply
Swagatam says:
December 25, 2023 at 6:50 pm

You can check the circuit with 5V whether it works or not? Then you can use 7805 to power the circuit and use a 5V relay to toggle the 24V heater.
By the way getting 5V for TTP223 from 24V is so easy, it can be simply done using a resistor and a zener diode.

Reply
Neeraj says:
December 25, 2023 at 4:52 pm

Wait a min what if we just lower the voltage of the temperature circuit from 12v to 5v and 5v is more then enough for ttp223 ! Can we do this ? If yeah then it will be more easy to use ttp223 ! I would like to know your thoughts ?

Reply
Swagatam says:
December 24, 2023 at 12:24 pm

You will have to use the ttp223 which is efficiently built…if you try to build it discretely it will create more problems to you and might not work, don’t do it…use the ttp module only as suggested earlier.

Reply
Neeraj says:
December 24, 2023 at 12:15 pm

Sorry i got overexisting look you have designed a remarkable circuit diagram for ttp223 to be used safely for temperature circuit but I am saying that if we use directly ttp223’s components in this temperature circuit as push button without adding much components then I can use it more efficiently! If you understood what I am saying than please consider and if not then leave it thanks ??

Reply
Swagatam says:
December 24, 2023 at 11:59 am

You wanted how to configure ttp223 with 24v dc and with the previous temperature sensing circuit for touch less capacitive operations…which I have already given it to you…not sure what is your exact requirement? If a direct touch is workable to you then you can simply touch the base of the bc557 to switch it on.

Reply
Neeraj says:
December 24, 2023 at 10:56 am

I think this circuit diagram of ttp223 can help

Reply
Swagatam says:
December 24, 2023 at 10:30 am

If you know which components are used in the TTP223, you can add it accordingly in your temperature sensor design.

Reply
Neeraj says:
December 24, 2023 at 9:48 am

What if , if we add this modules ic and capacitor in our temperature circuit? If yeah then there will much more efficient! Can we ?

Reply
Neeraj says:
December 23, 2023 at 3:17 pm

I have sanded you the link of the video!

Reply
Swagatam says:
December 23, 2023 at 3:15 pm

I have shown, +12v or +24v, 0V/GND, and “BC557 base” in the diagram….connect those points in your temperature sensor circuit.

Reply
Neeraj says:
December 23, 2023 at 3:06 pm

Okay I will do it but how to connect this circuit with the temperature circuit!

Reply
Swagatam says:
December 23, 2023 at 3:03 pm

If you touch bc557 base it will activate and latch…but your requirement is capacitive without physical touching and 3mm gap…not possible without ttp223 and the diagram I suggested.

Reply
Neeraj says:
December 23, 2023 at 2:57 pm

Sorry to say but i think sir it’s so messy ! Isn’t there any way that only one transistor generate frequency and after getting a little puch it will work as push button?

Reply
View Older Comments

Leave a Reply to Swagatam Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

circuit simulator image



Subscribe to get New Circuits in your Email



Categories

  • Arduino Projects (92)
  • Audio and Amplifier Projects (132)
  • Automation Projects (17)
  • Automobile Electronics (101)
  • Battery Charger Circuits (84)
  • Datasheets and Components (109)
  • Electronics Theory (148)
  • Free Energy (39)
  • Games and Sports Projects (11)
  • Grid and 3-Phase (19)
  • Health related Projects (25)
  • Home Electrical Circuits (12)
  • Indicator Circuits (16)
  • Inverter Circuits (94)
  • Lamps and Lights (157)
  • Meters and Testers (71)
  • Mini Projects (28)
  • Motor Controller (66)
  • Oscillator Circuits (28)
  • Pets and Pests (15)
  • Power Supply Circuits (90)
  • Remote Control Circuits (50)
  • Security and Alarm (64)
  • Sensors and Detectors (105)
  • SMPS and Converters (32)
  • Solar Controller Circuits (60)
  • Temperature Controllers (43)
  • Timer and Delay Relay (49)
  • Voltage Control and Protection (38)
  • Water Controller (36)
  • Wireless Circuits (30)





Other Links

  • Privacy Policy
  • Cookie Policy
  • Disclaimer
  • Copyright
  • Videos
  • Sitemap



People also Search

555 Circuits | 741 Circuits | LM324 Circuits | LM338 Circuits | 4017 Circuits | Ultrasonic Projects | SMPS Projects | Christmas Projects | MOSFETs | Radio Circuits | Laser Circuits | PIR Projects |

Social Profiles

  • Twitter
  • YouTube
  • Instagram
  • Pinterest
  • My Facebook-Page
  • Stack Exchange
  • Linkedin



Recent Comments

  • Swagatam on 3 Laser Beam Controlled Circuits Explored
  • ken on 8X Overunity from Joule Thief – Proven Design
  • Kim on 3 Laser Beam Controlled Circuits Explored
  • Swagatam on Making an Adjustable Electromagnet Circuit
  • Swagatam on Make this DC CDI Circuit for Motorcycles

© 2025 · Swagatam Innovations