Originally Posted By: siberia37
Originally Posted By: mlord
Your wiring looks correct, but the datasheet shows an unusual truth table on pages 4 and 5.

It looks like your two GPIO pins need to be 00 for one direction, and 01 for the other direction. Use 10 for "brake" mode, and 11 for "coast".

Cheers


Thanks- I will double check my coding on the AVR. If I still can't get it to work then I guess I will order some L293s. I'm not happy the L293 only outputs 600ma though. My motor will probably draw more than that.


You should be able to get it working with the chip you have -- probably just logic issues, which you can verify with a volt meter on the GPIO outputs.

But if not, then each L293D (you definitely want the D version, with built-in diodes, not the one without the D) has *two* complete H-bridges, which can be ganged up for 1.2Amp peak drive capability (as done in the sample board circuit I'm using here).

Cheers


Edited by mlord (12/03/2008 20:18)