Week 8: PCB Design & Milling
Circuit Design & Customization βοΈβ‘
I already had my schematic in place from the circuit design week, but a few minor tweaks were needed. Since I wanted to use a custom circuit design, I took inspiration from the Northrop stealth jet and designed a PCB outline based on it.
Designing the PCB π₯οΈ
- Imported the custom outline into EasyEDA.
-
Laid out components to fit within the stealth-inspired shape.
2nd itteration of the design for board outline
-
Used the autoroute function to handle basic routing.
-
Set design rules to ensure proper clearances and trace widths.
Troubleshooting & Learning π§
My friends Sohan & Devanshi tried milling their PCBs first, only to discover that our original design rules werenβt compatible with the milling process. This was a valuable learning moment! We had to: - Update our design rules based on their experience.
- Adjust trace widths, clearance settings, and pad sizes.
- Move a few components around for better routing.
- Manually route some connections where autoroute wasnβt optimal.
After some tinkering, adjustments, and manual routing, my board was finally ready! π
Personal Touches π¨
Since this board is mine, I wanted to make it unique. So, I added: - My favorite emojis ππ₯
- My custom logo π οΈ
PCB Milling Process ποΈ
Exporting & Setup π¨οΈ
I exported the Gerber file of my PCB from EasyEDA and imported it onto the FabLab laptop, which had Control Panel Software and CopperCAM preloaded onto it. First, with the help of Akhilesh Sir, I installed a 0.2 mm engraver bit into the PCB milling machine.
We stuck the copper-clad onto the machine bed.
I set the XY origin first and then, with some complex maneuvers, adjusted the Z-axis. Once this was done, I moved on to CopperCAM.
CopperCAM Workflow βοΈ
- Imported the top layer file (engraving) into CopperCAM.
- Added the drill file, but the drill holes were misaligned.
- Set one pad as a reference and aligned the drill holes accordingly.
- Traced the track contours and set the board outline as the card contour.
- Set the origin to (0,0) so it aligned with the machine's origin.
- Hit OK, and my very own PCB started materializing! π
Milling & Drilling π οΈ
Once the engraving was done, I changed the bit to a 0.8 mm end mill. Then:
- Queued the drill file to create the necessary holes in the board.
- Queued the cutout file to cut the board out from the stock.
- After each cutting cycle, I opened the lid and used a vacuum to remove the dust.
Soldering & Final Adjustments π©
Now came the soldering part.
Initially, I had designed the USB-C port to face the bottom edge, but I soon realized there wasnβt enough clearance for the cable to move in and out properly. On top of that, the LED bulb was also in the way. β
If I soldered it the way I had planned, it wouldnβt work. Instead of forcing a bad design, I remilled the circuit board with a new XIAO RP2040, which had drill holes in it. This allowed me to use headers and mount it from the back side.
Trying solder paste
Heating the paste
I know this is just a workaround, and I will have to make a new board for future explorations. But for now, I have the new board milled, and I will complete the soldering part ASAP.
Wrapping Up π―
That was Week 8βso many learnings from mistakes made along the way, a super fun process, and a newfound love for soldering! π₯β‘