Do-it-yourself automatic opening of curtains diagram. Remote control of curtains from a remote control has long ceased to be a luxury

Electric drive for blinds
(video at the end of the review)
As part of the implementation of the “smart home” idea, I had a long-standing desire to purchase electric blinds, or as they are sometimes called, “motorized blinds.” Plastic windows They were installed a long time ago, the blinds (regular, aluminum) were purchased a long time ago and perform their function perfectly. But I set out to equip them with an electric drive. And having studied the offers on the market, the prices increased a little! Some companies offer electric blinds for one window at a price of 30 thousand rubles! I have a three-section window. It turns out the price will be 90 thousand rubles! This is not even funny anymore... Moreover, I will definitely have to change the blinds to the “correct” model, which is suitable for branded electric drives. In general, all this did not suit me, to put it mildly. I couldn't find any good options on EBay either. Maybe I was looking in the wrong place?... Whatever wasn’t expensive and could be screwed to your existing blinds. After thinking about it in my spare time, I came to the conclusion that there is nothing complicated here, and you can do everything yourself.

And so, on the one hand, the topic is for those who have a great desire to get electric blinds, and on the other hand, they have the ability to work creatively with their hands

What we have?
Classic aluminum blinds. I have a three-leaf window, which means there are 3 blinds.

Like most similar blinds, the control here is implemented according to a simple classical scheme: pull the string - lift the blinds up, twist the plastic stick (in one direction or the other) - the blinds open or close by turning.

There are actually variations in needs here. An electric drive can be used to raise the blinds upward. Or for turning the doors (opening and closing). You can, of course, do both at the same time. Since in everyday life I most often use the mechanism for turning the “blades” when opening or closing a window, this is exactly what it was decided to do with an electric drive.

I want to say right away that implementing the idea of ​​homemade motorized blinds does not limit your imagination. You can control it from a remote control, control it using an external light sensor, a motion sensor, you can do it automatically using a timer (for example, the blinds close in the evening and open in the morning). Moreover, all this can be done practically at a simple, everyday level. You can use a regular timer that controls the outlet. Regarding remote control from the remote control, you can also use numerous devices plugged between the outlet and the consumer, controlled remotely. A sea of ​​these are now sold and they are not at all expensive. All this will be connected simply.

I personally don't need a wireless remote control. A wired remote control standing on the table near the computer will triple my needs. I don’t feel the need for a timer either (at least not yet). So in my review I will describe the implementation of “motorized blinds” for myself. Although there can of course be a lot of automation options here. And not at all for the crazy money that all this now costs on the market.

So:
The main idea was to create a mechanism in which the blinds themselves and their structure would not be damaged. I somehow don’t like spoiling good things, so I was guided by the principle of making as few changes as possible to the blinds. I did this with an eye to the fact that it would be possible to disassemble everything and return the blinds to their original state.

The main center for the implementation of the idea is the motors. After doing a little research on EBay, I found all sorts of "movers" for sale to suit every taste. The main thing here is to buy a motor with a gearbox. This will allow, on the one hand, to select (upon purchase) any required shaft rotation speed, and on the other hand, the rotation force will be sufficient to rotate the blind handle.

Having estimated how many revolutions the blinds handle makes to open or close them, I settled on a motor with a shaft rotation speed of 15 revolutions per minute (in general, it could have been faster). Supply voltage 12 volts. Finding such motors on EBay is very easy. There are options with different rotation speeds. Everyone will be able to choose what they need.
In the EBay search we write: Motor 12v 15 rpm(rpm - shaft rotation speed).

3 motors costing $13 apiece were purchased and soon arrived to me from China.

It is very important that the motors are reversible. This means that when the polarity changes, the shaft can rotate in the opposite direction. Not all motors can do this. If you find one like in my photo, you can safely take it. They come in 15, 20, 30, 50 rpm, etc.. and look the same.

A day of work and you're done! HOORAY!
You can sit back in your chair, drink coffee, whoever smokes, smoke

Video of how it all works. The cable length of the remote control is 10 meters. The video can be viewed in HD quality directly on YouTube:


