r/PCB • • Sep 24 '26

My First PCB

I know AI gets a lot of flack here, so I'm not going to sugar coat this. This is 100% designed by AI. Everything from schematic, pcb layout, chip selection, firmware code to the open source bluetooth protocol used to talk back to the app.

The biggest surprise for me was that it works. Everything worked first time. I have been using my oscilloscope, multimeter and thermal camera to test everything is as expected and everything is within expected ranges.

The board is designed to be plugged into a car as a Track Day vehicle telemetry logger and I'm really pleased with the outcome.

I am from a software background, but really have very little experience with electronics.

Let the roast begin.

702 Upvotes

97 comments sorted by

80

u/Enough-Collection-98 Sep 24 '26

I’ve certainly seen worse layouts done by AI but it’s still far from great.

I think that schematic though is a great example of how “vibe coding” makes something that works for a machine but is unmanageable for a human. As the design progresses and becomes more complex, you become more and more dependant on the AI that can read your design because it’s spaghettified beyond actual human conception.

That’s fine for hobbyists and rapid prototypes but that’s a liability in production if you can’t maintain your data without someone else’s services.

9

u/IceMichaelStorm Sep 25 '26

And I would add that by the nature of AI, it is not deterministic. So relying on AI can just randomly fail at any point, complex or simple.

So making us dependent on something reliable is fine but no matter how good AI is or will become, it is not. Maybe this thing works for a while and suddenly overheats or malfunctions at version 105.

And what now? Your only chance is never ending loops with AI or redesigning from scratch, basically losing all work

0

u/Lazy-Ear2946 Sep 25 '26

Soy un completo principiante en esto de los pcb necesito un pcb que literalmente no necesite componentes solo pistas será para un teclado matrícial

-16

u/lapsmith-greg Sep 24 '26

Before I posted this - this is what the AI said about the schematic:

The schematic will draw criticism. Because generate.py draws it, it's all net labels with parts scattered around the sheet. Two labels also overlap: U4 sits on top of pin 11, and C1's value runs into REG_RON. The post says it's generated, and the block diagram carries the explanation. A cleaner, grouped layout would mean changing generate.py, so I left it alone; I can do that if you want.

24

u/Enough-Collection-98 Sep 24 '26

And there’s a reason for that criticism too; the schematic doesn’t just communicate part choice and netlist - it also communicates design intent.

This schematic is nothing more than a list of parts and connections. The design intent is coming from somewhere else not documented. No human can glean what your schematic is doing here so you’re entirely dependent on AI to iterate. To the point I question why have a schematic at all?

3

u/emisofi Sep 24 '26

Ask the AI to group the parts and use graphic wires. I have done so and got a readable schematic. About the PCB, it could be done in two layers unless you want the ground planes for some reason. But optimizing costs a ton of tokens in my experience!

1

u/IceMichaelStorm Sep 25 '26

which one btw?

1

u/emisofi Sep 25 '26

For schematic I used opus 5 and for routing it couldn't do it, suggested going to 6 layers so I tried astra and it could in 4 layers. The routing is not pretty though, It would be great to develop a skill to get better results.

1

u/808_Sensis Sep 26 '26

If you have the hardware have opus 5 Install and use Kicad CLI. You get everything done within hours.

I’m not one to “complain” when something works as that’s when you get problems that ain’t real. If you can make “it” work and function. Proceed. 🤌🏾🤙🏾

1

u/emisofi Sep 28 '26

Yes I used Opus + Kicad CLI. It simply couldn't. Worked hours and days and couldn't get the work done. I haven't tried with Opus 5.5 yet.

2

u/Conte_Vincero Sep 25 '26

How did you find soldering the pads underneath the Xiao module?

1

u/lapsmith-greg Sep 25 '26

I didn’t. JLCPCB did it for me.

1

u/[deleted] Sep 26 '26

[removed] — view removed comment

1

u/THE_HEXAGONE Sep 28 '26

they offer PCB services where it comes presoldered with all smd you picked (but it needs to be lcsc electronics or their lib)

