So I'm currently working on a project that requires 5 servos to be connected to the arduino. I set everything up and I plugged in a separate power supply (2 9v batteries) to the breadboard. I didn't have any wires on the bread board that led back to the arduino except for the wires for the potentiometers and the yellow servo wire. I don't know what I did but since I have my arduino connected to my computer to upload code, once I plugged in the 9v batteries to the breadboard my computer just shut off. Now the ATMega heats up in use. Also, out of the pins that I've used, Analog pin 0 and 1 and Digital 0 and 1 could be having problems. I'm not sure which ones though. Analog is for the potentiometers and Digital is for the servos. When I turn the pot the servo connected to D0 the servo moves ~90 degrees, stops, waits about 3 seconds, and then turns the rest of the way. Sometimes while turning the pot for D0, the arduino L light would just flicker before turning off and the arduino is off for a few seconds before turning back on. D1 moves the servo barely moves. It doesn't even rotate the whole 180 degrees. I know the servos or pots are the cause because I tested it on another arduino and everything worked fine. Could I have broken my arduino entirely, or do I only need to replace the ATMega?
Here is a image of what it kinda looks like. (Only shows the two servos connected to the pins with problems):