Blog

Open Hardware Licenses for Robotics: CERN-OHL, CC BY-SA and MIT Compared

Tom Cosgrove,

Reading Room: The Fictionlab Blog

TL;DR: Choosing an open hardware license for robotics comes down to three questions: can someone modify your design, can they sell derivatives, and must they publish their changes. CERN-OHL (in its S, W, and P variants) is a family written specifically for hardware, with explicit definitions of “Design” and “Product” and obligations tied to distributing physical units. CC BY-SA is a content license that works well for documentation and can be applied to CAD files, but was not drafted for manufacturing. MIT is a permissive software license that offers maximum freedom and minimum reciprocity, and it carries no hardware-specific language at all. Most real robotics projects, including Leo Rover, use a split: one license for firmware and ROS 2 packages, another for mechanical design files, and a third for documentation. This article is educational and is not legal advice.

Why does an open hardware license matter in a robotics project?

Robotics projects are hybrid by nature. A single mobile robot repository can contain STEP and FreeCAD models, PCB layouts in KiCad, STM32 firmware in C, ROS 2 packages in C++ and Python, URDF descriptions, and a documentation site. Each of these artifacts has a different legal character. Source code is protected by copyright in a well-understood way. A mechanical drawing is also copyrighted, but the functional shape it describes generally is not – copyright protects the expression, not the mechanism. That gap is exactly why an open hardware license for robotics needs different wording than a software license.

The practical consequence shows up the moment someone takes your UGV design, mills their own chassis, changes the motor mounts, and sells twenty units. Under MIT, the copyright license permits copying and modifying the design files with only a notice-retention condition, but it does not itself resolve patent rights or rights in functional objects. Under CERN-OHL-S, they must make the complete modified design Source available. Under CC BY-SA, they must license modified files under the same or a compatible license, but the license itself says little about how that applies to a physical object you can hold.

Two scenarios make the stakes concrete. In academic research, a lab reproducing your field robotics platform needs to know whether it can publish modified CAD alongside a paper. In systems integration, a company building a product on top of your base needs to know whether its proprietary sensor payload driver becomes subject to reciprocity. The license you pick helps determine both answers before either party asks.

What does CERN-OHL actually cover, and how do its variants differ?

CERN-OHL version 2 was published by CERN in 2020 and is one of the most widely referenced open hardware license families for robotics and electronics hardware. Unlike adapted software licenses, it defines terms that only make sense for physical things: Source (the preferred form for making modifications), Product (a physical device made from the Source), and Available Components (commercially available parts whose internals are not part of the required Complete Source). That last definition matters enormously in robotics, because it means you can use a commercial brushless motor or an off-the-shelf depth camera without being forced to reverse-engineer and publish its internals.

CERN-OHL v2 ships in three variants with escalating reciprocity:

  • CERN-OHL-P (Permissive). Closest in spirit to MIT or Apache 2.0. You may modify, manufacture, and sell without being required to publish your modifications. You must preserve required notices, and the license includes an explicit patent grant from the licensor.
  • CERN-OHL-W (Weakly Reciprocal). The hardware analogue of LGPL or MPL. Modifications to the licensed design itself must be shared, but a larger system that merely incorporates the licensed part can remain closed. If you modify the chassis, you publish the chassis. If you bolt your own proprietary manipulator onto it, the manipulator can remain yours.
  • CERN-OHL-S (Strongly Reciprocal). The GPL analogue. When you distribute a Product, the Complete Source for the wider design needed to make that Product must generally be made available under CERN-OHL-S, subject to the license’s rules on separate works and Available Components.

All three variants expressly address distribution of physical Products and require relevant notices concerning the Source. If you ship a hundred rovers built on a CERN-OHL design, recipients must be able to find the applicable design files as required by the license. A URL in the manual or a label on the device can be an appropriate way to provide that information, provided it remains accurate and usable.

CERN-OHL also includes an explicit patent license from the licensor. MIT does not grant patent rights in express terms, which is one reason Apache 2.0 exists as a software alternative. For hardware, where a mechanism may well be patented independently of its drawings, that explicit grant is not decorative.

When is CC BY-SA the right choice for hardware and documentation?

Creative Commons licenses were designed for creative works: text, images, video, music. CC BY-SA 4.0 requires attribution and requires adaptations to carry the same license or a compatible license. It is extremely well understood, machine-readable, and recognized by publishers and institutional repositories. For a robotics documentation site, a user manual, or a set of assembly photos, CC BY-SA is a sound and conventional choice.