Thank you for your attention to my review.
I will answer your questions.
If you have other ideas/implementation options for electric drives for classic blinds, write, it will be interesting.
In my personal opinion, the greatest interest is in designs that allow you to motorize any existing blinds, rather than buying some special models for a specific drive.

Today, smart home automation affects almost all household processes. This also applies to curtain rod control, which goes well with the multiroom system. Electric drive for curtain rods – main element automation of curtains, allowing you to remotely control the level of natural light in the house. The main advantage of such a system is that you can make it yourself. What is required for this, how to do it?

Operating principle of electric curtain rod

The systems under consideration are quite different simple device and the operating principle. The equipment includes an electric drive and aluminum profile, which serves as a supporting structure for curtains. Inside the profile there is a durable steel rope connected to the movable carriage. An electric motor moves the carriage, followed by a cable. There are fastenings on the cable from which the curtains are hung.

Some models are equipped with a built-in timer. It allows you to set scenarios in advance according to which the system will automatically regulate the level of natural light inside the rooms. More advanced solutions have built-in light sensors. They work automatically, changing the position of the curtains depending on how light or dark it is outside at the moment.

Types of cornices by design

Electrically driven smart home curtains are classified according to their design features into three types:

    Sliding. The most common type. Such designs allow curtains to move in a horizontal plane on both sides of the window. These systems are preferable in cases where it is necessary to automate the control of heavy curtains, since they are designed for very heavy loads.

    Lifting. Such systems are designed for vertical movement of curtains from bottom to top. They can not only roll the web into a roll, but also move it to a level specified by the user.

    Panel. This is a rather rare type of system, which is designed to work with curtain panels. First of all, these include Japanese paintings. Electric drives for working with panels have combined control - automatic and mechanical. They are more expensive than other types.

For home use on wide and tall windows, it is better to choose sliding systems. If the windows are narrow and tall, or simply small, it is more advisable to pay attention to lift-type options.

Varieties by management

Electric curtain rods can be controlled using one or several available schemes:

    Stationary control. The easiest way to adjust the position of canvases suspended on an electric curtain rod. In this case, a small panel is mounted on the wall, on which buttons or touch screen with a simple interface. It contains several switches that change the direction of movement of the web. There is no programming function in most of these remote controls.

    Remote control. A more modern, convenient and universal way of control. Adjustment of the position of the canvas is carried out from the remote control. This category also includes automatic control based on readings from light sensors and other stimuli. Such systems are convenient for home use - there is no need to install a panel in every room of the house.

    Control through a smart home. Many ready-made solutions support pairing with a smart home. This opens up the possibility of setting numerous scenarios, as well as controlling the position of curtains over long distances. In this case, you can control the cornice from mobile devices, as well as via the Internet from a personal computer or laptop. Perhaps this is the most flexible way of management.

Many modern solutions support both remote control and connection to a smart home.

Advantages and disadvantages of systems

Curtain rods with an electric motor are an excellent modern alternative to classic curtain rods, which are not so convenient to use. The technology in question is popular due to many advantages:

    Versatility. You can adapt the system to any interior style - at home, in the office, in the theater, etc.

    Aesthetics. There are many available today design solutions electric curtain rods for every taste.

    Convenience. Changing the position of the curtains is a matter of a couple of seconds. If you have a remote control, you don't even need to get up.

    Comfort. Even a child can handle moving heavy curtains - just press the right button.

    Minimum noise. The electric drive does not make any sounds, the blades move as smoothly as possible.

The systems under consideration have only two disadvantages. The first is the fairly high cost of ready-made solutions. The second disadvantage is the complex repairs that will be needed if the system fails. It is especially expensive to restore or replace the electric drive, as well as the wireless control module.


Self-production of the system

Before you make electric blinds for your home with your own hands, you need to decide on the power of the motor. It's easy to do. If your curtains weigh no more than 50 kg, a motor power of 75 W is sufficient. If the canvases are heavier, it is better to choose a 100 W motor. The greater the power, the faster the blade moves apart.

Best choice for self-made electric drive - an electric window lift motor that can be found in the car door. Such a motor is ideal, since the nature of its operation is the same as that of ready-made drives - it is reciprocating motion. Also, in order to make electric blinds with your own hands, you will need a cornice and a cable with fastenings for the canvas you are using.

Assembly and installation process

You need to assemble the system in accordance with the mechanical drive diagram below:


The window lift drive is installed on the left, and the moving block with the wheel is installed on the right. The cable on which the curtains are hung is stretched between the block and the electric drive wheel. Power section diagram for power supply electric motor assembled according to the scheme below. This requires soldering skills.

After assembling the power part, you can proceed to manufacturing the power part. Its diagram is shown in the diagram:

You can see that the circuit includes a light sensor, the role of which is played by a photoresistor. It needs to be attached to the window so that it looks out onto the street. The system is controlled using a remote control. Automatic and manual control of the drive operation is possible.

Ready-made electric curtain rod systems

If making your own electric drive for home curtains is not for you, you can buy a ready-to-use solution. Today you can find a large selection of automated circuits on sale:

    Astra ME. This option has become widespread in hotels, private apartments and offices, as well as in places where curtains are hung at high heights. The curtains move at a speed of up to 12 meters per minute, power consumption is 65 watts. The device can be controlled via a radio channel. It is possible to connect the equipment to a smart home automation system, which is very convenient.

    Somfy. Electric drives from this brand have a lot of convenient functions and scenarios. They keep the curtains moving smoothly and evenly. The drive does not make any noise during operation, and it looks very stylish, as do the controls. You can connect the device to a smart home system, after which it will be possible to adjust the level of natural light at a great distance from your home.

Among electric curtain rod control systems, Herzborg and NOVO radio modules are very popular. The first remote control can simultaneously connect up to 99 engines; it operates at a frequency of 868 MHz. On the second, you can configure the operation of up to 15 motors at once; control is carried out using a frequency of 433 MHz.

Conclusion

Making automatic window curtains with your own hands is not so easy, and this will require certain soldering and assembly skills electronic devices. If this is too difficult a task for you, or you don't want to spend time on it, consider ready-made solutions. Although it will be more expensive, you will save a lot of time.

One day, after a hard day at work, I came home and realized that I wanted to relax, and not walk around and close the curtains. I would like to see them closed in the evening and open in the morning, without dancing in front of the window. After googling various solutions, it was decided to do everything myself.

By popular demand, I am posting all my work on converting regular roller blinds into automated ones with remote control. Be careful, there are a lot of photos!

First, about roller blinds:

  • Pros: roller blinds visually expand the space, are beautiful and inexpensive. Very easy installation. Each window can be controlled separately. Frees up space on the windowsill.
  • Difficulties: manually opening 5 windows already takes a long time. The mechanism itself prevents the corner window from opening completely (example: the mechanism at the top of the balcony door rests against the wall and does not allow the passage to open completely). Because of this, it is necessary to hang curtains from the outside of the window. The price of even Chinese motorized curtains starts at 2,000 rubles, multiply by 5 and immediately think about how to do everything with improvised means.

A little about the tasks:

It is necessary to add remote control to ordinary roller blinds from a hardware store and connect it to a smart home on the openSource platform Home Assistant. And you still need to maintain the usual control of the rope.

Choice of motors:

If everything is automated, then speed does not matter, so motors with gearboxes can be used. Brushed motors are cheap, but not the most reliable thing for daily use. Servos also have commutator motors and are not stable during constant rotation. Great option stepper motors look like. They are silent, you can control the position, they cost pennies. As a result, a set of 5 28BYJ-48 engines with a ULN2003 driver cost me $10

About the 28BYJ-48 engine:

There were questions about the power of this engine. Fears that he would be weak were not justified. Or rather, if you use a full-step mode, then the motor is very frail, if you use a half-step mode, then you can’t stop the shaft with your bare hands. For those who don’t have enough power, there are many articles on the Internet on how to raise the voltage, turn it into bipolar and other improvements.

About sensors:

