Arduino PIR Sensor Door

Welcome to Robotshapers, where innovation meets seamless accessibility. At robotshapers.com, we bring you the future of entrance technology with our cutting-edge automatic doors. These doors, equipped with sensors and intelligent mechanisms, effortlessly open and close, offering convenience, enhanced security, and a touch of futuristic charm.

Arduino PIR Sensor Door

Step into a world where sensors detect your presence, activating the door's smooth and silent motion. Whether it's a sliding, swinging, or revolving design, our automatic doors adapt to your needs, providing easy access in commercial buildings, healthcare facilities, transportation hubs, educational institutions, and even your own home.

With a focus on safety, our doors feature sensors that prevent collisions and emergency break-out capabilities. Experience the perfect blend of convenience and peace of mind.

Visit robotshapers.com and embrace a new era of effortless entry with our remarkable automatic doors. Robotshapers—shaping a world of seamless accessibility.

Automatic doors are a great piece of technology that is changing the way we enter and leave the home. Doors equipped with sensors and mechanisms open and close automatically, providing convenience, easy access and enhanced security.
Sensors installed in automatic doors control whether people enter the entrance. Sensor types include motion sensors, infrared sensors  or pressure sensors that cause the door to open and close accordingly. Some automatic doors also have a no-touch feature, which allows users to enter without physically touching the door.

The mechanism behind the automatic door usually includes a motor or pneumatic system that controls the movement of the door panel. Depending on the design and use, the doors can slide, swing or rotate.

Overall, automatic doors provide convenience, efficiency and safety, making them an essential part of modern home design.

Components required:

  1. Arduino Uno
  2. LCD (16X2)
  3. 10K variable resistor
  4. PIR HC SR-501 motion sensor
  5. 5V DC power supply
  6. SG90 Servo

PIR sensor:

The HCSR504 PIR (Passive Infrared) sensor is a widely used sensor popular with amateurs and DIYers. It is designed to detect human or animal movement within its range. The sensor works by detecting changes in infrared radiation emitted by objects in the field of view.HCSR504 sensor module consists of pyroelectric infrared sensor, Fresnel lens and signal processing circuit. It has a wide measurement of up to 7 meters and a viewing angle of 120 degrees.


The sensor is easy to use as it operates at low voltage (usually 5V) and provides a digital output signal. When motion is detected, the  sensor outputs a high signal (logic level 1); otherwise it gives a low signal (logic level 0).
HCSR504 PIR sensors are frequently used in many applications such as security systems, automatic lighting and energy saving  products. It provides great results for motion detection, making it a popular choice for many electronic devices.

Circuit diagram:

Code:

#include 
#include 
LiquidCrystal lcd(A0,A1,A2,A3,A4,A5);
const int S = 2;//  sensor pin 
Servo servo;
void setup() 
{
  Serial.begin(9600);
  lcd.begin(16,2);
  pinMode(S, INPUT);// Define SENSOR_PIN as Input
  servo.attach(3);//Servo pin
  servo.write(0);
  lcd.begin(16,2);
  lcd.setCursor(0,0);
  lcd.print("ROBOTSHAPERS");
  lcd.setCursor(0, 1);
  lcd.print("Automatic Door");
  delay(1500);
  lcd.clear();
}
void loop() 
{
  if(digitalRead(S)==LOW)//  motion is detected
  {
    servo.write(90);// Turn servo 90 degrees to open door
     lcd.setCursor(0,0);
  lcd.print("WELCOME");
    delay(1500);// Time to cross 1.5sec.
    servo.write(0);// Turn servo to 0 degrees to close door
    lcd.clear();
  }
}

Applications:

Automatic doors are used in many industries and settings. Some important aspects of using automatic doors are:

  1. Commercial Buildings: Automatic doors are often used in office buildings, stores, shops and hotels. 
  2. Health: Automatic doors are essential in hospitals, clinics and medical facilities. 
  3. Transportation: Airports, train stations, and bus stations use automatic gates to control crowds. 
  4. Schools: Schools, colleges, and universities use automated gates to provide access to students, staff, and audiences. 
    Residential buildings: Automatic doors are increasingly used in residential buildings, especially high-rise buildings and gated communities. 
  5. Industrial and Warehouse Facilities: Automatic doors play an important role in industries such as factories and warehouses. 
  6. Public Facilities: Government buildings, libraries, museums and other public places use automatic doors to facilitate access for visitors, including the disabled.

Best proects in Bhilai, Chhattisgarh, India. Contact : 7067150002