Using ChatGPT and Claude for PCB design: prompts that help, and where they fail
ChatGPT and Claude are good at calculations you can check, explaining datasheets, drafting test plans and writing bring-up firmware (the first code you run on a new board). They're bad at part numbers, pinouts, stock levels and footprints. Whether a session is useful or ends in a costly respin (a second, corrected board) depends mostly on two things. One is how much source material you give them. The other is how much of the answer you check.
Give it the source, not just the question
A general chatbot answering from memory works from its training data. That data may be a year or more old, and it was never checked against your exact part. Pasting the source text changes the job from remembering to reading. These models are far better at reading.
- Paste the relevant datasheet section (pin table, electrical characteristics, application circuit) or attach the PDF.
- Paste the netlist excerpt (the list of which pins connect to which) or BOM rows as text. In KiCad,
kicad-cli sch export netlistgives you one. - State your constraints with units: input range, load current, ambient temperature, board size, layer count, fab limits.
- Tell it what to do when information is missing: "say unknown, don't guess".
One more habit: ask it to show the formula and the values in between. Wrong answers are much easier to spot when the working is on screen.
Seven prompt patterns that earn their keep
1. Component shortlists with hard constraints
Use it to narrow the parameter space (the range of specs worth searching). Then pick the actual part from a distributor's parametric search (the filter-by-specs search).
I need a synchronous buck regulator: 9-24 V in, 5 V out, 2 A continuous, switching above 400 kHz, package I can hand-solder, ambient up to 60 °C. List the parameters I should filter on and the trade-offs between them. If you name example parts, mark each one "unverified" and I will check it.
2. Calculations you can check
Regulator feedback dividers, LDO dissipation (heat in a linear regulator) and trace width are perfect jobs. You can redo them on paper.
Adjustable regulator, Vref = 0.8 V, target 3.3 V, R2 = 10 kΩ. Compute R1, pick the nearest E96 value, and give the resulting output voltage and error in percent. Show each step.
The right answer is R1 = 31.25 kΩ. The nearest E96 value is 31.6 kΩ. That gives 0.8 × (1 + 31.6/10) = 3.328 V, about 0.85% high. For an LDO dropping 5 V to 3.3 V at 300 mA, dissipation is (5 − 3.3) × 0.3 = 0.51 W. Ask it to multiply by the θJA (thermal resistance, junction to ambient air) from your datasheet, not a typical value. For trace width, ask it to state the IPC-2221 formula and constants it used (k = 0.048 for outer layers, 0.024 for inner). Then compare with a calculator. Our trace width vs current post covers the caveats.
3. Reviewing a netlist excerpt
Here is the netlist for the power and I²C section, plus the datasheet pin tables for U1-U3. Check for missing pull-ups, floating enable or reset pins, missing decoupling on each supply pin, and voltage-rating problems. Quote the datasheet line behind each finding.
4. Explaining a datasheet section
This is good for dense timing diagrams, register descriptions and layout guidelines. Ask it to explain the section. Then ask it to list what the section requires you to do on the board. Check the list against the original.
5. Writing a test and bring-up plan
Write a first-power-up test plan for this board: current-limited supply settings, the order to bring up rails, expected voltages at each test point, and what to measure before connecting the MCU programmer. This is one of the most reliable uses. The output is a checklist, and you'll read it carefully anyway.
6. Firmware bring-up
Good jobs here: register init code, an I²C bus scanner, a UART echo test. Paste the register map instead of trusting the model's memory of the part. Check addresses and bit positions line by line. A wrong bit in a PMIC (power management chip) config register can do real damage.
7. Footprints (with a warning)
You can ask for a KiCad .kicad_mod footprint, and you'll get a file that opens. Don't trust its geometry. Research on footprint drawings shows general-purpose models counting pins wrong and putting pads in the wrong place. Use KiCad's library, its footprint wizards, or the manufacturer's CAD files instead. If you do use a generated one, check every pad size and pitch against the datasheet's recommended land pattern (pad layout). Then print it 1:1 and lay the real part on it.
How it fails
The failures are regular enough to plan around.
- Invented part numbers. They look right and follow the vendor's naming scheme. But sometimes they don't exist, or they belong to a different part.
- Wrong pinouts. The same function in a SOT-23 or SOT-223 package comes in several pin orders across vendors. The model may mix them up. The CircuitLM researchers call pin hallucination (made-up pin data) a core problem. They pull pin data from a database instead.
- Stale availability. Stock, lifecycle status and prices change weekly. Even with web search turned on, confirm on the distributor's page.
- Confident math slips. Watch for unit mix-ups between mil and mm, or mA and A, and arithmetic done "in its head". Ask it to use a code tool if your plan has one. Redo key numbers yourself.
- Agreeing with you. If you state a wrong assumption confidently, the model often builds on it. Ask "what would make this design fail?" instead of "is this right?"
- Drift in long chats. After many turns, earlier constraints get dropped. Restate them, or start a fresh chat with a summary.
For a sense of scale: the HWE-Bench study (March 2026) asked models to produce full board-level schematic netlists for 300 tasks. The best model it tested got 8.15% fully correct. These tools pay off on narrow tasks you can check.
Verify-everything checklist
- Find every part number on a manufacturer or distributor page, with the exact suffix (package, temperature grade, packaging).
- Check every pin assignment against the datasheet pin table for the exact package.
- Redo every calculation by hand or in a spreadsheet, with units written out.
- Check the absolute maximum ratings for each IC against your worst-case input, not the typical one.
- Take footprints from a library or manufacturer, or check them pad by pad.
- Check firmware register values against the current datasheet revision.
- Run ERC and DRC (electrical and design rule checks) in your CAD tool. Then check the exported Gerbers before ordering.
For a fuller review workflow that splits the work between AI and rule checks, see Can AI review a PCB design? And when the files are ready, open them in the free Gerber3D viewer to check what you're about to pay for.
Questions
Can ChatGPT or Claude design a PCB?
Not on their own. They can help with calculations, part research, datasheet reading, review checklists and firmware, but they don't produce a manufacturable layout, and their pin numbers and part numbers must be checked against datasheets.
Is it safe to paste my schematic or netlist into ChatGPT or Claude?
It depends on your employer's rules and the plan you use. Anything you paste is sent to the provider, so check the data-use settings for your account and don't paste anything covered by an NDA without permission.
Should I let an AI generate a KiCad footprint?
Only as a starting point you check pad by pad against the datasheet's recommended land pattern. Library footprints and manufacturer CAD files are safer, and a 1:1 printout against the real part catches most footprint mistakes.
Why does the AI give me part numbers that don't exist?
Language models generate text that looks like a part number from patterns in their training data. Unless the tool searched a live catalog and showed you the result, assume the part number is unverified until you find it on a distributor or manufacturer site.
Sources
- CircuitLM: A Multi-Agent LLM-Aided Design Framework for Generating Circuit Schematics (arXiv)
- A Large Language Model Powered Integrated Circuit Footprint Geometry Understanding (arXiv)
- HWE-Bench: Can Language Models Perform Board-level Schematic Designs? (arXiv)
- KiCad 10.0 command-line interface reference (KiCad docs)