In this article we discuss 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.


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.
To increase the temp that triggers the relay would you increase or
decrease the value of RV1 ? I am trying to get it to trigger around
100 to 110 degrees C. Using an NTC 10K thermistor.
Thank You
To increase the temperature range you will have to move the RV1 slider more towards the R1 resistor.
How important is the coil resistance to circuit operation? I am considering using your circuit
to monitor an onboard thermistor on an RGBW high-power LED module. I want it to cut power
to the module if the temp rises to 100 degrees C. There are 2 relays I am considering using. One has a coil resistance of 720 ohms, the other has a coil resistance of 1.2K ohms. Both are 12 VDC.
The coil resistance of the relay is not important as long as it is higher than 200 ohms. Your relays will have no problems with this circuit.
Sir can I add something more to make it more safe and efficient?
Neeraj, The above circuit is safe and efficient, there’s nothing to be added. If you want more efficiency then you will have to use an opamp circuit.
Sir the whole circuit it working perfectly. But I need it to be high temperature cut-off after full turning the potentiometer i can only get cutoff on just 50°c but I need it to be around 80°c or above and also for these high-cutoff did i have to change the value of the potentiometer ?
answer me as soon as possible sir
Neeraj,
You will need to use a different thermistor, with different range.
could you suggest me ? and did i have to change anything in the circuit?
Please don’t use a new thermistor, instead try reducing the R1 68K resistor value to 47K….
nope sir now it’s 60-65 maximum range ! it should have to be around 80 or 90 in order to cutoff at 70 probably! can I change resistance of the r1 ? please suggest me
OK, please reduce R1 to 33K and check….
I have 30k so after testing with it it worked perfectly fine ☺️ thanks sir ! still did i have it continue on the 33k ? sir !
That’s great Neeraj, no need of 33k, you can continue with 30K, it’s fine.
did i have to add anything else? sir ?
There’s nothing to add or change in the existing setup, except your 30K resistor.
Problem sir after changing resistance and testing it with full voltage the MOSFET was heating madly and it is shorted ! I have changed it and got the same results ! Why ??? !!
Your MOSFET has nothing to do with the R1 resistor. MOSFET can burn either due to overload by the heater or if it is faulty…
Nope sir tried everything changed the MOSFET and everything but the same results! MOSFET is heating up so fast and I am using heater at 24v at starting 15a and at continuous mode will be around 8a but as per the datasheet of the irf540n it can easily take upto 33a and at 100°c 23a !
Confusing 😅
Neeraj, I hope you are using the following diagram:
https://www.homemade-circuits.com/wp-content/uploads/2023/01/mosfet-thermistor-controlled-automatic-temperature-controller-circuit.jpg
Do one thing, connect a 1K resistor in series with the MOSFET gate, and connect a 10uF/25V capacitor between the gate and source of the MOSFET.
Yeah but with lm7812 regulator ic but could you show me how to connect them all !!!! It’s a bit confusing to me ! Sorry for the problem 🙏 please!
Neeraj, please check out the diagram below:
https://www.homemade-circuits.com/wp-content/uploads/2023/11/heat-controller-using-mosfet-and-thermistor.jpg
Whats the polarity of the capacitor and sir i am using 10uf/63v capacitor is it good ?
Sorry, I forgot to add the capacitor at the MOSFET gate, can you add it yourself?
Positive of the capacitor will go to the gate of the MOSFET and the negative of the capacitor will go to the ground line or the source.
Also add a 1K in series with the MOSFET gate. 10uF/63V is fine.
Nothing happened sir same as before after adding capacitor and resistor and now it’s not even sensing temperature!
This problem could be solved months ago but my lazyness killed me ! Sorry for the problem sir !
Now tell me what should I do !
Is there any circuit that will be 100% efficient and effective?
Neeraj,
the following circuit which i suggested you is 100% efficient, but the problem is that you are not able to troubleshoot your circuit yourself.
https://www.homemade-circuits.com/wp-content/uploads/2023/11/heat-controller-using-mosfet-and-thermistor.jpg
Is the LED illuminating when you press the push button?
Yeah led is working properly and the push button also ! But not the temprature sensing and MOSFET us heating also so rapidly
Remove the MOSFET and the load, check the LED response by heating the thermistor with soldering iron. The LED should shut off quickly due to heat sensing, which would confirm that your thermistor and Q1 are sensing heat.
If the above works that means your MOSFET is faulty.
Ye wala sir
https://www.homemade-circuits.com/wp-content/uploads/2023/01/thermistor-circuit-with-latch.jpg
But previously you said it was working perfectly, right?
When you press the button, Q1 must be in the conducting mode, only then Q2 will latch. Adjust RV1 such that Q1 is slightly in the conducting mode while the button is pressed.
sir it happened after applying the heat it went off but the temperature cutoff range is so high because of this I have to turn the pot to the down level!!
That means your temperature sensing is working, but mosfet is not working….so the problem is with the mosfet not with the circuit
You can replace the mosfet with a tip35 transistor and check the response.
TIP35 will also become hot because your load is very high current, so you will have to use a heatsink.
Remember to use a 100 ohm 2 watt resistor in series with the TIP35 base, otherwise it will burn.
The best option is a relay…which will never become hot…
so if the relay is best option then why shouldn’t I go for it !
leave MOSFET how to connect relay because the current at the load will be too high at the starting point it can be around 15a and at the normal state it can be around 8a so i think relay is the most effective!
but a small size relay ! and with it will not much hectic!
Neeraj, I never recommended a mosfet to you, it was your requirement.
For 15 amp current you will need a 20 amp relay which will not be small unfortunately.
but the 15a only will be just for not more then 30sec after that there is a fast decline in amps ! and after a 1 min the constant amps is not more then 8a I have tested all the stuffs ! the whole power to the heater is not more then 360w and it will decrease so faster when the heater will heat up ! so i can I use 30v 10a relay !!!!!!!
If you use 15 amp current on a 10 amp relay contact even for for a second, the relay contacts can get fused or burned.
You can try it and see if that works for you.
sir so which relay should I use ! ?
24v 15a or 30v 20a ?
You can use 24V 20 amp relay.
sorry sir but there are so many relays in the market and i couldn’t find the right one 6pins or 5 pins or other !? which one should I use ? and how do I connect it in the circuit? where the NC and NO should be connected?
Neeraj, search for 24V, 20 amp spdt 5 pin relay.
Afterwards i will show you how to connect it.
sir 24v 20a is not available in the market should I go for 16a ?
OK that will do.
Neeraj, you don’t need a 24v relay you can use a 12v 20 amp or 16 amp relay…
Sir, there is a new problem. The push button function is not working. The module only turns on when I hold down the push button. If I remove my finger, the module turns off
Neeraj, earlier you said that the circuit was working fine and you were happy with the results and now you are saying it is not working?
Which circuit are you referring to exactly? Is it the following one:
https://www.homemade-circuits.com/wp-content/uploads/2023/03/thermistor-heater-controller-with-7812-IC.jpg
sir I have bought 30v 30a relay with six pin T90 can I work on this for now ? ???
Neeraj,
From where will you get 30V for operating the relay?
Please return it and bring a 12 V 20 amp or 25 amp or 30 amp relay.
The 24V for heater can be configured with the N/C, N/O contacts of the relay.
sir I got the the T74 relay 12v 20a 5pin. Now can you please tell me how to connect it the the circuit board and if it’s a possible then please make a diagram I can understand easily! please 🙏🥺
Hi Neeraj, you can try the following updated diagram:
https://www.homemade-circuits.com/wp-content/uploads/2023/12/automatic-temperature-cut-off-using-relay-and-thermistor.jpg
sir did i have to use same MOSFET or another one ?
There is no MOSFET in the diagram, the relay driver is a BJT 2N2222…
and what about gnd of the 7812 ?
ground will connect with the negative supply line.
Sir, will a 100K thermistor work in place of a 10K thermistor.
Neeraj, a 100k THermistor will not work in place of a 10K thermistor.
I am giving my heater a 240W, 24V, 10A power supply, but it seems like the module is gradually stopping. Why is this happening?”
Help sir
Sorry, I cannot solve your heater problem, because the problem may be with your heater which I cannot check.
Sir, I am providing 10 amps of current to this module. Will there be any problem with that?
As long as the voltage is within 24V , 10 amps will not cause any problems.
Sir kya me 78xx ic ko step down module ke tarah use kar sakta hu kya ??
78XX is a voltage step-down IC. Use it as I showed you in the previous diagram.
Wese agar 7812 ic add karna ho to kese kare koi circuit diagram??
You can do it in this way:
https://www.homemade-circuits.com/wp-content/uploads/2023/03/thermistor-heater-controller-with-7812-IC.jpg
There is no problem as such, but the potentiometer needs to be turned down slightly.
OK, then no problems, you can continue with 24V.
Sir The maximum cut-off temperature range
If you change the voltage then the maximum range setting will be altered. Use 24V for the heater, and use a 7812 IC to step down the 24V to 12V, and use this 12V to supply the transistor circuit.
Sir, the module you provided was working perfectly fine, but if I provide high voltage to it, like 24 volts, its maximum temperature increases. However, if I provide 9 volts, its maximum temperature decreases. Why does this happen?”
Neeraj, which maximum temperature are you referring to? The maximum cut-off temperature range or the temperature of the transistors?
Hello sir
I needed some help. MP1584EN is a step-down DC-to-DC module, and I am not able to determine the resistance value of the capacitor in it. Can you help me with this?”
Hello Neeraj,
You can refer to the following article for the complete circuit diagram:
https://www.homemade-circuits.com/ic-mp1584-datasheet-and-circuit-diagram/
hello sir Hume ek temperature control module bana tha jo timer module ke tarah Kam kare jese timer module me hota ha ek baar time set Karo start Karo or wo module siraf uthane time tak hi chalta fir band ho jata par kisi bhi temperature module me esa nahi ha uun me pahale upper limit set karna hoga fir lower limit fir wo kam karta ha par hume sirf ek temperature set karna ha or fir agar hamara module wo temperature reache kar le to bass off ho jaye dubara chalane ke liye hume fir se timer module se tarah start botton dabana hoga ye module hum cold to heat ke liya bana rahe the heater ke liya ke bass ek desired temperature reache karke wo off ho jaye
help sir please
Hello Neeraj, so you want a latching type of temperature controller circuit where the relay will switch OFF and “lock”, and remain locked until power is switched OFF.
You can upgrade the above circuit in the following manner:
https://www.homemade-circuits.com/wp-content/uploads/2023/01/temperature-detector-with-latching.jpg
can we add a puch to start botton in this circuit diagram and instead of relay can we use MOSFETs ?
sorry push button will not be possible. Yes mosfet is possible…
OK I will try to design that type of circuit tomorrow
sir please puch bottom ko add karna nahi to koi sa bhi botton chalega start karne ke liya
please!
You can try the following circuit:
https://www.homemade-circuits.com/wp-content/uploads/2023/01/temperature-controller-with-mosfet-latch.jpg
Sorry, I don’t think this will work. This will turn ON and latch the mosfet when the temperature reaches the limit. Please let me know what type of load do you want to connect on the mosfet?
ek 12v 5amp ka heater
OK, I will try to design it soon.
thank you sir par thoda jaldi karna or aapna UPI bhi mail karna kyuki Hume aapko design ke liya thank you money bhi sand Krna hoga 😊
Please build and test the following setup. If you are successful then I will show you how to integrate a MOSFET with heater in this circuit, such that the MOSFET shuts off whenever the thermister is heated upto a certain high temperature.
https://www.homemade-circuits.com/wp-content/uploads/2023/01/temperature-cut-off-indicator.jpg
In this circuit when you heat the thermister, at some point, depending on the setting of the RV1, the SCR will switch ON and “Latch”, illuminating the RED LED permanently.
sir circuit diagram me RV1 4k7 kya hai ? (potentiometer) ??
Preset hai:
https://www.homemade-circuits.com/wp-content/uploads/2015/09/preset-2.jpg
Neeraj,
there’s a fault in the following circuit:
https://www.homemade-circuits.com/wp-content/uploads/2023/01/temperature-cut-off-indicator.jpg
The line going down from SCR gate to ground must have a 1uF capacitor in the line.
Please add the capacitor.
thik hai me capacitor add kar lunga par maaf karna me aap ko pareshan kar Raha hu par iis me load kese connect kare? or SCR ki value Kiya hogi ?
Load will connect with MOSFET, which is not added yet. Please test with LED first, if it works then I will show you how to connect MOSFET with SCR.
SCR can be BT169.
https://media.digikey.com/pdf/Data%20Sheets/NXP%20PDFs/BT169_Series.pdf
or kitane voltage ka capacitor?
1uF/25V capacitor. Positive will go to SCR gate and negative will go to ground.
Power supply to circuit can be between 6V to 12V
When power is switch ON, Q1 will be ON, so SCR and LED will e OFF.
When you heat the thermister, Q1 will become OFF, and ScR will trigger ON and lock and LED will be ON
sir led on hue thermistor ko heat karne ke baad par jese hi thermistor normal temperature par aaya led off ho gayi ! Sara circuit to sahi Kam Kiya par mugha ye samajh nahi aa raha kyu ek normal temperature per aane par led off ho gayi led ko to permanently on rahana chahiye tha na jab tak me power supply na hatha du
solution sir ?
Neeraj,
Since an SCR is used it should latch up once triggered. SCR jab DC pe kaam karta hai, gate par positive trigger paate hi LOCK ho jata hai. Tumahare cirucit mein SCR latch kyon nahi ho raha hai samajh mein nahi aaraha.
https://www.homemade-circuits.com/wp-content/uploads/2023/01/scr-triggered-thermister-circuit.jpg
How much DC voltage did you use?
Try 12V DC.
agar yeh kaam nahi kar raha to dusra circuit try karna padega…
9v wali battery use kar raha hu
9V to theek hai, kaam karna chahiye.
mene scr ke gate per 1uf 63v ka capacitor lagaya ha iis se to koi dikkat to nahi
1uF ko nikaal de dekho kya hota hai.
Aur LED ka 1K par aur ek 1K parallel mein lagao.
sir koi or solution capacitor ko hata kar bhi dekha kuch nahi huua same result koi or circuit diagram hoga ? agar nahi to Iis circuit me MOSFET or heater add kar do !
Without SCR any other circuit will be with 5 transistors with latch, OK?
If you use relay it will very easy to latch….
sir agar relay lagane ne se latch aasan ho jata hai to relay hi laga lenge relay wala circuit diagram bata do
OK, if relay circuit is OK then first make the circuit exactly as ahown in the above article. If your circuit works correctly and operates the relay, then I will show you how use the relay contacts to latch the circuit and to operate the LOAD
or sir iis circuit diagram me MOSFET or heater bhi add karna wese me heater ko 24v 10amp ke power se connect karta hu yeh module itna load sah sakat hoga ?
If you are using a relay then MOSFET will not be required.
sir mugha laga ki mene circuit hi galat joda hoga par for se naye comments ke sath circuit diagram banaya to wahi answer Mila ek high to temperature par aane ke baad led on to ho jati ha par jase hi normal temperature per thermistor aata ha led of ho jati ha scr bhi change karke dekha fir bhi!
me relay nahi lagana chahta
Neeraj, I have tested many ScR latching circuits and they all have worked for me. You can try the following setup to test whether your SCR is latching or not:
https://www.homemade-circuits.com/wp-content/uploads/2023/01/SCR-latching-tester.jpg
If it does not latch that means your SCR is faulty.
I have designed another transistorized latching circuit for you which you can try:
https://www.homemade-circuits.com/wp-content/uploads/2023/01/thermistor-circuit-with-latch.jpg
sir ek baar aap hi try karke dekha please 🥺 humra project ruk Raha ha please help Karo
sir kya hum iis me diode miss kar rahe ha kya ?
where do you want to connect the diode?
sir kaam kar gaya mene power supply change karke dekha to fir scr Kam kar gaya aab batao MOSFET or heater kese add kare ?
OK, so the SCR latch is working now, good. Now connect the MOSFET to the SCR in the following manner:
https://www.homemade-circuits.com/wp-content/uploads/2023/01/MOSFET-latching-thermistor-circuit.jpg
sir me iss module se 24v 10amp ka current pass karunga iis se koi dikkat to nahi hogi na ?
First try with 12V, if it works successfully then try with 24V. Or pass 12V to the circuit, and 24V to mosfet heater separately. Grounds will be common.
sir ek problem aa rahi ha mene sub jord Diya circuit diagram ke hisab se par fir bhi
jase hi me module ko power supply se connect karta hu scr wali led on ho jati ha or ager me zener or MOSFET ke connection ko scr ke A Wale pinout se hata ta hu sab theek ho jata ha esa kyu ?
or jo connection heater ke liye nikale the uun me bhi voltage show kar Raha ha Bina heating ke hi
Put a 1N4148 or 1N4007 diode between SCR anode and MOSFET gate and check the results. Make sure you have connected the MOSFET pins correctly. You can also try a BJT instead of a MOSFET to confirm the results. For BJT you an try TIP35
sir ye 2 transistor wala circuit bohot aache se Kam kar Raha ha bilkul wese jesa mugha chaiye tha sir aab iis me load kese connect kare ?
So you are saying that the following circuit is working perfectly for you and you want a connect a MOSFET switching with it? I will have to think about it. I will let you know soon:
https://www.homemade-circuits.com/wp-content/uploads/2023/01/thermistor-circuit-with-latch.jpg
ok sir
You can try the following modification:
https://www.homemade-circuits.com/wp-content/uploads/2023/01/mosfet-thermistor-controlled-automatic-temperature-controller-circuit.jpg
sir MOSFET ke jagah BJT lag sakta hai ? mugha MOSFET suit nahi kar raha BJT kese add kare ?
You can replace the mosfet with BJT. Connect base where mosfet gate is connected, connect emitter to ground, and connect the collector same like drain of the mosfet.
Base must have a series resistor. Try 1K first.
sir mene MOSFET ke gate ko resistor se connect Kiya source ko ground se or drain ko heater se par fir bhi MOSFET pure circuit ko direct kar de Raha ha esa kyu ?
This circuit is 100% correct and should work, I don’t know why it is not working for you?
https://www.homemade-circuits.com/wp-content/uploads/2023/01/mosfet-thermistor-controlled-automatic-temperature-controller-circuit.jpg
Replace the mosfet with a BJT like BC547 and test with an LED. Make sure to connect a 1K resistor with the base and 1K with the collector LED.
sir koi farak hi nahi pada bjt bhi laga ke try Kiya MOSFET change karke bhi try Kiya par kuch nahi huua! aab kya karu sir
jaha me rahata hu waha se mugha 15-16 km Jana padta ha ye sab parts lene sir koi esa solution batao ki me isse aache se or jaldi se bana lu please 🥺
Neeraj, did you try the following setup first?
https://www.homemade-circuits.com/wp-content/uploads/2023/01/thermister-latch-circuit-using-BJTs.jpg
If Q1, Q2 stage is latching perfectly for you then adding Q3 should also work.
When Q1 and Q2 latch, it will activate Q3 also.
When thermistor is heated, the latch will break, Q1, and Q2 will shut off, which will also force Q3 to shut off.
This must work.
sir mene kuch derr baad fir try Kiya or ye kam kar gaya
sir agar aap karib hote to me aap ke charan sparsh karta aap ne ek aajnabi ki iitani madad ki uus ke Kiya tahe dill se thank you
sir me wada karta hu ki agar aap ko koi Kam ho mere mutabik to mugha jaroor yaad karna
THANK YOU 😊
Thank you Neeraj,
No problem at all, I am always glad to help! I am glad the circuit is working now. For connecting heater just replace the BC547 with TIP142 and replace LED/resistor with Heater wire.
https://www.homemade-circuits.com/wp-content/uploads/2023/01/latching-heater-controller-thermistor-circuit.jpg
If you have any further questions let me know.
sir iis module me kese pata kare ki highest temperature kitna set huua hai ?
Neeraj, You will have to use a temperature meter to measure the temperature and check at what RV1 preset setting the circuit cuts off or trips.
sir capacitor ko nikal ke bhi dakha kuch nahi huua sab same hi ha koi naya circuit diagram do na jo kam kare please 🥺
Neeraj, That means your SCR is faulty or your SCR connections are wrong, because SCR will 100% latch with DC trigger.
Sir give out the steps followed in this project,2nd how could I test the product
Kevin,
The setting procedure is explained in the article.
Hello sir,
Good morning sir, I cheked your circuit diagram , wonderful and very helpful,
But sir , I need 5 volt 100 amps dc circuit diagram with transformer for led bunch lights, if you provide me circuit diagram its very helpful to me.
thanks sir,
I am waiting for your reply.
Hello Mohd.
What is the LED specifications, meaning what is voltage and current specifications of the LED and how many LEDs do you want to connect. However, getting a 100 amp transformer can be almost impossible.
Hi, good morning!
I have a question.
What’s TH1 value?
Kind regards!
João Almeida
Hi,
TH1 value can be a 10K thermistor
Hi Patrick,
I appreciate you question, but think your question is asked under a wrong article, it should have been asked under an automotive article.
Anyways I have found a related circuit from an old magazine, you can check out this diagram:
I have another design posted in the following link:
https://www.homemade-circuits.com/automobile-engine-rpm-servicing-meter-circuit-analogue-tachometer/
Please, your component designation confuse me. I do understand 68K or 22MFD or 22ufd but when you mix in another format such as a 4k7 resistor or a 2u2 capacitor, I am not sure what the value is, please explain.
Thank you so much for the vast number of circuits you have punlished JACK
Hi, thanks for the question, I will explain you what they mean.
4k7 = 4.7 kilo ohm
2u2 = 2.2 microfarad
Thank you sir. then why the two different ways of expression? What is wrong with sticking with the old traditional method such as: 1.5 ohms or 33uuF. how would they be identified this other way?
You are welcome Jack, there’s no problem with the traditional method, however, the new method allows the value to look compact in size
Thank you sir, I do understand. Have a nice weekend, OUT
You too have a great weekend Jack, all the best to you!