home..

Week 05 - ecad

group page // repo source files // objectives

Contents

hero >

projects >

choose your weapon >

I’ve used Altium professionally for ~6 years, and the last time I regularly used KiCad was when it was ~5.0. It is now 7.0!

COB LED board - Altium >

Like many, I’ve always been fascinated with making things light up.

A part that has been on my mind for awhile that I haven’t gotten a chance to try out is the BXRH-40E0600-A-73, a COB (chip on board) LED, which can be more power-efficient than SMD LEDs and output a lot more light simultaneously.

This LED requires ~175mA, which I can supply in a controlled fashion using the BCR420, a nice LED driver IC that is cost-effective and only requires a single resistor to control current output.

I also wanted to bootstrap the efab process and get a board milled through mods and the JUNYEE desktop mill, so I did a quick layout and ran it through the machine. I used a trace calculator to verify that my trace widths (0.254mm) were sufficient for the current carried (max of 240mA, but ~175mA target); sure enough, more than sufficient (only need 0.0571mm width for external trace).

Based on the finished board, I think I need to beef up the traces; they came out a lot thinner than I expected.

I actually initially routed with pours to make thinking about trace width a non-issue, but from going through fabacademy, I’ve previously experienced clearance issues when pours aren’t configured properly for mods. This may no longer be an issue, but I have yet to experiment.

Missing the components at the moment, so will have to wait until they arrive to verify operation.

workflow >

Altium -> mods -> ugs -> Lunyee

ecad >

As I mentioned, my component libraries were completely corrupted. I used the IPC Batch Import Wizard for the first time. It’s surprisingly powerful; you just need to keep track of a spreadsheet filled with a list of values, which you can then easily import into the wizard which generates the rest. VCS for integrated binary libraries can be problematic at times, to say the least.

I then used the usual suspects (octopart, snapeda, manufacturing search, etc.) to find symbols and footprints for the COB led and driver.

Here is my finished route. I started with a pour for the ground, but based on previous issues milling w/ pours generated from Altium, I suppressed it and routed w/ just traces. I also changed the via stackup away from multilayer such that the top and bottom layers are distinct. There are probably better ways to do this, but it’s a quick and dirty way to mill through holes as a separate step in the mill process.

Especially when dealing with higher currents, pcb trace calculators are necessary. We have some fun videos back at Molex showing what happens when you use really thin test cables to power an F-150 fan motor.

Using the calculator, I see that my 0.254mm wide traces are sufficient.

After finishing my route, I ran the drc (tdr hotkey), and found that everything checked out. Typically, you never want to suppress your pour before running the drc, but in this case I did this because I opted not to run the pour-based design for the cnc fab process.

A neat 3d built-in render. There’s a cool feature where you can exaggerate layers to see what’s going on in-between.

efab >

to prep design files from Altium -> mods, there is a bit of a process that I haven’t yet automated:

xiao rp2040 breakout - KiCad >

made a really simple route in KiCad for the xiao rp2040. I really dig the new KiCad! they seem to have made installing themes really easy, which is something that was harder in the past (and something Altium still doesn’t support, as far as I can tell).

haven’t run through the mods workflow for KiCad yet, still need to play w/ exporting files there to see what works/doesn’t.

comparing KiCad vs Altium >

KiCad has the benefit of being open-source, source files are text-based, easy to vcs using git, etc. Digikey also officially supports their libraries, so many common components are easily found from the KiCad libraries. It also has a thriving plugin community! The power of open-source and being backed by CERN.

The ergonomics of navigating your project can be a little counter-intuitive at first (something like inverse controls in a fighter pilot game), but once you get the hang of it, it’s awesome! Very snappy and fast, with good keyboard hotkey support. Has python support for stuff like scripting component and track placement.

Altium has the power of the economy and industry support. Similar vibes to this video.

Once you’ve gotten used to KiCad, Altium can feel clunky sometimes, but that’s not the reason I use Altium…

Altium is chock-full of features (I’ll link to some of them, literally too many):

KiCad has some of these features, but definitely nowhere near as many or as comprehensive.

unfortunately found my component libraries totally corrupt recently :(.

The silverlining is that my libraries are overdue for a cleanup!

libraries >

a brief overview of the ECAD library ecosystems from an Altium and KiCad perspective.

libraries are the cornerstone of any circuit design work; unfortunately there are many components out there and as such, no single library is comprehensive for all the components you may need.

on the otherhand, Altium also has a couple of big libraries, but the implementations come in a mixed bag.

as I played around with online component libraries and the built-in component wizards to generate missing things, I learned that Altium has some nice features I’ve never used (and improved existing ones).

details:

© 2023 Alan Han   •  Powered by Soopr   •  Theme  Moonwalk