0
0
Embedded-cHow-ToBeginner · 3 min read

How to Create Mounting Holes on PCB: Step-by-Step Guide

To create mounting holes on a PCB, use your PCB design software's hole or drill tool to place holes at desired locations with specified diameters. These holes are usually non-plated and sized to fit screws or standoffs for mechanical support.
📐

Syntax

In most PCB design software, the syntax to create a mounting hole involves specifying the hole's position and diameter. For example, a typical command or dialog requires:

  • Position (X, Y): Coordinates on the PCB layout where the hole will be placed.
  • Diameter: Size of the hole, usually in millimeters or mils.
  • Hole Type: Non-plated hole (NPTH) for mounting holes to avoid electrical connection.
plaintext
MountingHole(
  position = (X, Y),
  diameter = D,
  plated = false
)
💻

Example

This example shows how to create a mounting hole at position (50mm, 30mm) with a 3mm diameter using a typical PCB design script or command:

plaintext
MountingHole(
  position = (50, 30),
  diameter = 3,
  plated = false
)
Output
A 3mm non-plated hole appears at coordinates X=50mm, Y=30mm on the PCB layout.
⚠️

Common Pitfalls

Common mistakes when creating mounting holes include:

  • Using plated holes instead of non-plated holes, which can cause unwanted electrical connections.
  • Placing holes too close to copper traces or pads, risking short circuits or mechanical weakness.
  • Incorrect hole size that does not fit the mounting hardware.
  • Not verifying hole positions relative to the PCB outline or mechanical constraints.

Always double-check hole properties and placement before finalizing the design.

plaintext
/* Wrong: Plated hole for mounting */
MountingHole(
  position = (50, 30),
  diameter = 3,
  plated = true
)

/* Correct: Non-plated hole for mounting */
MountingHole(
  position = (50, 30),
  diameter = 3,
  plated = false
)
📊

Quick Reference

PropertyDescriptionTypical Value
Position (X, Y)Coordinates on PCB layoutUser-defined (e.g., 50mm, 30mm)
DiameterHole size for screw or standoff2mm to 5mm common
PlatedWhether hole has copper platingFalse for mounting holes
Hole TypeNon-plated hole (NPTH) or platedNPTH for mounting
ClearanceDistance from copper featuresAt least 0.5mm recommended

Key Takeaways

Use non-plated holes for mounting to avoid electrical shorts.
Specify exact position and diameter for mounting holes in your PCB design.
Keep mounting holes clear of copper traces and pads for safety.
Verify hole size matches your mechanical hardware requirements.
Double-check hole placement relative to PCB edges and components.