How to make a thermostat for the refrigerator with your own hands: step-by-step instructions with diagrams

A faulty thermostat is one of the most common causes of refrigerator breakdowns, leading to constant operation of the compressor, freezing of food, or, conversely, insufficient cooling. Replacing an original part in a service center costs 3,000–8,000 rubles, but if you have basic soldering skills and an understanding of electrical circuits, you can assemble a working analogue yourself - with savings of up to 80%. In this article we will analyze three proven diagrams (on relays, microcontrollers and ready-made modules), we will dwell in detail on the selection of components and the nuances of configuration for different models of refrigerators - from Soviet "ZIL" to modern Samsung No Frost.

Important: a homemade thermostat will not always be as accurate as a factory one, but it can temporarily (or permanently) solve the problem if the original part fails. The main thing is to observe safety precautions when working with electricity and test the device before installing it in the refrigerator. The article provides a unique algorithm for calibrating a temperature sensor for domestic conditionswhich minimizes measurement error.

1. The principle of operation of the refrigerator thermostat

The thermostat (or thermostat) is electromechanical or electronic devicethat maintains the set temperature in the refrigerator compartment. Its main functions:

  • 🔹 Temperature measurement using a sensor (thermocouple, thermistor or gas bellows in older models).
  • 🔹 Compressor control: turning on when the temperature rises and turning off when the set point is reached values.
  • 🔹 Overheat protection: preventing continuous operation of the motor, which leads to its wear.

In modern refrigerators (LG, Bosch, Atlant) often are used electronic thermostats with a digital display, and in the old ones (Minsk, Biryusa, Nord) - mechanical, based on bellows principle. Homemade devices are usually built on the basis temperature relay (for example, W1209) or microcontrollers (Arduino, ESP8266).

Before starting assembly, check whether the problem is really in the thermostat. Signs of its malfunction:

  • ❄️ The compressor runs without stopping or, on the contrary, does not turn on.
  • 🌡️ The temperature in the chamber does not correspond. installed (for example, it freezes at +5°C).
  • 🔌 The refrigerator does not respond to changes in the position of the thermostat knob.
📊 What type of thermostat is in your refrigerator?
Mechanical (knob with dial)
Electronic (display with buttons)
I don’t know
Other

2. Necessary tools and components

To assemble a homemade thermostat, you will need parts that can be bought at radio stores (Chip and Dip, Amp) or order at AliExpress. Below - minimum set for a relay-based circuit W1209 (the simplest and most reliable option):

Component Characteristics Approximate price, ₽ Where to buy
Temperature switch W1209 Range: -50°...+110°C, hysteresis 0.1–10°C 250–400 AliExpress, Chip and Dip
Temperature sensor NTC 10K Accuracy ±1°C, waterproof 50–100 Any radio shop
Relay 220V, 10A For switching a compressor (for example, Hongfa HF46F) 150–200 AliExpress
Housing for installation Plastic or metal, dimensions 10×8×5 cm 100–300 Electronics stores
Wires, terminals, heat shrink Section 0.75–1.5 mm², length 1–2 m 50–150 Any construction material store

For more advanced circuits (on Arduino), you will additionally need:

  • 🛠️ Board Arduino Nano or ESP8266 (300–500 ₽).
  • 🛠️ 5V relay module (100–150 ₽).
  • 🛠️ Display OLED 128×64 (optional, 200–300 ₽).
⚠️ Attention: When purchasing a sensor NTC 10K specify it B-parameter (usually 3435 or 3950). A discrepancy will lead to incorrect temperature readings. If you are not sure, take a sensor marked B=3950, it is universal for most circuits.

3. Connection diagram for a thermostat based on W1209

The diagram using the module W1209 is the simplest and most reliable for beginners. The module already contains all the necessary elements: microcontroller, temperature sensor and relayyou just need to connect it to the refrigerator compressor.

Step-by-step instructions:

  1. Module preparation:
    • 🔧 Connect the sensor NTC 10K to the connector TEMP on the board W1209 (polarity is not important).
    • 🔧 Set the jumper J1 to position ON (turn on the relay when the temperature is exceeded).
  2. Settings thresholds:
    • 🔧 Press the button SET for 3 seconds to enter the menu.
    • 🔧 Set T1 (compressor switching temperature, for example, +5°C).
    • 🔧 Set T2 (switch-off temperature, for example, +3°C). The difference between T1 and T2 is hysteresis.
  • Connection to refrigerator:
    • 🔌 Disconnect the refrigerator from the network.
    • 🔌 Find the thermostat terminals (usually they are labeled L (phase), N (zero) and COM (output to the compressor)).
    • 🔌 Connect the phase (L) to the terminal IN on W1209, and the output OUT to the compressor.

    The W1209 module is configured to the required temperatures (T1 and T2)|

    The NTC sensor is securely fixed in the refrigerator compartment|

    All connections are insulated with heat shrink|

    The refrigerator is disconnected from the network during installation-->

    For clarity, a simplified connection diagram:

    
    

    220V ~

    ├───[W1209 IN]───[W1209 OUT]───[Compressor]

    ├───[W1209 N]───[Network zero]

    └───[NTC sensor]───(inside the refrigeration cameras)

    ⚠️ Attention: If your refrigerator uses inverter compressor (for example, in models Samsung Digital Inverter), the circuit with W1209 may not be suitable. For such cases, you will need PWM controller or a specialized controller.

    4. Alternative circuits: Arduino and ready-made modules

    If you need more flexible settings (for example, different temperatures for the refrigerator and freezer compartments), consider the circuit based on Arduino. It is more difficult to assemble, but allows:

    • 📊 Data temperature log to the SD card.
    • 📱 Manage the refrigerator via Wi-Fi (with ESP8266).
    • ⚡ Implement emergency shutdown at critical values.

    Example code for Arduino Nano (relay control by temperature):

    
    

    #include

    #include

    #define ONE_WIRE_BUS 2 // Pin for DS18B20 sensor

    #define RELAY_PIN 3 // Relay pin

    OneWire oneWire(ONE_WIRE_BUS);

    DallasTemperature sensors(&oneWire);

    float targetTemp = 4.0; // Target temperature

    float hysteresis = 1.0; // Hysteresis

    void setup() {

    pinMode(RELAY_PIN, OUTPUT);

    digitalWrite(RELAY_PIN, HIGH); // Relay off (NO contact)

    sensors.begin();

    }

    void loop() {

    sensors.requestTemperatures();

    float currentTemp = sensors.getTempCByIndex(0);

    if (currentTemp > targetTemp + hysteresis) {

    digitalWrite(RELAY_PIN, LOW); data-i="201">digitalWrite(RELAY_PIN, HIGH); // Turn off the compressor

    } else if (currentTemp < targetTemp - hysteresis) {

    digitalWrite(RELAY_PIN, HIGH); // Turn off the compressor

    }

    delay(5000); // Delay 5 seconds

    }

    This circuit will require a sensor DS18B20 (more accurate than NTC) and libraries OneWire i DallasTemperature. You can download them through the library manager in Arduino IDE.

    Where to place the temperature sensor?

    The sensor should be in cold air flow, but not touch the walls of the chamber or products Optimal. places:

    - At a distance of 5–10 cm from the evaporator (for refrigerators with a drip system).

    - In the center of the shelf (for No Frost models).

    - In a plastic case with holes for air circulation (condensation protection).

    Ready solutions:

    • 🔹 Module INKBIRD ITC-308 (3,000–4,000 ₽) - supports two zones (refrigerator + freezer), control via Bluetooth.
    • 🔹 Controller STC-1000 (1,500–2,000 ₽) - a simple but reliable option with manual settings.

    5. Calibration and testing of a homemade thermostat

    After assembly, the device need calibrate and test in real conditions. To do this:

    1. Checking the sensor:
      • 🌡️ Place the sensor in a glass with melting ice (0°C) and check the readings with a multimeter or through menu W1209.
      • 🔥 Then place the sensor in hot water (~50°C) and check the values again.
    2. Hysteresis setting:
      • 📉 Hysteresis (difference between on/off) should be 1–2°C for the refrigerator compartment and 3–5°C for the freezer.
      • 🔧 If the compressor turns on too often, increase the hysteresis.
  • Test in the refrigerator:
    • ⏱️ Connect the device and observe the operation of the compressor for 6–12 hours.
    • 📊 Use external thermometer (for example, Xiaomi Mijia) to check the accuracy.

    Typical errors and their solutions:

    Problem Possible cause Solution
    The compressor does not turn on Wrong polarity of the sensor or relay Check the connection NTC and relay contacts
    The temperature is fluctuating The sensor touches the wall or food Move the sensor into the air flow
    The compressor works without stopping The hysteresis is too large or incorrectly set T1 Reduce the hysteresis to 1°C and check T1

    6. Safety and operating recommendations

    Homemade devices require special attention electrical safety and operating conditions. Follow these rules:

    • Insulation of all connections: Use heat-shrink tubing or electrical tape. This is especially true for places where wires may come into contact with the metal body of the refrigerator.
    • 🔌 Grounding: If your network has a ground, connect it to the metal body of the thermostat (if it is metal).
    • 🌡️ Control. humidity: The temperature sensor must be protected from condensation. Use a sealed case or silicone case.
    • 🔄 Backup shutdown: Install an additional switch in the circuit for emergency shutdown of the compressor.

    If you use Arduino or ESP8266, ensure stable power supply:

    • 🔋 Use a power supply with 5V/1A protected from surges.
    • 🔌 Do not connect the board directly to 220V - only through a step-down transformer or a USB adapter.
    ⚠️ Attention: In refrigerators with a No Frost system, the thermostat controls not only the compressor, but also fan and defrost heating element. A home-made device may not work correctly with these elements, which will lead to icing of the evaporator. In such cases, it is recommended to use original thermostat or a specialized controller (for example, INKBIRD ITC-308).

    7. Comparison of homemade and factory thermostat

    Before deciding to assemble the device yourself, evaluate the pros and cons of each option:

    Criterion Homemade thermostat Factory thermostat
    Cost 300–1 500 ₽ 3 000–8 000 ₽
    Accuracy ±1–2°C (depending on calibration) ±0.5°C
    Reliability Average (risk of breakage due to assembly errors) High (1-2 year warranty)
    Functionality Limited by the circuit (can be modified) Supports all refrigerator modes
    Installation complexity Medium (soldering skills required) Low (connection according to instructions)

    A homemade thermostat is justified in the following cases:

    • 🔧 The refrigerator is old, and the original thermostat has not been produced for a long time.
    • 💰 The budget is limited, and service repairs are too expensive.
    • 🛠️ You love experiments and are ready to refine the circuit.

    A factory thermostat is worth choosing if:

    • 🔹 The refrigerator is under warranty (homemade modification will cancel it).
    • 🔹 You have a model with No Frost or an inverter compressor.
    • 🔹 You need maximum accuracy and reliability.

    Frequently asked questions (FAQ)

    Is it possible to use a thermostat from one refrigerator in another?

    Theoretically, yes, but only if the models of the same type. data-i="322">supply voltage (for example, both mechanical or electronic) and have the same supply voltagemechanical thermostats (for example, from Minsk-15) are often interchangeable, and electronic (from Samsung or LG) are usually tied to a specific model. Before replacing, check marking on the thermostat housing and compare with the original part.

    How to check if the thermostat is working?

    The easiest way:

    1. Disconnect the refrigerator from the network.
    2. Remove the terminals from the thermostat and short them together (direct connection of the compressor).
    3. Plug in the refrigerator. If the compressor works, the problem is in the thermostat.
    Attention: Do not leave the compressor turned on for a long time, bypassing the thermostat - this will lead to overheating!

    What temperature should you set for the refrigerator compartment?

    Optimal values:

    • 🥦 Refrigerator compartment: +3°...+5°C (for most products).
    • ❄️ Freezer compartment: -18°...-20°C (for long-term storage).

    Install in homemade circuits T1 (compressor on) is 1–2°C above the target temperature, and T2 (off) - 1–2°C lower. For example, for +4°C: T1 = +5°C, T2 = +3°C.

    What to do if a homemade thermostat does not turn off the compressor?

    Possible reasons and solutions:

    • 🔌 Incorrect relay connection: Check that the phase passes through the normally open (NO) contacts.
    • 🌡️ Faulty sensor: Replace NTC or DS18B20 with a known working one.
    • ⚙️ Settings are lost: Reset W1209 to factory settings (press SET for 10 seconds).
    • Power problems: Make sure that a stable 5V is supplied to the board (for Arduino) or 220V (for W1209).

    If the problem persists, check the circuit with a multimeter in continuity mode.

    Can I use a thermostat from a washing machine?

    No, washing machine thermostats (KTN, KTP) are designed for other temperature ranges (usually 30–90°C) and are not suitable for refrigerators. In addition, they are not designed for long-term operation in high humidity conditions, which will lead to their rapid failure. The exception is some industrial thermostats, but their settings require special ones. knowledge.