Since we still have manual control, and we don’t want to waste the engine, we need curtain position sensors. At a minimum, one sensor is required at one end, but two are better. You can use any end switch, optical one, etc., but I personally chose the reed switch because... gluing a neodymium magnet on the other side is very simple and should work stably and durable. I chose the reed switches themselves for aesthetics already in the housing. Plus, it provided for setting the distance from the shaft. The height can be adjusted with spacers.

About the mounting design:

The task was to design the case as simple as possible for manufacturing on a 3D printer with minimal modifications. Modeled in Fusion 360. The complete mount clings to the top of the window, but such a design on an FDM printer would be difficult to make with the required strength requirements, so a design with one screw for adjustment was invented.

In total, we got three parts for 3D printing. Link to download 3D models.

Main part for the motor, control board on ULM2003, mounting of reed switches, motors, line for stabilizing curtains, and adjusting screw.

A lid to cover all this mess. A clamp or in other words a hook.

The design of the curtains itself contains several springs, which work as a brake if you pull the curtains (the spring is tightened) or release it if you twist the rope.

When assembling, you need to make one modification: use wire cutters to break the rim that covers the rope, because... Now we have our own fixed rim that prevents the rope from falling out.

Control:

The stepper motor will be controlled by a NodeMCU on an ESP8266. It was chosen because it is cheap, has a backup Wi-Fi channel, and is quite easy to write the necessary scripts on. If you need more than two curtains or additional sensors, then the microcontroller legs are no longer enough, you can look towards the ESP32. (esp32 is not shown in the photo, because it is in the junction box)

Software part:

