> I would be very suspicious of having a burnt-out microcontroller in a motor > drive circuit. If it happens in the lab, it will surely happen in the field.
Is the AVR somehow connected directly to the motor? Generally, microcontrollers shouldn't be connected directly to I/O devices. Only very "tame" ones, like LEDs and switches, LCD displays and such should connect directly, and even then, there needs to be protection between the device and the micro to insure current limits are met, and that ESD and EMI are handled. _______________________________________________ AVR-chat mailing list AVR-chat@nongnu.org http://lists.nongnu.org/mailman/listinfo/avr-chat