The AI moves the wires. It never touches the clock.
A team developing GPS-denied navigation for drones made its sensor rig configurable by AI: a three-sentence description becomes verified, ready-to-wire source code in under two minutes, without the AI ever gaining authority over the timing the whole platform depends on.
Drones are usually pictured under open skies, guided by satellite positioning. However, many of the places where they could be most useful offer no such help: inside buildings, under tree canopy, anywhere the signal is blocked or disturbed. In those conditions, a drone needs to work out its own movement from the sensors it carries.
ADI's Autonomy and Perception team is developing inertial navigation for exactly those conditions. The approach fuses an ADI inertial sensor, sampled two thousand times a second, with a camera, a barometer and a magnetometer, in real time on a small edge processor, with the camera's visual features detected by a neural network running on the chip's NPU. Figure 1 shows the team's console during an indoor flight; its GNSS panel reads “No data indoors,” and the vehicle is tracking its position regardless.

Demonstrating that the approach works is its own discipline. The team flies figure-eight patterns inside a motion-capture volume, where a Vicon system tracks the vehicle to millimeters, and compares the on-board est
imate against that reference second by second. In recent runs, the estimate holds within a fraction of a meter across a multi-minute flight. Each improvement is earned the same way: another dataset, captured on a multi-sensor rig whose timing can be trusted. That rig, and how an AI came to configure it, is the subject of this worked example.
In one working session, an engineer opened an AI client and typed:
Example Prompt |
The agent loaded the workflow's published skill, asked one question (the device name, which names the output), generated the project, and confirmed that the delivered firmware matched the validated template byte for byte by SHA-256. One minute and fifty-three seconds after the prompt, the engineer had a complete project and a wiring note with practical advice: the camera outputs stay low until both IMUs phase-lock, so missing camera triggers point first to the data-ready line.
The next exchange shows the design at work. The engineer typed: “The encoder sync isn't wired, rebuild without it.” The agent did not open the firmware and delete lines. It changed the specification and regenerated the project.
That is the rule the whole workflow is built on. Generated code is never edited by hand, neither by the AI nor by the engineer setting up a new experiment. The AI acts as a bridge instead: it connects the team's engineering knowledge to tools that turn each request into a controlled, repeatable result.
To gather the data needed for navigation research, the team assembled rigs around ADI's ADIS16470 and ADIS16507-2 inertial measurement units (IMUs), hosted on Raspberry Pi systems. A ZED X camera adds visual measurements, while a Vicon motion-capture system provides an independent reference for comparison. An ESP32 synchronization controller coordinates when those measurements are acquired. The specific devices matter because each brings its own interfaces and timing requirements to a recording that must ultimately be interpreted as one coherent dataset.
The controller is the rig's heartbeat. One timer produces one pulse train: IMU triggers at roughly 2,100 pulses a second; the camera at 30 frames a second, an encoder latch strobe at 210 Hz, and a pulse-per-second (PPS) output once a second. One CRC-checked telemetry packet per camera frame streams to the host at 921,600 baud.
Inside the firmware template, the numbers are exact. An ESP32 hardware timer ticks at 1 MHz and interrupts every 238 ticks, about 4,201.68 times a second. Every second interrupt is a pulse, which gives the 2,100.84 Hz trigger rate. The camera fires on every 70th pulse and the encoder strobe on every 10th. At boot the two IMUs may start out of phase, so the firmware skips one pulse for IMU 2 until both share a phase, then prints LOCKED.

