Hey there, another basic electronics question here.
I'm using the arduino with an SN754410 quad half h-bridge to drive two small DC motors. The motor Vcc on the SN754410 is supplied by a 6v battery and everything shares a common ground.
I've noticed a problem: when I switch direction on both of the motors at the same time the arduino has a heart attack and resets. If I allow a "cool down" period (about one second), where the motors are allowed to come to a complete stop before reversing direction, everything works fine.
My question is, rather than introducing that cool down period, is there a hardware solution to help smooth out the spikes caused by suddenly reversing the motors?