กลับไปหน้ารวมไฟล์
contactless-door-opening-system-e624a7-en.md

Project Overview

The "Hygiene-Gate Automator" is a critical response to global health challenges, designed to eliminate high-touch surfaces in public and private spaces. Created as a COVID-19 prevention tool, this system uses an HC-SR04 Ultrasonic Sensor to detect a user's presence from a distance of up to 1 meter and triggers a servo-mechanical actuator to open doors or press switches without physical skin contact. It is a masterclass in applying embedded robotics to real-world healthcare problems, providing a low-cost solution for automated entryway management.

Technical Deep-Dive

  • Ultrasonic Ranging (TOF Principle):
    • The Physics of Sound: The HC-SR04 sensor operates on the Time-of-Flight (ToF) principle. It emits a 40kHz sonic burst and measures the time ($T$) it takes for the echo to return from the target.
    • Calculative Logic: The Arduino processes this using the formula: $Distance = (T \times 0.034) / 2$. This allows for high-precision detection (down to 2cm), enabling the system to ignore background movements while reacting instantly to a hand placed in front of the sensor.
  • Actuation & Torque Management:
    • The Servo Logic: The system utilizes an SG90 Micro-servo. Via Pulse-Width Modulation (PWM), the Arduino can command specific angles (0° to 180°). For door opening, the hardware is configured to provide maximum mechanical leverage (Using a 90° rotation arc) to overcome the friction of latches or spring-loaded switches.
    • External Power Synergy: Because servos are high-current devices, this project utilizes a 9V 1A switching supply. This ensures the Arduino's 5V regulator isn't overloaded during the "Push" phase of the actuation, preventing system brownouts.
  • Visual & Auditory Feedback:
    • The integrated Buzzer acts as a user interface (UI) element. A short pulse indicates "Detection," while a long pulse signals that the "Opening Cycle" is complete, providing confidence to the user in a hands-free environment.
  • Virtual Prototyping (Tinkercad):
    • Before physical implementation, the circuit logic was verified in Autodesk Tinkercad. This allowed for testing the distance thresholds and servo timing in a safe, simulated environment, significantly reducing the "Trial and Error" phase during hardware assembly.

Engineering & Application

  • Self-Sanitizing Logic: The author notes that the system can be expanded to drive a DC Pump. By swapping the servo for a MOSFET or Relay, the same HC-SR04 trigger can actuate an automatic sanitizer dispenser, making this a multi-functional "Hygiene Station."
  • Mechanical Enclosure: The use of a 1-Compartment Storage Box serves as a ruggedized housing. This protects the sensitive electronics from the ambient humidity of entryways and provides a stable mounting surface for the ultrasonic "Eyes."
  • Low-Cost Impact: Totaling less than 1200 INR, the project demonstrates how high-impact automation can be achieved through clever component selection and efficient firmware design, making it accessible for home use or small business entryways.
  • Future Resilience: The modular nature of the Arduino code allows for the addition of PIR Sensors for wider detection or LDRs for night-time operation, ensuring the system remains effective in any environmental condition.

Stay safe and automate: Harnessing the power of sensors to build a touch-free world.

ข้อมูล Frontmatter ดั้งเดิม

title: "Contactless Door opening system"
description: "This project will prevent further spread of COVID-19 Virus. This is a contactless door opening or switch pressing system."
author: "rohit270798"
category: "Home & Automation"
tags:
  - "contactless"
  - "health"
  - "hygiene"
  - "automation"
  - "robotics"
views: 4764
likes: 0
price: 1120
difficulty: "Intermediate"
components:
  - "1x SG90 Micro-servo motor"
  - "1x Arduino UNO"
  - "1x Ultrasonic Sensor (HC-SR04)"
  - "1x Buzzer"
  - "1x Storage Box (Enclosure)"
  - "1x 9V 1A Wall Power Supply"
  - "1x Jumper wires (generic)"
tools: []
apps:
  - "1x Tinkercad (Simulation)"
  - "1x Arduino IDE"
downloadableFiles: []
heroImage: "https://cdn.jsdelivr.net/gh/bigboxthailand/arduino-assets@main/images/projects/contactless-door-opening-system-e624a7_cover.jpg"
lang: "en"