Absolutely love this, always wondered why there wasn’t a nocode for hardware that outputs a gerber.
> always wondered why there wasn’t a nocode for hardware that outputs a gerber. Because hardware tends to be informed by messy physical factors which are hard to represent programmatically. Think along the lines of "the cables are coming from this side of the board", or "buttons need to be reachable by fingers", or "if you're building a weather station, the temperature sensor should be far away from components that g…
Show HN: Atopile – Design circuit boards with code
121–130 of 300 posts
Re: Show HN: Atopile – Design circuit boards with code
#122The final part of the demo shows the output of the automatic build as something you can upload directly to a PCB manufacturer. How does this work given the output of the compiler is a netlist, not a PCB layout or Gerber file?
- First, requirements. In ato, you define how your circuit is connected and the requirements for the components that sit within it. From there, we generate a netlist and a BOM.
- Second, the netlist is turned into an actual object during the layout operation. We use KiCAD's layout tool in our case. There are infinitely more dimensions in the real world than there are instructions in a computer. So we do need that second step to point the requirement to one implementation in the real world. But technically there could be a quasi infinite implementations that fit the requirements written in ato.
The manufacturing files are a combination of the ato output files, like the BOM and the KiCAD output files, like the gerbers.
Re: Show HN: Atopile – Design circuit boards with code
#123Re: Show HN: Atopile – Design circuit boards with code
#124Unless I'm missing something, this is not circuits-as-code, it's just circuits-as-text. It's basically a non-standard way to represent a netlist, and to hang metadata off that netlist -- which is, to be fair, quite cool and useful. But take the example from [0] of a voltage divider. I agree that that is a textual description of a voltage divider that can be compiled to a netlist, a BOM, etc. But what is the actual di…
Had a play here for equations: https://github.com/atopile/atopile/blob/tim/equations/sandbo...
Re: Show HN: Atopile – Design circuit boards with code
#125https://observablehq.com/@nturley/netlistsvg-how-to-draw-a-b...
HDL tools all do this.
Re: Show HN: Atopile – Design circuit boards with code
#126Very nice! The state of electronics tooling has long been extremely bad - 99% of people who put a regulator into their schematic will want an appropriate input and output capacitor as the datasheet demands. 99% of people who put a microcontroller will want a crystal and a programming port and a reset pin pull-up. It's only because of closed source tools stuck in the stone age that the state of the art is to copy out…
Re: Show HN: Atopile – Design circuit boards with code
#127Earlier quoted context omitted.
Maybe one day, but I’ve asked the various models basic EE interview questions, and it’s painfully obvious that while it can make a paragraph that has the right words, it’s incapable of reasoning spatially, or describing complex connections. My job is secure (for this year).
I have noticed a huge improvement in ChatGPTs coding abilities having an interpreter to check its work. I expect we will be able to bring a similar feedback loop to hardware once we can integrate things like simulation and equations. Also having modules that are tricky to configure incorrectly.
Just an anecdote.
Re: Show HN: Atopile – Design circuit boards with code
#128Fine tune an ai on the docs and you've got a new company of AI generated circuit boards
Re: Show HN: Atopile – Design circuit boards with code
#129Re: Show HN: Atopile – Design circuit boards with code
#130Earlier quoted context omitted.
Had a play here for equations: https://github.com/atopile/atopile/blob/tim/equations/sandbo...
This is great. The pragmatic bit that makes it a bit more challenging (or, perhaps, a bit more of a search optimization problem than analytical) is that most of the cost functions are step functions. Once you need better than 10% tolerance on a resistor, you might as well step down to 1% -- available tolerances are discrete, and 5% and 2% tolerance parts are rarely cheaper than 1%. Similarly going to 0.1%. So once it…
We have equations at the top of our todo list and hope to get there soon :) Matt setup a roadmap here with things we want to work on: https://atopile.io/roadmap/