• 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 / Simple Thermostat Circuit Using Transistors

Simple Thermostat Circuit Using Transistors

Last Updated on January 2, 2024 by Swagatam 25 Comments

The electronic thermostat explained here can be used to control the room temperature by appropriately switching (turning on and off) a heating device.

By: R.K. Singh

Operational details of electronic thermostat

The circuit employs a thermistor NTC (negative temperature coefficient) as the sensor device.

- As long as the ambient temperature stays higher than the value prefixed by the potentiometer, the relay correspondingly remains inactivate and the red LED may be seen lit.
- In an event of the ambient temperature getting lower than the set value, the relay is activated and the green LED is illuminated.

The potentiometer needs to be carefully adjusted in order to get the desired effects.

To adjust the proposed transistor thermostat circuit, the NTC is enclosed inside a glass tube and its leads are terminated out through long wires so that it can be placed over the desired location for the required sensing.

The circuit is set by placing the thermistor glass tube along with a mercury thermometer inside a container filled with melting ice water, and in the next procedure its placed at ambient temperature and finally close to a gas burner for implementing all the setting levels.

In each of the above mentioned cases, the point at which the green LED just lights up is located by gently manipulating the pot knob toward the maximum and marking it with a line over the knob dial in order to make the relevant temperature calibrations, these markings are then appropriately labelled with the respective temperatures which are recorded simultaneously on the associated thermometer.

The circuit operation is quite straightforward and can be understood by assessing each transistor cut off and triggering states.

For so long as the NTC resistance is very high (when the ambient temperature is low) causes the transistor T1 to go into saturation provided the potentiometer setting permits this.

Considering the above situation is enabled the transistors T1 T2 T3 and T4 saturate and also activate the relay.

The relay employed may be a double contact and each time it is activated two operations are executed, one pair of contacts to switch the LEDs and the other to activate the heater or the desired load.

The capacitor C1 makes sure sudden changes in the value of the NTC.

Circuit Diagram

thermostat control compressed

Bill Of Material for the above transistor thermostat circuit:

  • Resistors:
  • R1, R4, R6: 10K,
  • R2: 12K,
  • R3: 6.8K,
  • R5: 33K,
  • R7: 470K,
  • R8: 2.2K,
  • R9: 560 ohms.
  • P = Potentiometer Linear 10K.
  • NTC: Negative temperature coefficient 10K.
  • Capacitors:
  • C1: 100nF,
  • C2: 47uF, 10V (electrolytic capacitor).
  • LEDs: 1 red, 1 green
  • Transistors
  • T1 and T3: 2N2222,
  • T2: 2N2907,
  • T4: 2N2905
  • Relay: 12V DPDT.

You'll also like:

  • 1.  How to Build a Simple Egg Incubator Thermostat Circuit
  • 2.  Differential Temperature Detector/Controller Circuit
  • 3.  How to Calculate Heatsinks
  • 4.  Temperature to Voltage Converter Circuit
  • 5.  Autoclave Heater Controller Circuit
  • 6.  Emergency Incubator Heater Circuit with Battery Charger

About Swagatam

I am an electronics engineer with over 15 years of hands-on experience. I am passionate about inventing, designing electronic circuits and PCBs, and helping hobbyists bring their projects to life. That is why I founded homemade-circuits.com, a website where I share innovative circuit ideas and tutorials. Have a circuit related question? Leave a comment.... I guarantee a reply!

Previous Post: « Power Interruption Alarm Circuit for Instant Power Failure Indications
Next Post: Extended Telephone Ring Amplifier/Repeater Circuit »

Reader Interactions

