Electronic thermostat W1209 from Aliexpress. How to bring to life the multifunctional thermostat W1209 in an hour Voltmeter from the thermostat xh w1209 circuit

Home / Doesn't turn on

The W1209 thermal relay module is designed to control temperatures in the range from -50 to +100 degrees. Equipped with a 3-character LED display, a relay activation indicator, three electronic thermostat control buttons, a connector for connecting an external temperature sensor, “K0/K1” terminals for connecting a load and “+12V/GND” for powering the thermostat board. The display shows the current measured temperature from the sensor, "LL" if the sensor is not connected, and "HH" if the temperature is out of range.

Characteristics of thermal relay W1209:

    Thermistor
    NTC (10K 0.5%) waterproof sensor
    Temperature range
    -50°C to +110°C
    Measurement accuracy

    Control precision
    0.1°C between -9.9°C and 99.9°C, or 1.0°C outside this range
    Update time
    0.5 seconds
    Hysteresis (lag)
    0.1°C ....... 5°C
    Hysteresis accuracy (lag)
    0.1°C
    Supply voltage
    DC 12V
    Quiescent current
    < 35 мА
    Operating current
    < 65 мA
    Output voltage
    DC 12V
    Maximum load current
    5A/AC 125V, 15A/DC 14V
    Permissible humidity
    from 20% to 85%, Rh
    Cable length 0.3 meters
    Dimensions
    48mm*40mm

The LED display shows the following values:

“LLL” - Sensor not connected
“HHH” - Temperature out of range (less than -50°C or more than 110°C)
"- - - " - Exceeding the limits specified in parameter P6

Preparing for work:

  1. Connect a 12V DC power supply to the “+12V” (plus 12V) and “GND” (minus 12V) contacts.
  2. Connect the load to contacts “K0” and “K1” (connected to the open power circuit of the controlled device - serial connection)

After supplying 12V power to the “+12V” and “GND” contacts, the LED display will display the current temperature measured by an external temperature sensor

Setting and setting the set temperature:

To set the control temperature, briefly press the “SET” button. then use the “+” and “-” buttons to set the desired temperature. After setting the temperature, you must press the “SET” button again, or do not press any buttons for 5 seconds.

Programming:

  1. To enter the programming mode, press the “SET” button for 5 seconds!
  2. Use the “+” and “-” buttons to select the menu parameter code (P0....P6) from the table “Thermostat Menu”
  3. To configure a parameter, press the “SET” button and use the “+” and “-” buttons to change the parameter value
  4. To save the settings, press the “SET” button, or do not press any buttons for 5 seconds.

To reset settings to factory settings (default settings):

  1. Turn off the power
  2. Press and hold the "+" and "-" buttons
  3. Apply power to the thermostat

The LED display will show “888” and then display the current temperature.


For making homemade incubator I needed to purchase a temperature controller. The requirements for it were: small dimensions, low cost, powered by 12 V DC, powerful executive relay (to withstand significant load), indication of readings, setting parameters using control buttons, accuracy of temperature measurement and maintenance given parameters and of course reliability.

On the Internet I came across such a device - . Reviews about it met my requirements. Came to me from the Aliexpress website. This regulator can be used in many places - electric heating, incubators, refrigerators, drying cabinets, water heating systems, protection of electrical equipment, measuring the temperature of a car's coolant and then turning on the fan in a greenhouse, baths, heated floors, heating pipes, etc... The regulator itself consists of an electronic board with 3 control buttons installed: SET The SET button serves to select a mode and set parameters, and with the and buttons you can directly change the data of the programmable parameters. The LED indicator has three digits. The temperature meter itself is based on a thermometer installed in a case and has a wire length of 30 cm.

The control limits lie in the range from -50.0 to 110.0 degrees. You can connect loads up to 15 A (at 12 V DC) and up to 5 A (when powering the load from 220 V network)

The device is powered by 12 -14 V DC. The measurement accuracy is within 0.1 Celsius. The regulator current consumption is 35 mA when the relay is operating: 65 mA. In my article I will tell you how to set up and slightly upgrade this thermostat.

The process of setting up the W1209 thermostat is shown in the video:

List of tools and materials
-knife or scissors;
-screwdriver;
- soldering iron;
-tester;
- a plastic tube from ear sticks or a pen refill;
- faulty LEDs with a diameter of 5 mm - 4 pieces;
- plastic stands - 4 pcs;
- connecting wires;
-12 V power adapter;
-screws;
-plastic box for screws with a transparent lid;
- self-adhesive film.

Step one. Manufacturing of the body.

The disadvantage of the board is that it is not suitable for installation in the case; the buttons and indicator are located below the relay and terminals.


Craftsmen arrange the board of this regulator in different ways - some cut out windows in the case for indicators, relays, connectors, some solder the buttons and indicator, then mount them separately. But I decided to install the board in a transparent case, a box of screws fit.


At first I wanted to paint it after sealing the window for the LED indicator screen. But then I changed my mind and decided to cover it with self-adhesive film (there were pieces left over from the repair). It came out quickly and in my opinion seems good. Then we make a window in film for the screen LED indicator and drill holes for the buttons

Step two. Installation of the electronic thermostat board.

I installed the thermostat board on stands made of a plastic tube (from a ballpoint pen) as close as possible to the top cover. We make button pushers from plastic tubes from cotton swabs or from the refill of a ballpoint pen. Then at one end of the tube we increase the diameter with a warm soldering iron and put it on the buttons. The tube sat tightly as it was expanded into a cone by the soldering iron.


After we close the top cover and insert the faulty LEDs onto the protruding pushers, having first bitten off part of the legs - they will become the buttons themselves.




The board has an LED to monitor the operation of the relay. It was hard to see from under the cover; I glued the transparent part of the burnt-out LED onto it, and it became much brighter.

Step three. Checking and adjusting the regulator.

I connected a 12 V adapter to power the thermostat (you can use any 12 V power source and a current of 0.1 A). I compared the temperature readings with a reference electronic thermometer, and as a result they turned out to be the same.




Setting up the regulator is easy. To enter the programming mode, you need to press and hold the SET button for 6 seconds, then adjust using the buttons. To save the setting, press and hold the SET button, or do not touch the buttons for 10 seconds. All thermostat settings will remain in the controller’s non-volatile memory even after the device’s power is turned off.

Setting modes.
P0 cooler or heater mode C/H
P1 hysteresis setting 0.1-15 degrees (difference in relay switching mode)
P2 setting the upper operating temperature limit
P3 setting the lower operating temperature limit
P4 temperature adjustment
P5 relay activation delay (0-10 sec.)
P6 emergency overtemperature. Mode P4 is used to adjust readings based on a reference device.

At this point all the finishing touches and alterations are completed. As a result, by mounting the board in a box, we protected the device from moisture and mechanical damage to the electronics and prevented people from being exposed to electric shock. After the modification, you can use the thermostat for its intended purpose.

In general, this is a good inexpensive device (100 rubles) with great potential in its field of application.

The W1209 thermostat is an electronic device whose main task is to control the temperature and maintain it at certain values. Similar relays are used in devices to maintain a constant temperature: incubators, heated floors, greenhouses and greenhouses.

The w1209 programmable thermostat has such an important quality as low cost; it is currently the cheapest device on the market. The price of this device is in the range of 150-300 rubles.

Module overview

Digital two-threshold and two-mode – frameless thermostat W1209. The overall dimensions of this device are 4.8x4x1.4 cm. This is a small board with a short-circuit connector, a terminal block, programming buttons, a display and a power indicator. The main advantages of this device are:

  • compactness – the device is small in size;
  • versatility - this thermostat can be used in various conditions, it tolerates low and high temperatures, has a fairly wide range of settings;
  • The kit includes a temperature sensor installed on the connector, which is quite convenient in some cases;
  • the device is calibrated, this makes it possible to use it with sufficiently accurate determination of the parameters.

The basis of the W1209 is the STM8S003F3P6 controller, whose task is to analyze the temperature measured by the temperature sensor, compare it with threshold values, installed settings. If there is a discrepancy, the controller turns on the load on the current consumer, which brings the temperature range to the programmed values.

