3
$\begingroup$

first off, just to be transparent, I'm a total newbie when it comes to DC motors (and pretty much anything robotic).

I've got a couch that's right up to a window with the lever type openings (anderson windows). With the couch, I have no clearance to turn the lever to open it. Given I've replaced most of my house switches/outlets with home automatable ones, I figured I'd see if I can build myself a small motor that I can automate to open these also. To be absolutely honest, I've got no clue where to start. I have no problem with coding the automation part, but I don't even know what kind of motors to look for that would be able to turn my knob (or rather how to actuate the thing my knob connects to)...

Help!

Thanks :)

$\endgroup$
1
  • 1
    $\begingroup$ Could you include an image of the window? Or link to the product? "* lever type openings"* is kind of vague. In Europe pretty much all windows are lever type and can usually open in several ways. It order to give a helpful answer, it'd be helpful to know exactly how the window moves. $\endgroup$ Jul 18, 2016 at 14:39

2 Answers 2

4
$\begingroup$

The other answers advocate the use of stepper motors. They can be easy to control by just sending a certain number of pulses to the stepper controller. However, they do not guarantee that you will not attempt to overtravel the mechanism. Steppers can slip, or miss steps, if the torque is marginal. If that happens going one direction, you will likely try to overtravel in the return direction.

I don't know of any motor that is easier for a newbie to control than a brushed dc motor. To get it to rotate you just apply the proper voltage across the windings. This is easily done using a relay. Rotation in the other direction is accomplished by applying the same voltage, but opposite polarity, to the same windings.

If you needed to control the motion profile accurately then you'd need some sort of position feedback, such as an encoder. If this was the case then steppers would be more relevant. But your application does not require that. You simply need a switch to be made when the window is opened, and another switch when the window is closed. Simple.

Be careful, though. Manually opening and closing the window lets the operator stop motion if pets or fingers are in the way. By doing this automatically you need to make sure no fingers or tails will be chopped off by the motion. That is a bigger challenge unless you will always be present and watching the window when you open or close it.

In response to the question you ask in the comment ("Do they provide some feedback back to the code if, for example, something was holding the window back?"): you can monitor the current to the motor. That is proportional to the motor's torque. This signal is usually pretty noisy, though, so you would likely need to low-pass filter it either using a capacitor, or in your software.

$\endgroup$
2
  • $\begingroup$ Do these have resistance detection thresholds? I.e. I should expect fairly consistent torque based on what I believe the position of the window is. Do they provide some feedback back to the code if, for example, something was holding the window back? If that's the case, then I may not need to care about a stepper motor and monitoring current position. An Open command can keep going until I hit a certain resistance (or I interrupt it), same with close... $\endgroup$
    – John
    Jul 18, 2016 at 6:46
  • $\begingroup$ Edited my answer to address this question. $\endgroup$
    – SteveO
    Jul 18, 2016 at 12:59
2
$\begingroup$

The standard way to control a window in the industry is actually with a linear chain actuator. I am in the construction business, and linear chain actuators are often used to control skylights. They are easy to set a repeatable distance, typically have a pin at the end with can disconnect the window from the system easily, and are time proven in the field.

DC motors would require a feedback loop, which I think is overkill for this, not to mention that casement style windows like this require a fair amount of torque, so a dc motor this size might get a little on the heavy/expensive side.

Steppers would work well, except for the fact that they can skip steps, and are somewhat loud.

You may be able to adapt an electric skylight opener. Also look into installing a rain sensor, that will close the window if it detects moisture.

$\endgroup$
2
  • $\begingroup$ I'm not too concerned about noise as this is mostly for daytime use. Since I don't have much room, would you use a stepper motor with some sort of belt to turn the crank? The problem with going linear is that I have to alter the window itself to do that rather than automate the turning of the lever... $\endgroup$
    – John
    Jul 18, 2016 at 6:43
  • $\begingroup$ While you might need to modify the window, it should be fairly simple given the way that casement windows typically open. Remove a few nuts and bolts from them and you can remove the crank and mount the end of the actuator there. If you want a rotary solution, the motor will need to be mounted, otherwise the motor will turn and not the crank, this is probably going to be more work than modifying the window. $\endgroup$
    – user241585
    Jul 28, 2016 at 22:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.