Sensor fusion and comparison with ground truth depend on knowing which inertial samples correspond to each camera frame. If the trigger signals drift out of their intended relationship, the recordings may still look complete while the measurements no longer describe the same instant. That can compromise later analysis, even when the capture itself appears successful. Historically, changing the rig's wiring required hand-editing firmware that also contained the timing logic, putting a critical relationship at risk with every configuration change.
Reliable navigation algorithms need repeated, comparable sensor recordings. As the team evaluated different IMUs and capture arrangements, the data-collection rig had to evolve without making each new recording difficult to interpret. The practical problem was therefore configuration control: how could engineers change what was connected without accidentally changing when it was sampled?
Each experiment varies the sensor rig. IMU models are compared side by side, with GPS on some recordings and motion capture on others, flying drones one week and ground robots the next. The sensor rig is not a product that gets built once. It is an instrument that gets rebuilt constantly.
In that working mode, the configuration ends up living in the code. Every rewiring meant hand-editing the trigger firmware, and over time the firmware became the team's lab notebook. It holds thirteen versions, with source comments recording what each change bought: phase locking in v3, telemetry in v4, a checksum in v10 and a timer change in v12.
The firmware history revealed how easily documentation and implementation can diverge. One header comment still described the IMUs as running at 300 Hz, although the code generated a 2,100.84 Hz trigger rate. Another described the strobe as lasting a single pulse, while the implementation held it for five. Neither discrepancy prevents compilation, but each could lead an engineer to interpret the captured data using the wrong assumptions.
This is the problem at the center of this example: the silent mistake. A wrong pin or a stale rate does not stop the build. The firmware compiles, the rig runs and the data flows. The error surfaces much later, in analysis, as fusion residuals that will not converge or camera frames that do not line up. By then the flight is over, and the dataset may be unusable. For a team whose output is datasets captured again and again, each such error multiplies across the campaigns that follow.
Finding the cause afterwards is difficult too. When a recording produced unexpected results, the team needed to reconstruct exactly how the rig had been configured for that run. Without a separate configuration record, the best evidence might be the firmware version installed on the controller at the time.
The team therefore set out to remove the opportunity for silent mistakes, by separating the description of each sensor rig from the firmware responsible for its timing. Engineers review the selected devices, connections, and signal assignments in a structured specification before anything is generated. The firmware comes from a protected template, and a manifest records the configuration used to produce each project. Every later experiment then has a clear, durable record of what was requested and what was built.
To put that separation into practice, the team built a tightly controlled framework around the AI. At its center is a Model Context Protocol (MCP) server: a piece of software that offers an AI client a small set of fixed operations, called tools. In this case there are three: The describe_platform tool reports which hardware is supported, validate_platform_spec checks a proposed configuration, and select_application returns the matching project. A published skill, build-data-collection-app, guides the client through the engineer's request, but the server applies the rules that decide whether a configuration is supported.
The process begins with a description of the rig in ordinary engineering language. The client turns that description into a structured platform specification, which the server checks against the hardware catalog and the relevant pin constraints. Once the specification is valid, the server selects the appropriate internal-clock or external-clock firmware template and substitutes the permitted pin assignments. It then returns project source, configuration, installation material and a manifest for each device. The result is a set of inspectable artifacts derived from known engineering resources, rather than firmware composed freely by the language model.

