Automate Window Curtain Using Arduino

by wedgehacker in Circuits > Arduino

1098 Views, 3 Favorites, 0 Comments

Automate Window Curtain Using Arduino

Thumbnail8.jpg
IMG_1006.jpeg
IMG_1164.JPG
Instructables Cover 1.png

Supplies

NEMA-17 Stepper Motor

Pulley Belt

L298N Dual H-Bridge Motor Driver

Single Relay

Arduino UNO

12v Power Adapter

Rocker Push Button

Female-to-Female Jumpers

Male-to-Male Jumpers

6mm Wall Plugs and Screws

Mark and Drill the Holes for the Stepper Bracket

Screenshot 2021-09-01 at 21.01.19.png

Tie and Tape the Stepper Into the Bracket.

Screenshot 2021-09-01 at 21.01.34.png

You can either just tape the bracket with the stepper together or you may use an actual stepper bracket.

Fix the Mount Bracket to the Wall Just Below the Curtain Rope.

Screenshot 2021-09-01 at 21.01.42.png

Build the Circuit.

Screenshot 2021-09-01 at 21.01.55.png
1-Button-Diagram-Wedge_Hacker.jpg
2-Button-Diagram.jpg
Screenshot 2021-09-01 at 21.02.01.png

Since there are two methods to achieve this project, see the diagram.

Method 1: 1 Button, Push Open Push Close, though the Arduino starts with the code as the Window closed.

Method 2: 2 Buttons, one to Open and the other to Close.

Download the Arduino IDE and Upload the Code to the Arduino

Screenshot 2021-09-01 at 21.02.11.png

You can find the codes here: https://www.wedgehacker.com/automate-curtain/

To download the Arduino IDE: https://www.arduino.cc/en/software

Test the Code

Screenshot 2021-09-01 at 21.02.42.png

Check whether the Arduino rotates in the right direction, and listen out for noises as they may give a clue if one of the Stepper coils is inversed.

Attaching the Belt to the Rope.

Pic1.JPG
Pic2.JPG
Screenshot 2021-09-01 at 21.13.21.png

**See the video for a clearer demonstration.

The Video

How to automate any Window Curtain for $20 | Arduino Automation