I believe the ULN2003 is similar, but only has 7 outputs instead of 8 as the one your inquiring about. Both are rated for 500mA from memory, so if your motor requires more than that, Consider using a FET.
Heres a diagram on how to interface one with a unipolar stepper motor, a DC motor would be very similar, but only has a single winding to control;
**broken link removed**
**broken link removed**
Generally because of the high current requirement of DC motors, FETs are the way too go. You can control copious amounts of current with a FET, and the IRL2203 is a great little logic driven FET.
**broken link removed**
**broken link removed**
You have to be careful about how much current the FET is driving & how long it takes to switch.
The FET has a bias point, where it has resistance as it turns on or off. During this phase, there will be a voltage dropped over the FET & current running through it - it can dissipate massive amounts of power in the form of heat.
Without a drive circuit, your FET will burn out over time. Logic devices are very limited to the amount of current they can deliver, and the problem is that the Gate acts like a capacitor, and takes time to "charge" and "discharge". A PIC micro is capable of 25mA MAX per output, pro-longing this charge time significantly. As a result, there’s an instantaneous heat build up, that will reduce the life of the FET every time it occurs.
Using a Drive circuit allows the FET to turn On and Off much faster, limiting the amount of time it spends at the "bias point" - reducing the heat developed on the FET.