Skip to content

Automated Smart Access Gate System using Arduino Uno, ultrasonic sensor, servo motor, and LCD display. Detects approaching vehicles, opens the gate automatically, and closes it after a delay. Includes manual override, LED indicators, and buzzer alerts for smooth and secure entry control.

License

Notifications You must be signed in to change notification settings

AlexLeitanthem/smart-access-gate-arduino

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Smart Access Gate System (Arduino)

Automated, sensor-based gate with ultrasonic detection, servo actuation, LEDs, buzzer, and 16x2 I2C LCD. Includes a manual override switch. Built for the Arduino Uno.

This repo is generated directly from the project report and includes the original PDF in docs/. See wiring, code, and testing notes below.

Features

  • Ultrasonic vehicle detection (HC-SR04)
  • Smooth servo gate control with staged angles
  • Visual (LED) and audible (buzzer) alerts
  • 16x2 I2C LCD status messages
  • Manual override switch for maintenance/emergencies

Hardware

Part Notes Pins
HC-SR04 Ultrasonic VCC 5V, GND Trig: D9, Echo: D10
Servo 5V supply, GND Signal: D6
Green LED 220Ω resistor D7
Red LED 220Ω resistor D8
Buzzer Piezo or active buzzer D13
16x2 I2C LCD Address usually 0x27 SDA: A4, SCL: A5
Manual Switch Pull-up enabled A0 to GND

Setup

  1. Install Arduino IDE and add the following libraries if missing:
    • LiquidCrystal_I2C
    • Servo
  2. Clone this repo and open src/SmartAccessGate.ino.
  3. Wire the components per the table above.
  4. Upload to an Arduino Uno.

Behavior

  • Opens when object detected within 8 cm, with buzzer + green LED.
  • Auto-closes after ~6 seconds of no detection, with buzzer + red LED.
  • Manual switch toggles open/close and temporarily disables auto mode.

Directory Layout

smart-access-gate-arduino/
  ├─ src/
  │   └─ SmartAccessGate.ino
  ├─ docs/
  │   └─ PROJECT_REPORT_ON_SMART_ACCESS_GATE_SYSTEM_USING_ARDUINO_UNO.pdf
  ├─ hardware/
  │   ├─ BOM.md
  │   └─ wiring.md
  ├─ .gitignore
  ├─ LICENSE
  └─ README.md

License

MIT. See LICENSE.

Credits

  • Based on the project report "PROJECT REPORT ON SMART ACCESS GATE SYSTEM USING ARDUINO UNO" included in docs/.

Demo Video

Smart Access Gate System Demo

Watch the demo here: https://youtube.com/shorts/eSR9oMO9okk?feature=share

About

Automated Smart Access Gate System using Arduino Uno, ultrasonic sensor, servo motor, and LCD display. Detects approaching vehicles, opens the gate automatically, and closes it after a delay. Includes manual override, LED indicators, and buzzer alerts for smooth and secure entry control.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages