Friends,
Today I had a hell of a time solving out problem of this Atmel 89S52 Microcontroller getting reset as soon as I try to run robot motors. I tried to bring down the impedance of the pin to 1k Ohms to GND and still it gets reset. I increased the capacitor filter to 1000uF and then 2000uF even then it was getting reset. I even removed the resetting capacitor, then also it was getting rest.
This board has only Microcontroller and MAX232 RS232 driver and 4 lines through 10k ohms resistance to drive H-Bridge and eventually DC gear motors of the robot. MAX232 is linked to 434MHz RF link of 20mW to my PC from which I send commands to the robot.
I removed regulated power supply and connected 4.8V Ni-Cd battery and yet it was getting reset.
If I don't drive motors then nothing happens so bad.
These gear motors are from small toy so hardly take any great power and I have 4.5AH 6V Lead-Acid battery to power the motors. Motors run but uC gets into problem. I am using internal Flash program which is OK and nothing wrong with the program.
I had no such problem if I use Atmel AT89C2051. This chip looks real good one for 2.7V to 6V going great. AT89S52 needs 4.5V to 5.5V range power.
Can any one tell with past experience if any such thing was observed?
"Almost" Good Answers: