This document describes a project to design an automatic braking system for vehicles traveling uphill using a MEMS sensor. The system uses a MEMS sensor to detect vehicle acceleration and an ATmega32 microcontroller to process the sensor data and control DC motors via an L293D driver chip. When the vehicle's acceleration changes as it travels uphill, indicating a change in speed, the system automatically applies the brakes by slowing the motors to safely control the vehicle's speed on hills.