The specification is the engineer's review point, and the pivot of the whole design. It is the only artifact the language model authors: a readable description of which devices are present and how they are connected. The engineer either confirms that it matches the real rig or corrects it in conversation and generates again. Firmware, drivers, and framework configuration then come from the catalog and templates through deterministic tooling. ADI's structured engineering resources make this separation useful, because they supply the device knowledge and reusable implementation detail the assistant would otherwise have to guess.
The division of responsibility follows the risk. An engineer can change sensor selections, wiring and names through the specification, and the AI client can help express those choices. Every proposed pin is then checked against rules encoded from the hardware: nothing on the flash pins or the telemetry pins, no outputs on input-only GPIOs, no pulled inputs on pins without pull resistors. An invalid choice is explained to the engineer, who is asked for another; the AI client is forbidden from quietly substituting one.
Some information cannot safely be inferred at all. The workflow requires explicit values for each IMU's model and address, and for the Vicon server and subject names. When any of these is missing, the AI client must ask the engineer rather than select an answer.
The timing behavior is protected in a different way. Rates and timer architecture are absent from the editable specification, so a change request cannot even express a new clock setting. The client also compares the delivered source with the server's SHA-256 value, confirming that the firmware on disk is the validated template. That check establishes what was generated; physical wiring and timestamp behavior still need their own checks on the bench.
This architecture also stops old source comments from being treated as the authority for current behavior. The skill directs the client to the server's platform description and validation tools, and to return any requested change to the specification for regeneration. The AI can handle an incomplete, conversational request without ever taking responsibility for the timing implementation.
Two building blocks appear throughout this article, and the difference between them matters. On its own, an AI assistant can only produce text. To do useful engineering work it needs two kinds of help.
The first is a skill. A skill is a written set of instructions that the assistant reads before starting a particular job: what to ask, in what order, and what to report at the end. It works much like a procedure handed to a new colleague.
The second is an MCP server. The Model Context Protocol is an open standard that lets an AI assistant call external software, in much the same way a web browser calls a web server. The server is ordinary software, written and tested by engineers. The assistant can ask it to carry out an operation and can read the result, but it cannot change how the operation works.
The two solve different parts of the problem. The skill helps the AI client gather missing information, follow the procedure and explain the result. The MCP server exposes specific operations and applies the catalog, the validation rules and the templates. The team needed both conversational flexibility and enforceable constraints, so guidance stayed in the skill while every decision that must be reproducible stayed in the server.
That placement is deliberate, because instructions can be followed imperfectly while software applies its rules the same way every time. The firmware is the validated template because it is returned by a tool, not rewritten by a model. The timing cannot be altered because the specification has no field for it. The pin rules and required values are enforced by tested code rather than by the assistant's diligence. As a general rule, anything that must be true belongs in a tool, and anything that should be done belongs in the skill.
The practical distinction is straightforward. The skill helps the client decide what to ask and what to report; the server determines which configurations and artifacts are valid. Moving work out of the language model and into deterministic tools also reduced the amount of free-form code generation, which made the process both quicker and easier to inspect.
Two working sessions put the framework to the test: the first on a single controller, the second on the full sensor platform.
The first session is the one introduced at the start of this article. The engineer's request named an ESP32, two IMUs, a camera and the controller's internal timer. That was enough to establish the intended arrangement, but not enough to name the output project or settle every connection. How the workflow handled those gaps is the instructive part.
On first connection, the AI client (Claude Code) asked the engineer to approve access to the team's MCP server; nothing is called without that consent. It then loaded the skill, called the server's tools and reported the result. Figure 4 summarizes the sequence.

The client began by identifying one missing detail: a name for the device project. It offered three possibilities, sync_master, imu_cam_rig and esp32_collector, and the engineer selected sync_master, which became the name of the generated sketch and its output folder. Asking mattered because a single description can contain several boards, and an explicit name keeps the generated artifacts distinguishable.
With the name resolved, the server validated the platform specification and returned the selected template. The client compared the generated source with the server's SHA-256 value and reported a byte-for-byte match. That check established which source had been delivered, while leaving the engineer a readable specification to review against the real rig.
The final report made its assumptions visible. It listed the default assignments for the encoder strobe, PPS, heartbeat LED, debug and button pins, and stated that no requested setting had been left unapplied. It restated the fixed rates and explained that the wiring should follow the delivered pin map. The engineer therefore had a concrete set of choices to confirm before using the project.
The next request came directly from that review. The encoder synchronization connection was not wired, so the engineer asked for a version without it. The AI client changed the specification and regenerated the project. The exchange shows why a reviewable configuration matters: a correction can be made without reopening the protected clock logic.

Generation completed in 1 minute 53 seconds. That figure is the result of this one session, not a general development-time benchmark.
The first session showed a controlled way to generate and revise one controller project. The second asked a broader question: could the same approach assemble the surrounding collection system, and would it still identify the assumptions that need an engineer's review?
The request named an ADIS16470 on a Raspberry Pi, a Vicon tracker following an object called “drone,” and a ZED X camera. It deliberately left the rest open, with no pins and no clock configuration. Requests like this are the normal case, since few engineers describe a system completely at the first attempt.
Fifty-nine seconds later the complete platform had been generated: the synchronization-controller firmware, the camera's configuration and launch scripts, a Vicon client, and a ROS 2 driver package for the IMU host. The workflow checked for existing files before writing anything. It chose defaults for the details the engineer had left out and reported each one, along with a SHA-256 value for every generated file. One job remained for the engineer: checking the reported pin table against the real wiring.
The report also stated what the generated files could not establish on their own. It described which clock timestamps each sensor's data, and marked the IMU path as “not verified.” It passed on a caveat from the hardware catalog as well: the IMU's SYNC and data-ready connections are inferred, not audited, with the instruction to “check this wiring on the bench.” These disclosures gave the engineer specific wiring and timing questions to take into the next hardware check. Figure 6 shows this part of the report.

