Idea
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.
Parts list
- Development Boards
- Sensors
- Motors & Actuators
- Motor Drivers
- Switches
- Power
How to build it
- Fix the actuator to the frame and window
- Drive it through the BTS7960
- Stop at the closed and open limit switches
- Close when the rain sensor gets wet
- Stop at once if the motor current spikes (something in the way)
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.