1

u/AntRevolutionary925 2d ago

if it is large quantity production you can send them the components as well but it increases the cost

26

u/Apprehensive-Issue78 Sep 24 '26 edited Sep 24 '26

Some things that AI does badly.. look at where your Bluetooth antenna is located. Try to get the blue ceramic antenna on the edge of your pcb and make sure no copper ground or power planes are under it. It will probably make its range better. Second thing is the traces are connected somewhat clumsy under 45 degrees on places where it is not required making acid traps and slicing in the wrong locations through the ground plane. This makes many islands or thin ground connections while a human would avoid this. Also some more vias in places that could act as antennas would make the pcb better. I didn't check if decoupling has been done right and how the high supply current and return currents go in the pcb. If you just want a pcb that works now in your use case with just enough range and not in electrically noisy environment this could work. If you want a great quality pcb design invest some time in studying signal integrity. You asked for a roast. Actually I am surprised it works and that AI can already make this. Only when things don't work AI probably can't fix it because there is no real understanding how things really work.

11

u/jes3001 Sep 24 '26

With that XAIO module it’s kinda hard to get in a pefefect antenna placement and keep the usb port accessible

4

u/IceMichaelStorm Sep 25 '26

AI can what AI is trained on. I guess it had some close schematic (or parts) to train on. Lucky shot

6

u/aptsys Sep 24 '26

The whole layout is awful, especially around the DCDC

2

u/PM_ME_YOUR_MAIMAIS Sep 25 '26

I agree, the longer you look at it the worse it gets.

13

u/Serious_Bite_7613 Sep 24 '26

I could immediately tell its AI, the module placement is... not great. But it's cool that it is functional.

I've been using AI for some simple designs recently and with a few extra prompts they usually come out ok.

12

u/StumpedTrump Sep 24 '26 edited Sep 24 '26

What is with AI and hating wires in schematics. The "all net labels, no wires" approach is horrendous to look at and understand. I don't understand why it does that either, I assume it trains off existing designs and no one in their right mind would ever design like that.

Horrendous antenna placement that noone with an ounce of experience would do. Horrendous power layout . This device is a wireless nuisance and exactly the reason EMC limits exist (which you're surely violating).

2

u/aculleon Sep 24 '26

I am guessing training feedback regarding hating wires. Messy, overlapping wires can easily be unreadable.

6

u/lanboshious3D Sep 25 '26

What AI did you use?

1

u/ddotbuilds Oct 04 '26

did you simulate it at all before you ordered it? It's lowkey impressive that everything just worked first try. I guess AI is getting decent at PCB design.

1

u/lapsmith-greg Oct 04 '26

I built it all out on breadboards and designed the firmware. Then told AI that I wanted it in a PCB.

3

u/morgulbrut Sep 24 '26

The routing is pretty bad.

Also the schematics is super confusing, a proper schematic is also documentation.

3

u/Miserable-Ratio-9879 Sep 24 '26

Hahaha what in the everloving fuck are these traces and component placement 🙈

3

u/technovic Sep 26 '26

Lovely formatting style

1

u/xStrutsar Sep 24 '26

What software did you use for the block diagram? It’s really clean and well put together

3

u/Sea-Reserve8120 Sep 24 '26

It looks a lot like graphviz, a python library

2

u/GremlinEnergyGoBurr Sep 24 '26

Graphviz is the goat I'm ngl

-1

u/lapsmith-greg Sep 24 '26

AI.... it did 100% of everything. I didn't ask for that diagram. I said I was posting on Reddit and can it produce me some images.

0

u/Silicon_Knight Sep 24 '26

Feels like Claude to me?

1

u/lapsmith-greg Sep 24 '26

Claude does most of the grunt work, but Astra code reviews.

0

u/Silicon_Knight Sep 24 '26

Makes sense. Opus 5.5 I feel but could be simple enough for sonnet?

5

u/z2amiller Sep 24 '26 edited Sep 24 '26 • Bravo

Yeah - there's a lot of hate here but honestly it does an admirable job at PCB design. I've mostly been using AI strictly as a reviewer agent - not only enforcing normal best practices, but also some of my own constraints, naming conventions, etc, to make sure that my designs not only work, but have all of the proper silkscreening, physical offsets, pull from the same pool of BOM items I have in stock, etc. When I get boards back with mistakes in them, I add checks to prevent that class of errors in future revisions. It's worked really well for this.

What I was very surprised about was the ability to make boards from whole cloth. I had a couple of one-off things that I don't really care about but wanted to try to make a board for (example: ADS-B PCB antenna to play with my RTL-SDR), and it more or less handled the whole thing -- schematic generation, PCB layout, everything. Really simple boards (< 30 components probably) but RF-sensitive. I think having worked with it a bunch on my own boards (70+ examples) led it to use good schematic/PCB layout guidelines as well - not that I'm an expert here, but it had lots of examples of the way I like to lay things out. The schema was even human-readable!

I appreciate that it's prevented me from having to do some re-spins by catching some mistakes early. However I don't think I'll be using it that much in the future to fully design things -- after all, why would I want to automate my hobby? But I get the overall pushback and hate about it - after all, it's done a "good enough" job to get something built in a fraction of the effort. Why put in the time to build anything myself? Cue existential dread - it's not that long from now that AI is going to be better than me at anything I try aside from probing things in the physical world.

And in the meantime, it's generating a lot of deserved hate in these communities because people who have put in zero effort are showing up with their completely AI fabricated designs and dumping it on human community volunteers with "is this PCB good or not, can I fab this?" -- basically asking for someone to spend more time reviewing it than they spent building it, and then not even responding to feedback but just pointing their agent at the thread and saying "I got feedback on the design, go incorporate this". (Edit/Note: Not calling OP out for this specifically, only the pattern I've seen here and in related PCB-related subs)

2

u/DaikoDuke Sep 25 '26

If I want to learn pcbs how to create them and wire them, where can I get a free lesson. I want to learn how to wire stuff, build stuff and create stuff. Nothing big but something I want to do as a hobby

1

u/Hanswurst22brot Sep 25 '26

Youtube, a lot of great channels where you can learn it. Phil's lab explains a lot and has tutorial style designs, Robert Feranec too

1

u/ComplianceAuditor Sep 25 '26

Kicad discord server. YouTube videos. Looking at other boards to learn tricks.

2

u/Apart-Touch9277 Sep 25 '26

It’s neat an LLM manager to string together a “working” board. How well is anyone’s guess. The AI would fail an entry level job interview with this slop.

3

u/ComplianceAuditor Sep 25 '26

This is pretty bad to be honest.

2

u/originalmicrousb Sep 24 '26

im not gonna sugarcoat this either, if it was made with ai its not your pcb.

ai made it not you

2

u/Herbaldoge Sep 25 '26

Using traces for the SMPS… AI Slop confirmed!

0

u/Sam__ Sep 24 '26

Which AI specifically?

0

u/lapsmith-greg Sep 24 '26

I play Claude and Codex off each other.

I essentially use the latest model so this (and the app) has been done in Opus 4.8 -> 5.5 mainly with a bit of Fable sprinkled in. Code Reviewed mostly by GPT & claude.

2

u/Hanswurst22brot Sep 25 '26

Are you now using " please take the answers from this reddit and correct your mistakes so that i can post it more human made again " ? To teach the AI?

0

u/tossaway109202 Sep 24 '26

I have been finding Astra is much better at circuit design than the Claude models, do you find the same?

2

u/lapsmith-greg Sep 24 '26

Until Opus 5.5, yes. But I haven't tried designing with 5.5 - so I'm not saying 5.5 is better.

2

u/VirtualArmsDealer Sep 24 '26

I was about to rip into that layout. Just noticed it's AI, it's also total junk. Just terrible.

2

u/TheAtomlabs Sep 24 '26

