All You Need to Know About Soldering

Soldering has been around for thousands of years but soldering as we know it today with electric soldering irons was invented in the late 1800 hundreds like many other electrical tools.
Soldering is when you attach 2 metal surfaces together by using a joining material that has a lower melting point then the 2 metals you want to join to have good electrical conductivity.
You can attach 2 wires this way or attach components to a PCB(printed circuit board).
Brazing and welding are very similar to soldering, but the main difference is temperature: for welding the 2 metal pieces are heated to there melting point, for Brazing and soldering only the joining filler melts. Soldering is used for delicate and thin metal(so mainly electronic components) while brazing is higher temperature and used for mechanical applications.
Not all metals can be soldered because the joining metal/alloy needs to have a lower melting point then the 2 metals/alloys that will be attached together. Some metals oxidize very easily and then the surface does not want to react with anything anymore so the solder joint metal will not beable to attach to it. Also not all metals chemically like each other. For example copper and tin like each other but stainless steal and tin do not. Instead, silver needs to be used for soldering stainless steel.
In this article I will focus on soldering electronics(so copper soldered with tin).
For pcb soldering there are 2 types of soldering: smt where components lay on the board, and Through hole where component legs go through the pcb to the other side.
Soldering is a skill that like biking is learned with lots of practice. That is why I wrote down everything I know about soldering in text format so that the details can easily be looked up. So, feel free to skip ahead to any specific section(equipment, polarity, soldering wires, through hole, SMT, SMT with Metal Bottom Pad)

Equipment

General tips:

This stuff(tin, flux, heated components, ...) is all a little toxic so good air ventilation and an open window is best.

Polarity

Some components have polarity.
Usually the start of the writing or a dot or a notch or a line is the start of the chip.
Some chips have writing one way and then the same writing upside down written the other way. Those do not have polarity.
Resistors usually never have polarity even if the writing is only written one way.
For through hole LEDs, the shorter leg is the negative terminal.

polarity

Soldering Wires

Attach

1)Remove plastic insulation(using wire strippers) at the ends of the wires where you want to attach them together

2)Hold the wires ends in place in the air with something because you need both your hands in the next step(for example clamp them to the table(so that the wire ends stick out))

3)Tin the wire ends
Because then in the next step you only need to heat the wires. Its way more difficult to put tin and attach the 2 wire at the same time.

4)Slide the insolation tube onto the wire

5)Hold the tinned wire ends together with something or your hand(I usually keep one clamped and hold the other one with my hand). Heat the joint with the soldering iron so that the tin melts and the wires attach together

6)Slip the insulation tube onto the joint.

If you are attaching a wire to a pcb it's the same thing, tin both then heat. The only difference is that you either dont put insulation or if you need it or the pcb is small you put heat shrink insulation over the entire pcb

Remove

1)Remove the insulation by sliding or cutting it off.

2)Heat where the 2 wires are joint together until they separate.(honestly it's easier to unsolder then to solder wires).
If for some reason someone twisted the wires together then you might need to pull a little. If that does not work just cut the entire joint part off instead.

Soldering Through Hole

through hole

Through hole components are components where the legs go through the pcb to the other side.

Attach

1)Put the component legs through the holes from the topside of the pcb. Watchout, some components have polarity.

2)Then turn the pcb over. If necessary(and legs long enough and bendable enough) bend the legs of the component a bit outward(after putting it through the hole) so the component does not fall out when turning the pcb over.
Also, always start with the least high components because once flipped over the table will hold them. If this is not possible because you are replacing a component then put something underneath the replacement component so that it does not fall out and sits straight.

3)Put tin all around the legs so that each hole is filled.

4)Cut any excess leg wire off with a wire cutter or the cutting part of pliers.

Remove

Option 1: heat and pull legs out

1)Put more tin on the legs

2)Heat with soldering iron.

3)If you want to put a new component in the holes then you need to remove the remaining tin that is filling them. This is done by adding more tin, heating the tin and blowing(well technically sucking) the tin out with a desoldering pump. Hold the desoldering pump directly over the hole, dont be afraid to get close to the soldering iron.

Option 2: desoldering pump

1)Put more solder on the legs

2)use the desoldering pump to remove the solder in the hole

3)Even though this method allows saving both the pcb and the component it can be a little tricky because sometimes a small amount of solder stays in the hole. If you have trouble removing this small excess solder keeping your component attached then repeat steps 1 and 2.

Option 3: heat gun

This only works if the legs are close together because otherwise the surface the heat gun has to cover is to big.

1)Heat all holes at the same time with a heat gun, Its usually easier to heat from the bottom cus you can get to the holes more easily.

2)When the tin is liquid pull the component out with your hand or pliers.

3))If you want to put a new component in the holes then you need to remove the remaining tin that is filling them using a desoldering pump. See option 1 part 3) for details.

Soldering SMT

smt(Surface Mount Technology)

SMT(Slightly More Tricky :) ) no I'm joking its easy once you get the hang of it. It actually stands for Surface Mount Technology because these components are laid on the pcb. Because these components can be very small(some resistors and capacitors can be sand grain sized!) a sinner soldering iron tip can make this type of soldering easier.

Remove

Option 1: heat gun

1)Use a Heat gun (~350°C) and heat the component

2)Be patient, small components come off quick while bigger ones take longer. For very big components you might need to crank up the heat to like 400°C otherwise it will take forever.

3)Remove the component with tweezers once possible (aka when tin is liquid). I find for small components grabbing it by the housing is easiest but for big components grabbing it by one of the legs works best.

4)Check if during the removal process any other components where accidentally moved out of place. If so either also remove them with a heat gun and reattach or replace them, or if it only has 2 legs/attach points you can carefully heat and nudge it back into place with the soldering iron.

5)Use the desoldering braid to clean the pads: Press the soldering iron onto the desoldering braid and gently wipe along the pads to remove the tin. This is necessary to not have shorts and because if you want to place a new component there then the component will not lay flat if there is still tin.

If while attaching a component you have trouble because one side is too high its likely because the pads where not properly cleaned.

If you dont have a desoldering braid you can also use the desoldering pump(do like with through hole, heat and then right away trigger the pump to suck up the tin) However, it's not as effective and I find its way more effort.

Option 2: soldering iron and lots and lots of tin

A bit more messy but only the component and its direct surroundings get heated(with a heat gun a bigger surface of the board gets heated which reduces chances of local overheating but increases overall thermal stress).

1)Put tweezers away. If you try to heat one side with the soldering iron and pull with tweezers you risk ripping off a leg pad from the pcb.

2)Make sure that the component does not have a metal pad below. If it does but you did not know you wont break anything, its just that option 2 will simply not work. (smt components with a bottom pad have to be removed with a heat gun)

3)Put a lot more tin on the legs

4)Heat both sides repetitively with the soldering iron until on both sides the tin stays liquid long enough that you can move/push the component off with the soldering iron. You can also just use 2 soldering irons and heat both sides at the same time.
You can do this for all components with legs on 2 sides even if it has many many legs. However, if it has legs on 4 sides you can not because it will be very very difficult to move fast enough to heat such that the tin is liquid on all sides at the same time inorder to move the component(maybe you could if you use 2 soldering irons but I've never tried it).

Attach

1)Make sure pcb leg pads are clean(no solder on them). If not use desoldering braid(see above in removal section).

2)Put tin on one leg pad

3)Then place the component. Watchout, some components have polarity.

4)Hold the component in place with tweasers(if it's a very big component, holding it with a finger is easier) and heat the leg pad with the tin on it to attach the component

5)Check that the component is aligned on all sides and that the legs sit flat on the pcb leg pads, if not then heat the attached leg to remove/move the component and do any necessary corrections

5.5)For components with many legs, once perfectly aligned solder another leg on the opposite side to make sure that it does not move when you start soldering all the other legs.

6)Attach the other legs
6.5)Check if during the removal process any other components where accidentally moved out of place(This usually only happens for replacing components with many legs). If so reattach them properly by either nudging them back into place with the soldering iron or removing them and putting a new component.

Soldering SMT with Metal Bottom Pad

This is very difficult because these components are meant for machines not humans.
These components are called BTCs(bottom terminated components)(not bitcoin lol :) ).
The pad is usually GND(ground) and sometimes additionally used for heat dissipation or mechanical support(to hold the component in place more easily). This is why it is so difficult to do by hand, the pad is meant as a heat sink so it's hard to heat it enough for the component to get attached.

Remove

1)remove like normal smt, only thing is it will take longer to heat enough to beable to remove it. You can also crank up the heat on your heat gun to 400°C if it takes to long. Like with normal smt, the bigger the component the longer it takes to heat enough to remove it.

