Top
Best
New

Posted by jasonpeacock 2 days ago

PCB is brought to you by Fable 5(a6mzero.com)
101 points | 49 comments
XRG 2 days ago|
As someone who does both hardware design (mostly high precision analog electronics) and software engineering, the difference between both fields in AI capability is striking. Models like Fable and Astra can provide lots of interesting insights into the design of specialty electronics when prompted correctly. Yet they can hardly put that knowledge to work if instructed to generate a schematic or lay out a PCB.

Of course, for readers here with a solid grasp on how LLM's operate it's not exactly surprising. Still, I feel this is exactly the kind of thing that drives home that the way we reason about (general) intelligence does not map cleanly to LLM operation, no matter how advanced the current models are.

crote 2 days ago||
If anything, it is surprising that the LLM is so bad at stealing a ready-made RP2350 design! There are plenty of easy-to-find tutorials like [0] and [1] that handhold you through the entire design process, and a simple search will give you dozens of design files for open-source boards.

At this level of board complexity you almost have to try to make it completely non-functional, so although it is nice to see it in practice I am not exactly surprised that a LLM with a decent bunch of assistance managed to do it. But there's quite a gap between the equivalent of poorly copying a "Hello World" from StackOverflow and making actual production-ready boards.

[0]: https://pip-assets.raspberrypi.com/categories/1214-rp2350/do...

[1]: https://jlcpcb.com/blog/how-to-design-layout-with-rp2350

genxy 1 hour ago||
You have to be more specific about what you mean by design. The models are excellent and the netlist and the components along with tradeoffs.
akiselev 58 minutes ago||
Design means PCB routing. A schematic is the PCB equivalent to a Mermaid diagram.
eluru 1 hour ago|||
i noticed the same treying to just generate 3D models using AI, i wonder if a well trained very specific world model would be better for the task
K0balt 1 day ago|||
It’s the training data. Finished work isn’t training data because parts are sooooo different, but maybe if the finished designs were properly labeled into the training pipeline it might work? Or the iterative work itself might need to be the training corpus.
snvzz 2 hours ago||
Maybe it's not properly benchmarked.

A standard benchmark using kicad to create or fix electronic designs would go a long way in motivating and measuring improvement.

adrianvi 45 minutes ago||
There's eebench, but maybe it's not exactly what you were thinking
seveibar 4 hours ago||
AI is exceptionally good at RP2040/RP2350/ESP32-based boards, we've ordered ~15 unique designs, mostly RP2040-based that were designed and autorouted with AI using tscircuit and usually OpenAI models.

Currently the major mistakes that AI makes: 1) Improperly rotated connectors (backwards USB port) 2) Endless routing loops for complex boards 3) Really huge/unreadable single page schematics

I'm extremely bullish on AI for PCB design, but there is a huge, huge tooling gap. We basically need to soup up all our collective design rule checks so that AI can work in corrective loops. It needs to check for things like "opamp schematic layout conventional" and "trace width closely matches reference design for chip". One thing that makes me super excited is supply-chain resiliency when chip/subcircuit-swapping becomes super easy

smart_asslop 8 minutes ago|
Major mistakes that AI makes:

    1) Improperly rotated connectors (backwards USB port)

    2) Endless routing loops for complex boards

    3) Really huge/unreadable single page schematics
AI is exceptionally good at RP2040/RP2350/ESP32-based boards.
muglug 4 hours ago||
Bought to us by Fable 5 and the more-experienced colleague who foresaw potential issues.
sottol 2 days ago||
I'm still waiting on my order of 15 PCBs done with Sol - a mini-BT-keyboard that I hope will be comparable to the Psion 5 / Gemini PDA ones, using Kailh PG1316S switches. I still need to design and manufacture a housing (I do have a lot of hobbyist experience with this though), but the idea is to have a magsafe-connectable keyboard I can clip onto my Pixel and make use of the new Linux subsystem (or Termux) and do some productive stuff on the go. It's just been manufactured by JLC but not shipped yet. Funny enough, production itself was ~$70, then $80 for shipping, taxes and fees (tarriffs?).

Instead of directly generating Kicad, I chose to let it write "generators" in Python that output Kicad (S-Exps!) pcb and project - with mixed results - but I can generate a version with/without per-key Neopixels and customize certain parts of the board, including debug-stuff. I also _think_ this makes it easier to resume working on this in new sessions but not sure. Otoh, I never actually looked at the Python (vibed...) so it's still a lot of hard-coding.

I also landed on and used KicadRoutingTools after trying FreeRouting, combined with some minimal "auto-placing" code for larger ICs and such that are placed with certain constraints. My routing runs are way slower though - on the order of minutes.

I always wanted to try atopile - that might be a good match for AI/PCB work. The only thing that really held me back was the lack of routing.

ac29 2 days ago||
> I always wanted to try atopile - that might be a good match for AI/PCB work.

Unfortunately all public open source work halted 6 months ago and they pivoted to a browser based IDE product to monetize: https://atopile.io/blog/atopile-v16

ost-ing 4 hours ago|||
I followed them for a while before the AI craze started. It looked promising back then, but I wasnt willing to invest time and attention back then on something so new.

Good thing I didn’t

sottol 2 days ago|||
Thanks :(
skyberrys 2 days ago||
That sounds like a cool project both for your pixel and the keyboard! Keep us posted how it goes!
Rival67 3 hours ago||
I've been working on several PCB projects, and agents are very helpful for automating many parts of the workflow. They're excellent for schematics. Complex routing, though, is still a human's job for now; I've watched Freerouting fall on its face many times. If you're doing six-layer high-speed DDR routing, AI won't solve that for you today.

However checkout EDA tools https://github.com/l3wi/claude-eda/ https://github.com/drandyhaas/KiCadRoutingTools

ZuLuuuuuu 2 hours ago||
In our company, we are doing high speed PCB designs with FPGAs, memories, ADCs, DACs etc. We are not yet using AI much in our PCB design workflow because our designs seem to be too complex for the AI solutions we have tried. Are there any areas where people are successfully incorporating AI to their PCB design workflow, even with complex, high speed designs? Schematic/layout review? Routing? Footprint creation?
amelius 35 minutes ago|
Why wouldn't an LLM be able to do high speed designs? Are you inventing new types of design rules for every board? Or is it simply because the automatic layout tools are not up to the task yet?
ZuLuuuuuu 4 minutes ago||
It is just that the current tools out there seem to work for small or hobbyist boards currently. We couldn't apply them on our complex board designs. But maybe you had a different experience? I am curious on what kind of ways big companies are incorporating AI in their PCB design workflows currently.
brotchie 4 hours ago||
This LED star PCB was 95% generated by Codex: https://www.youtube.com/shorts/8a52LjovhcE

Was non-trivial (e.g. days and days of cumulative work) but worked with Codex to build up a parametric generator where I could adjust the star size, number of rings, leds per ring. It did all the LED-to-LED routing, panel layout with mouse bites, placed decoupling caps. At the time Codex wasn't as good at spatial reasoning, I expect that Astra would do this much faster.

4 x layer PCB with GND and 5V inner layers. WS2816B LEDs (not available in strips yet). 3D printed a frame so that two stars could be opposite each other (video shows only one side). ESP32 S3 on a 3.3v to 5v shifter board sandwiched in between. ESP32 wifi antenna pokes through and sits on a keep out section. Received control signals from a central controller via ESP Now.

kanwisher 2 hours ago||
Yeah I've built about a dozen boards using GPT-sol 5.6 and my favorite is my Pi CM5 carrier board, to replace a laptop board in an old Sony Vaio p laptop. https://x.com/kanwisher/status/2089629411364745351?s=20
EastMakes 49 minutes ago|
Did it work ?

It's funny, I made a CM5 board for my N40L not too long ago https://www.youtube.com/watch?v=AzW4rRsD8Uk

Was sol5.6 good enough to do the actual HDMI / PCI-E and USB 3 Routing ?

helsinkiandrew 3 hours ago||
> Upon Claude's compilation of the project, I asked it to prepare the required files for JLCPCB, and tell me what to select on their GUI

It would be an interesting step to get Claude (or other LLM) to do order the PCBs itself on the JLCPCB website.

We're nearly at the stage where you can describe what a device should do, let it design the circuit (using available components on JLCPCB), design a PCB and enclosure then order PCBs, assembly and 3d printed enclosure and get it sent to you for final assembly.

ofrzeta 2 hours ago|
There's a plugin for Kicad https://github.com/bouni/kicad-jlcpcb-tools
amelius 44 minutes ago|
Can it shop autonomously on LCSC? Is it allowed to?
More comments...