Guide

Electronics in a physical product: what to plan early

A product design engineer's view of the decisions between the circuit and the housing: board and enclosure together, batteries, heat, EMC and radio, assembly, test access, prototyping, supply risk and what to hand to an electronics partner. It is about planning and integration, not circuit design.

Quick answer

Design the circuit board and the enclosure together from the first layout, because each sets limits on the other.

Agree the board outline, mounting points, component heights, connector and button positions, battery space, antenna zone and the path heat will take out, before either side is frozen. Treat EMC, radio performance, test access, programming and component supply as design inputs rather than late checks. Most expensive surprises in electronic products come from integration, not from the circuit itself.

Contents

  1. Why integration is where the risk sits
  2. Design the board and enclosure together
  3. Power and batteries
  4. Heat needs a path out
  5. EMC and radio as design inputs
  6. Cables, connectors and assembly
  7. Firmware, test points and programming in production
  8. How electronics prototypes usually progress
  9. Component supply and second sources
  10. What to hand to an electronics partner
  11. Worked example: a small battery-powered handheld device
  12. Common mistakes
  13. Decision rules

Why integration is where the risk sits

Often an electronics engineer designs a circuit that works on the bench while a designer draws a housing that looks right. Both can succeed and the product still fail: the board does not fit, the antenna sits behind metal, the battery is too small, or the assembled board cannot be programmed. These problems are cheap to avoid early and expensive to fix after tooling.

Design the board and enclosure together

The printed circuit board (PCB) and the enclosure share one space, so treat their interface as a design item with an owner. In practice that means a shared 3D model: the mechanical designer exports the board outline and keep-outs, the electronics designer places parts within them and exports the populated board back. Agree, and revise together:

  • Board outline and mounting. Shape, thickness and fixing points (screws, bosses, clips or slots), with clearance around fixings.
  • Keep-out zones. Where no parts or tracks may go: under ribs and bosses, near the antenna and along edges that slide into guides.
  • Component heights. Height limits for each region, so tall capacitors, connectors and modules sit where the housing has room.
  • Openings that line up. Connectors, buttons, LEDs, displays and sensors must meet a hole, window or actuator, within the tolerance of both parts, including light pipes and button actuators. Designing buttons, switches and controls covers choosing switches and getting the button stack-up right.
Board-in-enclosure checklist, shown in side section A side section of a circuit board inside an enclosure. Numbered points show: 1, a connector lined up with an opening in the enclosure wall; 2, the board outline sitting on mounting bosses; 3, height clearance between the tallest component and the lid; 4, an antenna keep-out zone near a plastic wall with no metal or tracks nearby; 5, a heat path from a warm component through a thermal pad to the case wall. 1 2 3 4 5 1 Connector lines up with its opening 2 Board outline and mounting bosses 3 Clearance from tallest part to lid 4 Antenna keep-out near a plastic wall 5 Heat path from warm part to the case
Five items to agree between the electronics and mechanical sides before either design is frozen. Each one is cheap to change in CAD and expensive to change after tooling.

Neither side should be frozen first. Freezing the enclosure forces the board into awkward shapes or extra cables; freezing the board forces the housing to grow around it. Iterate both, then freeze them together.

Power and batteries

The battery is often the largest and heaviest part inside, so power decisions shape the product. At a planning level:

  • Runtime and capacity. Estimate average power across real use, including standby and radio activity, then size the battery for the runtime you promise. Capacity scales roughly with cell size, so the runtime target sets the size of the product.
  • Type and charging. Replaceable cells, a built-in rechargeable pack or mains power each change the enclosure; for charging, decide the port position, the indicator and what charger you supply or specify.
  • Access. Whether the battery can be reached for replacement, and how it is held so it cannot move, rub or be crushed. See design for repair and disassembly.

Lithium cells also bring battery safety, transport and producer-responsibility requirements, which product certification basics lists among the things to identify at the requirements stage.

Heat needs a path out

