This document describes a project to control the speed of DC and AC motors using an ARM7 LPC2148 microcontroller. It uses pulse width modulation (PWM) signals from the microcontroller and motor driver circuits to vary the duty cycle and average voltage applied to the motors, allowing control of motor speed. The hardware used includes an LPC2148 board, LCD, control switches, L293D DC motor driver, optocoupler, TRIAC, and snubber circuit for the AC motor. The project successfully demonstrates controlling motor speed by varying the PWM duty cycle from 30% to 90%.