The development of high performance motor drives is very important in industrial as well as other purpose applications. Generally, a high performance motor drive system must have good dynamic speed command tracking and load regulating response. The dc motors are used in various applications such as defense, industries, Robotics etc. DC drives, because of their simplicity, ease of application, reliability and favorable cost have long been a backbone of industrial applications. The project provides the efficient and simple method for control speed of DC motor using ATMEGA16 microcontroller and L298N motor driver IC.With the use of ATMEGA16 and l298N we can drive the dc motor at desired speed having a feedback loop and in this project we have used proportional integral and derivative method in which errors are not only solved but also taken to its minimal value with very low amount of error oscillations.