A board that runs cool in open air on a bench can run much hotter inside a closed housing. Identify the parts that get warm (processors, regulators, chargers, motor drivers and the battery while charging) and decide how their heat reaches the outside: board copper, a thermal pad to the case wall, a metal part, vents or airflow. Plastics conduct heat poorly, and a surface safe for the electronics may still feel too hot in the hand. Measure temperatures inside a representative enclosure early. The guide to managing heat in a product enclosure covers thermal paths, simple temperature estimates and testing in more detail.

EMC and radio as design inputs

Electromagnetic compatibility (EMC) means the product neither emits too much interference nor is upset by it. It depends largely on layout, grounding, cabling and the enclosure, so it belongs in the mechanical design too.

  • Cables act as antennas. Keep internal cables short and consistently routed, and plan where external cables leave.
  • Grounding and shielding. Decide early whether the enclosure is plastic, metal or coated, and how the board connects to any metal parts.
  • Antenna placement. An antenna needs clear space near an outside wall, away from the battery, metal parts, displays and the user's hand. Metal housings block radio unless the design provides a window or non-metal section; plastics are more forgiving.

A pre-certified radio module can greatly reduce the radio testing needed, but it does not certify the whole product, and its antenna guidance still applies in your enclosure. Book pre-compliance checks on engineering prototypes while the layout can still change. Product certification basics explains how EMC and radio testing fit into conformity, and the Certification Readiness Checklist helps you see what is still open.

Cables, connectors and assembly

Every internal cable is a part to buy, route, fit and inspect, and a common source of faults; fewer boards and cables usually mean easier assembly. Where cables are needed:

  • Fix them so they cannot be pinched, rub on sharp edges or move near hot parts.
  • Give external cables strain relief, so a pull is taken by the housing, not the solder joints.
  • Use keyed connectors that cannot be fitted the wrong way round and can be reached during assembly.
  • Plan the assembly order, and whether the product can be reopened for rework or repair.

The guide to estimating assembly time shows how fixings and cable connections add up. Cables, wiring and connectors inside a product covers routing, strain relief, choosing connectors and harness drawings in more detail.

Firmware, test points and programming in production

In production every unit must be loaded with firmware, tested and often serialised or calibrated, quickly and repeatably. Plan for this in the first custom board:

  • Test points for power, programming and key signals, placed so a fixture can reach them, usually from one side.
  • A programming route that works before the board goes into the enclosure, and ideally a way to update firmware afterwards.
  • A board-level functional test, so faults are found before assembly.
  • Firmware version control, so you know which version is in which batch.

Write these into your test plan alongside product-level tests. Product testing and validation plans covers the wider testing picture, and the Product Test Plan Builder turns requirements into a test list.

How electronics prototypes usually progress

Electronics prototyping usually moves from off-the-shelf parts towards a custom board, in step with the looks-like and works-like streams described elsewhere.

Stage What it is What it answers
Development boards Off-the-shelf boards and modules wired together on a bench Can the chosen sensors, radio and processor do the job? Early firmware and power measurements
Breakout or interim board A simple custom board or carrier for the chosen parts, not yet in the final shape Does the chosen circuit work together, and what does it really draw in power?
Custom PCB in an integrated prototype A board in the real outline, fitted in a printed or cast housing Fit, heat, antenna performance, assembly, test access and pre-compliance checks

Expect more than one revision of the custom board. How many prototypes do you need? explains how to plan rounds so each answers a clear question.

Component supply and second sources

A board is only as available as its scarcest part. Before committing, check that each part is in active production, stocked by more than one distributor and not marked as not recommended for new designs. Prefer parts with a second source or drop-in alternative, and list approved alternatives on the bill of materials. Processors, radio modules, displays, batteries and custom parts are hardest to replace without redesign. Discuss stock and lead-time risk with your manufacturer before setting a launch date.

What to hand to an electronics partner

