Hi,
>
>I bought Atmel 89C51 (PC model) and I used it on my robot but after a
>few second it stoped working.
>What can I do?
>BTW I have four high current (3A) relays on my circuit.
>I added a bypass capacitor and shunt diode across the coiles of my
>relays and and only one regulator for supply of microcontroller.
>Also insert 2 capacitors (2200 uf, 10 uf) on the between GND and VCC. >Please help me?
You might try removing the relays to see if it works without them. If so, it could be voltage sags or spikes associated with the relay operation. Does the 89C51 have a brownout reset enabled?