by napowderly · 2y ago · 0 comments
We are working to add an equations solver to our compiler over the next few weeks, which will allow you to do things like set the ratio of a divider and total resistance, then have the solver pick optimal values based on availability, cost etc.
I think that gets really exciting when you start to be able to link these together, its trivial from there to directly set the output voltage of a power supply in volts, which will internally configure the feedback resistor divider.
Also verified designs will be super important. Its a little crazy that the status quo is you will almost inevitably make a silly mistake on your first spin. I am imagining designers will go off, make a new circuit, build and test it then make a PR to merge it into main.
Hang tight, its coming soon!
The equation solver is soon on our roadmap: https://atopile.io/roadmap/#language-features
https://solvespace.com/index.pl
It's what underlies the geometric constraint solver which you don't need for what you're doing. It's probably worth a look under the hood. You might also read this post from Michael-F-Bryan implementing something similar in Rust:
https://users.rust-lang.org/t/geometric-constraint-solvers-p...
He based his work on what he learned from Solvespace.