Projects / Ideas / Window that closes when it rains

Window that closes when it rains

IntermediateSmart HomeIdeaReviewed
In short

How do you build a window that closes when it rains?

A rain sensor tells a linear actuator to close a sliding or top-hung window, with limit switches so it never pushes too far. You need Arduino Nano, Rain drop sensor module, Linear actuator 12 V (100 mm stroke), BTS7960 43 A motor driver, Limit switch (micro switch with lever) × 2 and 12 V 2 A DC adapter.

Level
Intermediate
Time
About 240 min
Parts
6
An idea, not a guided build yet. Goal, parts and steps; no wiring, code or tests. Copy it to My Garage to plan it.
Goal

Drive a 12 V actuator both ways with an H-bridge and stop on limits.

How to build it

  1. Fix the actuator to the frame and window
  2. Drive it through the BTS7960
  3. Stop at the closed and open limit switches
  4. Close when the rain sensor gets wet
  5. Stop at once if the motor current spikes (something in the way)

Related projects

Common questions

What parts do I need for the window that closes when it rains?

Arduino Nano, Rain drop sensor module, Linear actuator 12 V (100 mm stroke), BTS7960 43 A motor driver, Limit switch (micro switch with lever) × 2 and 12 V 2 A DC adapter.

How long does the window that closes when it rains take to build?

About 240 minutes for a intermediate maker.