SERVO PROJECTS

Automated Door Control System with LCD Feedback

Explore the realm of smart door automation with our “Automated Door Control System with LCD Feedback.” This Arduino-based project incorporates a servo motor, LED indicator, and a liquid crystal display (LCD) to create an intelligent door management system.

A sensor detects the door state, and based on the input, the servo motor adjusts the door position. Simultaneously, an LED provides visual feedback, and the LCD displays dynamic messages like “DOOR OPEN” or “DOOR CLOSE.” The system ensures seamless control and status visualization, adding a layer of sophistication to conventional door mechanisms.


The hardware setup involves connecting the LCD to specific digital pins (12, 11, 5, 4, 3, 2), the servo motor to pin 7, an LED to pin 6, and a sensor to pin 8. The servo motor controls the door movement, the LED acts as a visual indicator, and the sensor determines the door state. Power the LCD and servo motor as per their specifications, and connect the sensor, LED, and Arduino to a common ground.

Component List:

NameQuantityComponent
SERVO11Positional Micro Servo
PIR114.267337609331321 , -247.3596491274514 , -218.48380453943668 PIR Sensor
D11Red LED
U51Arduino Uno R3
U61LCD 16 x 2
Rpot21250 kΩ Potentiometer
R21220 Ω Resistor

Arduino Code:

#include <LiquidCrystal.h>
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);
#include<Servo.h>
Servo servo_test;

int motor=7;

int angle=0;

int led=6;

int sensorstate=0,pinsensor=8;

void setup()
{
Serial.begin(9600);

pinMode(pinsensor,INPUT);

pinMode(led,OUTPUT);

servo_test.attach(7);

lcd.begin(16, 2);

}

void loop()

{

sensorstate=digitalRead(pinsensor);

if(sensorstate== HIGH)

{

servo_test.write(90);

digitalWrite(led,HIGH);

lcd.print("DOOR OPEN ");

lcd.setCursor(0, 1);

delay(6000);

lcd.clear();

}

else

{

servo_test.write(0);

digitalWrite(led,LOW);

lcd.print("DOOR CLOSE ");

lcd.setCursor(0, 1);

delay(6000);

lcd.clear();

}

}

This project merges technology and accessibility, creating an automated door system with real-time feedback. Whether indicating an open or closed state, the LCD messages and LED illumination enhance user awareness.

The simplicity of the Arduino platform coupled with the tangible output demonstrates the potential for incorporating intelligent automation in everyday environments.

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button