Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Design with ProtoBot

Ask ProtoBot to plan a change in Plan mode, accept the plan and watch it add and wire an IR sensor array to the line-following robot

Goal

Use ProtoBot to add an IR line sensor array to the Main controller board from Build a line-following robot. You'll ask for a plan first, review it, accept it and watch ProtoBot carry it out, then check the result yourself.

Time: about 10 minutes, most of it watching. You need: a signed-in account with ProtoBot Energy left (the battery in the ProtoBot panel). A run like this one uses a few percent of a Free day.

Steps

1

Open ProtoBot

  1. Open the Main controller board and make sure the status pill says Editing. If it says Viewing, open it and click Start editing.

  2. Click the robot icon at the top of the left rail. The Agents panel opens on the ProtoBot tab.

  3. Click New chat session (+) to start a fresh conversation for this board.

The Agents panel on the ProtoBot tab, with the welcome message, the composer and the model, reasoning effort and mode controls under it
The ProtoBot panel.
2

Choose a model, effort and mode

The controls sit under the message box, left to right:

  1. Model: keep the default, or pick another model from the list. Models marked Pro need a Pro plan.

  2. Reasoning effort: Medium is a good balance. Off and Low are faster and cheaper; High thinks longest.

  3. Mode: choose Plan ("Design first, no board edits").

See Modes and Models and reasoning effort.

3

Ask for the plan

Ask ProtoBot for a plan

Animated GIF · Steps:

  1. Type: Add an IR line sensor array the Nano can read, and wire it up.

  2. Press Enter (or click Send message).

  3. Wait for the Proposed plan card. ProtoBot reads the board, may search the library, and writes the plan without changing anything.

4

Review and accept

Accept a ProtoBot plan

Animated GIF · Steps:

  1. Read the plan: which sensor, how it's powered, which Nano pins it uses.

  2. If you want changes, type them in Reject with reason and click Submit rejection. ProtoBot revises the plan.

  3. When it looks right, click Accept. The mode switches to Integrate and ProtoBot starts work.

While it works, the message box reads "Streaming, Esc to stop". Each tool call appears as a card you can expand to see what changed. Press Esc or click Stop generating to stop at any point.

5

Approve or decline a part request

If the sensor isn't in the library, ProtoBot can model it as a custom part on your board and ask the ProtoPart team to add it properly. It asks first:

  1. A card titled File a part request? appears, marked Needs your OK, with the details it would send.

  2. Click File it to send the request, or Don't file to skip it. ProtoBot continues either way.

Requests are public on the ProtoPart GitHub repository. Your name and email aren't included. See Request or fix a part.

A ProtoBot tool card marked Needs your OK, showing the File a part request? card with the part details and the buttons Don't file and File it
ProtoBot asks before it files a part request.
6

Check the result

  1. Read ProtoBot's summary. It lists what it added, the wiring and any open DRC items.

  2. Open Board Review and confirm there's nothing under BLOCKED.

  3. Click the new harnesses and check the pins in Function Links against the sensor's datasheet.

The canvas after the run: an IR line sensor array connected to the Arduino Nano by a 5 V supply harness and five signal harnesses
The board after ProtoBot added the sensor.

Result

The board has a line sensor wired to the Nano, and the chat session keeps a record of how it got there. You can undo any of ProtoBot's changes with Ctrl+Z, and earlier versions are in version history.

Common failures

The message box says "Respond to the plan above to continue"

A plan is waiting. Click Accept, or reject it with a reason.

"You've hit your daily usage limit"

Your daily Energy is used up. See Plans, limits and Energy.

ProtoBot changed nothing

You're still in Plan mode, which never edits the board, or the board is in Viewing mode. Accept the plan, or switch the mode to Concept or Integrate, and make sure you hold editing control.

Last updated