Automatic Curtain
This tutorial will teach you to make an automatic curtain using Bluetooth.
Components
1) Arduino UNO
2 ) L298N (if using geared or BO motors) or TB6612FNG (geared motors work best with this)
3) Motors
4) Clamps
5) HC-05
6) Jumpers and wire
7) Adapter to connect to the Arduino for power/battery
8) String
Step 1: Clamping
Attach the clamps at the ends of your pelmet box.
Step 2: Connections with L298N and HC-05
On the L298N/TB6612FNG:-
in1=3
in2=2
ena=5
in3=9
in4=10
enb=6
GND-gnd(on arduino and the negative terminal of the battery)
5v-Vin((if using battery for the whole setup) )
12v- Battery( if using one)
On the HC-05:-
RX-0
TX-1
VCC-5v(or 3.3v)
Gnd-gnd(on arduino)
(Connect stby on TB6612FNG to vcc)
Step 3: Final
Attach the motors to the clamps and connect the outpins of the L298N/TB6612FNG to the motors
Attach the one string from each motor to one curtain ring/end(other ring/end end should be fixed)
And upload the code to the arduino
Step 4: Connection with Mobile
Click here to download my app for easy handling.
Please comment if you face any bug
EXPANDED TECHNICAL DETAILS
Remote Window Automation
This project provides a convenient, smartphone-controlled solution for opening and closing heavy window curtains or blinds.
- High-Torque DC Drive: Uses a powerful geared DC motor or a high-torque continuous-rotation servo. The Arduino manages the movement via a L298N H-bridge to handle the mechanical load of the fabric.
- Limit Detection Matrix: Includes two limit switches (Open/Closed) or a magnetic reed sensor to identify when the curtain has reached its end-point, preventing motor stall and mechanical damage.
Interaction
- Bluetooth_Con App Integration: The user can precisely set the "Percentage" of the curtain opening via a virtual slider on the mobile app, with the Arduino translating this into a timed motor run.