Cameras & sensorsGuide

USB camera module mounting holes: match the board, not the cable

Read a USB camera module's drawing for hole diameter and spacing, then match screws, brackets and stands to the board's mounting holes, not to the cable.

LumaSpec Vision11 min read Share on LinkedIn

On this page 12 sections
  1. 01The holes belong to the board, not the cable
  2. 02Read the mechanical drawing before you order anything
  3. 03Screw size against hole size
  4. 04Worked example: will an M2.5 screw pass a 2.0 mm camera hole?
  5. 05Three ways to hold the module
  6. 06Which module style you are mounting
  7. 07On the bench: stands and slide tables
  8. 08Set the optics once the board is fixed
  9. 09Checks before you order
  10. 10When the usual answer is wrong
  11. 11The decision in one line
  12. 12Questions

A USB camera module is a printed circuit board with four small holes near its corners. Those holes — their diameter and their centre-to-centre spacing — are the whole mechanical story. A mount cut for one module outline will not take another: the patterns differ by tens of millimetres, not fractions, and no adapter plate recovers the difference. This guide is for anyone fixing USB (UVC) board camera modules into a machine, a case or a bench stand. You will read the pattern off the mechanical drawing, check screw size against hole size with one subtraction, and choose between a bracket cut to the pattern, a slotted bracket that spans a range, or a housing built around the module. Do it before ordering hardware, and the camera lands on a mount that fits the first time.

The holes belong to the board, not the cable

The cable predicts nothing about the mount. Ribbon-cable camera modules share one dominant outline, so most ready-made brackets are cut for that footprint, with mounting holes about 2.0 mm across. A USB camera module is a different board: its outline, hole count and hole positions follow whichever sensor and interface layout the designer chose, and every module family lands in a different place. A bracket made for a ribbon camera misses a USB module's holes completely.

That is why the mismatch shows up as a total miss rather than a couple of millimetres off. Treat the ribbon-cable module as a separate mechanical species — its flat-flex connector, with its own latch and length limits, has nothing to do with how a USB module bolts down, as the ribbon cable replacement guide explains. The decision follows: read the USB module's own pattern first, then buy the bracket.

Read the mechanical drawing before you order anything

The drawing — a dimensioned PDF, DXF or STEP file from the module maker — is the only authority for four numbers:

  • hole diameter, usually one value for all four holes;
  • pitch in X and pitch in Y, measured hole-centre to hole-centre;
  • board outline and corner radii, so a case grips edges rather than components;
  • the offset from the hole datum to the sensor's optical centre.

Makers publish STEP files for exactly this purpose, and the housing design guide shows how to build from them; the same files give your bracket its hole positions. Pull the numbers once, keep them with the project, and re-check them at every hardware revision. Outlines and hole patterns do move between revisions, which is why a hardware revision compatibility check starts on the drawing, not the box label.

The optical-centre offset is not cosmetic. Object-space shift equals mounting offset divided by magnification. At the 0.05-0.2 magnifications typical of inspection optics, a 10 mm placement error swings your region of interest 50-200 mm across the scene. Only the drawing states that number.

Screw size against hole size

One rule decides the screw: it passes only when its thread diameter is no larger than the hole. These are the standard values:

Screw Thread diameter Tapping drill diameter ISO 273 medium clearance hole
M2 2.0 mm 1.7 mm 2.4 mm
M2.5 2.5 mm 2.05 mm 2.8 mm
M3 3.0 mm 2.5 mm 3.4 mm

Camera boards usually cut holes at or just under the thread diameter for a snug location fit — the 2.0 mm holes on the common ribbon-camera footprint are exactly that, sized for M2. A close-enough M2.5 screw cannot even start: the drill that would cut an M2.5 thread is already 2.05 mm across.

Worked example: will an M2.5 screw pass a 2.0 mm camera hole?

Inputs, each from its source:

  • hole diameter 2.0 mm — the dimensioned drawing of the common ribbon-camera footprint;
  • M2.5 tapping drill diameter 2.05 mm — standard metric coarse-thread table, pitch 0.45 mm;
  • M2 thread diameter 2.0 mm — same table, pitch 0.4 mm.

The rule, in words: whatever goes through the hole must be no bigger than the hole, and the interference is how much the hole is short by.

interference = tapping drill diameter - hole diameter fit works only when interference <= 0 free fit: clearance hole = thread diameter + 0.3 to 0.4 mm (ISO 273 medium)

The arithmetic, written out:

  • M2.5 against the 2.0 mm hole: 2.05 mm − 2.00 mm = 0.05 mm oversize. The tapping drill will not enter, so no M2.5 thread can form, and the 2.5 mm screw itself is further off still. Forcing it cuts a thread into the laminate and lifts pads.
  • M2 against the same hole: 2.00 mm − 2.00 mm = 0.00 mm. A line-to-line pass: the screw slides under finger pressure and clamps as a snug location fit, which is how the pattern was designed to be used.

