This document describes an automatic railway gate control system using Arduino Uno. The system uses IR sensors to detect the arrival and departure of trains. When a train is detected, the system closes the railway gate automatically using servo or DC motors controlled by the Arduino. Buzzers notify people trying to cross the gate that it is closing. The system aims to prevent accidents at unmanned railway crossings by automating gate operation instead of manual control. The hardware components include an Arduino Uno, IR sensors, motors, buzzers and more. The system is programmed using Arduino C code.