Summary of Stepper motor Driver Using AT2313 microcontroller
This circuit drives a unipolar stepper motor in full step mode using an ATtiny2313 microcontroller and a ULN2003 driver. Two push buttons control clockwise or counter-clockwise rotation, supporting motors up to 30V powered by 5V inputs.
Parts used in the Steppermotor Driver:
- Unipolar stepper motor
- ATtiny2313 microcontroller
- ULN2003 driver
- Two push switches
Description
With this circuit you can drive a unipolar stepper motor. It operates in full step mode. You can get a stepper motor from an old 5.25 disk drive. The AVR attiny2313 micro controller controls the pulses for the stepper motor. The pulses are amplified by the ULN2003 driver. The driver accepts 5V inputs, the output for the driver is up to 30V so you can connect an stepper motor of up to 30V. With the two push switches you can drive the stepper motor CW or CCW.
Hardware
The hardware consist of the AT2313 microcontroller which drives the ULN2003 driver and two push buttons to control the direction.
Software
The program code is made with the AVR BASCOM compiler.
For more details, click: Steppermotor Driver Using AT2313 microcontroller
- How does this circuit drive the stepper motor?
The ATtiny2313 microcontroller controls pulses amplified by the ULN2003 driver. - Can I use a stepper motor from an old disk drive?
Yes, you can get a stepper motor from an old 5.25 disk drive. - What is the maximum voltage for the connected stepper motor?
The output allows connecting a stepper motor of up to 30V. - Does the ULN2003 driver accept 5V inputs?
Yes, the driver accepts 5V inputs. - How do I change the direction of the motor?
You can drive the stepper motor CW or CCW with two push switches. - In what mode does the circuit operate?
The circuit operates in full step mode. - Which compiler was used for the program code?
The program code was made with the AVR BASCOM compiler.