Where CC BY-SA becomes awkward is manufacturing. Creative Commons itself has stated that its licenses are not intended for software, and the organization has published guidance noting that hardware raises questions CC licenses do not address. The core problem is scope. A CC BY-SA license on a STEP file clearly covers the file. Whether it reaches a physical bracket machined from that file is legally murky, because copyright in a technical drawing does not automatically extend to the useful article it depicts. CERN-OHL addresses that gap by defining the Product and attaching obligations to its distribution; CC BY-SA does not do so expressly.

There is a second practical issue. CC BY-SA 4.0 has a limited one-way compatibility mechanism with GPLv3 for software, but there is no generally established compatibility path between CC BY-SA and CERN-OHL-S. If you release mechanical files under CC BY-SA and later want to merge them into a CERN-OHL-S project, you may be unable to distribute the combined work under the desired terms without obtaining additional permissions. Relicensing existing CC BY-SA contributions generally requires the agreement of the relevant rightsholders. That is manageable in a two-person project and painful in a community project with forty contributors.

The sensible reading: use CC BY or CC BY-SA for prose, diagrams, photographs, and tutorials. Use a hardware license for the files that become objects.

How does MIT behave when applied to robot firmware and ROS 2 packages?

MIT is roughly 170 words long and says, in substance: do what you want, keep the notice, no warranty. For firmware and ROS 2 packages, that is often exactly right. The ROS ecosystem leans heavily permissive – many core ROS 2 packages are Apache 2.0, and BSD-3-Clause and MIT appear throughout the community package set. A permissive license maximizes the odds that an integrator can drop your driver into a commercial stack without a legal review cycle.

MIT’s limits are specific and worth stating plainly. It contains no express patent grant, no hardware definitions, no obligation to supply source with a physical device, and no reciprocity of any kind. Applying MIT to a mechanical design file communicates permissive intent, which has value, but it does not create the hardware-specific obligations that CERN-OHL does. If your goal is that every manufacturer of your rover publishes their changes, MIT will not get you there.

For a mobile robot, a common and defensible split looks like this: MIT or Apache 2.0 for ROS 2 packages and firmware so integrators can build products freely, CERN-OHL-W or CERN-OHL-S for mechanical and electronic design so hardware improvements flow back, and CC BY-SA or CC BY for documentation so the manual can be translated and reused.

What does each license let you do? A side-by-side comparison

The table below summarizes the five options engineers most often weigh when picking an open hardware license for robotics. Read it as a decision aid, not as a legal opinion – the authoritative text is always the license itself.

Capability CERN-OHL-P CERN-OHL-W CERN-OHL-S CC BY-SA 4.0 MIT
Modify the design Yes Yes Yes Yes Yes
Manufacture and sell units Yes Yes Yes Yes (file license; physical scope unclear) Yes (file license; physical scope unclear)
Must publish your modifications No Yes, for the licensed design Yes, broadly Yes, for modified files No
Can keep a larger system proprietary Yes Yes Generally no Unclear for hardware Yes
Must provide Source information when distributing Products Yes, as required by the license Yes Yes No such clause No
Explicit patent grant from licensor Yes Yes Yes No No express grant
Hardware-specific definitions Yes Yes Yes No No
Off-the-shelf parts exempt from disclosure Yes Yes Yes Not addressed Not addressed
Typical fit Reference designs for wide industrial reuse Modules meant to be embedded in bigger systems Community platforms where fork-back matters Manuals, diagrams, photos, tutorials Firmware, drivers, ROS 2 packages

How do real robotics platforms license their files in practice?

Fictionlab develops Leo Rover and Raph Rover as open platforms, and licensing can follow the hybrid pattern described above rather than a single blanket license. The authoritative answer for any given component is the LICENSE file in the corresponding Fictionlab repository on GitHub. Firmware, ROS 2 packages, and mechanical design files may carry different terms, and those terms can change between releases. Check the repository, not a blog post, before you base a commercial decision on it. That rule applies to every open hardware project, not just this one.

The broader lesson from platforms used in research and field robotics is that licensing clarity is a usability feature. A lab that forks a UGV to add a custom sensor mast needs to know in an afternoon whether its publication plan is compatible with the license. An integrator sizing a pilot deployment needs to know whether its payload firmware stays proprietary. Ambiguous licensing costs both parties weeks.

