Introduction: Automate Window Curtain Using Arduino

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

Step 1: Mark and Drill the Holes for the Stepper Bracket

Step 2: Tie and Tape the Stepper Into the Bracket.

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

Step 3: Fix the Mount Bracket to the Wall Just Below the Curtain Rope.

Step 4: Build the Circuit.

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.

Step 5: Download the Arduino IDE and Upload the Code to the Arduino

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

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

Step 6: Test the Code

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.

Step 7: Attaching the Belt to the Rope.

**See the video for a clearer demonstration.

Step 8: The Video