Embeddyn user guide¶
Embeddyn is a local-first engineering platform for designing and analyzing embedded systems across firmware, electrical, mechanical, observability, digital-twin, and RF/EMC domains. The same repository can be used as a lightweight firmware-analysis/Studio tool or as a full multi-simulator engineering workstation.
What Embeddyn can do¶
Embeddyn currently provides six user-facing capability families:
- Embedded project design and Zephyr generation — describe a hardware graph, resolve component specifications, generate board/application content, build with west, and prepare Renode simulation assets.
- Local Studio — manage local projects and assets, search the bundled component catalog, inspect firmware, start emulation sessions, ingest/filter/plot telemetry, and use the RF/EMC cockpit.
- Component library — maintain an offline searchable library assembled from Embeddyn resources, hardware-component metadata, media, graphs, and local overrides.
- Mechatronics co-simulation — coordinate firmware, electrical, and mechanical simulators with deterministic or multi-rate scheduling and typed signal couplings.
- Distributed/HIL/digital twin — queue parameter sweeps, run workers, enforce HIL output/watchdog policies, compare measurements with simulation, calibrate models, run uncertainty analysis, and produce requirement evidence.
- RF / EMC — analyze Touchstone networks, create a first microstrip-patch geometry, generate an openEMS model, inspect S11/Smith/VSWR/impedance, and FFT waveforms for generated-noise/pre-compliance analysis.
Choose an installation profile¶
| Profile | Intended use | Source groups | Python extras |
|---|---|---|---|
core |
Core project/build commands | core | base package only |
studio |
Local browser Studio and firmware analysis | core | studio |
rf |
Studio + RF/EMC workflow | core, rf-tools | studio, rf |
full |
Full engineering workstation | core, tools, rf-tools | studio, mechatronics-storage, rf |
dev |
Development and CI-like validation | core, tools, rf-tools | full features + test |
See Installation for bootstrap details and platform notes.
Recommended learning path¶
If you are evaluating Embeddyn¶
- Install the
studioprofile. - Run
embeddyn studio doctor. - Start
embeddyn studio run. - Explore the component catalog and import a project/firmware asset.
- Run the mock mechatronics example with
embeddyn mechatronics run examples/mechatronics/dc-motor.yaml --mock. - If RF matters to your project, bootstrap the
rfprofile and use the provided Touchstone fixture.
If you are building Zephyr systems¶
- Bootstrap
fullwith the workspace option. - Initialize or inspect the Embeddyn workspace with
embeddyn init/embeddyn info. - Create or load a compatible design graph.
- Use
embeddyn prepare-zephyr-appfor generated board/application output. - Use Renode integration for simulation where the target is supported.
If you are building a multi-domain model¶
- Start from
examples/mechatronics/dc-motor.yaml. - Validate with
embeddyn mechatronics validate. - Run with
--mockto establish the signal/coupling model. - Replace mock adapters one domain at a time with Renode, ngspice/LTspice, or Webots.
- Use run storage/replay before adding distributed execution or HIL.
Core concepts¶
Workspace¶
The workspace contains downloaded/generated engineering resources such as embeddyn-resources, Zephyr, SDK/tooling, generated boards/apps, and component-library material. Bootstrap state is tracked separately through the repository manifest and lock.
Project graph¶
The classic embedded-design workflow uses a graph of components and connections. embeddyn.graph.Graph resolves nodes against the component specification and derives a SoC plus connected devices for code/board generation.
Local Studio data directory¶
Studio stores local metadata and artifacts under its configured data directory. It contains a SQLite database plus content-addressed asset storage, exports, logs, and remote-access token material when remote mode is explicitly enabled.
Mechatronics project¶
A mechatronics project is YAML describing domains, signals, couplings, simulator configuration, step/duration, scheduler behavior, parameters, and optional component definitions/instances.
Run¶
A run is an immutable-ish execution record containing the compiled project, telemetry, artifacts, metadata, and provenance required for inspection/replay/evidence workflows.
RF analysis¶
RF analysis is split into network/antenna analysis and time-domain noise analysis. Touchstone data may come from simulation or a VNA. FFT data may come from simulation/session telemetry or measurement, but Embeddyn labels non-calibrated waveform analysis as engineering/pre-compliance evidence rather than certified emissions measurement.