This document describes a microcontroller-based library gateway management system project submitted for a degree in electrical and computer engineering. It involves using infrared sensors and a microcontroller to count the number of people entering and exiting the library and communicate this data to a computer at the entrance. The computer will display the available chair count and book availability information to assist the guard in informing users. The project aims to better manage the library gateway and reduce user stress and time wasted. It proposes using a PIC microcontroller, infrared sensors, serial communication, and a visual basic application to achieve this goal.