Français

Lessons · Lesson M1 · Mechanics and 3D · 25 min

Soldering and perfboard

Solder safely, tell a good joint from a bad one, and move a breadboard circuit onto a perfboard so it stays put. About 25 minutes, with a practice exercise.

Safety first

Soldering means melting metal with a tool that is hotter than anything in a kitchen. It is very doable, and it is safe when you follow a few habits. Read them before you plug the iron in.

  • Younger makers: first joints with an adult nearby. Anyone new to soldering should have someone who has soldered before sit with them for the first joints.
  • Hot iron, in its stand. Whenever you let go of it, it goes back in the stand. A stand stops the iron from rolling around and protects you and your table from burns [1]. An iron left lying on a desk is a burn hazard, and it could even start a fire [2]. Never touch the metal tip or the metal shaft, and never try to catch an iron that falls: step back and let it drop. Work on a heat-proof mat, with the cord away from the tip.
  • Hold the board with a clamp, not your fingers. Leads and wires carry the heat straight to your skin.
  • If you get burnt: cool running water for at least 10 minutes, and get help.
  • Fresh air. For more than a few joints, work in a ventilated area, outdoors, or use a fan with a filter to catch the smoke and fumes [1]. A small fume extractor on the bench does the same job.
  • Eye protection. Wear safety glasses, in case a clipped lead or a drop of molten solder flies toward your eyes [2].
  • Lead-free solder (our recommendation). Leaded solder is easy to work with, but lead is poisonous and builds up in the body through inhalation, swallowing or skin contact [1]. Lead-free solder is generally considered safer [1]. The smoke comes mostly from the flux, so ventilate whichever solder you use. Lead-free solder may need a little more heat and more flux [1], which is a fair price.
  • Wash your hands when you finish. Since lead can get in through skin contact or swallowing [1], this is our rule for every session, whichever solder you use. Do it before you eat or drink.
  • Nothing powered while you solder. Batteries out of the holder and USB cable unplugged. Keep the ESP32 out of its sockets too, unless your project tells you to plug it in to hold the sockets straight.
  • Unplug the iron when you are done, and let it cool in its stand. It stays hot for several minutes.
  • Never use acid-core solder or acid flux on electronics. The acid destroys the connections [1]. Look for “rosin core” or “electronics” on the spool.

If anything smells scorched, smokes more than a wisp, or you feel dizzy, stop, unplug the iron and get some fresh air.

A tidy soldering bench A soldering bench seen from above. On the right, the iron rests in its coil stand, next to a damp sponge, its cable running away from the work. Top left, a small fan with a filter pulls the smoke away from your face: fresh air. In the middle, helping hands hold a small board, with clear space drawn around it. Below, a pair of safety glasses and a spool of lead-free solder. Bottom right, a tap and soap: wash your hands after every session. Labels: stand, fresh air, glasses, wash hands after. FIG. 1 — A SAFE BENCH, SEEN FROM ABOVEclear spacehelping hands hold the board2fresh airfan with a filter pullsthe smoke awaydamp sponge1standthe iron goes back in it every time3glasseslead-free solder4wash handsafterDone? Unplug the iron and let it cool in its stand.
Tap the diagram to open it full screen.

The few tools you need

You do not need a fancy workshop. The bare minimum is:

  • A soldering iron of 25 watts or more. An underpowered iron takes longer to heat the joint. The heat then spreads into the component and can damage it, and the solder may refuse to flow [1]. A temperature-controlled iron is nice but not essential [1].
  • A stand, ideally with a damp sponge or a brass sponge to wipe the tip [1][2].
  • Solder. Electronics solder with a rosin (flux) core [1]. We recommend lead-free (screen 1).
  • Diagonal or flush cutters to trim the leads after soldering [1][2].
  • A way to hold the work still: a “helping hands” holder, a vise, a bit of sticky tack, or a piece of cardboard pressing a part down [2].
  • Safety glasses [2].
  • A multimeter to check your joints afterwards, in continuity mode [2].

Temperature. If your iron has a dial, guides differ a little: one suggests a medium setting of 325 to 375 °C [2], another 400 °C for lead-free solder [3]. Start in that range and follow the label on your solder. If the solder smokes a lot, turn the heat down [2].


Soldering in 60 seconds: heat the joint, not the solder

