We are living in an era of technology. Now-a-days itís hard to find a man without any technology awareness. So everyone is aware of robots. It comes from a branch of technology, named Robotics. The high precision movement of a robot is controlled by stepper motor. A stepper motor has several winding. That may vary from 4 or 8. So to control the movement of the motor precisely and accurately proper sequence of pulses are required to provide to each of the coil. So for providing those pulses a microcontroller can be used. So here this thesis is all about how to control a stepper motor.