I’m quite new to Arduino so please bear with me. So i’m working on this little project, im using four servos connected to one pin, though so far i have installed only two. To make the servos work properly, I connected 12V charger to the round power slot, and two 9V batteries connected to each other to the bread board. That did not work, so i had to connect the power line from the bread board to the Vin port on arduino. I know this is pretty stupid, but I did not realise that the power is more than 20V. The small black rectangle next to the round power slot started heating up rapidly. Now the board works mostly normally, it runs the program it had stored, but I cannot upload anything new on the board. This is the error code i am getting:
Arduino: 1.8.9 (Windows 10), Board: "Arduino/Genuino Uno"
Sketch uses 930 bytes (2%) of program storage space. Maximum is 32256 bytes. Global variables use 9 bytes (0%) of dynamic memory, leaving 2039 bytes for local variables. Maximum is 2048 bytes. avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0xf9 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0xf9 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0xf9 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0xf9 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0xf9 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0xf9 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0xf9 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0xf9 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0xf9 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0xf9 Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.
This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences.
Is there anything i can do, or do i have to buy a new one? Thank you for any help.