

- #Stepper motor resolution calculator driver#
- #Stepper motor resolution calculator software#
- #Stepper motor resolution calculator Pc#

Changing the direction of rotation is nothing but changing the direction of current that flows through the coils. We know that the current flows from high to low. In Tables I and II, ‘0’ indicates low logic and ‘1’ indicates high logic. Specific sequence of pulses are given to the red and orange terminals of COIL1 and yellow and green terminals of COIL2 to rotate the motor either in clockwise or anticlockwise direction as explained in the following paragraph. 3: Power supply for the circuit Operation When switch S1 is closed, LED1 glows to indicate the presence of power in the circuit. The circuit ground is shorted to pins 18 through 25 of the D-type parallel-port connector. The regulated 5V DC is connected to the H-bridge circuits. It consists of a 230V AC to 9V AC, 1A secondary transformer (X1), filter, bridge rectifiers and 5V DC regulator 7805 (IC1). The power supply section is shown in Fig. The yellow and green terminals of the second coil (COIL2) are connected to the second H-bridge section as shown in Fig. The bases of transistors T5 and T8 are connected to pins 6 (D4) and 7 (D5) through resistors R5 and R6, respectively, and the bases of transistors T6 and T7 are connected to pins 8 (D6) and 9 (D7) through resistors R7 and R8, respectively. The red and orange terminals of the first coil (COIL1) are connected to the first H-bridge section as shown in Fig. The bases of transistors T1 and T4 are connected to parallel-port pins 2 (D0) and 3 (D1) through resistors R1 and R2, respectively, and the bases of transistors T2 and T3 are connected to parallel-port pins 4 (D2) and 5 (D3) through resistors R3 and R4, respectively. The bases of all the eight transistors are connected to data pins (D0 through D7) of the 25-pin, D-type male connector through 1-kilo-ohm current limiting resistors R1 through R8. Pin details of BD139 and regulator IC 7805 are shown in Fig. Transistors T1 through T8 are BD139 type and should be used with heat-sinks. 2: Pin details ofBD139 transistor andregulator IC 7805 One H-bridge is formed by transistors T1 through T4 and the other bridge is formed by transistors T5 through T8. Because there are two coils in the bipolar stepper motor, two H-bridge circuits, one for each coil, have been used. It is a bridge connection of four transistors (see Fig. H-Bridge driver: H-Bridge is a standard, well-known circuit widely used as stepper motor driver. Stepper motors rated at 5V and up to 1 ampere of current and different step size (e.g., 1.8º per pulse) may also be used with this circuit and control software. The motor has two coils inside and four terminals (colour-coded, but not always) for external connections. It’s a bipolar stepper motor rated at 5V DC with step resolution of 18o per pulse. Here, the stepper motor is taken from an 8.9cm (3.5-inch) floppy drive. Stepper motors of various ratings/specifications are available in the market for different applications.
#Stepper motor resolution calculator Pc#
1: Circuit of PC based stepper motor controller Specifications of the stepper motor By limiting the number of applied pulses, you can restrict the motor to complete the desired number of steps. To change the direction of the motor, you have to change the sequence of pulses applied to its coils. To vary the speed of the motor, you have to vary the pulse repetition frequency (PRF). You can control three parameters of the stepper motor: speed, direction and number of steps.
#Stepper motor resolution calculator software#
The switching of these transistors is controlled by the software via data pins D0 through D7. The transistors (T1 through T8) act as switches.

So, it is basically the switching circuit that controls the motor.
#Stepper motor resolution calculator driver#
The driver is the actual circuit that drives the stepper motor and the switching circuit decides how the motor should be driven. The PC based stepper motor controller is a combination of driver and switching circuits. A pair of H-bridges with a software program written in ‘C++’ is used to control the bipolar stepper motor with a step resolution of 18 degree per pulse.

This PC based stepper motor controller is perhaps the cheapest, smallest and simplest.