The same rules extend to larger rigs. Where a rig has more IMUs than a template provides for, the client must ask for the extra pin assignments rather than infer them. This multi-platform workflow is part of the planned community release.
Area | AI contribution | Engineer responsibility |
Context | Works from the published skill, the hardware catalog and the template set | Own the catalog, the templates, the pin rules and the skill's instructions |
Translation | Turns a plain-language rig description into a structured specification; asks for missing or invalid values | Supply the four never-defaulted values; answer the agent's questions; approve the spec |
Generation | Requests generation; verifies the SHA-256 of delivered source against the server's | Wire the hardware to the delivered pin map; review the reported defaults |
Change | Applies changes by editing the specification and regenerating | Decide what changes; generated code is never hand-edited by anyone |
Timing | None. Rates and timer architecture are not expressible in the specification | Own the timing, encoded once in validated templates |
Supporting a new sensor or board does not require any change to the workflow itself. Every supported device is described by an entry in the hardware catalog, with template files alongside that integrate it into a project. Adding a device means adding a catalog entry and its templates. The validation, generation and reporting steps then work with the new device exactly as they do with the existing ones. The first additions of this kind, from the platform's own users, are already planned.
A separate workflow in the same toolkit handles the processing and upload of flight recordings, with human confirmation of every upload. This was outside the scope of this worked example.
This worked example demonstrates the generation workflow: a plain-language description becoming verified project source, with validation, defaults reporting, and spec-driven change, demonstrated in live sessions. The hardware catalog today spans the team's own rigs, on widely used boards (ESP32, STM32, Raspberry Pi) with ADI sensors, and the firmware templates are the same source the team runs on those rigs. Building and flashing the generated projects, and support for further hardware, are next on the workflow's path. That workflow is planned for community release soon.
Resource | Provider | Purpose |
ADIS16470 / ADIS16507-2 IMUs | ADI | Inertial sensing; the devices the rig exists to capture |
ADI FlightDeck toolkit | ADI | MCP server, hardware catalog, firmware templates and the published skill (community release planned) |
ADI IMU drivers and data middleware | ADI | The software the generated projects run on at each host |
ESP32 sync controller | Espressif | The generated firmware's target; the rig's heartbeat |
Raspberry Pi hosts, ZED X camera, Vicon | Various | Sensor hosts, vision and motion-capture ground truth |
Claude (AI client) | Anthropic | Reasoning and translation, within the skill's rules |
Begin with the sensing outcome your application needs, which measurements must describe the same instant, which parts of the rig will change between experiments, and what would make a recording trustworthy? ADI sensor documentation, hardware-aware configuration resources, and the workflow’s validation approach provide useful starting points for exploring those decisions, checking generated artifacts, and refining a sensor-driven application.
Reliable sensing becomes more useful when engineers can carry trusted device knowledge into repeatable, AI-assisted workflows. Explore Project Solas™ for more worked examples and ADI resources that can help you bring the same approach to a different engineering challenge.
This worked example is part of Project Solas, ADI’s work to make engineering resources easier for AI to discover and apply. It follows an engineering challenge from the initial ambition through the technologies, decisions, and tests that shaped the result. The approach and lessons offer ideas for bringing AI-assisted engineering into your own products and workflows.
Raspberry Pi is a trademark of Raspberry Pi Ltd. All other product and company names are trademarks of their respective owners. © 2026 Analog Devices, Inc. All rights reserved.