Here is the whole idea in one sentence: heat the joint, not the solder. The iron warms the pad and the lead, and they melt the solder. If you melt the solder on the tip and drop it on a cold joint, it can sit on top without sticking.

Before you start [3]

  1. Heat the iron. Wipe the tip on the damp sponge. Do not use files or abrasives on it.
  2. Tin the tip: melt a little solder on it and wipe again, so it has a thin, shiny layer.
  3. Make sure the joint is clean. Dirt, oxidation and oily fingerprints stop solder from sticking.
  4. Hold everything still. If the part moves while the solder hardens, you get an unreliable joint. Bending the leads on the underside usually holds a part in place.

The joint [4]

  1. Heat the joint. Touch the iron to both the pad and the lead. A tiny drop of solder on the tip helps pass the heat across.
  2. Add the solder. Touch the solder wire to the joint, on the pad and the lead, not on the iron. It should melt and flow onto both. If it does not flow, heat for a second or two more.
  3. Let it flow until it fills the hole and spreads smoothly.
  4. Take the solder away, then the iron [2]. Let the joint cool without touching it.
  5. Trim the lead close to the board [4]. Hold the end, or point it down at the table, so the clipped bit does not fly.

A good joint looks like a small volcano or a chocolate kiss, not a ball or a clump [2].

Heat the joint, not the solder Four side views of one joint, left to right. 1: the iron tip touches the copper pad and the component lead together, and heats both. 2: the solder wire touches the joint on the other side, not the iron, and melts. 3: the solder flows into a smooth cone that covers the pad and climbs the lead, like a small volcano. 4: the solder wire is taken away, then the iron; the joint cools without moving, and the cutters trim the lead close to the cone. Caption: heat the joint, not the solder. FIG. 2 — ONE JOINT, FOUR STEPS (SIDE VIEW)1Iron on pad and leadboth get hot2Solder on the jointnot on the iron3It flowsa smooth cone4Solder away, iron awaycool still, then trimsnipHeat the joint, not the solder.
Tap the diagram to open it full screen.

Good joints and bad joints

Look closely. You can learn to read a joint.

Good: a smooth cone that covers the pad and climbs the lead, like a small volcano [2].

Bad ones to recognize [5]

What you see Name Why it matters
Rough or lumpy surface Cold joint (solder did not fully melt) Poor bond, may crack over time
Frosted, crystalline surface Disturbed joint (it moved while cooling) Unreliable
A big blob Too much solder May not be stuck to the pin or the pad underneath
Not enough solder Solder starved Weak, may crack
Solder sticks to the lead but not the pad Insufficient wetting The pad was not heated, or the board was dirty
Two joints melted together Solder bridge A short circuit you did not plan
A long lead sticking out Untrimmed lead May touch something it should not

Afterwards, you can test a joint with a multimeter set to continuity mode [2].

Good joint, bad joints Five joints drawn in cross-section, side by side. 1, good, with a green tick: a smooth concave cone that covers the pad and climbs the lead, like a small volcano. 2, cold joint: a rough, lumpy, dull lump that did not fully melt and does not spread onto the pad; poor bond, may crack. 3, too much solder: a big round blob that hides the lead; it may not touch the pin or the pad at all. 4, solder starved: only a thin ring, most of the pad bare; weak, may crack. 5, solder bridge: two neighbouring joints melted together, a short circuit you did not plan. Fixes: reheat until it flows; draw the excess off with the iron, solder wick or a solder sucker. FIG. 3 — READ A JOINT (CROSS-SECTION)1Gooda small volcano2Cold jointlumpy, dull: reheat3Too muchmay not touch the pad4Starvedweak, may crack5joined!Bridgea short circuit
Tap the diagram to open it full screen.

From breadboard to perfboard

A breadboard is perfect for trying things out. When your circuit works and you want it to survive a pocket, a bag or a box, you make it permanent on a perfboard: a board with holes and copper pads, where you solder each part in place.

One example is a “proto” board made to look like a breadboard: it keeps a familiar hole pattern, with the same five-hole groups and power lines on the sides, and it has mounting holes so you can fix it inside a project box [6]. A basic perfboard may not join any holes together, so check how yours is wired before you plan.

This is what mission 01’s “Make it permanent” version does: the same circuit and the same code, soldered onto a perfboard with sockets for the ESP32, so it can go in a box.

