What to Use AI For: From Dev-Board Conversation to a Closed Engineering Loop
A practical record of 154 model calls around a simple goal—connecting a development board to a computer and making it converse—is not proof that AI finished the project. This article turns that record into a general method: define what “conversation” means, split the path into verifiable steps, build a minimal link, debug with evidence, manage context and cost, and keep hardware actions behind deterministic safety checks.
1. What matters is which work AI actually completed
“What are you using AI for?” Answers limited to writing code, looking things up, or editing documents say little about AI’s role in real engineering. A more useful question is which steps it joined, which repetitive work it reduced, and whether the results were verified.
One practical record is a useful starting point. A developer used an AI coding tool and free model quota to connect a development board to a computer and enable conversation, making 154 model calls in total. The record shows that those calls did not consume credits.
That shows AI can take part in a development process that needs many iterations. It does not prove the model did all of the work, and it cannot be used to infer a specific hardware architecture, response speed, or recognition accuracy. Call count measures interaction scale, not engineering quality. Free model calls do not mean the whole project had no cost.
This article therefore does not ask whether a particular tool is “good.” It abstracts the practice into a general question: how can AI take part in an engineering loop from requirements to verification, so the device ends up with conversation capability that can be tested and maintained?
2. Define what “the board can converse” means
“Can converse” sounds simple, but it can cover different technical scopes.
The most basic form is text. The user types on the computer, the program sends the request to a model service, and the result is shown or passed to the board. Voice adds audio capture, speech recognition, speech synthesis, and playback. If the device must also control lights, actuators, or sensors from the conversation, the system needs structured commands, permission checks, and feedback on execution.
These capabilities are not interchangeable. A working text path does not mean voice works. Natural-language replies do not mean the system can safely control hardware.
Before development, set these boundaries:
- Does the user input text or speech?
- Does the computer or the board send the model request?
- Does the board only display and play audio, or must it execute control actions?
- Must multi-turn history be kept?
- How should the system respond when the network is unavailable?
Write the first acceptance goal as an observable result. For example: “The computer submits one text request, receives a response, sends it to the board over the device link, and the board confirms receipt and displays the content.” That is easier to break down and test than “build a smart assistant.”
3. Have AI split the task instead of generating the whole system at once
For work that spans hardware, communication, and model calls, asking AI to generate all of the code at once usually creates a large review burden. Longer code hides more assumptions and is harder to debug.
A steadier approach is to split the path:
- Confirm power and connection status for the board.
- Verify basic communication between the computer and the board.
- Verify model requests and response handling on their own.
- Define the data-exchange rules between the device and the computer.
- Connect modules that have already been verified.
- Add timeouts, recovery from failures, and safety limits.
Each step needs its own success criterion. For communication, both sides might exchange a fixed test message and detect whether it is complete. For model calls, a successful request should yield a correctly extracted reply, and a failed request should return an error that can be diagnosed.
When describing the task to AI, provide real constraints, not only the goal:
For now, only verify communication between the computer and the board. Do not connect a model service. First list the hardware facts that must be confirmed, how message boundaries should be handled, and the test steps. Mark anything not yet provided as unconfirmed. Do not assume it.
That request moves AI from “fill in the code” toward engineering analysis. It can help organize an approach, but power requirements, pin functions, interface levels, and memory limits must still follow real hardware documentation and measurements.
4. Build a minimal working path, then extend it
The following architecture is a general reference, not a reconstruction of the original implementation:
User input → computer-side coordinator → model service → response handling → device communication → board feedback
In early verification, let the computer handle model requests and orchestration, and let the board handle input, output, or simple control. That reduces what the embedded side must solve and makes network errors, communication errors, and device-execution errors easier to observe separately.
This is not the final architecture for every project. If the device must run without the computer, also assess the board’s network capability, memory, credential storage, and runtime stability, and decide which functions should move onto the device.
The core rule of a minimal path is to get one fixed message through the whole chain before connecting dynamic model replies. Otherwise, “no output” can mean the model did not return, parsing failed, or the device never received the data—and those causes cannot be separated.
After model replies are connected, also consider text length, encoding, segmented sending, and display capacity. Model output can be much longer than a test message. Successfully receiving a short message does not mean the link can handle continuous long text.
5. Turn many interactions into evidence-based debugging
One hundred fifty-four model calls mean the process involved many rounds, but high call volume should not be the working method itself. Useful iteration looks like this:
Observe the behavior → collect evidence → form a hypothesis → change one factor → retest → record the conclusion.
If the board does not display a reply, possible causes include a disconnected device, unclear message boundaries, inconsistent encoding, or incorrect receive-buffer handling. Telling AI only that “nothing happened” usually produces broad advice.
More useful debugging input includes:
- Expected behavior and actual behavior
- The full error text or relevant logs
- What changed most recently
- Steps that reproduce the problem reliably
- Causes already ruled out
After each change, keep other conditions the same when possible. If the communication method, protocol, and device code all change at once, a disappearing problem does not show which change worked.
Hardware advice needs extra care so AI does not present guesses as facts. Wrong interface levels, power methods, or wiring can damage equipment. Code that “looks reasonable” is not verification.
6. Manage context to reduce repeated explanation and error carryover
A long session is not reliable by default. As debugging continues, early assumptions may have been overturned and old code may no longer apply. If that is not cleaned up, AI may keep using outdated conclusions.
Keep a short engineering-status note that includes:
- The current goal and features that are out of scope for now
- Confirmed hardware and communication conditions
- The program version currently usable
- Tests that have passed
- Problems still open
- Approaches ruled out, and why
When starting a new task, provide that status note first instead of pasting the entire history. Keep confirmed protocol fields, state names, and error-handling rules in one place so later rounds do not generate incompatible implementations.
Also separate “a suggestion from AI” from “a fact already verified.” Only tested conclusions should enter the project’s stable knowledge record.
7. Beyond free calls, which costs still need to be counted
Free model calls in the original record describe that specific session. They are not a promise of long-term free use, and they do not represent billing in other deployment environments.
Engineering cost also includes hardware, network resources, development time, human review, troubleshooting, and later maintenance. For a team, rework caused by unverified code can cost more than the model calls themselves.
Cost assessment should therefore record more than call count:
- How many revision rounds one acceptance goal required
- How many AI suggestions could be verified directly
- Which problems still required people to consult documentation
- Whether repetitive work decreased
- Whether generated code increased the maintenance burden
If AI helps build tests faster, narrow the fault, or organize useful documentation, it can still be worthwhile even when coding time does not drop much. Frequently generating large amounts of code that does not run reliably is not efficient use.
8. Device control needs a deterministic safety boundary
When a conversation system only outputs text, errors usually mean inaccurate content. When it can operate hardware, errors can become physical risk.
Do not treat free-form model text as an execution command. A more reliable design is for the model to propose an intended action, then for a deterministic program to check the action type, parameter range, user permission, and device state.
The logic below is illustrative and not tied to a specific tool:
Receive the operation suggestion returned by the modelParse it into the agreed data structureIf the operation is not on the allow list:Refuse to executeIf a parameter is outside the device's safe range:Refuse to executeIf the operation requires human confirmation and has not been confirmed:Return a pending-confirmation stateExecute the operationRecord the resultReport the result to the user
For motion, heating, or other actions with physical risk, the device also needs limits, timeout stop, and emergency stop. Model judgment cannot replace those protections.
Logs and code sent to AI should have access credentials, personal information, and sensitive business data removed. Credentials should not be hardcoded in examples that may be shared, and debug logs should not record complete secrets.
9. How to judge that this AI practice is actually finished
One successful reply is only a proof of concept. A conversation system that can be maintained also needs coverage of normal and failure cases.
At a minimum, check:
- Whether system state stays correct across multiple inputs
- Whether long replies are truncated or joined incorrectly
- Whether the system can recover after a network timeout
- Whether communication can be re-established after the board disconnects and reconnects
- Whether illegal control requests are rejected
- Whether logs can locate faults without exposing sensitive information
Mark results as passed, failed, or not tested. Do not treat “no problem found yet” as a stability guarantee. If response time or similar metrics are discussed, state the test environment, sample scope, and statistical method. A single experience is not a performance conclusion.
10. AI’s value is helping developers close the engineering loop
From connecting a board to a computer through making it converse, AI can help clarify requirements, split tasks, draft code, analyze logs, design tests, and organize documentation. It can speed up information handling and repetitive work. It cannot replace hardware documentation, real tests, or safety responsibility.
What is worth reusing is not a session’s free quota or the number of calls. It is a clear method: define the goal, then build a minimal path; base each change on evidence and verify each conclusion; place model output inside deterministic program boundaries; and keep a recovery path for failures.
When those conditions hold, “what to use AI for” is no longer only a feature list. It is a more specific answer: use AI to help complete engineering work that can be inspected, reproduced, and maintained.
