Close-up of a circuit board mounting standoff and nearby components
5 min read

Enclosure and PCB, Designed Together: Getting the Handoff Right

Author:

Richard Beranek

Half a millimetre. Recently, that’s how far an LED had to move before we could freeze a board layout. It sounds tiny, but if we’d caught it after the boards were ordered, it would have meant a re-spin, a new set of prototypes and a few weeks lost.

Most hardware delays don’t come from one big mistake. They come from small mismatches between the enclosure and the PCB that nobody owns until assembly day. The traditional model makes this worse: mechanical sets the shape, then electronics fills in the board afterwards. In reality, almost every requirement touches both sides at once, so we design them in parallel.


Start from shared requirements, not a hand-off

Battery size, wireless performance, heat, buttons and indicators, connectors, water and dust protection, and drop survival all shape both the enclosure and the board. Before anyone commits to an outline, both teams review the requirements together and sketch two or three architecture options: where the board sits, whether it splits into more than one board, where the battery goes and where the antenna lives.

We compare those options side by side for size, cost, ease of assembly and RF performance, then choose one together. Picking a board shape first and squeezing the radio in later is how products end up with poor range.


Bring RF in on day one

If the product is wireless, the antenna is one of the earliest decisions, not one of the last. It affects the enclosure as much as the board:

  • Place the antenna at an edge or corner of the board, away from batteries, metal parts, displays and large copper areas.

  • Keep metal out of the antenna’s keep-out zone in the housing too, including screws, threaded inserts, brackets, metallic paint or plating, and chassis parts.

  • Plan wall thickness and material near the antenna. Heavily glass-filled plastics or a nearby gasket can detune it.

  • Think about how the product is held, worn or mounted. A hand, a wrist or a metal surface close to the antenna changes its performance.

  • Leave room on the board for a matching network so the antenna can be tuned in the final enclosure.

We test antenna performance with the board inside a printed enclosure as early as we can, not with a bare board on the bench. That’s where the surprises show up.


Agree on what gets locked, and when

Once the architecture is chosen, lock the parts that live in both worlds: connectors, LEDs and light pipes, buttons, the antenna and its keep-out, the main module or processor, and the battery. Both teams sign off on these positions together. After that, passives and routing can move freely on the board, and enclosure details like ribs and bosses can develop without disturbing the electronics.


Share constraints in both directions

Mechanical shares the board outline, mounting points, height limits under bosses and ribs, and clearances for screws, snaps and clips on each side of the board. Electronics shares what it needs in return: antenna keep-outs, hot components that need airflow or a thermal path, access for test points and programming, and areas that need shielding. One shared drawing beats two separate sets of assumptions.


Swap 3D files every iteration

Don’t wait for a “final” board to check fit. Exchange STEP files at every meaningful change on either side, and check connector bodies, LED heights, antenna clearances and mating parts against the enclosure in CAD. Get the exact part number for every connector, including the mating half, so you’re checking its real 3D model rather than a generic footprint.


Prove risky features on something that already exists

If a feature is new to you, such as a right-angle light pipe, a tight snap fit or an unusual antenna placement, test it on an off-the-shelf dev kit or a quick 3D print before you commit the board. Ten minutes with a reference design can save a whole board revision.


Freeze it, together

Finally, make the layout freeze an explicit, shared moment. The mechanical and electrical leads review the latest board inside the latest enclosure together, confirm everything fits and that RF clearances are intact, and only then do boards go out for fabrication. That’s what turns a half-millimetre catch into a good day rather than a costly one.

Designing the enclosure and electronics side by side is a big part of how we take products from concept to production at Brash. If your housing and your board keep meeting for the first time on assembly day, we’d be happy to help.