Three operational habits make that clarity real. First, put a LICENSE file at the root of every repository and a per-directory license note wherever the terms differ. Second, use SPDX identifiers in file headers so automated license scanners in a company’s CI pipeline can classify your work without a human reading it. Third, maintain a stable URL for design sources, because a CERN-OHL notice should remain useful when a buyer looks for the Source later.

What should you check before committing to a license?

Before you settle on an open hardware license for robotics work, run through a short set of checks that catch the most common and most expensive mistakes.

  1. Inventory your artifacts. List firmware, ROS 2 packages, PCB files, mechanical CAD, URDF, and documentation separately. Assume each may need different terms.
  2. Check inbound licenses first. If your project incorporates a GPL-licensed library or a CERN-OHL-S module, your outbound options may already be constrained. Reciprocity can flow to derivative or combined works.
  3. Decide the reciprocity question explicitly. Do you want forks to publish their changes, or do you want maximum adoption including closed commercial derivatives? You cannot have both from one license.
  4. Verify you own what you are licensing. Employment agreements, university IP policies, and prior contractor work all affect whether you can grant the rights you intend to grant.
  5. Plan for the notice obligation. If you choose any CERN-OHL variant and ship physical units, decide now how buyers will be told where the Source lives.
  6. Record contributor terms. A Contributor License Agreement can make future relicensing possible. A DCO sign-off is a useful record that contributors had the right to submit their work, but it does not by itself grant broad relicensing rights.
  7. Get professional review for commercial deployment. This article explains how these licenses are structured. It is not legal advice, and a qualified attorney in your jurisdiction should review anything you intend to build a business on.

Frequently asked questions

Can I sell robots built from a CERN-OHL-S design?

Yes. None of the CERN-OHL variants restrict commercial sale. CERN-OHL-S requires that you make the complete applicable design Source available to recipients and that you inform them how to obtain it. Selling is permitted; keeping required design modifications secret is not.

Does CC BY-SA apply to a physical part made from a CC BY-SA CAD file?

This is genuinely unsettled. CC BY-SA clearly covers the file as a copyrighted work. Whether the ShareAlike obligation extends to a manufactured object is unclear, because copyright in a technical drawing does not generally extend to the useful article it describes. CERN-OHL was written specifically to reduce this ambiguity by defining the Product and attaching obligations to its distribution.

Is MIT a valid license for mechanical design files?

You can apply MIT to any file and it will communicate permissive intent clearly. What it will not do is create hardware-specific obligations, grant patent rights expressly, or require that buyers of a physical unit be told where to find the design. If those matter, CERN-OHL-P gives you comparable permissiveness with hardware-aware wording.

What is the difference between CERN-OHL-W and CERN-OHL-S in practice?

CERN-OHL-W is weakly reciprocal: modifications to the licensed design must be shared, but a larger system that incorporates the licensed part can stay closed. CERN-OHL-S is strongly reciprocal and can extend obligations to the wider design needed to make the Product. If you are publishing a module intended for integration into proprietary systems, W is the usual choice. If you want a community platform where forks come back, S is the usual choice.

Can I combine CERN-OHL-S hardware with MIT-licensed firmware in one product?

Generally yes. The licenses govern different artifacts. MIT imposes no reciprocity, so MIT code can sit alongside CERN-OHL-S hardware without conflict. Problems arise when a single artifact falls under two incompatible reciprocal licenses, such as mixing CC BY-SA and CERN-OHL-S files into one derived CAD assembly without additional permissions.

Do I need a Contributor License Agreement for an open hardware project?

Not strictly, but some mechanism for recording contributor intent is strongly advisable. Many projects use the Developer Certificate of Origin via a signed-off commit, which is lightweight and well understood, but a DCO does not normally provide the broad relicensing permission that a Contributor License Agreement can provide. Without suitable contributor permissions, relicensing later may require agreement from every relevant past contributor, which is often impractical.

Where do I find the actual license for a specific Leo Rover component?

In the LICENSE file of the relevant Fictionlab repository on GitHub. Firmware, ROS 2 packages, and mechanical files may be maintained separately and may carry different terms. Always read the repository rather than relying on secondary summaries, including this one.

Where to go next

Licensing decisions shape how far a robotics platform travels and who can build on it. If you want to see how Fictionlab approaches open hardware in practice, including which parts of the Leo Rover and Raph Rover stacks are published and under what terms, read more about the team and the engineering philosophy behind the platforms at fictionlab.pl/about-us.


Read more