Skip to content

The Automated Gate Control System employs Arduino, servo motors, and IR sensors to automate gate operations. Opening and closing are triggered by corresponding IR sensors, with a 3-second delay during gate opening. Gate2 opens in the opposite direction for added control.

License

Notifications You must be signed in to change notification settings

shreyaskbkukke/smart_gate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Automated Gate Control System

Overview

This Arduino project controls two gates using servo motors and IR sensors. The gates open when the openIR sensor is triggered and close when the closeIR sensor is activated. The gate state is tracked to prevent redundant operations. Automatic-Railway-Gate-Control-System-1-e1505989808622

Components

  • 2 Servo Motors
  • 2 IR Sensors
  • Arduino Board

Pin Configuration

  • Gate1 Servo: Pin 10
  • Gate2 Servo: Pin 9
  • Open IR Sensor: Pin 5
  • Close IR Sensor: Pin 6

Usage

  1. Gates are initially open.
  2. When the openIR sensor is triggered, both gates open.
  3. When the closeIR sensor is activated, both gates close.

Notes

  • A 3-second delay is implemented during gate opening.
  • Gate2 opens in the opposite direction for enhanced control.

Feel free to modify the code to suit specific needs.

About

The Automated Gate Control System employs Arduino, servo motors, and IR sensors to automate gate operations. Opening and closing are triggered by corresponding IR sensors, with a 3-second delay during gate opening. Gate2 opens in the opposite direction for added control.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages