This paper presents a system for four quadrant speed control of a DC motor using the AT89S52 microcontroller, allowing for operation in different directions with braking capabilities. It details the methodology involving simulation and prototype development, utilizing PWM to manage motor speed and direction. The results show a direct relationship between duty cycle and motor speed, demonstrating the system's practical applicability in industrial settings.