How to move a circuit (our suggested method, for any circuit)

  1. Draw it first. Copy your working breadboard onto paper or on screen, part by part. One mistake on paper costs nothing.
  2. Place the tall parts last. Start with the flat parts and work up, so the board lies flat on the bench while you solder.
  3. Use sockets for the expensive parts. Soldering female headers on the board, then plugging the ESP32 board into them, lets you remove it later (our suggestion). Follow your project’s order for them: mission 01 fits them first, plugged onto the ESP32 so they stay straight, then takes the ESP32 out before going on.
  4. Hold each part still by bending its leads on the underside [3], then solder one pin, check it sits straight, then the rest.
  5. Mark the power rails on the board with a pen, + and −, exactly as on your breadboard. A battery wire goes only where your drawing puts it, never onto a rail “because it is close”.
  6. Link the pads with short pieces of insulated solid wire, or by bending a component lead over to the next pad, copying the connections of your drawing. Do not link pads with blobs of solder: that is how unplanned bridges start. If your board has strips that join holes you need to keep apart, cut the strip between them (on a breadboard-style board, the copper on the underside can be cut [6]), then check the cut with the multimeter.
  7. Trim the leads [4], and check for bridges between neighbours [5].
  8. Test with the multimeter before you power it. Continuity (beep) mode, nothing plugged in: + rail to − rail must not beep; neighbouring rows or strips that your drawing does not link must not beep (holes in the same strip always beep); every link on your drawing must beep. Then put the cells in, switch the pack ON with the ESP32 still out of its sockets, and check the voltages your project sheet gives. Only then: pack OFF, plug in the ESP32, pack ON, with the same pack as on the breadboard.

For scale, one quarter-size proto board measures 43 by 50.8 mm [6]. Half-size and full-size versions exist too [6]: pick the size your project’s instructions ask for.

From breadboard to perfboard Left, a small circuit on a breadboard: a female header that takes the ESP32 board, with the GND, 27 and 26 sockets marked; a green wire from 26 to row 9, a 220 ohm resistor from row 9 to row 12, an LED with its long leg in row 12 and short leg in row 13, a black wire from row 13 to the minus rail; a blue wire from 27 to a button straddling the middle gap in rows 15 and 17, its opposite leg to the bottom minus rail, and a black link between the two minus rails. Right, the same circuit on a perfboard laid out like a breadboard: copper strips of five pads per half-row and four rails. Same parts in the same holes, same colours; the wires are soldered on the back, so they are drawn dashed. An arrow maps row 9 of the breadboard to the copper strip of row 9 on the perfboard: the five holes that were joined inside the breadboard are joined by the copper strip. FIG. 4 — SAME CIRCUIT, SAME HOLESaBreadboard: try it+−−+jihgfedcba151315+GND2726bPerfboard: make it stay+−−+151315+GND2726row 9strip 9same five holes, joined by copperESP32 socket = female header: the board plugs in and stays removable.Dashed wires: soldered on the back of the perfboard, same colours as the breadboard.A basic perfboard may join no holes at all: check how yours is wired, then draw your plan first.mounting hole
Tap the diagram to open it full screen.

Try it, and troubleshooting

Practice first, on something you can afford to ruin. Take a bare scrap board and a handful of cheap parts (old resistors, wire off-cuts). Your goal: ten joints that look like small volcanoes.

  1. Set up: stand, glasses, ventilation. Hair tied back, sleeves clear of the iron.
  2. Heat the iron, wipe and tin the tip [3].
  3. Make one joint following the five steps of screen 3, counting slowly: iron on the joint, solder on the joint, solder away, iron away.
  4. Look at it. Compare with the table of screen 4.
  5. Repeat ten times. Once you like them, solder your real circuit.
  6. Wash your hands.

If it goes wrong

Problem What to try
Solder will not flow, it beads up Stop and let the joint cool. Clean and tin the iron, clean off burnt flux, let the iron come back to temperature, then try again [5].
Solder sticks to the lead but not the pad Put the tip of the iron at the base of the joint, on the pad, until the solder flows over the pad. If the board looks dirty, clean it first [5].
Lumpy, dull joint Reheat until it flows, hold the part still while it cools [5].
Too much solder or a bridge Draw the excess off with the tip of a hot iron, or use solder wick or a solder sucker [5].
Pad lifted off the board It can usually be repaired by folding the lead over to a copper trace that is still attached and soldering it there [5]; on a perfboard, that means the next pad of the same strip, or a short wire. Stop and ask for help before going further.
The tip is black and dirty Wipe on the damp sponge and tin it again. No files [3].