Comments

  1. Elias Aarnio says

    January 18, 2024 at 2:27 am

    Dear Swagatam,

    This circuit is exactly what I was looking for. My planned use case is to control a 12 VDC 30 W silicone heat pad to warm car battery. Up here in Finland it is wise to warm up a lead acid battery because in temperatures far below 0 degrees Celsius the battery will not take in charge current nearly as much as in 20 degrees Celsius.

    Thus a question on the operating voltage: will the circuit handle voltages between 10 volts (cold cranking voltage drop) to 14,8 volts (maximum charging voltage of AC powered battery chargers used to keep the battery topped up)?

    To me it seems like the circuit should handle this variation without problems. I wanted to ask this because there might be others who also would like to use the circuit in automotive or maritime applications. Mentioning nominal operating voltage and usable voltage range would enhance the possible uses of this very fine circuit of yours.

    All the best,

    Elias

    Reply
    • Swagatam says

      January 18, 2024 at 8:51 am

      Thank you Elias, for posting this interesting question.
      Yes definitely this circuit can be used with DC voltages upto 14V or above.
      However, I was wondering from where the power will come to heat up the heating pad?
      There’s another similar circuit which you can consider and it is much simpler:
      https://www.homemade-circuits.com/temperature-controlled-relay-switch-circuit/

      Reply
      • Elias Aarnio says

        January 18, 2024 at 1:56 pm

        This other circuit you linked is very suitable as well and much simpler. Thank you! Initial idea would be to get the operating power to the thermostat circuit from battery terminals and the power to heat the pad from external AC powered battery charger. However – is the relay enough for galvanic isolation? The operating DC and the heat pad power DC would come from the same galvanically interconnected circuit. This would be the case also if I would like to use the heater while driving, getting the electrcity for the heating pad from the alternator. I already am thinking of a simple circuit that would also switch on the heater only when voltage exceeds a certain, preferably adjustable, voltage like 13,8 volts. In this case the control circuit would switch the heating pad on only if 1) there is an external battery charger connected and operating or 2) the engine is running and alternator working.

        Reply
        • Swagatam says

          January 18, 2024 at 6:03 pm

          Yes, the relay can provide a perfect galvanic isolation between the heat pad power source and the circuit power source which is battery.
          However a thermistor is a crude type of heat sensor and adjusting it accurately can be slightly time consuming, an LM35 based circuit is much accurate and flexible.
          The switching of the heat pad at 13.8V is also possible using a simple transistor zener diode setup.
          " rel="ugc">comment image

          Reply
          • Elias Aarnio says

            January 18, 2024 at 6:10 pm

            Just perfect! I have difficulties in expressing the joy of finding your site and having these inspiring discussions. As a data privacy activist I also raise my hat high to salute you because you run your own website and have not chosen to use commercial social media platforms like people nowadays mostly do. I will be hanging around following your site and will report with pictures when I have something made ready. Before I start this project I have to assemble a couple of these, however: instructables.com/DIMP-2-Desulfator-in-My-Pocket-2/

            Reply
            • Swagatam says

              January 19, 2024 at 8:58 am

              Thank you so much, and glad you found this website helpful.
              Please feel free to reach out to me if you have any circuit related questions or doubts, I will try to solve them ASAP.
              All the best to you.

              Reply
  2. Okongwu miracle says

    November 10, 2023 at 8:28 pm

    Hello swagatam how can I convert to circuit for my electric kettle I want to use it as a thermometer for my electric kettle

    Reply
    • Swagatam says

      November 10, 2023 at 10:37 pm

      Hello Okongwu,
      If you are intending to measure high temperature of your electric kettle then you should try using a thermocouple circuit.
      https://www.homemade-circuits.com/100-c-to-1000-c-thermocouple-temperature-meter-circuit/

      Reply
  3. Joseph says

    May 26, 2022 at 2:58 am

    Bonjour cher ami et mes très sincères remerciement.
    Voudriez vous m’indiquer à quel endroit précis peut on placer un second potentiomètre dans ce circuit? Cela permettra d’avoir un seuil de temperature haut et un seuil de temperature haut réglable à volonté.

    Joseph

    Reply
    • Swagatam says

      May 26, 2022 at 10:15 am

      Hello Joseph, you can add another potentiometer in series with R1, but it will also serve the same function as the existing potentiometer.

      Reply
  4. Yogesh says

    June 27, 2021 at 9:09 pm

    Sir, I want to make thermistor circuit with opamp, to activate the relay to run a exhaust fan accurately at a particular temperature.
    For eg: turning the relay on at 35°c

    Please help me, how can I achieve this task with the help of proper calculation, and also to avoid the unwanted switching of relay at minimum voltage variation.

    Reply
    • Swagatam says

      June 28, 2021 at 12:18 pm

      Yogesh, you can try the first circuit or the last circuit from this article:

      https://www.homemade-circuits.com/make-simple-refrigerator-thermostat/

      Reply
      • Yogesh says

        June 28, 2021 at 12:56 pm

        Thank you sir, (•‿•)
        I will surely try out any one circuit ,from these two circuits sir

        Reply
        • Swagatam says

          June 28, 2021 at 2:19 pm

          You are welcome Yogesh!

          Reply
  5. Jesse says

    March 9, 2021 at 8:22 pm

    I do not see a power supply.
    I design elsctronics from broken old junk.
    I would be ecstatic to have you email me. You are brilliant, Swagatam… I have reviewed much of your stuff online.

    Reply
    • Swagatam says

      March 9, 2021 at 9:08 pm

      thank you Jesse, yes the diagram did not have the supply lines clearly marked, but I have corrected the issue in the new updated diagram.

      Reply
  6. Marius Bogdan says

    February 3, 2021 at 5:21 pm

    I’m so glad I found Your site! Today, few are involved in the design of analog circuits. In Hungary,(in the past) many young people used to be interested in electronics, because it was not possible to buy many different electronic devices when they were ready. I started in 1969 with a 4-year electronics technical school, then Kando University (then it was only a 3-year college BSC) I am already retired, but thanks to my well-equipped laboratory (Tektronix, HP, R & S, etc.) instruments, still active today I’m. Both of my sons are electrical engineers. I’ve been a sound engineer for several years (my favorite) I like Your site, I’ve already found some interesting topics! I wish You much more success and good health! Marius Bogdan

    Reply
    • Swagatam says

      February 3, 2021 at 8:30 pm

      Thank you for visiting this and liking it! Your valuable feedback is much appreciated! Please keep up the good work!

      Reply
  7. Turan BENLİ says

    January 31, 2021 at 3:54 am

    Yayınladığınız projeleri beğeniyorum. Profesyonel değilim. Elektronik termostatın devresinde T4’ün collektör ayağında bulunan diyotun numarası belli değil belirtirseniz sevinirim. Teşekkür ederim.

    Reply
    • Swagatam says

      January 31, 2021 at 5:45 pm

      The relay diode is 1N4007

      Reply
      • Turan BENLİ says

        February 2, 2021 at 1:57 pm

        Merhaba, Çok Teşekkür ederim. Bu tür projeleriniz bizim için çok değerlidir. Sizlerin bu değerli bilgileri paylaşmanız bizlerin Elektronik dalda çalışmalarımıza çok büyük değer katmaktadır. Saygılarımla,

        Reply
        • Swagatam says

          February 2, 2021 at 9:44 pm

          Thank you very much for your kind feedback!

          Reply
  8. Gopalakrishnan says

    December 27, 2017 at 11:23 am

    Alternative two relay switching with one push on switch 12 volt operative circuit

    Reply
    • Swagatam says

      December 27, 2017 at 1:01 pm

      https://www.homemade-circuits.com/single-push-10-step-selector-switch/

      replace pin#10 with pin#4

      use only pin#2 as the output

      Reply
  9. Swagatam says

    March 21, 2017 at 4:45 am

    yes you can try that

    Reply

