Connections & Compatibility
Connect parts with harnesses, link interfaces and functions, allocate resources, and understand compatibility rules.
Goal
Understand how to wire parts together in Protoboard, what makes two parts compatible, and how to configure connections so they pass validation.
How connections work
Connections in Protoboard use a layered model:
Creating and configuring a harness
Compatibility rules
Think of interface mapping as a matching problem: each required function needs a compatible resource with the right attributes. If power or logic levels don't line up, insert a part that adapts them (a level shifter, voltage regulator, or protocol converter).
For two interfaces to be linked, three conditions must be met:
3. Resources must be available and compatible
Each part must have unallocated resources that can support the connection. If all I2C peripherals on a microcontroller are already in use, you cannot create another I2C interface link from that part.
Resource allocation
Resources are the internal capabilities of a part (physical pins, peripherals, power rails). Resource allocation maps these internal resources to the interface functions used in a connection.
Click the Auto-allocate button in the Inspector to let Protoboard assign resources automatically. This is the fastest approach and works well for straightforward connections.
ProtoBot can also auto-allocate resources when creating connections on your behalf.
In the Inspector, expand the resource allocation section for a function link. Select which specific resource (e.g., GPIO pin 4, I2C peripheral 1) you want to assign to each function.
Use manual allocation when you need precise control over pin assignments or when auto-allocate picks a resource you want reserved for something else.
Harness visual feedback
Harnesses on the canvas are color-coded by their DRC (validation) status:
Green
Configured
All interface links, function links, and resources are properly set up
Amber
Partially configured
Some connections exist but setup is incomplete
Red
Not configured / Incompatible
No connections established, or a fundamental incompatibility was detected
Harness labels display the protocol type (I2C, UART, Power, etc.) so you can identify connection types at a glance.
Multi-domain connections
Protoboard is not limited to electrical connections. Harnesses can span multiple domains:
Electrical: signal and power connections
Mechanical: physical mounting and coupling
Thermal: heat transfer paths
Pneumatic: air pressure lines
Hydraulic: fluid lines
Network: data communication links
The same compatibility rules (protocol match, complementary roles, available resources) apply across all domains.
Common failures
Related pages
Canvas Basics: how to draw connections on the canvas
Validation (DRC): check whether your connections pass validation
Fixing Errors: resolve connection and compatibility issues
Parts: Add / Edit / Custom: edit part interfaces and resources
Last updated

