In this Tutorial we are going to demonstrate how to make an automatic window blind using Arduino and LDR Module. In daytime the curtain/Window blind will roll down and in night time it will rolls up.
Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.
Step 1: Description
LDR Module will give HIGH signal if Intensity of light is high and it gives LOW signal when the Intensity of the light is low.
Arduino will rotate the DC Motor in clock wise direction whenever it detects HIGH from LDR Module and window blind get rolled down, similarly when Arduino gets LOW signal from LDR Module it will rotate the DC Motor in anti-clockwise direction and window blind will be rolled up. The time of rotating the DC Motor will depend on the length of the curtain.
Components required for this tutorial :
Arduino Uno – (Checkout here)
DC Motor 9V – (Checkout here)
LDR Module – (Checkout here)
L293d DC Motor Driver Module – (Checkout here)
Jumper Wires – (Checkout here)
Step 2: Circuit Diagram
LDR Module has 3 pins
VCC – Connect this pin to 5V of Arduino Nano
GND – Connect this pin to GND of Arduino Nano
VOUT – This pin will be connected to Ananlog pin A0 of Arduino Nano
DC Motor will be driven by L293D Motor Driver Module. L293D motor driver will be operated from Arduino Nano. It has 4 Input pins for 2 motors, we are going to use only one motor.
Connection of the L293D motor driver is as follows :
M2a/IN1 – This pin will be connected to the digital pin no 3 of Arduino Nano
M2b/IN2 – This pin will be connected to the digital pin no 2 of Arduino Nano
VCC – Connect this pin to external Battery of 9V
GND – Connect this pin to ground of 9V battery
Step 3: Output Video
Download your code from here