The circuit shown in the figure makes it possible to control a stepper motor via the serial port of a PC. In this application we have the use of the ULN2803 integrated circuit for power control with the ability to supply currents of up to 500 mA to the controlled motor. The 7805 integrated circuit reduces the 12 V voltage from the motor supply to the 5 V required by the logic formed by the 12C509 integrated circuit. The 4V7 x 400 mW zener diode serves as a filter to deflect any higher voltage pulses that are in the data line and may cause problems with the circuit.