Week 06 — Electronics Design
Documentation
This week I focused on learning a complete electronics design workflow for a small embedded board. I first tried several EDA tools, then chose EasyEDA for this assignment, built a schematic around the XIAO ESP32-C3 form factor, added a button and LED as input/output components, checked the fabrication rules, and exported the final board for production.
Group Assignment
- Use the test equipment in your lab to observe the operation of an embedded microcontroller.
Individual Assignment
- Simulate a circuit.
- Use an EDA tool to design an embedded microcontroller system using parts from the inventory, and check its design rules for fabrication.
- Extra credit: try another design workflow.
- Extra credit: design a case.
Trying Different EDA Tools
I started by installing KiCad and the Fab library plug-ins. The installation itself was straightforward, but the environment felt unfamiliar and I could not move quickly yet.
I also installed Autodesk Eagle, but the result was similar. I understood that I would need much more time to be comfortable in that interface.
After a workshop with classmates, I switched to EasyEDA. For a first electronics design assignment, the online workflow felt much easier to understand. I also looked at LCEDA and existing Fab Academy examples to understand what kind of board I wanted to make.
Board Concept: A Universal XIAO Carrier
My idea was to design a PCB that can hold different XIAO boards with the same form factor. The exact chip can be different, but the footprint is similar, so a small carrier board with headers, an LED, and a button can be reused for several boards.
I used Adrian Torres's Fab XIAO project and the official XIAO ESP32-C3 documentation as references. I compared the board pinout, the schematic representation, and the real physical layout to understand how the pins should be mapped.
- Adrian Torres - Fab XIAO reference
- Seeed Studio XIAO ESP32-C3 documentation
- Another XIAO-based board reference
Building the Schematic First
A PCB in EasyEDA starts from the schematic. I first placed the XIAO symbol, then generated the PCB from it and continued editing only through the schematic whenever I needed to change the logical connections.
The next step was to add pin headers. Because I wanted to support the XIAO footprint, I needed a one-row, seven-pin header with 2.54 mm pitch. This standard pitch is a common electronics connector size.
I tested two connection methods. The first was drawing wires manually. The better method was using unified net names, because the schematic stays cleaner and the logic is easier to understand.
Matching the Footprints
When I first generated the board, the header positions did not match the actual XIAO board location. I had to compare the footprints against the official documentation and then move or modify the footprint so the board would align with the real hardware.
Adding an LED and Button
To satisfy the input/output requirement, I added an LED and a pushbutton. For the LED I also added a resistor as a current-limiting resistor. I used 1206 SMD components, because they are large enough to handle more comfortably during a first board design and later soldering.
The button connection needed more attention, because it can easily create a wrong or unstable circuit if it is wired carelessly. I followed the reference logic and kept in mind that the XIAO board works at 3.3 V, so the external circuit should also stay within that limit.
Design Rules for Milling
After the functional schematic was ready, I shifted to fabrication constraints. For PCB milling I needed to think about the two exported files, the board material, the milling bit diameter, and the minimum spacing between pads and traces.
Based on the milling constraints, I used 0.4 mm as a safe value for spacing and treated that as the minimum practical clearance for this beginner board. I also reviewed stroke width and track settings so the board would be easier to fabricate.
Routing the Board
While routing, I kept the traces as far apart as possible and avoided sharp 90 degree corners. I changed the working width to 0.254 mm and used autorouting as a starting point, then reviewed the result manually to make sure the paths were still reasonable.
DRC, Export, and Final Board
Once the board looked complete, I ran design rule checks and then exported the fabrication data. EasyEDA reported two errors, but these were related to the LED setup and not to the overall board layout. The production output is a Gerber package that can be sent to a PCB manufacturer directly.
Reflection
The main thing I learned this week is that electronics design is not only about drawing a board shape. The real workflow starts from the schematic, then moves through footprints, placement, routing, fabrication rules, and final export. I also learned that documentation and official pinout references are essential, especially when the schematic symbol and the physical board layout do not look the same.
KiCad and Eagle are still worth learning, but for this first pass EasyEDA helped me understand the sequence more quickly. The most important practical lessons for me were using named nets, checking footprint dimensions against documentation, staying conservative with clearances, and always running DRC before export.