On Mon, Nov 19, 2012, at 03:03 AM, David Meiklejohn wrote: > Yes, I see what you're saying. The problem I've had is that I can't find > (and I've been looking...) a motor driver that interfaces to the PIC, > using > the 4 x PWM outputs (P1A - P1D on a 16F684) configured in full-bridge > mode. > I also can't see how to configure a L293 (or anything similar) in a way > that > would demonstrate the PIC's full-bridge PWM mode. If you can point out > any > examples, I'll happily adopt them! >=20 > Remember, I'm not trying to show how to make an H-bridge to drive a > motor. > The key is to have something that is driven from those 4 full-bridge PWM > outputs, demonstrating forward and reverse operation as defined in the > PIC > data sheet. An H-bridge driven by a single-output PWM and a GPIO that > controls forward/reverse is elegant, but doesn't serve to illustrate the > PWM > modes as described in the PIC data sheet. There are lots of H-bridges that work the way you want. Rohm and Toshiba make many models, here's one that I have doing positioning in thousands of lasers: http://www.digikey.com/product-detail/en/BA6287F-E2/BA6287F-E2CT-ND/1158676 Best regards, Bob --=20 http://www.fastmail.fm - A no graphics, no pop-ups email service --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .