WritingGuide

From prototype to production

Most hardware programs die between a working prototype and a manufacturable product. A decision framework for the transition, not a phase chart.

AimRobotics dispenser mounted on a Universal Robots cobot in an industrial facility
An AimRobotics dispenser working on a cobot in a factory hall, built while Karlis was CTO and co-founder of AimRobotics (2019 to 2023). This is what production means here: a unit running on someone else's equipment, far from the bench it was designed on.

Most hardware programs do not fail at the idea. They fail in the transition from a prototype that works to a product that can be built. This is the part of the program where decisions are expensive, timelines are opaque, and outside help usually arrives too late.

This stretch is often called the valley of death. The name fits; the usual explanation does not. Teams do not fail here because manufacturing is hard. They fail because they treat the production transition as a continuation of the prototype, when it is a different project.

This page is the decision framework we apply on our programs, whether we are leading a new product from zero, taking over a prototype built by someone else, or hardening an engineering build for its first factory run. It is the hub for the topic: the gate definitions, DFM, contract manufacturer selection and the Raspberry Pi question each have their own article, linked where they come up.

The transition from prototype to production is a decision problem, not a manufacturing problem. A factory can build almost anything. The question is whether what you hand it can be built at the cost, volume, yield and variance the business depends on, and whether the design, the supply chain, the test strategy and the firmware stack still hold together once the decisions that got you here are revisited under production constraints.

What “production” actually means

Many teams use the word “production” to mean “more prototypes.” It means something else. Production is the point at which a product is made by people who did not design it, on equipment that does not belong to you, from components you cannot hand-select, at a cost that has to clear a margin, with variance narrow enough that your support team is not overwhelmed.

A lab worker in scrubs loading racks of sample tubes into the drawer of a NOVAMove Porter robot
Fig. 1 A lab worker loading sample racks into a NOVAMove Porter, from Karlis's time as CTO and CCO of NovaticLab (2023 to 2024). Once units are in daily use by people who did not design them, service, warranty and update paths stop being optional.

Concretely, “production-ready” means:

  • Yield is predictable. You know what first-pass yield looks like at the contract manufacturer (CM), what drops units out of spec, and what the rework loop costs.
  • Unit cost is locked. The BOM is priced at real volume, not at minimum-order prices. The second-source list is real. You know which parts will be expensive next quarter and why.
  • Variance is bounded. The difference between the tenth unit off the line and the ten-thousandth is inside your spec, not inside your hopes.
  • The supply chain has been stress-tested. You know what happens if the primary supplier misses a delivery. A second source is qualified, or there is a plan to qualify one. No critical part comes from a single source you have not audited.
  • The test strategy produces the data you need. End-of-line test catches the defects that actually occur, runs at line speed, and does not need the original engineer to interpret it.
  • Calibration, serialization, and firmware provisioning work without a laptop. A line technician can assemble, program, and ship a unit without the design team.
  • Service, warranty, and field update paths exist. You can patch a unit in the field, diagnose a failure without shipping the unit back, and you know what your warranty reserve should be.

None of these are test phases. They are commitments, and the program has to converge on every one of them before first real production. Prototypes almost never do.

An Aerones robot with an orange arm working on the leading edge of a wind turbine blade, farmland and a lake below
Fig. 2 An Aerones robot working on a turbine blade, from Karlis's 2025 salaried role at Aerones. A demonstration has to work once; equipment like this has to work turbine after turbine, operated by field crews who did not design it. Image: Aerones.
A prototype assumes
Production requires
parts that are easy to buy now
parts that will still be buildable in three years
the engineer assembles each unit
a line operator assembles from a work instruction
test is “plug it in and check”
test is a fixture at line speed writing to a record
firmware lives on the bench
firmware is signed, versioned, flashed on the line
yield is whatever the sample produced
yield is predicted, measured, and held inside a spec window
single-source is fine, it works
every critical part has a qualified second source

The four structural reasons hardware dies in the transition

The same four failure modes come up across the kinds of programs behind our case studies: industrial robotics, lab automation, power electronics, consumer hardware, and life-safety equipment.

1. The architecture was optimized for the prototype

A prototype is a demonstration. A product is a fleet. The architecture that makes a demo work is often the one that makes the fleet unscalable.

The most common version: a working prototype runs its control loop on a consumer single-board computer, a Raspberry Pi, an off-the-shelf mini PC, or a development kit with a serial number on a sticker. For a demo, that is fine. For thousands of units deployed outdoors or in industrial environments and serviced for ten years, it is a liability. Consumer boards are not designed for thermal extremes, vibration, emissions compliance, deterministic timing, or long-term component availability.

Open 3D-printed testbed enclosure with a Radxa ROCK 5B+ single-board computer, an LTE modem, fans and antenna pigtails
Fig. 3 The 3D-printed testbed from our rally streaming prototype, built around a Radxa ROCK 5B+ single-board computer. A board like this is the right tool to prove a video pipeline quickly; whether it can stay in the product is a separate decision, and the client took the findings to a production hardware partner.

When that architecture has to change late, the change is a rearchitecture, not a component swap: hard real-time control separated from supervisory functions, an industrial fieldbus chosen, and a decision made about what fails gracefully and what stops the machine. When Raspberry Pi Strands Production walks through that migration and when it is worth doing. The lesson for this stage is simpler: do not put anything into a prototype that cannot be the answer in production. If the architecture will change before shipping, the prototype is teaching you little about the product you are building.

2. The components cannot scale

Prototyping uses the parts that were easy to buy. Production needs parts that will still be buildable in three years.

The failure is quiet. The BOM behind ten prototypes can easily include a connector with a sixteen-week lead time, a microcontroller near end-of-life, a sensor with a minimum order of twenty-five thousand units, and a power-management IC that is allocated to automotive customers in your build window. Nobody chose those parts deliberately. They were in the drawer.

A disciplined BOM review at the transition asks, for every line item:

  • What is the real lead time at the volume we need?
  • What is the end-of-life status, and what is the last-time-buy horizon?
  • Is there a second source? Is it pin-compatible and electrically equivalent, or just a near-match on the datasheet?
  • What is the minimum order quantity, and does it map to a run size the business can commit to?
  • Where is the price heading, and is the part exposed to a supply shock?
AimRobotics AirBox controller with a syringe effector, cable, USB key and screws
Fig. 4 An AimRobotics AirBox with its syringe effector, cable, USB key and screws, from Karlis's time as CTO and co-founder (2019 to 2023). Every item in the box is a BOM line with its own lead time, end-of-life status and source.

Most prototype BOMs fail several of these questions. Programs that get across the transition do the review twice: once at DVT as a systematic scrub, and again before PVT with the CM in the room, because the CM sees sourcing risks the design team cannot.

3. Yield is extrapolated from a sample of five

A prototype run of five to twenty units, assembled by the engineer who designed them, says almost nothing about what a production run of five hundred will yield. The person building prototypes tunes their technique as they go and solves problems without writing them down. They know which solder joints need a second look and which flash sequence is flaky. That knowledge does not ship to the CM.

So a first pilot run on an external line, with real operators, can land far below the yield the team expected on a product it believed was ready. That is not a CM failure. It is a program that skipped the work of turning prototype-stage process knowledge into line parameters.

The bridging work is unglamorous and specific: tolerance stack analysis against measured parts, not datasheets; test fixtures a line operator can use from a work instruction; firmware provisioning and calibration flows that run on the line; and end-of-line test coverage aimed at the defects that actually occur in volume, not the ones the team worried about in design review.

XV Tuner V3 map editor in dark theme: a fuel table with model, variant, map and ECU firmware version in the header
Fig. 5 The map editor of XV Tuner V3, Karlis's own ECU tuning product, on sale since 2008. The header names the model, variant, map and ECU firmware version, because a calibration only means something against the exact firmware and hardware it was written for.

4. Firmware and hardware diverge silently

In a prototype, firmware is written against the board in front of the engineer. In production, firmware is written against a part number, a board revision, a calibration file, and a serialization scheme, none of which exist as controlled artifacts on most prototype programs.

The failure looks like this. DVT units work. PVT units mostly work. The first factory run has a failure rate nobody can attribute: hardware, firmware, calibration, or line process. Triage takes weeks, and the relationship between the design team and the CM never quite recovers.

The cure is a firmware and calibration workflow that treats the production line as a first-class deployment target: a bootloader strategy, signed firmware, per-unit calibration stored in a traceable way, serial numbers allocated from one source of truth, and end-of-line test that writes calibration and verifies it in one pass. These decisions have to be made at EVT at the latest. Made at PVT, they will not be ready for the first run.

Fig. 6 IllustrativeThe firmware and calibration workflow from this section. Each step needs a controlled artifact, and all of them are decided by EVT at the latest.

The decision framework: five calls that define the transition

A prototype-to-production transition is not a linear phase. It is a convergence on five decisions. If any one of them is still open when the program commits to tooling and first production, the program will slip.

01ArchitectureFrozen across mechanics, electronics, firmware
02BOMPriced, sourced, second-sourced, EOL-clear
03Test strategyLine-operable, at line speed, traceable
04DFM sign-offReviewed with the CM, buildable, first article passes
05SupplierAgreement signed, capacity committed, escalation defined

Five convergence points. Leave one open and first production becomes a gamble.

Decision 1: Architecture freeze

What is decided: The architecture is frozen. No further changes to which board handles which subsystem, which bus connects them, which processor owns real-time control, or what memory and storage the firmware may use.

How to know you are ready: You can draw the full product as one diagram with every major component and every interface, and justify each against production rather than the demo. You can show how a change to any one of them would ripple into the schedule, and roughly what that ripple costs.

How teams get it wrong: They freeze the mechanical architecture and leave the electronics open, or freeze the electronics while the firmware architecture is still being refactored. A freeze has to cover every layer or it is not a freeze.

NOVAFlex automation station with a cobot and touchscreen in a workshop, a second station open behind it
Fig. 7 A NOVAFlex station from Karlis's time as CTO and CCO of NovaticLab (2023 to 2024). Cobot, gripper, cabinet electronics and touchscreen software all have to freeze together, or the freeze does not hold.

Decision 2: BOM maturity

What is decided: Every line on the BOM has a primary source, a qualified second source where the part is critical, a price at real volume, a lead time, an end-of-life horizon, and a package and footprint that match the PCB going to production.

How to know you are ready: You can send the BOM to a CM for a quote with no extra context, and the quote comes back without a list of questions attached. You can survive a primary supplier missing a delivery on any one critical part without stopping the line. On Charlie Charger, which we took to mass production in Asia, the fingerprint sensor, the main transformer and the USB-C controller were each qualified with at least one alternate supplier before volume, for exactly this reason.

How teams get it wrong: The BOM is frozen for the design team but not for procurement. A part that worked for DVT turns out to have a three-month lead time at production volume, and nobody checks until the CM does.

Decision 3: Test strategy

What is decided: What gets tested at the CM, on what equipment, at which point on the line, against what pass/fail criteria, and feeding what data into which system of record.

How to know you are ready: The test plan covers end-of-line test, burn-in where it applies, sample-based reliability testing, and every functional test that gates shipment. Test equipment is sourced or built, fixture design is complete, and a line technician, not the design engineer, can run the test and interpret the result.

Fig. 8 IllustrativeDecision 3 on one page: the questions the test plan answers, what it covers, and who runs it

How teams get it wrong: Test is “the engineer plugs it in and checks,” which does not survive past a pilot run. Or test is over-designed: it covers failure modes that never occur and misses the ones that do.

Decision 4: DFM sign-off

What is decided: The mechanical, PCB, and assembly designs are reviewed and accepted by the people who will build the product. Tolerances are buildable, assembly sequences are economical, panelization is efficient, test access is in place, and fasteners, connectors and interfaces match the CM’s standard tooling where possible.

How to know you are ready: The CM signs off on the design package. Tolerance analysis has been run against real parts. First-article inspection data is available and in spec. No open issue would force rework on the line.

How teams get it wrong: DFM is treated as a review of a finished design instead of a running conversation with the CM through DVT, so design decisions are made without knowing what they cost to build. DFM: The Decisions That Don’t Show Up on Drawings covers the specific calls: tolerance classes, second sources designed in at footprint level, line-operable fixtures, assembly sequence, and calibration as part of the line.

NOVAFlex multi-position gripper holding sample tubes above a barcode reader
Fig. 9 A NOVAFlex gripper presenting tubes to a barcode reader, from Karlis's NovaticLab role. Positions like these have to hold on every unit built, which is why tolerance analysis runs against real parts.

Decision 5: Supplier commitment

What is decided: The CM relationship is real: a signed manufacturing agreement, committed capacity in a specific window, agreed pricing at real volume, clear quality terms, and an escalation path for the first real issue.

How to know you are ready: Both parties have signed the agreement and the first purchase order. The CM has reviewed the full BOM and design package and committed to the first production window. Logistics, warranty, and support paths downstream of the CM are defined.

How teams get it wrong: The CM relationship stays informal, quote by quote, through the pilot. When the first run has a problem, there is no agreed framework for who owns it, who pays, and how it is resolved, and the program loses weeks renegotiating. Choosing a Contract Manufacturer covers what to negotiate before you are in that position.

When all five decisions have converged, the transition is de-risked. When any one is still open, first production is a gamble.

Where the five decisions sit on the gates

The decisions map onto the standard gates. The architecture freeze is what EVT exists to earn. BOM maturity, the test strategy and DFM sign-off have to close by the end of DVT, because DVT units are the ones compliance testing and the CM’s quote are based on. Supplier commitment has to be in place before PVT, because PVT is a production run on the CM’s line with the CM’s operators.

What each gate decides, typical unit counts and durations, and what a strong pass looks like are in PoC, EVT, DVT, PVT: What Each Hardware Gate Actually Decides, which also has the illustrative cost-of-change figure. The short version: a decision reopened after production tooling is cut costs on the order of a hundred times what it would have cost at definition.

Fig. 10 IllustrativeThe latest gate for each of the five decisions. The architecture freeze is what EVT earns, three decisions have to close by the end of DVT because compliance testing and the CM quote rest on DVT units, and supplier commitment has to be in place before the PVT run on the CM's line.

The component trap and the migration decision

In prototypes we are asked to take over, a common root cause is an architecture built on components that cannot be in the final product. Consumer single-board computers are the emblematic case, development kits the second, and third-party modules with opaque long-term support the third.

The useful question is not “is this part good enough for the prototype?” It is “if this part has to stay, will that still be true in three years, across every unit we plan to ship?” If the answer is no, for thermal, lead-time, end-of-life, price or certification reasons, the part is a migration problem. The migration can happen now, while it is cheap, or later under schedule pressure, when it costs far more engineering time and pushes the transition out by months.

Some products ship on Raspberry Pi Compute Modules and are better for it; many should not. The full decision framework is in When Raspberry Pi Strands Production (And When It Doesn’t).

Fig. 11 IllustrativeThe component question from this section. A part that fails it is a migration problem, and the only choice left is when.

What first-run yield looks like when the transition is done right

As a rule of thumb, first-pass yield on the first real production run should be in the mid-to-high nineties on a straightforward electromechanical product, and above eighty-five percent on a complex system that combines mechanical, electronic and optical elements. First-pass yield in the sixties or below at PVT means the transition was not done, whatever passed on paper.