You call it yours but in reality it’s not. It’s AI. Learn to draw with a pencil and learn to route by hand. Here’s an example of hand routed board single layer no AI, just school lessons and datasheet reading

And milled at home with a £300 cnc

1

u/Hanswurst22brot Sep 25 '26

Whats the bulge on the right from pin 2&5 ?

1

u/Emcid1775 Sep 25 '26

A lot of places won't do vias between internal layers unless they go all the way through.

1

u/AdmirableScarcity492 Sep 25 '26

Nice. For your next project perhaps do everything through AI except the routing; It calms me down.

1

u/esseeayen Sep 25 '26

Curious if AI took into consideration the fact that there is a component antenna on that daughter board as the ground planes, lack of keep out and neighboring components would probably affect the signal.

1

u/Ok_Spare_5606 Sep 25 '26

I mean if its a simple board (i.e. low power and low speed board technically as long as you route decently it should work. I am sure for higher speed and power stuff it would be so different.

1

u/808_Sensis Sep 26 '26

Try installing Kicad cli, if you have the hardware.

Choose whatever AI model, local or cloud, which ever you choose varies the results in the end. So pick one and don’t change it until it’s done then change models and revise/edit.

Check out Seeed Fusion.
https://www.seeedstudio.com/fusion_pcb.html

Planned on building a Nvidia based SoM & carrier board referenced using the jetson Orin nano schematics but got stuck on the money hungry issue that is driving the tech market up in price….“memory bandwidth & speeds” aka “Not enough RAM”

#TradeSecrets 😆🫣

1

u/bobofski Sep 26 '26

The DC-DC converter layout is terrible. It may appear to work, but will be at the very least an EMC disaster. I really don't understand why I keep seeing such fundamentally flawed PCBs (often in this way). You only have to read a couple of DC-DC datasheets to understand 90% of what is needed, and they seem to only achieve the 10% that is getting the right parts on the board connected together. I can only think that the openly available training data is poisoned by poor quality designs, but I don't really know where they're coming from. Stands to reason that AI cos are trying to pay engineers to do layout work to train models with - though to be honest I don't know who is training models for the kind of reward being offered - I can usually make more without doing myself out of a job in the future. I guess they'll be being trained by folk from developing economies.

1

u/Sea-Bench-7487 Sep 27 '26

The age of vibecoded PCBs has started unfortunately

1

u/Hot-Plantain-1234 Sep 26 '26

what a.i did you use?

1

u/MathematicianHot6820 Sep 27 '26

Cool bro you have a bright future

1

u/WesternAlert4013 Sep 27 '26

What AI software did you use

1

u/skr_u Sep 27 '26

The schematic is utter shit and the routing / component placing leaves room for improvements. Routing in particular is terrible.

But it's not far fetched to say that rapid prototyping has entered a new era. Also democratizing things like programming/hardware design etc. can't possibly be a bad thing.

1

u/LeoLiu0752 Sep 28 '26

AI-generated PCBs that actually work represent a major breakthrough, but before mass production, engineers need to verify they can pass the required tests and ensure they offer the best balance between cost and quality.

1

u/GNSEMS Sep 28 '26

AI can be a great teacher and a useful tool, as long as you have the ability to distinguish between accurate and false information.

1

u/Pure-Investment-2678 Sep 29 '26

No roast from me, first-boot success on an AI-designed car telemetry board is seriously impressive!

1

u/Vundaba Sep 30 '26

What did you use to design this PCB? Which AI platform?

1

u/archcycle Sep 30 '26

You got a lot of hate from the “oh no my job security!” hair on fire crowd, but i think it’s cool. Nice job.

1

u/ryleymcc Oct 06 '26

Make this again in 1 year and compare the results. I'm sure it will be much better then.

1

u/smashcat666 Sep 25 '26

Maybe you should have let the AI post here. At least the title would then be accurate 😁

0

u/Any_Championship_674 Sep 24 '26

No roast - nice job!

0

u/HDElectronics Sep 25 '26

As a first PCB I think it's very well done, my first PCB looked messy, but you can improve it even more I suggest you to watch the following video, it covers almost all the good practices https://youtu.be/S_p0YV-JlfU

-2

u/Le_modafucker Sep 24 '26

Looks lovely

-2

u/vijayitroduct Sep 24 '26

All the best bro 😎 keep it up 👍

-2

u/karthusenjoyer Sep 24 '26

Can i ask what model/workflow you used to achieve this? Im trying to learn PCBs but i am very new to electronics so i need a reviewer for my schemes. For now i have been just pasting screenshots into prompt...

3

u/lapsmith-greg Sep 24 '26

So the AI designed everything... so in my case there would be no need to paste screenshots. The AI was driving KiCad and did all the design itself.

-2

u/izamdelima Sep 24 '26

I’m doing the same bro, where did you assembly it?

-3

u/3rroR431 Sep 25 '26

If ai can get the job done why shouldn't he do it ? Why should people always take the hardest route ? And yes, ai did it not him, we ain't doing stuff like we used to do 30 years back. It isn't necessary for everyone to learn, have the equipments, and whatever for every single thing

4

u/Hanswurst22brot Sep 25 '26

If he wants to learn something out of it, he might have to do it himself. Else he doesnt know what he is doing, the AI still like to invent things where it doesnt know it, so the human should see the mistake and correct it. But if he allways used AI to do it, he wont find it.

When the AI is one day so far that it does all 99.99% right, then he will be not needed anymore anyway. But till then, he should know what he and his AI is doing, to get the most out of it.

1

u/Dziki_Jam Sep 26 '26

What if he does not want to learn something and just wants a PCB without paying to an engineer? This “if you want to learn something” towards AI generated stuff is pathetic and looks like copium.
And btw, I’m highly skeptical towards AI. It fails to produce simple schematics even with code to KiCAD Python library.

3

u/Sacharon123 Sep 25 '26

Its only necessary for them to learn if they want to do the good stuff. Otherwise carry on. Neural nets (stop calling it AI) are only as useful as the data you put in. If you do not know your shit, you get this. NN are specialist tools, not general public stuff.

-4

u/Sam__ Sep 24 '26

How did you do it? Is there a tutorial on how to use AI to design electronics?

2

u/lapsmith-greg Sep 24 '26

I'm not joking when I say that you just type what you want into the AI.......

It's still an iterative process... I said what I wanted and started on breadboards. It told me what to order and even from where... It told me what to test... I then said I wanted it on a PCB. It drove KiCad for me.

I then fed it some PCB design best practices that I found on the web - literally from JLCPCB's website...

It did the rest.

0

u/Over_Marzipan_8285 Sep 25 '26

How did you let it drive kicad? Does Claude have this feature? I’ve never seen this feature with Claude? Does it need an expensive membership or is it available with the $20 or $30 a month plan?

1

u/Dziki_Jam Sep 26 '26

You can ask it to write code and to use SKIDL to convert the code into KiCAD project. But it’s a hot or miss. I was getting terrible schematics even with this library. Or you can ask it to generate a KiCAD project directly, but in this case it might take several iterations until you get the project you can at least open.

https://pypi.org/project/skidl/

0

u/Flat_Try747 Sep 25 '26

What model did you use? Do you have an example prompt?

0

u/jeevadotnet Sep 24 '26

I just got into this recently. I've wanted to get into PCB designing the last almost 30 years. And having no time between work,  kids and renovating my house, PCB was still something I think about regularly. Last week I installed KiCAD. Then used ChatGPT 6 Astra to brainstorm ideas.

I wanted to build a board that can run MeshTastic 4xx and 8xx Mhz (2 hotplug and play modules), and/or connect Wi-Fi-HaLow. With addons for a weather station and solar power.

Once I was done with brainstorming a design with ChatGPT Web, I asked it to write the project for an Agentic agent like Codex to build in KiCAD. Which I then ran in Codex. 

0

u/DogAffectionate2364 Sep 24 '26

Try ChatGPT astra and let it control your computer, I’ve seen people do this