This document describes the development of an embedded system for an unmanned railway gate. It presents the system developed by a group of students to automate the operation of railway gates using a microcontroller. The system uses infrared sensors to detect approaching trains and a microcontroller to control servo motors that open and close the gate. It aims to reduce accidents at unmanned railway crossings by automating gate operation without the need for a gatekeeper.