The technical characteristics for such an inexpensive device are also impressive:

  • temperature control range: -50°C…110°C;
  • measurement accuracy: 0.1°C (excluding temperatures below 10 and above 100°C, in this range only integers);
  • control accuracy 0.1°C (excluding temperatures below 10 and above 100°C, in this range only integers);
  • hysteresis 0.1…15°C, its accuracy – 0.1°C;
  • power supply 12V, load current 5A at 220V and 15A at 14V DC;
  • temperature sensor type NTC 10K 0.5%, cable length – 0.3 m;
  • power consumption – 65 mA;
  • connecting the load via a single-channel relay.

Additionally, it should be noted that the temperature sensor has a degree of water protection and can operate at relative humidity up to 85%. The set temperature is shown on a three-digit LED display. The w1209 dc 12V is powered from a 12-14V DC network with a power of 15A.

Users have noted enough high quality manufacturing and soldering of these devices, at the same time, the short wire of the temperature sensor - only 30 cm - causes criticism.

Important! The thermostatic sensor is protected from moisture; the board itself does not have a thermal relay housing; for this reason, installing it in places with high humidity will lead to its failure.

Setting up and operating the thermostat

The thermostat is configured using three buttons located under the display. These are the keys: “SET”, “+” and “–”. “SET” is responsible for selecting the control setting mode, plus and minus are responsible for increasing or decreasing the values ​​of the adjustable parameters. In this case, one of two main operating modes is configured: either heating or cooling the temperature sensor.

When the temperature is within the limits programmed in the device menu, the relay is turned off; it turns on when it decreases or increases below the programmed hysteresis. At this moment, the relay turns on and remains in this state until the temperature changes to the level set in the device settings.

When operating in heating mode, the sensor reacts to a decrease in temperature. The microcontroller notes a decrease in temperature on the sensor below a certain parameter, opens the relay contact and applies a load to the alarm device. If it, in turn, is connected to a heating element, then the temperature at the sensor rises. When analyzing information from the sensor, the controller notes this parameter and its coincidence with the specified one. Then it turns off the alarm, reducing the load. The same process, but in reverse order, is used in cooling mode.

The controller receives information from the sensor; the connector for it is located on the main board of the device. The temperature sensor itself, with a sealed waterproof NTC 10K housing with a resistance of 10 kOhm, is connected by wire through a connector on the board. The only drawback is the short length of the cable - only 30 cm, but if necessary, the wire can be replaced with a longer one. The device diagram is shown below.

Important! The parameter settings are saved even if you briefly press the SET key, so you need to be extremely careful when working with the thermal relay control.

Setting procedure

Settings are carried out using control keys. So, when you press the “SET” button simultaneously, the indicator starts to blink, and the current module settings are displayed on the display. At this point you can change the values ​​using the plus and minus keys. If there is no action on the control buttons, the sensor returns to operating mode; it should be noted that the changes made before turning off the menu are saved in the memory of the W1209 relay chip.

A long press on “SET” will launch the programming mode and set parameters. The instructions suggest detailed description all operating modes of the device, as well as the main values ​​for which the device is designed, but we will duplicate the information here. In this case, the parameter menu appears on the display:

  • P0 – main thermal relay modes: heating or cooling, letters C and H, cooling is set by default;
  • P1 – hysterisis change: from 0.1 to 15, default 2;
  • P2 – maximum positive temperature, default 110 ºС;
  • P3 – maximum negative temperature, -50 ºС;
  • P4 – correction: -7.0 and 7.0ºС, precise calibration of the temperature range;
  • P5 – time delay for turning on and off the thermostat, up to 10 minutes, default 0;
  • P6 – limit shutdown temperature, protection against device overheating, disabled by default – OFF.

All information is stored in the board controller, and the settings are saved even if the thermostat is briefly disconnected from the power source.

Resetting to factory settings is carried out by simultaneously pressing the SET, plus and minus keys for some time.

Calibration of thermal relay W1209

It can be done using two known points: the melting temperature of ice – 0ºС and the boiling point of water – 100ºС. It is worth noting that last parameter is not constant and depends on air pressure and its rarefaction; this method is not suitable in the highlands.

Calibrating, checking the W1209, and setting it up at home is quite simple. The sensor is lowered into a container with melting ice or snow, and the setting mode is activated on the thermostat. Next, set up menu P4, after which you need to repeat the steps on the second control point at 100 degrees Celsius. In this case, you can be sure that the sensor shows a relatively accurate temperature.