The development environment can be any. ESP32 can be programmed via Arduino IDE. But I chose Visual Studio Code for myself because of its speed, modularity and freeness. In this environment, you can develop for almost any platform (not just hardware). You can even connect IAR ARM. (But that's a completely different topic)

The program's task is simple:

Connect via Wi-fi
Connect to MQTT broker
Subscribe to topic
Control the speed of two motors
Monitor the condition of the limit sensors
Send current steps to the broker

Sources can be taken

A motorized device for controlling curtains means a significant increase in indoor comfort. In addition to the convenience of manipulating curtains, such an electric drive guarantees the highest degree of safety of the curtain complex. This is explained by the fact that the electric drive forces are applied to curtains, runners and guide profiles in the most natural direction - along the line of movement. Such a natural and rational application of effort guarantees the least wear on all components and the same minimum risk of their breakage, especially the runners and hooks.

Do-it-yourself electric drive for curtains - the main components of such a device are covered with a simple screen.

Due to the fact that the drive device requires the placement of a control cable - a cord - transmitting force to the runners, such electrically controlled curtains can be made when used ceiling cornices. The control cord can be hidden in one of the cavities of the cornice profile, specially designed for such constructive solution. It is precisely this profile, designed for curtains with control, that is chosen by House master to implement your plans.

Some home craftsmen also install an electric drive for curtains placed on a regular aluminum or even plastic cornice ceiling profile. The fact is that a set of curtains, most often, is installed near a window and in such a place it is quite possible to hide the visible control cord with the help of inconspicuous additional decor.

DIY electric drive

The experience of many craftsmen has shown that the most effective results are when you make your own electrical control curtains can be achieved using a ready-made window lift drive unit for any car. Here are the main technical qualities of this automotive unit that explain this decision:

  1. The operation of a car window lifter fully corresponds to the nature of the operation of the curtains - it is a reciprocating movement. Accordingly, the design of the window lift drive unit corresponds to the idea of ​​automating the control of curtains
  2. The forces developed by the automobile electric drive are sufficient to control curtains of medium and even heavy weight
  3. The device of such a drive can be improved by the automatic stop used on the car.

The most important thing is that the curtain control cord can be arranged in exactly the same way as the control cable in a car drive. The master is required to solve all related problems, first of all, securely fastening the drive unit to the wall and creating a functional transmission that requires the installation of blocks. Such blocks can also be selected from the complex automotive industry.

It is important that the master can competently overcome the main drawback of such an automotive system - power from a source direct current 12 volts. For the corresponding transforming device, it is best to provide a ventilated niche near the consumer motor, where you can place the necessary relays and a fuse assembly that protects this circuit.

Every year the problem of making an electric drive for curtains yourself is becoming less and less acute. Many manufacturers of electromechanical equipment offer new and new models of electric drives for curtains. In our time DIY electric drive for roller blinds increasingly means a successful choice of manufacturer and supplier of such a device.

The do-it-yourself tradition, fashionable in the West, is supported by many manufacturers of electric drives that are designed for amateur installation and connection. The buyer only needs to select and . When these structures are installed in place, you can choose the most suitable one for them. power plant with remote control.

Drive equipment is available for all types of curtains. Settings for sliding systems, which is not much different from the average level, miniature and quiet models are more expensive - a skilled craftsman can make a choice with high accuracy.

In this article I will talk about the design of an automatic curtain drive installed on my balcony. There we grow flowers that are harmed by direct sunlight. In addition, in the summer, if the balcony windows are closed, in direct sunlight the air on the balcony quickly overheats. However, when there is no direct light, it is advisable to open the curtains - the shadow also does not contribute to the growth of flowers. Therefore, to maintain acceptable illumination on the balcony, I automated the operation of the curtains.

Mechanics

The curtains were originally already on the balcony. There are two of them, both suspended on a metal cable stretched under the ceiling from one wall of the balcony to the other. It is clear that you need to move both curtains at once, and due to the friction of the curtains on the cable (it is quite rough), the required force must be quite large. In addition, sometimes there may be obstacles in the path of the curtains, for example, a slightly open balcony window, which further increases the strength requirements.
Thus, the drive must be quite powerful and reliable - there is often high humidity on the balcony, and a fairly large temperature difference is possible in winter and summer. Therefore, I based the drive on a car window lift drive. It has sufficient power, is capable of producing high torque (it has a built-in worm gear) and is very reliable.

The mechanical diagram of the drive is shown below:
More details about the design. A plastic roller with a groove is attached to the window lift drive shaft (on the left in the diagram), on which a turn of rope is wound. The drive is mounted on one of the walls of the balcony. A similar roller is attached to the opposite wall, through which a rope is also thrown.
After this, the rope is tensioned so that the friction of the rope on the drive roller is enough to move the curtains. The opposite ends of each curtain are attached to a rope so that when the motor rotates, the curtain moves or moves apart.

To test the operation of the drive, I made a smaller model of it. The window lift drive and the independent roller were mounted on a board, a rope was pulled between them, after which it was possible to check the operation of the electronics and measure the force developed by the drive.

Photo of the drive itself on the layout:

As can be seen from the photo, a fairly large thin plate is attached to the window lift drive (I used textolite). A metal corner with two holes is attached to it, through which a rope is passed. This is necessary so that the turn of the rope on the roller does not get tangled; for this purpose, the holes in the corner are made at different heights relative to the plate.
To the right of the corner are limit switches needed to stop the curtains in their extreme positions. In order to indicate these positions, two plastic tubes are put on the rope (only one of them is visible in the photo next to the bottom switch). The tubes are arranged so that when the curtain reaches its extreme position, one of them presses the switch, and for reliable pressing, a metal plate is attached next to each of the switches, which presses the tube to the switch.
Three metal posts attached to the plate are needed to secure the drive cover.
Both rope rollers are made from furniture wheels. Using a drill and a file, you need to make a groove in each of them; two turns of rope should fit in the groove of the drive roller. The drive roller is attached to the shaft by tension, and the hole in it had to be bored out to a square one, since the drive shaft is square.
The drive is attached to the wall of the balcony using suitable furniture corners (one of them is visible in the photo on the left). There are enough mounting holes in the window lift drive, so there are no problems with fastening.

View of the drive already attached to the wall and covered with a lid:

In order to tension the rope, a special screw with a nut is used, to which the ends of the rope are attached:

The end of one of the curtains is also attached to it.

Electronics

All my electronics are divided into two parts - power and control. The main task of the power section is to provide power to the drive motor. The power window drive can draw very high current. To reduce this current, I reduced the drive supply voltage to 5 volts, but even so, the maximum current consumed by the motor can reach up to 3A. To provide such a current, I used a printer power supply capable of delivering a voltage of about 30V and a current of up to 0.7A, as well as a DC-DC converter of up to 5V. By lowering the voltage, DC-DC is quite capable of delivering the required current.
Motor power control is carried out using a powerful relay designed to change the polarity of the signal, and a MOSFET that controls the voltage supply to the motor. Thanks to the use of MOSFETs, it is possible to control the rotation speed of the motor, but this feature is not currently used.
Also installed on the power section are stabilizers designed to power the control electronics and the engine power control circuit. The stabilizers are powered from a lower voltage circuit of the power supply, the voltage there does not exceed 12V.

The control electronics are represented by the STM8S microcontroller. The controller performs quite a lot of functions - measuring illumination, making a decision about starting the drive, monitoring the position of the curtains using limit switches, controlling the power supply of the drive, controlling the drive in manual mode - according to commands from the remote control. In addition, a radio module based on NRF24L01 and a 1-Wire bus are connected to the controller, through which three temperature sensors are connected. Using the radio module, you can control the drive and read temperature values ​​at different points on the balcony and on the street, however, at the moment the second radio module is connected only to the breadboard, so I will not consider this functionality further.

The printer power supply used has an input for switching it to Stand-by state. I also use it, which reduces the energy consumption of the structure. The program takes into account that the power supply switches to operating mode with a certain delay, and after 30 seconds of inactivity of the drive, the power supply again switches to Stand-by mode.

Indication of drive operation using a three-color LED (only blue and red diodes are used). Blue lights up when voltage is applied to the motor, red starts flashing periodically if there are errors in the drive operation. The number of flashes allows you to determine the error number.
For audible signaling of some events (for example, when a command is given to close curtains that are already closed), the drive motor itself is used. A PWM signal with a small duty cycle is supplied to it, as a result of which the engine beeps quite loudly.

A photoresistor attached to the window with a suction cup is used as a light sensor. Since the suction cup may fall off the window, there is a small button next to the photoresistor. While the suction cup is held on the window, the button is pressed against the window. If the suction cup falls off, the automatic operation of the drive stops and the red diode begins to flash. If the sensor is not connected to the connector, this is also detected by the controller.
Type of light sensor:

Since the illumination of the sensor can change sharply - due to various flashes on the street, partly cloudy weather - the data from the sensor has to be filtered. I have implemented the following processing algorithm: data from the sensor is digitized at a frequency of 10 Hz and written to an array. Once a second, the value of this array is averaged (primarily this is needed to filter out noise and flashes). Next, the resulting values ​​are added to another array of 600 elements; after reaching the end of the array, recording begins from the beginning. Also, this array is analyzed every second - the controller calculates what percentage of the array elements is less than a certain threshold (with increasing illumination, the voltage at the output of the photosensor drops). If the values ​​of more than 66% of the elements are less than a given threshold, then it is considered that the illumination is high enough and the curtains can be closed. In this way, periodic changes in illumination are filtered. At the same time, a limitation is also imposed on the operating frequency of the drive - in automatic mode, the motor turns on no more than once every ten minutes.

As I mentioned above, it is possible to control the curtains from the remote control. Using the remote control, you can fully open and close the curtains, partially open them, and start the drive based on the instantaneous illumination value. When controlled from the remote control, there are no restrictions on the operating frequency of the drive.
It is also possible to programmatically reboot the controller.
When moving the curtains, the controller monitors the state of the limit switches. If, after starting to move, the corresponding switch does not operate within 20 seconds, the engine stops working. To continue operation of the drive after eliminating the malfunction, you just need to reboot the controller.

All electronics are installed in a standard plastic case:

One of the switches is needed to switch the electronics to automatic operation mode, the second allows you to completely turn off the power to the motor.
Using 3.5mm Jack sockets, a light sensor, TSOP for receiving data from the remote control, and external temperature sensors are connected to the device.
The LED is covered with a white cap so it can be seen from any angle.

View of the assembled and installed electronics unit:

Video of the drive operation (control from the remote control):