← Back to Main Site

Week 6: Electronics Production

Gratitude this week to: Gert, Adin, Carlos, Stasya, ChatGPT, and (again) my tattoo artist Anupriya (see Ironbuzz Mumbai)

Group Assignment

Characterize the design rules for your in-house PCB production process

This week, we explored the workflow of using a Roland milling machine to cut and fabricate our own PCBs. The design rules included trace width and spacing (some of which Quentin went over last week).

For Gert's training, we used a test design that had been preloaded onto the computer. Here's the workflow documented (both for me and anyone else new to this)

Prep

Process

Gert's demo endmill practice magnified_practice cleaning_practice

As you can see, the magnified practice cut is not clean -- so Gert also showed us how to clean it otherwise it would short. I've also documented some of Gert's best practices down here.

Also, fun fact: throughout my notes I've spelt "endmill" as "inmill". What a trip to be here.

Best practices

Submit a PCB design to a board house

This week, Stasya uploaded her PCB design to JLCPCB to produce a professionally manufactured board. The last image is them trying to make this as pricey as possible. This is crazy.

stasyaboard firstprice endprice

Individual Assignment

What we’re trying to do this week

Make and test an embedded microcontroller system that you designed

Yet another cool industrial machine I've never used! I originally wanted to print the cat design I made last week, and actually made some progress to that effect:

failedinkscape catplacement

But eventually I realized that as it stands, this cat outline is enormous, and the tail would extend out of the copper boards we're using. I'd want to rearrange the components within its body to be a bit simpler and make the cat smaller to not waste too much copper. So, at least for the first go, I retained the body shape with the traces and made the outline a square.

If you're curious though you can download my cat svg below. I've also included my cat traces and another square outline.

Attempt 1

Big thanks to Adin for patiently sitting through this with me (and for knowing this machine like the back of his hand). On my first attempt, I was trying to use a large copper board that had a tiny piece already soldered off the left. I thought this would be okay, but the mistake was I forgot to use measure in Kicad, and so I didn't realize the endmill would fall off the edge. You should never vibe cut.

error1

Attempt 2

Second attempt: fresh copper board. Put the tape around the perimeter as we'd discussed. But wasn't bold enough with tape, and didn't use the trusty icing smoothener. So the piece just... moved off on the spoil board. So I went ham on the next try.

error2 fixing

Attempt 3

Third time's the charm?

attempt3 output

Soldering

ICYMI from prev weeks: not too good at soldering. So I treated this as a great opportunity to just get reps in.

These are the components I was working with, from the inventory. Did the math: from the datasheet on DigiKey I learnt that the LEDs have a forward voltage of 2-2.4V and a max forward current of 25 mA. I wanted around 10-15 mA. Also, learnt that you get 3.3V from the XIAO's onboard regulator. So, R = (V(supply) - Vf)/I = 3.3v-2.2v/0.015A = 73ohm. Don't have this, so used 100:

components

Then moved on to soldering, in the order of resistors (easiest) > LEDs (had to learn to identify cathode vs. anode, and learnt cathode to GND, anode to resistors > XIAO (hardest to solder).

learn solder

We tested it using a multimeter, and it was beep city. Big thank you to Gert though for helping me clean up + attempt to fix shorts late into the night.

mmtest

I ran out of time to fix that this week, but here's what I'd do differently next time:

Download Files

You can download the files for this design:

Download Square Cat Outline Download traces Download the actual drawn cat