Modification of thermostat W1209

Due to the compactness of the main board of the thermostat, the RESET input, the fourth terminal of the controller, is connected to contacts for programming. This leads to the occasional spark throwing off the controller's set values. This drawback is eliminated by installing a 0.1 µF SMD capacitor on a common cable.

Despite the relatively low price, the XH-W1209 thermostat is an effective and compact device for automatic control of temperature conditions. Due to its technical and operational characteristics, it can be used for various types of technical devices, and directly for temperature control in mini-saunas and baths.

Video

There is such an inexpensive Chinese thermostat W1209. A variety of them are sold in fair quantities Chinese stores. One of the advantages is the price :). The rest are a few shortcomings, which can be partially corrected by reprogramming the on-board controller - STM8S003F3.

A thermistor works as a temperature sensor; the standard firmware allows you to enter only a reading offset. Accordingly, for such a thing the accuracy may not be very good (depending on your luck). However, there is a good digital temperature sensor DS18B20, which does not require calibration (well, conditionally). We take such a sensor, modernize the board a little (remove capacitor C1 near the sensor connector, replace resistor R2 with 4.7K). We connect the new sensor to the connector of the old one (there are GND and DQ), we take power from the programming connector (the square penny to the left of the indicator). Plus we fill new firmware- oh, it works 🙂 I note that the original firmware is protected from reading, so it was not possible to save it. There will be no return to the old option. Other users were more fortunate; the Chinese did not block it from being read, so the native firmware is attached below. New - can set the relay response threshold and control method - the relay works if the temperature is lower than the set temperature or if it is higher. Briefly pressing the SET button allows you to set the threshold, holding SET is the control method.

What you will need:
1) ST-Link/V2 programmer. Or any STM8 Discovery board (it is built-in and can be used). The cost on Aliexpress is around 2..4$
2) software for the programmer
http://www.st.com/web/en/catalog/tools/PF260219# (driver)
http://www.st.com/web/catalog/tools/FM147/CL1794/SC1807/SS1747/PF210568 (programming software)
3) a piece of comb with a pitch of 2.54 mm for programming (you can do without it, just solder the wires)
4) resistor size 0805 with a nominal value of 4.7KOhm.
5) the DS18B20 sensor itself.

We are upgrading the thermometer board according to the picture

We take the programmer and connect it to the soldered programming connector (or just wires). Usually on the programmer it is written what goes where. For my version (as an example), see the picture


We get something like in the picture


Launch the ST-Link Visual Programmer program, set the programming parameters

The chip is inherently read/write protected. Need to unlock:

1) Do not supply +12V. powered by st-link.
2) launch the programmer.
3) without attempting to write, try to read the data. (there must be an error, in theory)
4) if yes - the options tab (the third, there is the first program, the second is eeprom, the third is bytes of options) switch to it and make a write page.
5) try to subtract - if everything is fine, the chip will begin to read as zeros and the hardware will stop working completely

Now we write the new firmware.

Thermostats are a class of equipment designed to regulate and maintain the temperature in a controlled space within specified limits. They can be used in both heating and cooling applications. These are artificial climate installations, heating systems, and freezing equipment.

Mechanical thermal relay

Based on the principle of operation, thermostats are divided into:

  1. Mechanical:
  • Bimetallic;
  • Capillary.
  1. Electronic:
  • With mechanical temperature setting;
  • Programmable.

Module overview

Thermostat W1209 is a programmable temperature control relay. The supplied sensor is operational in the temperature range from -50°C to +110°C. The regulator is designed to work with heating and cooling equipment with a power of up to 1 kVA.

Thermostat W1209

Technical characteristics of the w1209 thermostat:

  • Controlled temperature range – -50°C – +110°C;
  • Measurement accuracy in the range from 9.9°С to 99.9°С – 0.1°С, above the range – 1°С;
  • Control accuracy in the range from 9.9°С to 99.9°С – 0.1°С, above the range – 1°С;
  • Hysteresis setting – from 0.1°C to 30°C;
  • Supply voltage – 12V;
  • Current consumption – 22-72 mA;
  • Overall dimensions – 48x40x14 mm;
  • Weight – 20 g;
  • Permissible operating temperature – -10°C – +60°C.

