The A3906 integrated circuit from Allegro Microsystems (www.allegromicro.com) consists of a PWM controller that can be used with both direct current motors and a stepper motor. The integrated circuit can operate with voltages from 2.5 to 9 V and a maximum output current of 1 A. The device used also has a sleep and shutdown function. In figure 1 we have the diagram for the application of control of two DC motors.

In figure 2 we have the same integrated circuit used in a bipolar stepper motor control.
