Mechanics
This is not the best mechanical system and I am always open to new ideas and suggestions. Originally I started out with a plastic worm gear and plastic 50 tooth gear, always in contact with each other. Then one day I forgot the gears were engaged and manually closed the curtains ruining the gears! I now use metal gears though plastic gears are perfectly suitable for this project.
This mechanism is suitable for the plastic or metal flat strip curtain rails only. Two pulleys are used at each end of the rail and a loop of string is passed around the pulleys and kept in place by a tension spring, see below. To get a better "grip" on the string metal pulleys with serrated flanges can be used; alternatively wooden pulleys may be used. The grooves may be slightly ruffled with a file to aid grip.
The string will always travel in opposite directions and a small hook or piece of wire is attached to each end fastener of each curtain and also to opposite sides of the string loop, see below.
Each pulley is spaced from the wall with a bracket or small piece of wood. This is supported by a bracket or block of wood. A small Axel passes through each bracket, one end will have a collar, see below, the other end will have a gear that is driven by the motor.
At the motor end, I used two pieces of wood screwed together for the bracket. This now allows the motor to be moved away from the driven gear and un-mesh the gears. As each curtain is attached to the loop, moving just one curtain also moves the other curtain on the loop.
Friction - Friend or Foe ?
This mechanical design relies on one important property and that is friction. If there is too much friction the motor may not move the curtains at all and the pulleys may just slip. If there is not enough friction in the loop applied by the tension spring, the motor will drive the pulleys which will just turn and not move the loop at all. To overcome this, I use a silicone based furniture polish on the plastic rail, this reduces friction greatly and allows easy movement of the curtains along the loop. To tension the loop of string, fasten one end first to the spring then pull the free end of the string to tension the spring and fix it with cable fasteners or glue, see below.
This may require some adjustment to get right. To answer the heading friction in this case is both friend and foe, as the spring requires friction, the motor does not. The motor with drive engaged is shown below.
Depending on the length and weight of the curtains, the motor may have to be changed. I used a 12V hobby motor from Maplin electronics, I had to slightly enlarge the motor shaft with some brass tubing available from most hobby shops. The torque of the motor was not great, but if the output speed is reduced with gears, the torque (twisting force) is increased by the same amount. A worm gear has 1 tooth, and I used a 57 tooth gear, giving a reduction speed of 57:1. The torque of the motor (at the 57 tooth gear) is now increased 57 times. A light grease or machine oil may be applied to the gears, too much and it will splatter all over the walls and curtains!
Setting Up
This is best done with the curtains open, and motor gear un-meshed. Move one of the curtains by hand. They should move easily and meet in the centre of the rail, if not apply some silicone polish to the rail and alter the fastening on the wire.
Next switch the circuit to manual. With the curtains open, press the close switch. The curtains should start to close as long as the switch is pressed and stop moving when the switch is released. Then press the open switch. The curtains should now move as before but in the opposite direction. If all is well, open the curtains with the switch and then fully close them and use a watch to time this. The motor should be sufficiently slow and take a few seconds (about 3 in my case but my room is small).
Finally open the curtains, adjust the preset P1 to minimum resistance and set S3 to automatic. Press the close switch, the motor will run for a second or so and curtains will start to close. Switch back to manual and open the curtains, increase P1 slightly and switch back to auto and press close again. Repeat until the timing is sufficient for the curtains to close. Now press open (with S3 still in manual) the curtains should be timed to open fully.
Final Words
Should you have problems with this circuit, you first need to determine if its mechanical or electrical. Mechanical problems will happen on both manual and automatic settings, and be related to the opening or closing mechanism in general.
If electrical, check the power supply first, then L1 and L2 indications. If nothing works at all build the single manual relay circuit above and once perfected, return to the automatic version.
I am not mechanically minded so any suggestions or improvements towards a better mechanism can be included here; or if any of you have also made electric curtains, I will be happy to display your work.