← KiCad PCB Design Course

Advanced Manufacturing

Take your boards to production: generate solder paste stencils and prepare files for automated PCB assembly (PCBA) at a fab house.

Solder Paste and Stencils

Play: Solder Paste and Stencils

Solder Paste Stencils

Hand-soldering surface-mount components one pad at a time works, but it is slow and joint quality depends heavily on technique. For boards with many SMT parts, or when assembling more than a couple of boards, a solder paste stencil is the right approach. It is the same process used in industry.

A stencil is a thin sheet of laser-cut stainless steel with apertures punched at the position and size of every SMD pad on the board. When the stencil is aligned over the bare PCB and solder paste is squeegeed across it, paste is deposited through the apertures onto the pads only. Lift the stencil, place the components, and reflow. The paste wicks to the pads and solidifies into joints.

KiCad generates the paste layer data automatically. Every SMT pad in a footprint has a paste aperture defined by the F.Paste (front paste) or B.Paste (back paste) layer. When you export Gerbers, include these layers in the package. Stencil manufacturers accept the paste Gerber directly and use it to cut the apertures. Most PCB fabrication houses that also offer stencils (JLCPCB, PCBgogo, OSH Stencils) accept the paste layer from your standard Gerber export.

For footprints with exposed thermal pads (a power regulator with a large ground tab, for instance), the paste aperture is typically sized to around 50-70% of the pad area, divided into a grid of smaller squares. This prevents outgassing from causing bridging or voids during reflow. KiCad footprints from reputable libraries will have this configured correctly. Check any custom footprints you create.

The Reflow Process

Reflow soldering with a stencil follows a fixed sequence. Each step matters:

Design boards with components on one side only if you intend to use paste and stencil. Two-sided SMT assembly requires reflowing one side and then the other, which means the first-side joints re-melt when the second side is processed. This adds complexity to bench assembly that is difficult to manage without proper fixturing.

If you are using leaded solder paste, wear gloves and wash your hands after handling it. The paste form makes lead significantly more bioavailable than solid solder wire.


Automated Assembly (PCB-A)

Play: Automated Assembly (PCB-A)

Automated PCB Assembly (PCBA)

Most low-cost PCB fabrication houses now offer assembly alongside bare board fabrication. You submit Gerbers as normal, plus a bill of materials and a component placement file, and receive fully assembled boards. For designs with fine-pitch ICs or large component counts, this is often faster and more reliable than hand assembly. At quantities of five or more boards, the cost per board is often comparable to buying the parts separately.

PCBA requires two additional output files from KiCad:

When reviewing the assembled BOM on the manufacturer's portal, check that each component has been matched to the correct part. Manufacturers will attempt to match generic descriptions (e.g. "100nF 0402 10V") from their parts library, but they may select an alternative that differs in a way that matters: voltage rating, tolerance, or case size. For critical components such as crystals, ICs, precision resistors, and current-sense resistors, specify the exact MPN and confirm it in the portal before approving the order.

Parts not in the manufacturer's library, or parts they do not stock, must be handled separately. Either order them yourself and ship them to the manufacturer as customer-supplied parts (this adds cost and lead time), or find an equivalent in their catalogue. Flag any such parts early in the design process so the sourcing decision does not block the order.

Once you have submitted a successful order and confirmed the BOM, reordering is straightforward. The order history preserves your exact part selections, so you can reorder without reworking the BOM from scratch.