![](/uploads/1/2/5/8/125835757/884498120.png)
Find great deals on eBay for l293d motor driver. 5 x L293D Stepper Motor Driver Chip. L293D L293 L293B DIP/SOP Push-Pull Four-Channel Stepper Motor Driver IC. L297D STMicroelectronics Motor/Motion/Ignition Controllers & Drivers Stepper Motor datasheet, inventory & pricing. L99ASC03G Multifunctional System IC.
Hardware (L293D)
Run four solenoids, two DC motors or one bi-polar or uni-polar stepper with up to 600mA per channel using the L293D. These are perhaps better known as 'the drivers in Adafruit Motorshield'. If you accidentally damaged the drivers in a shield, you can use one of these puppies to replace it. Or you can breadboard something on your own! Each chip contains two full H-bridges (four half H-bridges). That means you can drive four solenoids, two DC motors bi-directionally, or one stepper motor. There's a PWM input per driver so you can control motor speed. Runs at 5V logic. Good for motor voltages from 4.5V up to 36V! This wont work well for 3V motors. The motor voltage is separate from the logic voltage.
The stepper motor has five leads, and we will be using both halves of the L293D this time. This means that there are a lot of connections to make on the breadboard. The motor has a 5-way socket on the end. Push jumper wires into the sockets to allow the motor to be connected to the breadboard.
Note that the red lead of the Stepper motor is not connected to anything.
Use the colors of the leads to identify them, not the position from which they emerge from the motor.
Use the colors of the leads to identify them, not the position from which they emerge from the motor.
Bipolar Stepper Motor
![L297d L297d](/uploads/1/2/5/8/125835757/391953031.png)
Driving a bipolar stepper motor with the L293D is very similar to driving a unipolar stepper motor. The pulse sequence is the same. The only difference between driving a unipolar stepper motor and driving a bipolar stepper motor is that there is an extra wire in a unipolar stepper motor you have to hook up.
![](/uploads/1/2/5/8/125835757/884498120.png)