Result: M2.5 is out, M2 is the screw for a 2.0 mm hole. Generalize the threshold like this: any oversize above zero means the screw does not pass, and more than about 0.1 mm of interference means you would be machining the board instead of clamping it. When you want a free-running fit rather than a snug one, spec the ISO 273 medium hole — 2.4 mm for M2, 2.8 mm for M2.5, 3.4 mm for M3.

Three ways to hold the module

A bracket cut to the pattern fits fastest and also sets the optical height. It works only when the bracket's pitch equals the drawing's pitch in both axes, so check X and Y separately — brackets exist that match on one axis and miss on the other.

A slotted bracket absorbs pitch differences between modules, which is the flexible answer when one station takes several module types. Slots give a few millimetres of adjustment per axis; the small brackets that carry an M12 lens on a board typically use a 20 mm hole spacing, which fits boards laid out for it and nothing wider.

A case built for the form factor grips the board on its own datum, carries the strain relief and turns the module into a bolt-in sensor block — the right answer wherever a machine will bump, wash or dust the camera.

If the hardware you have is one size off, adapt the bracket, never the board: installing threaded inserts in oversized holes is the standard repair on plates and castings, and a bushing solves the same problem in minutes.

Before any of the three, clear the overhangs: the USB socket, IO header and lens barrel all stick out past the outline, and the bracket must miss them. It is the same verify-first discipline as a camera IO board pin alignment before the board goes under screws.

Which module style you are mounting

Board cameras arrive in three mechanical styles, and the style decides how much weight the hole pattern carries on its own. If the module choice itself is still open, the camera finder filters board-level cameras by mount, interface and shutter.

Specification LS-BCM-0003 LS-BCM-0043 MV-CB060-10UM-B
Sensor model Sony IMX252 PYTHON Sony® IMX178
Resolution 2048 × 1536 (3MP) – 3072 × 2048
Max. frame rate 120 fps – 60.9 fps @ 3072 × 2048 Mono 8
Pixel size 3.45 μm 4.8 μm x 4.8 μm 2.4 μm × 2.4 μm
Sensor size 1/1.8" – 1/1.8"
Data interface USB3.0 – USB 3.0
Pixel bit depth 10-bit 8bit –
Sensor type CMOS CMOS CMOS, rolling shutter
Dynamic range >70.0 dB – 66 dB
Exposure time 16 μs ~ 1 s – 8 μs to 1 sec
Digital I/O 1 opto-isolated input line, 1 opto-isolated output line, 1 non-opto-isolated Configurable input and output lines – Bi-directional non-isolated I/O × 2 (Line 2, Line 5)
Power supply 5 V via USB3.0 port 5 V, USB bus power supply USB 3.0 power supply
Price $690.00 $179.00 $239.00

Values as printed in each product's data sheet; open a part for its drawing and full specifications.

A C-mount module bolts through the lens mount as well as the board, because the barrel accepts standard C-mount clamping hardware; the bracket work shrinks to a plate that takes both. Lens mount thread sizes differ across modules — M12, C-mount and others — and each brings its own clamp family. The LS-BCM-0003 is a 3.1 MP USB3 board camera with a 1/1.8" global-shutter sensor and a C-mount, so it takes either route.

An S-mount (M12) module has no structural mount worth loading: the barrel is a focus mechanism and must stay free. Clamp the PCB edges instead, exactly as the drawing shows. The LS-BCM-0043 is a 1.3 MP USB3 binocular module with M12 lens mounts and a global shutter. Its data sheet lists 1280 × 1024 at 123 fps. A stereo pair like this earns its pattern extra respect, because both heads must hold a fixed relative pose.

Board-level camerasBinocular camera / module, 1.3 MP, USB3, Colour/Mono, 1280 x 1024 @ 123FPS resolution (LS-BCM-0043)LS-BCM-0043
Sensor format
1/2"
Lens mount
M12
Interface
USB3
Resolution
Up to 3 MP
$179.00View partBuild a system with it

A bare board arrives with no fixings beyond the PCB holes, so standoffs and a housing carry everything. The MV-CB060-10UM-B is a 6 MP 1/1.8" USB3 camera supplied as a bare board; plan its standoffs straight from the drawing, and the small-form-factor USB module guide covers how such modules integrate on the software side.

On the bench: stands and slide tables

With the module on its bracket or in its case, the assembly mounts like any machine-vision camera. A slide-table stand gives height and focus travel, and the camera stands range adds tilt stages, X/Y plates and rotary stages for fine posing. The LS-MNT-0040 is a professional slide-table stand with a 700 mm height and a 400 × 450 mm base — a stable home for a bracket-carried USB module while you set focus and field.

Camera standsMachine vision camera stand, professional slide-table type, height 700 mm, 400 x 450 mm base (LS-MNT-0040)LS-MNT-0040
Type
Camera stands
$629.00View partBuild a system with it

Pose the part, pose the camera, then lock the stand down: an X/Y stage under the bracket beats re-drilling anything will ever manage.