Pay attention! Some sellers position this device with the name xh w1209. All devices of this type absolutely identical.

Setting up and operating the thermostat

Installing the W1209 programmable thermostat involves connecting the device to a stabilized power source, setting up the temperature sensor and the controlled circuit.

Important! The fundamental point is that the device contains only “dry” relay contacts, that is, it switches the circuit and does not supply any power to the line.

How to connect an electric heater

For correct operation device you should know the features of its operation:

  • It is possible to delay the start from 0 to 10 minutes;
  • The circuit has adjustable hysteresis. Hysteresis is the temperature difference between switching on and switching off. This function important for switching heating or cooling devices with high inertia.

Further setup consists of selecting the required parameters using the control buttons and LED digital indicator.

The instructions for the w1209 thermostat under consideration do not provide a detailed description of the circuitry, but enthusiasts have compiled a fundamental electrical diagram w1209 with 12 V DC power supply, from which it is clear that the operation is controlled by a programmable microcontroller connected according to a standard circuit.

Setting procedure

Please read the instruction manual before turning on.

To manage settings diagramW1209 provides three buttons:

  • "Set";

All provided functions and capabilities are configured by clicking on the listed buttons.

According to the instructions for W1209, to change settings you must enter programming mode. To do this, press and hold the “Set” button for 5 seconds. When the number of the setting item is displayed on the screen, the button can be released. To navigate through the settings menu, use the “+” and “-” buttons.

Total thermostat instructionsW1209 provides from 6 to 8 positions, depending on the current firmware of the built-in microcontroller:

  • P0 – switching heating or cooling control;
  • P1 – adjustment of the hysteresis range;
  • P2 – change in the maximum temperature control limit;
  • P3 – change the minimum temperature control limit;
  • P4 – correction of temperature measurement error;
  • P5 – programming the turn-on delay time;
  • P6 – alarm (not used in most firmware);
  • P7 – forced shutdown when the upper control threshold is reached;
  • P8 – reset to factory settings (does not work on all firmware).

By default, when entering the programming mode, the first menu item is set to P0.

Terminal and Control Locations

Having entered the desired item, use the “+” or “-” buttons to set the required parameter value. To exit the programming mode, press and hold the “Set” button for 5 seconds. Entering the operating mode with recording settings also occurs after 10 seconds, if no button was pressed during this time.

The instructions for the thermal relay w1209 dc 12 V inform that this device has an alarm malfunction what is displayed on the indicator:

  • LLL – temperature sensor break;
  • 110 or HHH – short circuit of the sensor loop;
  • 888 – sensor malfunction.

In addition to using the programming mode, a factory reset can be performed as follows:

  1. Remove power from the regulator;
  2. Press the “+” and “-” buttons simultaneously;
  3. Turn on the power.

Calibration of thermal relay W1209

Thermal relay calibration is carried out in programming mode in menu item P4. For calibration you need to have a reference thermometer. Comparing the readings of the standard with the readings of the design, they are brought to the same values ​​by manipulating the “+” or “-” buttons. After exiting the settings, W1209 automatically adjusts the measurement temperature over the entire range.

If you don’t have a thermometer, you can use known values:

  • Snow melting temperature – 0°C;
  • The boiling point of water is 100°C.

Important! To reduce errors during the calibration process, it is necessary to use distilled water.

For domestic use, the error will be in permissible limits when calibrating using boiled water instead of distilled water.

Do-it-yourself modernization of the W1209 thermostat module

The design of the device provides ample opportunities for modernization. You can modify the device as follows:

  • Place the thermal relay in the housing;
  • Extend the temperature sensor cable;
  • Change the firmware version.

The last point can be accomplished if you have skills in working with programmable controllers. For this purpose, use the ST-Link V2 USB programmer. The required firmware version can be downloaded from the official website of the controller manufacturer. Redesigning the device by changing the firmware to a newer one allows you to introduce new functions and improve performance characteristics.

Housing option

Modifying the cable makes sense due to the short length of the standard sensor wire (about 0.5 m).

Setting the temperature corrector

The thermostat temperature corrector is adjusted during device calibration. The essence of the corrector is to change the measured values ​​in accordance with real temperature indicators.

Video

© 2024 ermake.ru -- About PC repair - Information portal