What are castellated holes?
Castellated holes are plated holes cut in half by the board outline, leaving a row of plated half-cylinders along the edge. They let a small board, such as a radio or microcontroller module, be soldered flat onto a larger carrier board like a surface-mount part.
How are castellated holes made?
The fabricator drills and plates ordinary holes on the board outline, then routes the edge through the middle of them while keeping the plating intact. JLCPCB's design notes ask for a copper pad on both top and bottom layers for each castellated hole, solder mask openings on both sides, a drill hit for each hole, and an outline that crosses the drill hole. PCBWay treats plated through-holes that extend beyond the board edge as half-holes, with vias exempt.
How big should castellated holes be?
Published limits differ between fabricators and even between pages of the same fabricator, so design to the stricter number:
- JLCPCB capabilities page: hole diameter at least 0.5 mm, hole to hole at least 0.5 mm, hole to board edge at least 1 mm, board at least 10 × 10 mm and 0.6 mm thick.
- JLCPCB help article: hole size and spacing of at least 0.6 mm.
- PCBWay design instruction: half-hole diameter and spacing greater than 0.4 mm; its capability table lists 0.5 mm and up as the normal process, with 0.4 to 0.5 mm as medium difficulty.
Does it cost more?
Yes. JLCPCB charges extra when castellated holes are selected at order time, because they are made with a special process. If the option is not selected, the holes are made with the ordinary process and quality is not promised: holes can be unplated or incompletely plated, or left with copper residue. Plated edges, a related feature, are copper plated and ENIG treated at JLCPCB, and HASL is not supported for them.
How are they drawn in KiCad?
Place plated through-hole pads with their centers on the Edge.Cuts outline and set the pad's fabrication property to castellated. KiCad allows castellated pads to intersect the board edge, which would otherwise be a DRC error, and marks them in Gerber X2 output. The Board Finish section of Board Setup also has a castellation setting that is written into the Gerber job file so the fabricator sees it.
Common mistakes
- Forgetting the order option, so the holes are made with the ordinary process.
- Missing pads on the bottom layer, which leaves nothing for the carrier's solder to wet.
- Putting holes closer to the other board edges, or to each other, than the fabricator's minimum.
- Drawing the carrier board's footprint with pads that stop at the module outline, which leaves no visible fillet to inspect or touch up with an iron.
Sources
- JLCPCB: PCB Manufacturing & Assembly Capabilitiesjlcpcb.com
Castellated hole diameter, spacing, edge distance, board size and thickness; plated edge finish
- JLCPCB Help Center: What is castellated holesjlcpcb.com
Layer requirements, 0.6 mm size and space, ordering option and its effect
- PCBWay: How to design the half (castellated) holes for PCBpcbway.com
Half-hole rules and 0.4 mm minimum
- PCBWay: PCB Capabilitiespcbway.com
Normal and medium-difficulty castellated hole diameters
- KiCad 9 Documentation: PCB Editordocs.kicad.org
Castellated pad property and Board Finish castellation setting