Set the optics once the board is fixed

The hole pattern fixes where the sensor sits; the lens decides what it sees. Keep the two errors apart — a mounting error moves the field, a lens error sizes it — and work them in that order: mount first, optics second.

How sensor width, working distance and field of view set the focal length Rays from the edges of the sensor pass through the lens and spread to the edges of the field of view. The ratio of sensor width to field of view is the magnification m.CameraField of view (FOV)Working distance (WD)≈ fsensor width slensm = s / FOVf = WD × m / (1 + m)
How sensor width, working distance and field of view set the focal length. Rays from the edges of the sensor pass through the lens and spread to the edges of the field of view. The ratio of sensor width to field of view is the magnification m.

When field of view and working distance are settled, the lens focal length calculator turns them into a focal length and filters the lens finder to match:

Lens focal length, field of view and working distance
Units
Solve for
Focal length
– mm
Field of view
– mm
Working distance
– mm
Magnification
– x
Angle of view
– °
Pixel on the part
– mm

Thin-lens model: m = sensor width / field of view, f = WD × m / (1 + m). Accurate to a few percent above about 150 mm; check the lens's minimum object distance.

Find lenses with this focal length Open the full calculator

On M12 boards, lock the focus once it is set. Setting holder height and back focus is a one-time job you want done with the board finally bolted down, so the setting survives every later handling.

Checks before you order

Run this list with the drawing open; every line is a number that goes on the order:

  • hole diameter in mm — sets the screw;
  • pitch in X and in Y — sets the bracket;
  • optical-centre offset — sets how the bracket orients the module;
  • screw length — passes the board and engages the standoff without bottoming out;
  • slot range on an adjustable bracket, checked in both axes;
  • clearance for the USB socket, IO header and lens barrel overhang;
  • a strain-relief anchor on the bracket or case, with a service loop of cable;
  • drawing revision matched to the board revision you will receive.

When the usual answer is wrong

Clamping the lens barrel to carry the whole camera is the classic mistake. The S-mount thread is a focusing mechanism, and clamp load plus vibration walks the focus — the same physics that makes autofocus versus fixed focus on mobile robots a mounting question first and a lensing question second.

Cable ties and hot glue belong to bench experiments only. Glue creeps, ties stretch, and neither returns the camera to a repeatable pose after a bump, which quietly invalidates every calibration you took.

Assume no universal adapter exists. Pitch differences between module families run to tens of millimetres per axis; the 20 mm spacing common on M12 lens brackets is one layout, not a standard.

Separate the two failures as well. If the module streams cleanly over UVC but will not bolt down, the electronics are finished and the drawing is the next document to open. If the image itself is broken, start with the image format and wiring checks instead.

The decision in one line

Read the drawing, take the four numbers, run the subtraction, and order a bracket cut to the pitch or a slotted one that spans it. The board-level cameras category filters by mount and interface, and everything mechanical sits under camera stands and brackets in the accessories finder. The configurator's stand step walks the station in order, and the cameras topic page gathers the rest of the board-camera guides. If you want a drawing checked against a bracket before you buy, the contact page reaches the applications team.

Questions

What screw size fits a board camera's mounting holes?

The hole diameter on the drawing decides. About 2.0 mm takes M2, about 2.5 mm takes M2.5, and a 3.2 mm or larger clearance hole takes M3. When the drawing is missing, caliper-measure the hole and pick the screw whose thread diameter equals the hole or sits just under it. An M2.5 screw needs a 2.05 mm tapping drill, so it never passes a 2.0 mm hole.

Can I enlarge or drill new holes in a camera board?

No. Camera PCBs are thin laminate with planes and fine traces inside, and drilling near the hole risks cutting them; it also destroys the drawing's hole datum. Slot the bracket, order a case made for the module's form factor, or carry the board on standoffs inside a housing designed around the drawing. A bracket hole that is worn or wrongly tapped is repaired in the metal, with a threaded insert or bushing.

Why doesn't my ribbon-cable camera bracket fit a USB camera module?

Ready-made brackets are cut for one board outline. Ribbon-cable camera modules share a common footprint, so most mounts target that pattern, with about 2.0 mm holes. A USB camera module is a different board: different outline, hole count and pitch, often off by tens of millimetres. No adapter recovers that gap; match the bracket to the USB module's own mechanical drawing instead.

Should camera board standoffs be metal or nylon?

On many camera boards the mounting holes are plated and connected to the ground plane, so metal standoffs into an earthed bracket are normal practice. When the drawing does not say how the holes are connected, nylon standoffs and washers remove any doubt about shorting a plated hole to a live bracket, and they change nothing else about the design.

Does the USB cable need strain relief at the mount?

Yes, and separately from the board fixings. Anchor the cable to the bracket or case, never to the board, and leave a short service loop so plug insertion force and cable drag never reach the solder joints. Keep the loop clear of the lens and re-check it after the first thermal cycle. The cable carries power and data; it contributes no mounting points.