The second signal is process stability. The tenth unit and the five-hundredth unit off the line should land in the same spec window. If the line needs re-tuning every hundred units, the transition has pushed a variance problem into production. The fix is not faster operators. It is design iteration that should have happened before the commitment.

The third signal is the CM’s confidence. Contract manufacturers usually know within the first few dozen units of a run whether a program is ready. The good ones will tell you, and they are usually right.

A row of AimRobotics cobot dispensers on a bench, each with its machined flange, fittings and a bag of mounting hardware
Fig. 12 A batch of AimRobotics dispensers laid out with their fittings and hardware kits. Getting to batches like this took custom motors, coils and PCBAs, each with its own qualified supplier, incoming inspection and production test designed alongside the product. Karlis was CTO and co-founder of AimRobotics from 2019 to 2023.

That is the pattern behind the production programs on this site. At AimRobotics, Karlis as CTO and co-founder took every product to mass production, thousands of units. At NovaticLab, as CTO and CCO, he took the lab’s mobile robots into production. Charlie Charger is a null2.one program taken from concept to mass production in Asia. Rheo Dive, where Karlis is part-time CTO through null2.one, is in DVT now: custom optics, custom PCBA, silicone tooling and an iOS app, with these five decisions being closed in DVT rather than handed to the factory open.

If you are within six months of first production

Run the five decisions as a self-check. Can you show, with evidence rather than assurances, that the architecture is frozen across every layer; that the BOM would come back from a CM quote without questions; that a line technician can run your end-of-line test; that the CM has signed off DFM on real parts; and that capacity is committed under a signed agreement? Any “not yet” is the work for the next month, before tooling is cut.

The production readiness self-assessment puts the same questions in a structured form, 27 questions across nine areas, and the production readiness checklist gives the pass criteria and evidence for each check. If you want an outside verdict on the hardware itself, that is what our production readiness review is for.

The transition is a commitment problem, not an engineering problem. A factory can build almost anything. The question is whether the design, the BOM, the firmware, the test strategy and the supplier relationship have converged enough for the factory to build the product the business needs, at the cost the business needs, with variance the business can survive.

Questions

Why do most hardware prototypes fail to reach production?

Because the prototype was optimized to prove the idea, not to be built. A working demo hides the decisions that determine manufacturability: tolerance stack-ups, supplier availability, DFM constraints, test coverage, and unit economics. When those decisions are deferred, the prototype-to-production transition turns into a redesign, often longer and more expensive than the original build.

How long does it take to move from a working prototype to production-ready hardware?

With typical gate lengths (EVT 6 to 12 weeks, DVT 8 to 16 weeks, PVT 6 to 12 weeks, plus gaps for tooling and test-lab slots), roughly 6 to 12 months from the start of EVT to PVT sign-off is realistic for a well-architected product. A fragile prototype with open architecture decisions takes much longer, because part of the work is a redesign. The gap is rarely manufacturing complexity; it is how many decisions were deferred during prototyping.

What is the difference between a prototype and a production-ready product?

A prototype proves a concept works once. A production-ready product proves the same thing works thousands of times, built by a contract manufacturer, from parts that are actually available, at a cost that supports the business model, without a senior engineer standing next to the line. Everything between those two definitions is where hardware programs die.

When should you start Design for Manufacturing (DFM)?

At architecture, not at EVT. Every enclosure, PCB layout, connector choice, and firmware constraint has a downstream manufacturing cost. By the time a prototype works, most of the expensive decisions are already made. Changes at architecture are the cheapest the program will ever make: as an illustrative rule of thumb, 1x at definition against about 25x at DVT.

What are the biggest hidden costs in the prototype-to-production transition?

Tooling revisions, supplier requalification, firmware rewrites for production silicon, test-fixture development, certification retests, and the opportunity cost of missed launch windows. Almost none of them appear in the original prototype budget.