Microcontroller goes off when motors start
October 29, 2010
I'm building a wireless controlled robot with a tank kit and a dual motor gearbox. I'm controlling the motors with a l298 and an atmega32 micocontroller.The problem is that when i turn on the motors they probably cause a dip in the power and that makes the atmega32 turn off. The statusled which goes on when the wireless connection is started goed off. I wish i had a scope or something so i could check this. With my multimeter i could not detect much, the voltage dropped from 6 to 5.8 volts. I used 4 alkaline 1.5v AA batteries.
I had this problem before when i had the motordriver on a prototyping board. but i fixed it with a ld1117 those can only handle about 800mA. But also without the ld1117 the atmega32 turns off.
I think this are the options:
- batteries can't give enough power, all power goes to motors, micocontroller stops
- design problem
Does anyone knows what the problem could be? i've attached my schematics.