Whether briefing an electronics design partner or an assembly manufacturer, a clear pack avoids quotes based on guesses:

  1. Requirements: functions, power and runtime, environment, interfaces, markets and known regulations.
  2. Mechanical interface: outline, keep-outs, height limits, mounting and opening positions, ideally as a 3D model.
  3. Bill of materials with part numbers and approved alternatives.
  4. Manufacturing files for the board and assembly, plus programming and test instructions.
  5. Volumes, timing and target cost, including prototype and pilot quantities.

The documents to prepare before talking to a manufacturer covers the wider pack, and the RFQ Pack Builder helps you assemble a request for quotation.

Worked example: a small battery-powered handheld device

Illustrative example. A start-up is developing a small handheld device with a rechargeable battery, a Bluetooth link to a phone, two buttons, a status LED and a sensor at one end. The industrial design has a slim, rounded form that users liked in looks-like testing.

Question Decision
Will the battery give the runtime promised? Power measured on a development-board rig; the battery needed was larger than assumed, so the housing was lengthened slightly rather than cutting runtime
Where does the antenna go? A pre-certified module placed at the end opposite the sensor, near a plastic wall, away from the battery and outside the area covered by the user's hand
Do buttons, LED and charging port line up? Board outline and heights shared as a 3D model; light pipe and actuators designed with the housing; charging port backed by a housing rib
How does heat get out while charging? Charger placed away from the battery, with a thermal pad to the housing wall; temperature checked inside a printed housing
How will each unit be programmed and tested? Test pads on the underside for a fixture, programming before assembly, and a short functional test of buttons, LED, sensor and radio
What if a part becomes hard to get? Alternatives listed for the passive parts and charger; the module and battery flagged as single-source risks to monitor

None of these decisions needed advanced circuit design; they needed both sides working from one model early enough that each change was made in CAD, not in a tool.

Common mistakes

Freezing the enclosure before the board. The board is then forced into a shape that may need more layers, extra cables or a second board.
Leaving no room for the antenna. An antenna squeezed beside the battery or metal, or under the hand, can perform poorly, and the fix may mean a housing change.
No test access. Without test points and a programming route, units are slow to program and faults surface only after assembly.
Single-source parts everywhere. One unavailable part can stop production. Check availability and alternatives before the design is frozen.
Ignoring heat. A board that is fine on the bench can overheat in a sealed housing. Measure temperatures in a representative enclosure.

Decision rules

  • If different people design the board and housing, share one 3D model and agree the interface list first.
  • If the product has a radio, reserve the antenna zone in the first layout.
  • If runtime is a selling point, measure power on a rig before fixing the product's size.
  • If a part has no alternative, accept the risk, hold stock or design it out, and record the decision.
  • Freeze the board and enclosure together, after an integrated prototype passes fit, heat and pre-compliance checks.

Next steps

  1. List the interface items between your board and enclosure and give each an owner.
  2. Plan board, product and production tests with the Product Test Plan Builder.
  3. Check what compliance work is still open with the Certification Readiness Checklist.
  4. See where this work sits in the wider journey in the development and prototyping hub.

FAQ

Should the circuit board or the enclosure be designed first?

Neither should be finished first. Agree a rough board outline, mounting points, height limits and connector positions early, then develop both together using a shared 3D model and freeze them at the same time.

Do I need an electronics engineer if I use development boards?

Development boards are a good way to prove the function, but a product usually needs a custom board to fit the enclosure, reach the cost target, and be tested and certified. Most teams bring in electronics design skills when moving from a rig to a custom board.

Does a pre-certified radio module mean my product is certified?

No. A pre-certified module can greatly reduce the radio testing needed, but the finished product still has to comply as a whole, and the module's antenna guidance must be followed in your enclosure.

Can a metal enclosure be used for a wireless product?

It can, but metal blocks radio signals, so the design needs a window, a non-metal section or an external antenna. Plan this before the enclosure design is fixed, and check radio performance in the real housing.

What are test points and why do they matter?

Test points are pads on the board that a test fixture or programmer can touch. They let every board be programmed and checked quickly in production, so faults are found before assembly, when they cost least to fix.