In this project “Stepper motor control using AT89S52 Microcontroller”, we implemented stepper motor controller circuit using PIC micro controller. The main objective of this project is to control the speed of the stepper motor in order to facilitate efficient working conditions in computer peripherals, business machines, process control, machine tools and robotics. Mainly in robotic process control and laser trimming applications.

Stepper motor control using AT89S52 for robotic applications and electronic gadgets had created room for the new technologies in terms of proving accurate services for the users.  Here I this project we used three switches to control the direction of the stepper motor i.e. clockwise, anticlockwise and stops respectively.

Power supply circuit:

The power supply circuit consists of an assembly of step down transformer, bridge rectifier, filter and regulator for converting 230v 5ohz ac supply into 5v regulated dc supply. The technical specifications about the power supply components and auxiliary circuit components are explained in this paper.

Youtube video link to view block diagram, circuit diagram

Software programming:

The program is written in Assembly language and compiled using ASM51 cross assembler. And the microcontroller is programmed using Atmel’s Flash programmer.

Instructions for PCB layout:

You can assemble the components on the printed circuit board for the stepper motor controller by the implementing the following process, firstly prepare the circuit layout – draw it on the copper circuit board – drill holes for the component terminals – remove the excess blur around the holes – assemble the components at respective places – solder and fix them at that positions – implement the electrical connections – test the designed circuit.

Download Stepper Motor Control Using AT89S52 MicroController Project Report


A 16 Character x 2 Line LCD Module is interface to the micro controller to present the controlled output value using parallel port communication interface.