Need Help? Please Leave a Comment! We value your input—Kindly keep it relevant to the above topic! Cancel reply

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

Primary Sidebar

Subscribe to New Circuit Ideas

Categories

  • Arduino Projects (87)
  • Audio and Amplifier Projects (132)
  • Automation Projects (17)
  • Automobile Electronics (101)
  • Battery Charger Circuits (82)
  • Datasheets and Components (103)
  • Electronics Theory (143)
  • Free Energy (37)
  • Games and Sports Projects (11)
  • Grid and 3-Phase (19)
  • Health related Projects (25)
  • Home Electrical Circuits (12)
  • Indicator Circuits (14)
  • Inverter Circuits (87)
  • Lamps and Lights (142)
  • Meters and Testers (69)
  • Mini Projects (46)
  • Motor Controller (64)
  • Oscillator Circuits (27)
  • Pets and Pests (15)
  • Power Supply Circuits (108)
  • Remote Control Circuits (50)
  • Security and Alarm (64)
  • Sensors and Detectors (101)
  • Solar Controller Circuits (59)
  • Temperature Controllers (42)
  • Timer and Delay Relay (49)
  • Transmitter Circuits (29)
  • Voltage Control and Protection (37)
  • Water Controller (36)

Calculators

  • Battery Back up Time Calculator
  • Capacitance Reactance Calculator
  • IC 555 Astable Calculator
  • IC 555 Monostable Calculator
  • Inductance Calculator
  • LC Resonance Calculator
  • LM317, LM338, LM396 Calculator
  • Ohm’s Law Calculator
  • Phase Angle Phase Shift Calculator
  • Power Factor (PF) Calculator
  • Reactance Calculator
  • Transistor Astable Calculator
  • Transistor base Resistor Calculator
  • Voltage Divider Calculator
  • Wire Current Calculator
  • Zener Diode Calculator
  • Filter Capacitor Calculator
  • Buck Converter Calculator
  • Boost Converter Calculator
  • Solar Panel, Inverter, Battery Calculator
  • Wire Current Calculator
  • SMPS Transformer Calculator
  • IC SG3525, SG3524 Calculator
  • Inverter LC Filter Calculator

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 |

Recent Comments

  • Swagatam on Best Electronic Circuit Projects
  • TOMMY on Best Electronic Circuit Projects
  • Swagatam on Inverter Circuit with Feedback Control
  • Jerry Adeosun on Inverter Circuit with Feedback Control
  • Swagatam on Contact

Company

  • Privacy Policy
  • Cookie Policy
  • About Me
  • Contact
  • Disclaimer
  • Copyright
  • Videos
  • Sitemap

Social Profiles

  • Twitter
  • YouTube
  • Instagram
  • Pinterest
  • My Facebook-Page
  • Quora
  • Stack Exchange
  • Linkedin
  • © 2025 · Swagatam Innovations