Attach

1)check the datasheet of the component to see if you really need to solder the pad. If it is only for mechanical support you can get away with just soldering the side pins.

2)If you need the pad then Option 1: tin

  1)Put a little bit of solder on the pad. Try to make the layer as thin as possible otherwise the component will not lay flat. (if in the next step you want to use a heat gun at normal temperatures you need to also put tin on the component otherwise it wont stick. However, at these normal temperatures(350°C) it takes forever so not recommended).

  2)Crank up the heat on your heat gun to like 400°C otherwise it will take forever(also it is usually better for components and board health to have higher heat for a short amount of time rather than lower heat for a long time). Heat the pcb pad and hold the component right next to it so that it also heats but only place it once hot enough(if you place it right away the chip itself insulates the pcb pad, and it takes forever for the tin to melt. You need to heat the component and the pad at the same time because you cant put a cold component on a heated pcb pad, it wont hold. And even if it does hold the tin will cool immediately upon contact creating a bad connection(called cold solder).

  This step might need several attempts before the component is not only attached but also aligned properly. If you need more then 2 or 3 attempts take a new component because long heat exposure can/will damage the component, so it wont function properly anymore and the bottom pad wont take tin properly anymore either. If you need lots of attempts(usually 6 or more) the pcb will eventually have heat damage and a new pcb will be needed(you can see it, if the pcb turns brownish black its burnt). If the component is attached on a part of the pcb which sticks out from the rest of the pcb or that the pcb is very small, the pcb will overheat more quickly because less mass and cant cool as much since only attached to main board at one spot. If you heat the main board the heat can more easily dissipate to the rest of the pcb.

  3)Solder the legs like normal smt. Some have only small contacts on the sides(no real legs) but it's the same thing, solder them like you would a chip with many legs.

Option 2: solder paste

  I have never tried it, but I heard that using solder paste for this makes it easier. I think it's because you can place the component properly while still cold and the solder paste will hold it in place. Also since solder paste has lots of flux it will flow better.

  1)Apply solder paste to the pad by using tweezers.

  3)Place component

  4)Heat with heat gun(heat gun needs to be at higher temperature so like 400°C). When the paste starts flowing out on the sides a tiny bit then you know you are done heating.

  5)Solder the legs(or small contacts) like normal smt, I think you can use the solder that has flown out in the previous step and just add more solder.

Soldering Machines

In a factory the soldering process is usually mostly automated. Through hole machines are called wave machines because the pcb is passed over a wave/waterfall of liquid solder(is it called tinfall in this case? :) ). Smt machines are actually 3 machines: smt stencil printer, pick and place machine and reflow oven.

First a metal mask which has holes where the tin should go is put over the pcb(the pcb board itself is already made so it already has the leg pads and traces) Then tin paste is applied by the stencil printer. Then the machine places the smt components. Then the pcb is heated in a reflow oven to attach the smt components. Then it is cooled for inspection. The cooling is not necessary just that you can not inspect the boards for faulty soldering if the tin is still hot and since on a production line there is no time to wait, the boards are cooled.

Some boards have smt on both sides. First one side is done then the other side is done the same way. (Usually the back is done first because it usually has less components, so less components are stressed twice and heavier smt parts which could fall off despite tin not being fully liquid are also less likely to be on the back).
The components dont fall off when the other side is done because the board is only heated on one side and the heat is not high enough and the pcb insulates enough that the otherside is not hot enough to melt the tin completely.

Then the through hole parts are placed. After that the boards go into the wave machine where first flux is sprayed onto the bottom of the board in the areas where the through hole components need to be attached. Then the board is heated again so that there is no cold solder(if board still cold when tin is applied the tin will cool to quickly resulting in a badly electrically conducting joint(this is called cold solder)). Flux is put before heating because we want the contacts to not oxidize when they are heated(oxidation happens more at higher temperatures). Once warm(no need to go to the full 300 degrees celcius of the tin but like 150 or 200 is fine) the bottom is coated in tin by passing the board over liquid flowing tin.
Since the tin is fully liquid the flux has to be applied separately beforehand and can not be in the tin mixture cus it would evaporate when the tin is heated and never actually get to the board.

If the board has smt on both sides then the pcb is placed in a special tray that covers the smt parts as it goes through the tin to attach the through hole parts.


Back to building blog

Copyright © 2024 Jessica Socher ()