Week 6: Electronics Design

Goal of the Week

This week’s assignment was to design a pcb(printed circuit board). and perform all necessary checks for fabrication. I decided use the Seeed Studio XIAO ESP32-C3 and design a custom board that includes:


Group Assignment

Click to access the group assignment

Step 1: Selecting the ESP32-C3 Symbol

I selected the correct microcontroller symbol from the KiCad libraries. I chose Module_XIAO-ESP32C3 from the fab library, which matches the Seeed Studio XIAO ESP32-C3 module.

Symbol Selection

Step 2: Schematic Design

I designed the schematic using the KiCad Schematic Editor. I began by placing the ESP32-C3 module from the fab library and added the supporting components: two mini LEDs, one normal LED, one tactile button, a buzzer, a servo motor header, and a DC motor header.

Each component was connected to an appropriate GPIO pin of the ESP32-C3. I used PWR_FLAG symbols on both the 3.3V and GND lines to avoid power connection errors during ERC.

All non-polarized components were labeled, and I kept wiring clean by using Label (L) and Net (N) tools to avoid tangled wires.

Useful Shortcuts in Schematic Editor:

Schematic

Step 3: Electrical Rules Check (ERC)

Step 4: PCB Layout

Once the schematic was complete and error-free, I assigned footprints and switched to the PCB Editor. I started by arranging the components logically — placing the ESP32-C3 in the center and distributing headers, LEDs, and resistors around the board edges for easy access and neat routing.

I used a 0.4 mm track width for signals and added a ground fill zone on the front copper layer (F.Cu) using the zone tool (Shift + Z). All signal traces were routed manually for better control using the interactive router.

I also added labels for clarity and testability. Components are spaced to avoid soldering issues, and I used the DRC tool frequently during layout to make sure all clearances and trace widths were correct.

Useful Shortcuts in PCB Editor:

PCB Layout

Step 5: Design Rules Check (DRC)

Step 6: Generating Gerber Files

Using the Plot window, I exported the Gerber files needed for PCB manufacturing. I enabled:

Gerber Export

Final Pin Mapping Table

Component ESP32-C3 Pin Board Label
LED1 (Mini)GPIO4D2
LED2 (Mini)GPIO5D3
Normal LEDGPIO2D0
ButtonGPIO10D10
Servo Motor (PWM)GPIO3D1
Buzzer (PWM)GPIO9D9
DC Motor Speed (PWM)GPIO6D4
DC Motor Direction 1GPIO7D5
DC Motor Direction 2GPIO8D8
Pin Mapping

Download Design Files

Here is the Edge_Cuts

Here is the F_Cu


What I Learned

This week taught me: