On 05/02/2011 23:14, Nathan House wrote: > I'm not sure if I connected the flyback diodes correctly in my > circuit. Here's the schematic: > http://www.roboticsguy.com/images/misc/balancing_robot/balancing-robot-bo= ard-schematic-r8.png. > Is that the right way to do it? > Are there two motors? if it's one motor with two windings then the induced emf in 2nd winding=20 might or might not be a problem for that circuit. If it's two motors, the circuit looks OK. Have you an Resistor and Capacitor (snubber rated suitably) at the motor=20 contacts too? --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .