greetings,
i tried to rotate the wheels of my robot but the problem is that micro controller(atmega8) restarts again and again whenever we connect motor to micro controller through hbridge and after sometime motor stop.may i know the reason for this and how to overcome this problem.
thanks
Lots of detail...needed.
AWOL:
Lots of detail...needed.
could you please tell me few reason by which micro controller can restart?
thanks
Voltage fall down from a battery, short circuits, usage of watchdog into the sketch etc...
- use two power supplies;
- isolate the mcu from the motor via a diode + capacitor.