question about a broken pin in arduino uno

hello guys,
i would like to know something: when a pin of an arduino is broken, is it just broken on the Atmega chip or something in the arduino uno board would be broken too ?

if just on the atmega, then if i can simply buy a new one with bootloader and replace it and it will work fine ?

You can buy one of these and it comes WITH the bootloader already installed.

Depends what pin. Most pins on the chip are just extended to the pin headers but a few (pins 0,1 & 13 at least) have other components. Worth a try though.

it's the pin 12 that is broken and maybe others i am not sure which other pins because it's been a while since i used this arduino but 12 is broken sure about it, so would that work ? or when a pin broke, it affects other components of the board and it becomes a handicap board or near dead one ?

Why is it broken ?

If by "broken" you mean it has been damaged, electrically, I'd be inclined to distrust the whole chip. Even if the rest of it is currently still working, it may fail unpredictably in due course. A replacement chip is cheap enough, if you have the means to carry out the work yourself.

KenF:
If by "broken" you mean it has been damaged, electrically, I'd be inclined to distrust the whole chip. Even if the rest of it is currently still working, it may fail unpredictably in due course. A replacement chip is cheap enough, if you have the means to carry out the work yourself.

yea sure, i simply have to change the Atmega chip, burn the bootloader if doesn't have one already and i'm all good to go ?

Just be careful that you don't bend the pins of the new IC as you plug it in. Ensure that the pins are correctly located in the socket, before giving that final push.

JohnLincoln:
Just be careful that you don't bend the pins of the new IC as you plug it in. Ensure that the pins are correctly located in the socket, before giving that final push.

sure ;), i have one already that i bought a while ago tomorrow i will burn the bootloader on it and we see

I have broken pins when pulling a chip. buy a socket then insert the pins. for the bad pin, just insert a wire and then solder that to the stub hanging out of the case.

but, for $3.00 you can buy a whole new Nano.

alas, not the UNO form, so it cannot accpet shields.
but for $8.oo you can buy an UNO clone.

JohnLincoln:
Just be careful that you don't bend the pins of the new IC as you plug it in. Ensure that the pins are correctly located in the socket, before giving that final push.

Brand new DIP ICs have their pins slightly "splayed", and don't easily fit into DIP sockets. There are a couple of options here.

The easiest way is to get a DIP IC pin straightener; this is a tool into which you can pop the IC, give it a squeeze, and it will bend the pins back into place, and get rid of a lot of the "splay" too. It's great for when you have an IC with bent pens or such. The problem, though, is finding one. I've had the best luck via surplus electronics places, and hamfests. Then again, I haven't tried to source the tool new, so maybe one can still be had via a normal source of some kind?

The next way takes a bit of finesse and being really careful. Basically, you lay all the legs of the pin, on it's side, on a very flat surface. Keeping them all in contact with the surface, you gently "rock" the IC so that the pins all get bent by a little bit. Then do the other side.

This method is fairly easy to do with most 0.3" width ICs with few pins (like the ATMega328). On larger ICs (like the 0.6" width ones with a lot of pins - or behemoths like the "aircraft carrier" Motorola 68000 processor) it can be very difficult or impossible to do (without damage to the IC), just because of the sheer number of pins needing bending. In those cases, a tool is definitely called for.

The usual suspects (Jameco/Farnell/Newark/etc.) all seem to carry them.

dave-in-nj:
I have broken pins when pulling a chip. buy a socket then insert the pins. for the bad pin, just insert a wire and then solder that to the stub hanging out of the case.

but, for $3.00 you can buy a whole new Nano.
Geekcreit® atmega328p nano v3 controller board improved version module development board Sale - Banggood.com

alas, not the UNO form, so it cannot accpet shields.
but for $8.oo you can buy an UNO clone.

ow i didn't meant broken physically but i mean electronically can't work :-[