Check yourself

Three short questions. Nothing is saved, take your time.

  1. You are about to make a joint. What do you heat first?

    • The solder wire, then you drop the melted solder on the joint
    • The pad and the component lead together, then you touch the solder to them
    • Only the solder pad, never the lead
    Show the answer

    The pad and the component lead together, then you touch the solder to them. Heat both the pad and the lead with the iron, then touch the solder to the joint so it melts and flows onto both [4]. Heat the joint, not the solder.

  2. You pause to look for your scissors. Where does the hot iron go?

    • On the edge of the table, handle sticking out
    • Across the breadboard, to keep it warm
    • Back in its stand, with the room ventilated and your glasses still on
    Show the answer

    Back in its stand, with the room ventilated and your glasses still on. A stand keeps the hot iron from rolling and protects you and your table from burns [1]. An iron left on a desk can also start a fire [2]. Ventilate [1], and wear glasses in case a clipped lead or molten solder flies [2].

  3. Your joint looks rough and lumpy. What is it, and what do you do?

    • A cold joint: reheat it with the hot iron until the solder flows, then let it cool without moving it
    • A perfect joint: leave it
    • A solder bridge: add more solder
    Show the answer

    A cold joint: reheat it with the hot iron until the solder flows, then let it cool without moving it. A rough or lumpy surface is the sign of a cold joint, where the solder did not melt completely. It is unreliable, and usually fixed by reheating until the solder flows [5].

In short

  • Safety: iron in its stand, fresh air, glasses, lead-free solder, wash your hands.
  • Heat the joint, not the solder: pad and lead first, then the solder, then remove the solder, then the iron.
  • A good joint is a smooth small volcano. Lumpy, frosted or blobby means redo it.
  • Move a circuit to a perfboard by drawing it first, linking pads with wire (not solder blobs), and checking + to − does not beep before you power it.

Sources

Show the 6 sources
  1. Adafruit, “Adafruit Guide To Excellent Soldering”, page “Tools” (25 W or more iron; a stand protects from burns; lead-free solder safer, lead builds up through inhalation, ingestion or skin contact, and may need more heat and flux; work in a ventilated area, outdoors, or with a filtered fan; never acid-core solder or acid flux; diagonal cutters) — https://learn.adafruit.com/adafruit-guide-excellent-soldering/tools
  2. SparkFun, “How to Solder: Through-Hole Soldering” (leaded versus lead-free; iron stand, a hot iron left on a desk can burn you or start a fire; safety glasses for flying leads or molten solder; ways to hold parts; a medium temperature of 325 to 375 °C; solder pulled away before the iron; good joint like a volcano or a kiss; continuity test with a multimeter) — https://learn.sparkfun.com/tutorials/how-to-solder-through-hole-soldering
  3. Adafruit, “Adafruit Guide To Excellent Soldering”, page “Preparation” (700 °F / 370 °C for 60/40 and 750 °F / 400 °C for lead-free if the iron is temperature controlled; damp sponge; no files; tin the tip; clean the joint; immobilize the joint) — https://learn.adafruit.com/adafruit-guide-excellent-soldering/preparation
  4. Adafruit, “Adafruit Guide To Excellent Soldering”, page “Making a good solder joint” (heat pad and lead; apply solder to the joint; let it flow; cool undisturbed; trim the lead; if the solder does not flow, heat a second or two more) — https://learn.adafruit.com/adafruit-guide-excellent-soldering/making-a-good-solder-joint
  5. Adafruit, “Adafruit Guide To Excellent Soldering”, page “Common problems” (cold joint, disturbed joint, insufficient wetting, solder starved, too much solder, untrimmed leads, solder bridge, lifted pad, and their repairs; what to do when the solder refuses to flow) — https://learn.adafruit.com/adafruit-guide-excellent-soldering/common-problems
  6. Adafruit, “Adafruit Perma-Proto Quarter-sized Breadboard PCB” (a PCB laid out like a breadboard to ease moving a circuit to something permanent; 5-hole pad design; mounting holes to attach it to a project box; copper can be cut on the underside; 1.7 in x 2.0 in, 43 x 50.8 mm) — https://www.adafruit.com/product/1608

Pinch or double-tap to zoom, swipe to change diagram.Scroll with Ctrl or double-click to zoom. Arrow keys change diagram.