by lbayes · 3y ago · 0 comments
We professionally design, engineer and manufacture accessible technology for disabled veterans and we are also developing robotic systems for industrial automation.
We have a half-dozen active projects running on Kicad and have been using it for almost 4 years now.
As with anything, there have been occasional frustrations with updates but overall, the tool consistently gets better over time.
The main decision to select Kicad was based on the plain text representation of project state which enables (1) improved workflows with Git, (2) scriptable bulk edits (3) simpler, sharable extensions / plugins and (4) easier continuous integration for build artifacts.
Here's a dense four layer brushless motor control board I designed recently, which can be viewed online in the amazing Kicanvas viewer:
https://kicanvas.org/?github=https://github.com/Twisted-Fiel...
In the last several years, it’s really improved and I enjoy using it. If you haven’t picked it up in a while, give it a shot.
that is a cool website.
can you share designs privately with team members? it looks great for collaborating if it's got authentication.
Either way I know it is under active development so you could file a GitHub issue and ask about that! Link to the GitHub for it on the main page here:
Perhaps I'm not looking in the right place, but I can't find the button for it.
Anyway, this looks great.
https://kicanvas.org/?github=https://github.com/Twisted-Fiel...
I'm really enjoying watching the progress on your motor controller!
<3
I really like your description of patience in software. I think I'll borrow this for future things I want others to try.
I don't use Windows, I don't want to, I've used Fusion 360 and it was slow as heck, didn't have constraint based solving that worked, was written in some awful system that made it require an internet connection, and they want me to use an EagleCAD-themed editor that they've hacked in?
I switched to using KiCAD for all new projects a year ago. It was a little bit of a learning curve. I started with designing a flexible heater PCB, which was good for a learning project because it had so few components. Now I'm making PCBs with four layers, inner ground and power planes, custom design rules, using fancy add-ons, taking full advantage of the HTML BOM plugin when teaching grad students how to solder, and I can be 100% sure that even if it gets worse I can still get the old version to work (probably).
Even the part library is more coherent and higher quality (!) than the EagleCAD one. I literally refused to use the built in EagleCAD libraries because the quality was so variable, sometimes it's fine, sometimes I ruin an entire PCB because their version of SO-8 had a weird width. KiCAD is way better, it's closer to OrCAD and lets me make the schematic, assign the footprints, and if I don't like a footprint I can just edit it on the fly for that document or to just save a new version of the footprint forever.
I've even got it set up to use Dropbox to share designs between computers (no issues) and that includes downloading STP 3D models and adding them to my footprints.
I know it's going to take me a while longer to be nearly as adept as I was at EagleCAD, and I'm going to miss that autorouter (the KiCAD one is very good for what it is, but it's a hard problem). There's a lot of keyboard shortcuts that you internalize after 20 years of using a program.
But it will be worth it, and frankly already is worth it. I've had to make like four custom footprints because the default library is just so well organized that I can actually find the one or maybe two versions of WSON-10 or whatever instead of having to guess which library has the version that matches my mechanical drawing.
PS: The part I selected seemed to be a generic brand and did not get any info to clarify the dimensions.
I personally don't think I'm good enough at KiCAD to draw one from scratch. I could probably make it okay, but it wouldn't be professional quality. Life goal is to be able to meaningfully contribute to the project library globally, they have high standards.
I managed to draw a USB port that was probably the trickiest one I had to do. It was really the same as eagle, I had to place pads, give them proper numbers, define through holes (it let me do slots, even with an offset which was way better than Eagle), and then it just let me connect it to a USB-C symbol in my schematic no questions asked.
But making a custom symbol was also the same as Eagle. Same process, label pins, define directions, place labels...
The only difference maybe is that footprints and symbols aren't forcibly associated, and connections are done via the pin/pad numbers.
With a datasheet of that low of quality you're better off measuring by hand though, I don't know a way around that one.
The reason I picked a particular SD card was because it was low cost. My country has crazy import fees and because of this I am forced to select low cost parts which usually have bad datasheet and documentation.
https://sschueller.github.io/posts/ci-cd-with-kicad-and-gitl...
If they could bring in better signal integrity tools and Altiums outjobs, it would be a no brainer to use KiCad for hobbyist to small business applications.
I've wanted to add this stuff (and hopefully push upstream), but haven't been able to find the time.
These are basically table stakes in every commercial offering.
Combined with a keybind (6 or 7 or 8 - one of the tuning binds), getting the length of a trace is about 1-2 clicks.
But okay, I have ten different resistor values but they're all the same symbol and package. Is there a field you know of where I could put a list of validated part number options for a given refdes? It sounds tedious but if it were connected with a search engine it would be no worse than altium.
Perhaps now, Kicad devs can get even more support to make it better.
If it would weigh anything, this alone would be worth its weight in gold.
I guess if I wanted to route something like big keyboard with a bunch of leds, but overall routing PCB is just such small overall part of the project that I just play some podcast in the background and play the PCB puzzle/sudoku challenge.
But then I like going back and forth and even changing schematic a bit to make routing nicer.
- [1] https://hackaday.com/2023/04/14/kicad-autorouting-made-easy/
I would love to be able to do pcb design on my main Linux desktop rather than having to fish an old windows 7 work laptop with a copy of altium.
However, let me tell you my altium work flow with autoroute and small boards. Recently For example I was designing a Qfn44(7*7mm) to dip 44 adapter board. As simple as it gets really.
After drawing my rectangle board setting the only chip in the middle and two rows of pins.I just let the autoroute do it's job on default settings(it already has my minimum trace distance and thickness set) , I rip it all down, tweak few settings(trace neckdowns near pads), run it again. Repeat once more and the board is done all in under 5 minutes.
My only complaint with KiCad is their library/BOM management is a bit clunky, but the fact you can automate things so much easier vs altium more than makes up for it.
I've seen Altium do decent at open EagleCAD. I've seen KiCAD do much better at opening EagleCAD. I assume KiCAD and EagleCAD work decently well with one another's file formats due to both being text based and documented.
That said, no matter how much someone paid for the software being converted from or to, I've yet to see a project that wasn't better served by starting from scratch and reproducing the design. Each tool just has a somewhat different paradigm (or default grid spacing or whatever) and like... EagleCAD symbols imported into Altium work they just suck. For example.
I've been dealing with this mess for a while. My colleague has decades worth of PCB designs trapped in OrCAD pre-cadence. I've been pushing him to EagleCAD, and have been pushing myself towards KiCAD for over a year. Now I'm telling him "hey, it's closer to orcad" and "the HTML BOM will make your life way easier training grad students" and "the package library is way more reliable" and these are legitimate honest-to-god features that are convincing to an experienced designer.
You see enough proprietary tools like this get the death knell and you learn to recognize the signs I guess. This one was pretty obvious and thankfully y'all have three years to download KiCAD ASAP, use it for every single project from here on out, gradually transition legacy documents in every CAD system to KiCAD. For once in my life I'll have some well-grounded confidence that my designs are safe and highly likely to still be usable in ten years when I badly need to debug them and create a new board revision.
I'm planning on making some very simple circuits, nothing fancy.
You have a schema capture tool (eeschema) and a board design (pcbnew). Start a new project, then start doing your circuit design in eeschema. I personally always disable move on zoom and install the solarized dark plugin, since it looks quite nice.
- Click and hold Middle mouse to move around the schematic / board view.
- P - places a power symbol (gnd / v+)
- A - add component
- E - edits parameters
- X - rotates on x axis
- Y - rotates on y axis
- M - move stuff
There are a ton of symbols installed by default, I recommend just browsing to see what kind of organization there is.Covers all the bases: https://youtube.com/playlist?list=PLEBQazB0HUyR24ckSZ5u05TZH...
Basics are still there.
There are some good books out there too such as "Kicad like a pro" which come recommended by people I trust.
#kicad @liberachat IRC is still active too as well as other channels.
[0]:https://docs.kicad.org/7.0/en/getting_started_in_kicad/getti... [1]:https://github.com/ruiqimao/keyboard-pcb-guide
Redraw the circuit in Kicad, then redraw the PCB. See how close you can get to the original.
That way you're climbing the "learn how to use Kicad" learning curve, without having to climb the "learn how to lay out a PCB and circuit diagram" learning curve :-)
My workflow (I'm a hobbyist, take what I say with a grain of salt):
- Installed "library loader" which Supports kicad
- Sign up for componentsearchengine.com
- Find parts I need on mouser.com/mouser.de (I'm in Germany) and look them up on component search engine, download the cad files; library loader picks them up automatically
- Use them in the schematic view, get your schematic finished FIRST
- Then "Update PCB from schematic". This imports all of the individual footprints and stuff you need to wire together.
- From here, should be like most other CADs; wire up your rats nest, do your ground fills ("Fill area" tool on the right), etc.
- Export Gerbers and drills after googling "jlcpcb export kicad 6" (they don't have a 7 guide yet but doesn't matter) just to double check the settings, then upload to jlc and they arrive about a week and a half later.
- In the schematic view, go to tools and then Generate BOM. It takes some finagling but you can usually massage the CSV it generates to upload to Mouser's shopping cart page to get an exact amount of parts you need, including the ability to specify multiples. Note that usually upping the amount of small components results in more for less overall cost (yes, really) so play with the quantities. Resistors can be purchased for a few bucks at the 500 to 1000 quantity, and are usually cheaper to do that than to order 5 or 10. Anyway, then you order your parts.
The "use footprints from other people" thing is contentious, I know. Most serious engineers make their own footprints. I don't have the time, personally, since unless I'm missing something it requires freecad for me to get the measurements right, and kicad doesn't have the required constraint solving tools to allow me to make sure I've got all of it right, so the workflow is CRAZY inefficient (lots of importing drawings from freecad, manually creating pads, then using multi-select and align tools to get them where they need to be...).
Kicad with a constraint solver like freecad's would be a ridiculously huge improvement IMO, but hopefully this is enough to get someone tinkering. Kicad devs if you're reading... pleeeeease. I know it's a lot of work.
Is there any reason for this to be the norm? Surely that means that “serious engineers” are just duplicating a shitload of effort?
Many are low-effort and untested. They were manually created by people who don't give a shit because they're not the ones using them.
Some are wrong. It's easy to get mixed up and number them wrong, usually upside down. Even when the issues are known, they rarely get fixed in published models and libraries.
Sometimes you need an engineered design. Pads can be designed for manufacturing, thermal, electrical, and mechanical considerations. Hardly any published pads were made by people who know how to do those things in the first place. Either way, they're not designing for your specific board.
In summary, it would be insane to spend money manufacturing random garbage from the internet, and a "good" pad may not be the right good pad for that board.
I haven't moved to Kicad 7 yet, I don't know how many tutorials have been updated to the latest version.