Week 6: Electronics Design
Overview
This week's assignment focused on electronics design using Electronic Design Automation (EDA) software. The objective was to design a development board capable of interacting and communicating with an embedded microcontroller through electronic input and output components.
For my individual assignment, I selected KiCad to design a development board based on the Seeed Studio XIAO RP2040 microcontroller. My design incorporates tactile push buttons, resistors, an LED for visual feedback, and an I2C expansion interface for future peripherals.
This assignment also supports the development of my final project, a handheld console and wearable system designed to guide users through entrepreneurship and innovation-focused reflective journaling. The electronics design assignment allowed me to explore the electrical architecture necessary to translate physical user interactions into programmable system responses.
Although my final project evolved throughout Fab Academy, this page documents my original electronics design process using the XIAO RP2040. Subsequent microcontroller and system design changes are addressed where relevant throughout my documentation.
Group Assignment
- Use laboratory test equipment to observe the operation of a microcontroller circuit board.
- Demonstrate the use of a logic analyzer, at minimum.
- Document the work on the group assignment page.
- Reflect on individual learning from the group assignment.
Individual Assignment
- Use an EDA tool to design a development board using components from the inventory to interact and communicate with an embedded microcontroller.
- Evaluate the design in relation to fabrication requirements.
- Document the design process, challenges, and solutions.
- Provide original electronic design files and visual documentation of the resulting design.
Research
Project Development Context
At the beginning of Fab Academy, my final project direction was influenced by my concurrent participation in Fabricademy. I was exploring how interdisciplinary design, digital fabrication, electronics, textiles, and emerging technologies could support engagement within university fabrication laboratories.
In April 2026, I revised my Fab Academy final project direction to focus on a handheld console and wearable system supporting entrepreneurship and innovation-focused reflective journaling.
The revised project required an understanding of electronic inputs, outputs, microcontroller communication, power management, and the integration of hardware with software. These requirements informed the development board documented in this assignment.
What is Electronics Design?
Electronics design is the process of planning and defining the electrical relationships between components within a functional electronic system. These components may include microcontrollers, resistors, switches, sensors, LEDs, connectors, and other peripheral devices.
Previous assignments introduced me to programming and electronic component interaction using development boards. This assignment expanded that knowledge by introducing the process of designing a dedicated circuit rather than relying entirely on temporary breadboard connections.
Electronic Design Automation (EDA) software supports several stages of the electronics design workflow:
- Schematic Capture: Defining the logical electrical connections between components.
- Footprint Assignment: Associating schematic components with their physical dimensions and mounting requirements.
- Electrical Rules Check (ERC): Identifying potential electrical connection and configuration issues within the schematic.
- PCB Layout: Establishing the physical arrangement of components and routing electrical connections through copper traces.
- Design Rules Check (DRC): Evaluating the physical design against established manufacturing and layout constraints.
- Fabrication Preparation: Preparing design files for an appropriate PCB manufacturing process.
My primary focus during this assignment was developing an understanding of schematic design, component selection, electrical connectivity, and the relationship between an electronic design and its eventual physical implementation.
Electronics Design Automation Software Comparison
Before beginning my development board design, I researched different Electronic Design Automation (EDA) tools to determine which software would best support my learning objectives and electronics design workflow.
| Feature | KiCad | Autodesk Fusion Electronics |
|---|---|---|
| Software Model | Free and open-source | Proprietary software with multiple licensing options |
| Schematic Design | Dedicated schematic editor | Integrated electronics schematic editor |
| PCB Layout | Dedicated PCB editor | Integrated PCB design environment |
| Design Verification | Electrical Rules Check and Design Rules Check | Electrical and physical design verification tools |
| Mechanical Integration | 3D visualization and model export | Integrated electronics and mechanical CAD workflow |
| Learning Considerations | Opportunity to learn a new, dedicated electronics design platform | Builds upon my previous experience with Fusion |
Why I Selected KiCad
I selected KiCad because its open-source software model aligns with my interest in accessible digital fabrication tools and educational resources. Its dedicated schematic and PCB editors also allow me to approach the electronics design process in distinct stages.
I was particularly interested in learning how Electrical Rules Check (ERC) and Design Rules Check (DRC) tools can help identify potential issues before committing a design to fabrication.
Because I had already gained experience using Autodesk Fusion during earlier assignments, I viewed this week as an opportunity to expand my technical skill set by learning a different software environment specifically suited to electronics design.
Software and Design Environment
| Resource | Details |
|---|---|
| Operating System | Microsoft Windows |
| EDA Software | KiCad |
| Documented Software Version | 10.0 |
| Original Microcontroller | Seeed Studio XIAO RP2040 |
| Additional Component Library | Seeed Studio component library |
| Primary Design File | KiCad schematic (.kicad_sch) |
KiCad provides a collection of standard electronic component libraries. However, the specific Seeed Studio XIAO microcontroller used in my design required additional library resources. Incorporating the appropriate component symbols and footprints became an important part of my electronics design workflow.
The library-related challenges I encountered are documented later in this assignment.
Software resource: Official KiCad Website
Group Assignment - Remote Student Participation
UNC Charlotte Week 6 Group Assignment Documentation
Remote Student Participation
As a remote Fab Academy student participating through the UNC Charlotte node, my documentation for this week's group assignment focuses on the individual electronic testing and observations I conducted independently. I do not currently have a separate group assignment page linked to this work.
Before committing to my schematic design, I wanted to better understand the electrical behavior of the Seeed Studio XIAO RP2040 microcontroller. I used a digital multimeter to investigate the board's voltage supply and electrical continuity.
Test Equipment and Materials
| Equipment | Purpose |
|---|---|
| Digital Multimeter | Measure DC voltage and test electrical continuity. |
| Seeed Studio XIAO RP2040 | Microcontroller development board being evaluated. |
| USB-C Cable | Provide power to the microcontroller during voltage testing. |
| Multimeter Probes | Establish electrical contact with the measurement points. |
Test 1: DC Voltage Measurement
The objective of this test was to verify the voltage available at the XIAO RP2040's regulated 3.3V supply pin.
Testing Procedure
- Connect the XIAO RP2040 to a power source using its USB-C connection.
- Configure the digital multimeter for DC voltage measurement.
- Place the black multimeter probe on the GND pin.
- Place the red multimeter probe on the 3V3 pin.
- Observe the voltage displayed on the multimeter.
Results
| Measurement | Expected Result | Observed Result |
|---|---|---|
| 3V3 to GND | Approximately 3.3V DC | Approximately 3.3V DC |
The measured voltage was consistent with the nominal 3.3V output of the microcontroller's onboard voltage regulator. This provided a useful reference for designing circuits that interact with the microcontroller's GPIO pins.
This measurement verified the voltage at the selected measurement points under the conditions tested. It did not independently verify voltage stability over time, maximum current capacity, or performance under varying electrical loads.
Test 2: Electrical Continuity
The objective of continuity testing was to determine whether selected ground connection points were electrically connected.
Testing Procedure
Continuity testing is performed on an unpowered circuit to avoid interference from an external voltage source.
- Disconnect external power before performing a continuity measurement.
- Configure the multimeter for continuity testing.
- Place the probes on the two connection points being evaluated.
- Listen for the audible continuity indicator.
Results
During my original testing, I placed the multimeter probes on different ground connection points and observed an audible continuity indication.
| Measurement | Expected Result | Observed Result |
|---|---|---|
| GND to GND | Audible continuity indication | Audible continuity indication |
This result indicated electrical continuity between the specific ground points tested. It helped reinforce my understanding of the importance of establishing a common electrical reference within a circuit.
This test did not verify every connection in the proposed development board or establish that the complete PCB design was free of electrical errors.
Logic Analyzer: Digital Signal Analysis
While a digital multimeter is useful for measuring voltage and testing electrical continuity, a logic analyzer serves a different purpose. A logic analyzer captures changes in digital signal states over time, allowing electronic communication and timing behavior to be examined.
For my development board design, logic analysis is relevant to three primary functions:
| Signal | Potential Application of Logic Analysis |
|---|---|
| Digital GPIO Inputs | Observe changes between HIGH and LOW states when a button is pressed or released. |
| Digital GPIO Outputs | Observe when an output signal changes in response to a programmed event. |
| I2C Communication | Observe clock and data signals and examine communication between connected devices. |
Multimeter and Logic Analyzer Comparison
| Digital Multimeter | Logic Analyzer |
|---|---|
| Measures electrical voltage, resistance, and continuity. | Captures digital signal states over time. |
| Useful for basic electrical verification. | Useful for examining timing and communication. |
| Typically displays a numerical measurement. | Displays captured digital waveforms. |
My documented practical testing for this assignment consists of DC voltage and continuity measurements using a digital multimeter. A captured logic analyzer waveform and corresponding measurement results are not currently included in this documentation.
Individual Assignment | My Goals This Week
Development Board Design Objectives
My objective for this assignment was to design an original development board from scratch using KiCad rather than modifying an existing electronic design. The board was intended to support physical interaction with the journaling application being developed for my final project.
The design incorporates four primary functions:
- Processing: A Seeed Studio XIAO RP2040 microcontroller manages the electronic inputs, outputs, and communication with the computer.
- Interaction: Three tactile push buttons provide navigation and selection inputs corresponding to the Back, Save, and Next functions of the journaling application.
- Feedback: An LED provides visual confirmation of a programmed event, such as saving a journal entry.
- Communication and Expansion: The integrated USB-C interface supports programming and serial communication, while an I2C header provides an interface for future peripheral devices.
Design Constraints
- Maintain compatibility with the XIAO's 3.3V GPIO logic levels.
- Provide defined electrical states for the digital inputs.
- Limit current through the LED using a suitable resistor.
- Maintain accessibility to the microcontroller's USB-C connector.
- Consider the fabrication capabilities and tooling available within my lab.
- Allow for future design iterations and peripheral expansion.
My Takeaways from the Group Assignment
- I found that the python machine module made it straightforward to read GPIO pin states directly, which helped me understand how the microcontroller interprets the HIGH and LOW signals I designed into my pull-down resistor circuit.
This assignment helped me understand the importance of verifying electrical conditions rather than assuming that a circuit will behave as intended simply because its schematic appears correct.
Measuring the regulated 3.3V supply gave me a better understanding of the relationship between a microcontroller's power supply and the voltage levels used by its digital GPIO pins.
Continuity testing reinforced the importance of establishing common ground connections. A shared electrical reference is essential for interpreting signals between a microcontroller and its connected components.
Through my exploration of programming microcontrollers, I also learned how the MicroPython machine module can be used to configure GPIO pins and read digital input states. This helped me connect the physical electrical behavior of a circuit with the way firmware interprets input signals.
I developed a better understanding of why push-button inputs require a defined default state. Without an appropriate pull-up or pull-down configuration, an input pin can float and produce unpredictable readings.
Another important takeaway was understanding that different diagnostic tools answer different questions. A multimeter can help verify basic electrical conditions, whereas a logic analyzer can reveal the timing and sequence of digital signals.
These concepts informed my approach to designing the development board in KiCad. Rather than focusing exclusively on connecting components, I began considering how those connections would be powered, interpreted by firmware, tested, and eventually integrated into my final project.
Connection to Final Project
My final project is a dual-device system: a handheld console and a wearable that work together to guide users through entrepreneurial and innovation-focused design journaling. The system uses prompts to encourage the user to examine assumptions, reframe problems, and build new cognitive habits through reflective writing.
This week's work builds the electrical design layer of that system:
| This Week | Final Project |
| Computer runs the journal app | Handheld console runs the app |
| USB serial communicates with PCB | Console communicates with wearable wirelessly (BLE) |
| Button on PCB advances prompts | Physical buttons on console advance prompts |
| Entries saved to local .json file | Entries saved to SD card on console |
| LED confirms save action | NeoPixels + vibration confirm actions on wearable |
| Computer screen shows UI | Console touchscreen shows UI |
Logic Analyzer Testing - UNC Charlotte Node
As a remote student, I had access to a digital multimeter for independent electronic testing but did not have access to a physical logic analyzer. To supplement my understanding of digital signal analysis, I reviewed the practical testing documented by my UNC Charlotte cohort member, Jeff Ritchie.
Jeff demonstrated the use of a logic analyzer with a XIAO RP2040 microcontroller using Saleae Logic 2. His testing included capturing digital signals generated by a push button and examining serial communication through ASCII decoding.
Jeff Ritchie - Logic Analyzer Testing and Results
Reflection on Logic Analyzer Testing
Reviewing this demonstration helped me understand how digital signal states can be observed over time. Unlike a multimeter, a logic analyzer provides information about the timing and sequence of digital signals.
This is particularly relevant to my final project because my development board incorporates push-button inputs and communication interfaces. Logic analysis could help identify communication errors, unexpected signal transitions, and timing-related issues during future hardware integration.
Hardware & Components Used
Bill of Materials (BOM)
The following component inventory reflects the original XIAO RP2040 schematic developed for this assignment. Subsequent changes to my final project's microcontroller selection are documented separately.
| Reference | Component | Quantity | Value or Specification | Purpose |
|---|---|---|---|---|
| U1 | Seeed Studio XIAO RP2040 | 1 | 3.3V GPIO Logic | Microcontroller, processing, and communication |
| SW1-SW3 | Tactile Push Button | 3 | Momentary Switch | Back, Save, and Next inputs |
| R1-R3 | Resistor | 3 | 10kΩ | Establish defined digital input states |
| R4 | Resistor | 1 | 1kΩ | LED current limiting |
| D1 | Light Emitting Diode (LED) | 1 | Digital Output | Visual confirmation and user feedback |
| Expansion Header | Four-Pin Male Header | 1 | I2C Expansion Interface | Connection to future peripheral devices |
Component Sourcing and Availability
The design was developed around commonly available electronic components, including resistors, tactile switches, LEDs, and pin headers.
Because my lab did not have microcontrollers available in its inventory at the time, I independently purchased the Seeed Studio XIAO RP2040 through Amazon. The remaining component selections were based on their electrical functions and suitability for the intended development board.
Component Selection Rationale
Microcontroller
The XIAO RP2040 provides a compact programmable platform with digital GPIO pins, USB communication, and support for peripheral communication protocols. Its small size is particularly relevant to the compact electronic systems planned for my final project.
Tactile Push Buttons
The three tactile push buttons correspond to the intended navigation functions of my journaling application. Rather than relying entirely on computer-based interaction, the development board introduces physical controls for moving backward, saving an entry, and advancing to the next prompt.
LED and Current-Limiting Resistor
The LED provides immediate visual feedback when a programmed action occurs. This supports the user experience of the journaling application by providing confirmation that an action, such as saving an entry, has been registered.
A 1kΩ resistor is included in the LED circuit to limit current and reduce the risk of exceeding the microcontroller's electrical capabilities.
Input Resistors
The three 10kΩ resistors establish defined electrical states for the push-button inputs. A defined input state is necessary because an unconnected GPIO input can float and produce unpredictable readings.
I2C Expansion Header
The four-pin header was incorporated to support future peripheral expansion without requiring the entire development board to be redesigned. One potential application is the integration of a compatible display for presenting journal prompts or system information.
GPIO Pin Assignment
The GPIO assignments were selected to accommodate three physical inputs, one visual output, and an I2C communication interface while preserving additional pins for future development.
| XIAO Pin | RP2040 GPIO | Component or Interface | Function |
|---|---|---|---|
| D0 | GPIO26 | SW1 | Back input |
| D1 | GPIO27 | SW2 | Save input |
| D2 | GPIO28 | SW3 | Next input |
| D3 | GPIO29 | LED Circuit | Visual feedback output |
| D4 | GPIO6 | I2C SDA | Serial data |
| D5 | GPIO7 | I2C SCL | Serial clock |
| D6-D10 | Various | Reserved | Future expansion |
The reference designator D1 assigned to the LED component should not be confused with the microcontroller's D1 GPIO pin. The LED circuit is associated with the microcontroller's D3 pin in the original schematic.
Push-Button Circuit Configuration
During the design process, I explored both pull-up and pull-down resistor configurations to understand how digital input states are established.
A pull-up resistor establishes a default HIGH state, whereas a pull-down resistor establishes a default LOW state. The switch changes the voltage at the input junction when activated.
| Configuration | Button Released | Button Pressed |
|---|---|---|
| Pull-Up | HIGH | LOW |
| Pull-Down | LOW | HIGH |
The important design consideration is that the GPIO pin connects to the junction between the switch and resistor. This allows the microcontroller to detect the voltage change associated with a button press.
My original schematic includes three external 10kΩ resistors associated with the three tactile switches. The firmware must interpret the input states according to the electrical configuration represented in the schematic.
Resistor Selection and LED Current Calculation
Two resistor values are specified in my original schematic:
- R1-R3: 10kΩ — Used to establish defined digital input states for the tactile push buttons.
- R4: 1kΩ — Used to limit current through the LED circuit.
The expected LED current can be estimated using Ohm's Law and the forward voltage of the LED.
I = (Vsource - Vf) / R
- Assumed driving voltage: 3.3V
- Assumed LED forward voltage: 2.0V
- Series resistance: 1,000Ω
I = (3.3V - 2.0V) / 1,000Ω
I = 0.0013A = 1.3mA
This theoretical calculation demonstrates how the selected series resistor limits the expected LED current. The actual current depends on the LED's forward voltage, circuit configuration, and operating conditions.
This calculation is a design estimate rather than a recorded physical current measurement.
USB-C Power and Communication
The XIAO RP2040 incorporates a USB-C connector that supports both power delivery to the development board and communication with a connected computer.
During development, the USB connection provides a means of uploading firmware and exchanging serial data between the microcontroller and the computer-based journaling application.
The microcontroller's onboard voltage regulator provides the regulated 3.3V supply used by its GPIO system.
During a Saturday Open Global session, I was advised to consider using a portable USB power bank as a power source for my project. This informed my approach to portable power and future standalone operation.
For the physical development board, I considered the importance of positioning the microcontroller near the board's edge so that the USB-C connector remains accessible. This reduces potential interference between the USB cable housing and the surrounding PCB or enclosure.
USB-C accessibility is therefore both an electrical and mechanical design consideration.
I2C Communication and Peripheral Expansion
I incorporated a four-pin expansion header into the original development board schematic to support future communication with compatible peripheral devices.
I2C (Inter-Integrated Circuit) is a communication protocol that uses two primary signal lines:
- SDA: Serial Data, assigned to XIAO pin D4.
- SCL: Serial Clock, assigned to XIAO pin D5.
The expansion header also provides power and ground connections.
| Connection | Function |
|---|---|
| SDA / D4 | Serial data communication |
| SCL / D5 | Serial clock communication |
| VBUS / 5V | Peripheral supply connection in the original schematic |
| GND | Common electrical reference |
Voltage Compatibility Considerations
Although the original schematic provides a 5V supply connection at the expansion header, the RP2040 GPIO pins operate using 3.3V logic levels.
Providing 5V power to a peripheral does not automatically make its communication signals compatible with the microcontroller. The selected peripheral must support compatible signal voltages, and the I2C pull-up resistors must be connected to an appropriate logic voltage.
If a future peripheral requires 5V communication signals, appropriate bidirectional level shifting would be necessary to protect the microcontroller.
Because the final peripheral had not been selected during this design stage, voltage compatibility remains a consideration for subsequent system integration.
The purpose of including this header was to preserve flexibility and support future design iterations.
PCB Design | KiCad Schematic
KiCad Schematic RP2040 Version
Design Decisions
My original electronics design uses the Seeed Studio XIAO RP2040 as the central processing component. Three tactile push buttons provide user inputs, an LED provides visual feedback, and a four-pin I2C header supports future peripheral expansion.
The schematic was developed using KiCad version 10.0. My design approach focused on establishing the electrical relationships between components before considering their physical arrangement on a printed circuit board.
KiCad Schematic Design Workflow
Step 1: Establish the Design Project
I developed the original schematic within KiCad's schematic editor. The schematic establishes the logical connections between the microcontroller and its associated input, output, power, and communication components.
Step 2: Incorporate the Seeed Studio Component Library
One of the first challenges I encountered was that the required Seeed Studio XIAO component library was not included in my existing KiCad installation.
I imported the Seeed Studio library from GitHub to incorporate the appropriate component resources for the XIAO RP2040. This was important because the microcontroller has a specific physical form factor and pin arrangement that must be represented accurately during schematic and PCB development.
This process introduced me to the importance of external component libraries when working with specialized electronic components.
This process introduced me to the importance of external component libraries when working with specialized electronic components.
Step 3: Select and Place Schematic Symbols
The schematic incorporates the following functional component groups:
- The XIAO RP2040 microcontroller.
- Three tactile switches for digital inputs.
- Three 10kΩ input resistors.
- An LED and associated 1kΩ current-limiting resistor.
- A four-pin header for peripheral expansion.
- Power and ground connections.
Organizing these components into functional groups made it easier to understand the purpose of each section of the circuit.
Step 4: Establish Electrical Connections
After placing the component symbols, I established the electrical relationships between the microcontroller and the surrounding components using schematic connections.
The three navigation switches were associated with pins D0, D1, and D2. The LED was associated with pin D3, while pins D4 and D5 were reserved for I2C communication.
During this process, I encountered difficulties determining the appropriate relationship between the input resistors, switches, GPIO pins, and power connections. Investigating these relationships helped me understand the importance of establishing a defined default voltage at each digital input.
These design challenges and the reasoning behind my attempted corrections are discussed in the Problems Encountered section.
Schematic Walkthrough
The original schematic integrates several functional circuit sections that collectively support microcontroller-based user interaction and communication.
Microcontroller: U1
The Seeed Studio XIAO RP2040 serves as the central processing component. Its integrated USB-C interface provides a connection for power, programming, and communication with a computer.
Pins D0, D1, and D2 are associated with the navigation switches, D3 is associated with the LED circuit, and D4 and D5 provide the I2C communication interface.
Digital Inputs: SW1, SW2, and SW3
The three tactile push buttons provide the physical inputs associated with the journaling application.
| Switch | GPIO Pin | Intended Function |
|---|---|---|
| SW1 | D0 | Return to the previous prompt |
| SW2 | D1 | Save the current entry |
| SW3 | D2 | Advance to the next prompt |
Input Resistors
The original schematic includes three 10kΩ resistors associated with the digital inputs. In the documented pull-down configuration, each GPIO input is associated with a resistor connected to ground and a switch connected to the 3.3V supply.
The intended operation is for the input to remain LOW when the switch is released and transition HIGH when the switch is pressed. The GPIO connection must be located at the junction between the resistor and switch for the microcontroller to detect this change.
Visual Output: LED and Series Resistor
The LED circuit is associated with pin D3 and includes a 1kΩ series resistor to limit current.
Using an assumed LED forward voltage of approximately 2V and a driving voltage of 3.3V, the theoretical LED current is approximately 1.3mA.
The intended application of the LED is to provide visual confirmation of a programmed action, such as saving a journal entry.
USB-C Interface
The USB-C connector is integrated into the XIAO development board rather than implemented as a separate connector in my original schematic. This simplifies the design by allowing the microcontroller module to handle USB connectivity and its associated power management.
I2C Expansion Interface
The four-pin expansion header provides connections for serial data, serial clock, power, and ground. Pins D4 and D5 are assigned to SDA and SCL respectively.
The original schematic connects the header's supply connection to the 5V rail. Any peripheral connected to this header must be evaluated for compatibility with the RP2040's 3.3V GPIO logic levels.
Unused Connections
Not all available microcontroller pins were required for the original design. Preserving unused pins supports future expansion and allows additional functions to be considered during subsequent design iterations.
Comonent Footprints and Fabrication Considerations
An important distinction in electronics design is the difference between a schematic symbol and a PCB footprint.
A schematic symbol represents the logical electrical function of a component. A footprint represents the physical dimensions, electrical pads, mounting configuration, and connection locations required to place that component on a PCB.
During my design process, I imported the Seeed Studio component library to obtain the resources associated with the XIAO RP2040 module.
The XIAO's physical dimensions and pin spacing are particularly important because the module must align with the corresponding connections on the development board.
| Component | Footprint Consideration |
|---|---|
| XIAO RP2040 | Module dimensions, pin spacing, pad arrangement, and USB-C accessibility. |
| Tactile Switches | Physical switch dimensions and terminal arrangement. |
| Resistors | Compatibility with the selected resistor package and soldering method. |
| LED | Package dimensions, pad arrangement, and polarity. |
| Four-Pin Header | Connector pitch, pin count, and orientation. |
The schematic establishes the required electrical connections, while footprint selection determines how those connections can be translated into a physical board.
Understanding this relationship helped me identify considerations necessary for preparing an electronic design for fabrication.
ERC (Electric Rules Check) of my Schematic
Identified Warning
The ERC tool identified a warning associated with the Seeed Studio XIAO RP2040 component, U1. Specifically, the current KiCad configuration did not include the Seeed_Studio_XIAO_Series footprint library.
This warning identified a component library configuration issue rather than a reported electrical connection error.
Troubleshooting Approach
To address the missing component resources, I imported the Seeed Studio library from GitHub during my design workflow. This allowed me to incorporate the appropriate XIAO component resources into the schematic.
This experience helped me understand that a schematic can contain recognizable component symbols while still requiring additional footprint library configuration for PCB development.
Interpretation of Results
The recorded ERC results show zero reported errors and one footprint library warning under the enabled checks.
Although these results support the electrical design review, ERC does not independently verify physical trace spacing, board dimensions, manufacturing clearances, or every aspect of circuit functionality. Those considerations are associated with physical PCB layout and Design Rules Check (DRC).
PCB Design and Fabrication Readiness
In addition to establishing the electrical relationships between components, I considered how the schematic could be translated into a physically manufacturable printed circuit board using the equipment and materials available within my lab.
From Schematic to PCB Layout
KiCad separates schematic capture from physical PCB layout. The schematic defines the electrical relationships between components, while the PCB editor establishes their physical placement and the copper traces required to connect them.
The original schematic provides the electrical foundation for this process. Translating the schematic into a physical board requires compatible footprints, a defined board outline, component placement, trace routing, and manufacturing constraints.
Board Outline and Physical Design
My development board was intended to remain relatively compact while providing accessible physical controls and connections for future peripherals.
The physical arrangement was informed by the dimensions of the XIAO RP2040, tactile switches, resistors, LED, and four-pin expansion header.
The final board dimensions depend on the selected component footprints, their physical arrangement, and the clearances required by the fabrication process.
Component Placement Considerations
| Component | Placement Consideration |
|---|---|
| XIAO RP2040 | Position near a board edge to maintain access to the integrated USB-C connector. |
| Tactile Switches | Arrange to support accessible user interaction and logical navigation. |
| LED | Maintain visibility so the user can recognize visual feedback. |
| Resistors | Position near their associated input and output circuits where practical. |
| I2C Header | Maintain access for connecting future peripheral devices. |
Trace Routing Considerations
When translating the schematic into copper traces, each connection must preserve the electrical relationships established during schematic capture.
My fabrication considerations include maintaining sufficient spacing between conductive traces, providing a common ground connection, avoiding unintended electrical connections, and selecting trace dimensions compatible with the intended manufacturing process.
The physical routing must also accommodate component footprints and preserve access to the microcontroller's USB-C interface.
Evaluating PCB Fab Methods
While developing my electronic design, I explored two potential approaches to creating the physical conductive connections required by the circuit.
Method 1: Conventional Copper-Clad PCB Milling
One approach involves using a milling machine to remove unwanted copper from a copper-clad substrate, leaving conductive traces and pads that connect the electronic components.
I researched the PCB milling capabilities available within my lab, including the use of 1/64-inch and 1/32-inch endmills.
These tools informed my understanding of the relationship between the dimensions of a digital PCB design and the limitations of the fabrication equipment.
Method 2: Experimental Copper Tape and Acrylic PCB
I also considered an alternative fabrication approach using acrylic as a supporting substrate and conductive copper tape patterned using a vinyl cutter.
This experimental approach builds upon the vector design and vinyl cutting skills developed during earlier Fab Academy assignments.
The proposed workflow would involve preparing the conductive trace geometry, converting the design into a compatible vector format, using Inkscape to prepare the cutting file, cutting the copper material, and transferring the resulting conductive pattern onto the supporting substrate.
Important considerations for this approach include cutting resolution, copper adhesion, electrical continuity, component attachment, soldering compatibility, and the thermal limitations of the acrylic substrate.
Fabrication Method Comparison
| Consideration | Copper-Clad Milling | Experimental Copper Tape |
|---|---|---|
| Substrate | Copper-clad PCB material | Acrylic supporting substrate |
| Manufacturing Equipment | PCB milling machine | Vinyl cutter |
| Design Preparation | PCB geometry and toolpaths | Vector-based conductive patterns |
| Primary Constraints | Tool diameter, isolation clearance, and milling accuracy | Cutting accuracy, adhesion, conductivity, and material durability |
| Development Purpose | Conventional PCB manufacturing | Experimental exploration of accessible fabrication methods |
Exploring these approaches helped me understand that electronic design decisions must be informed by the manufacturing process. A schematic can establish electrical connectivity, but its physical implementation must also account for the capabilities and limitations of the selected fabrication method.
TOOLS - Dimension and Manufacturing Constraints
During my fabrication research, I identified two milling tool sizes available for consideration within my lab.
Because KiCad commonly uses metric dimensions for PCB design, I converted the imperial tool dimensions into millimeters using the relationship of 25.4 millimeters per inch.
| Tool Diameter | Metric Equivalent | Potential Application |
|---|---|---|
| 1/64 inch | Approximately 0.397 mm | Isolation milling between conductive features |
| 1/32 inch | Approximately 0.794 mm | Larger material removal and board outline operations |
Design Rule Considerations
- Trace Width: The width of a conductive path connecting electrical components.
- Clearance: The separation between conductive features belonging to different electrical connections.
- Pad Dimensions: The physical contact areas required to attach electronic components.
- Board Edge Clearance: The separation between conductive features and the physical boundary of the PCB.
- Manufacturing Tolerance: Variations associated with equipment accuracy, tooling, and material behavior.
The nominal milling tool diameter establishes an important starting point for evaluating isolation clearance. The actual design constraints must also account for toolpath generation, machine accuracy, component spacing, and the selected fabrication method.
These dimensions represent the tooling research conducted during my design planning rather than recorded settings from a completed PCB Design Rules Check.
Design Check and Fabrication Review
To evaluate my electronic design in preparation for fabrication, I considered both the electrical requirements of the circuit and the physical constraints associated with the available manufacturing methods.
| Review Category | Design Consideration | Documented Evidence |
|---|---|---|
| Electrical Connectivity | Review the electrical relationships between schematic components. | Original KiCad schematic and ERC results. |
| Component Selection | Select components appropriate for the intended circuit functions. | Component inventory and schematic walkthrough. |
| Footprint Compatibility | Consider physical component dimensions and pad arrangements. | Seeed Studio library investigation and documented footprint warning. |
| Electrical Compatibility | Consider GPIO voltage levels and current-limiting requirements. | Resistor calculations and voltage compatibility analysis. |
| Mechanical Accessibility | Maintain access to the USB-C connection and peripheral header. | Component placement considerations. |
| Fabrication Equipment | Evaluate available manufacturing tools and process limitations. | Milling tool research and alternative fabrication method exploration. |
My recorded Electrical Rules Check reported zero errors and one footprint library warning under the enabled checks. These results are documented in the Electrical Rules Check section of this assignment.
Through this review, I identified several important relationships between electrical design, component selection, physical layout, and manufacturing capabilities.
The available documentation establishes the schematic-level design review and fabrication planning. A completed physical PCB layout and corresponding Design Rules Check report are not included in the current documentation.
PCB Fabrication Verification
In addition to performing electrical rules checks, I explored the fabrication feasibility of my wearable electronics PCB design by generating milling toolpaths and physically milling the circuit onto copper-clad material.
The calculated toolpaths provided a visual representation of the cutting operations around the component pads and conductive features. This allowed me to examine how the digital design would translate into a physical circuit board.
I further evaluated fabrication feasibility by milling the PCB design onto copper-clad material. The physical results allowed me to observe trace definition, isolation between conductive features, and the quality of the manufactured geometry.
Comparing the milling results helped me identify areas requiring further refinement before component installation. This process demonstrated the importance of considering manufacturing limitations during electronic design.
Problems Encountered & Possible Solutions
Problem 1: Missing Seeed Studio Component Library
Problem: The required Seeed Studio XIAO component library was not included in my existing KiCad installation.
Approach: I imported the Seeed Studio library from GitHub to incorporate the appropriate component resources for the XIAO RP2040.
Result: I was able to incorporate the microcontroller into my schematic. The recorded ERC results still identified a footprint library configuration warning, demonstrating the importance of distinguishing between schematic symbols and PCB footprint resources.
What I Learned: External component libraries must be configured appropriately to support both the electrical representation and physical implementation of specialized electronic components.
Problem 2: Designing for Future Display Integration
Problem: At this stage of development, I had not finalized the type of display that would be used in my final project.
Approach: I incorporated a four-pin I2C expansion header using the XIAO's D4 and D5 communication pins, together with power and ground connections.
Result: The schematic establishes an interface for future peripheral integration without requiring a specific display to be selected during this design stage.
What I Learned: Incorporating expansion interfaces can improve the flexibility of an electronic design. However, peripheral supply voltages and communication signal levels must be evaluated separately to ensure compatibility.
Problem 3: Establishing Stable Digital Input States
Problem: During my initial schematic development, I had difficulty understanding the relationship between the tactile switches, resistors, and GPIO connections.
I initially followed a tutorial without fully understanding the electrical purpose of the resistor configuration. This created uncertainty about where the GPIO connection should be positioned and how the microcontroller would interpret the button states.
Approach: I investigated both pull-up and pull-down resistor configurations and identified the importance of connecting the GPIO pin at the junction between the switch and resistor.
The intended external pull-down configuration establishes a LOW input state through a 10kΩ resistor when the switch is released. When the switch is pressed, the input is connected to the 3.3V supply and transitions HIGH.
Result: I developed a clearer understanding of how the schematic connections determine the intended digital input behavior.
What I Learned: Both pull-up and pull-down configurations are valid when implemented correctly. The appropriate configuration depends on the desired electrical behavior and how the firmware interprets the input.
Problem 4: Aligning Electronic Design with Firmware
Problem: The microcontroller must interpret the electrical states established by the input circuitry correctly. An incorrect firmware configuration could result in unexpected input behavior even when the circuit is designed appropriately.
Approach: I considered how the GPIO configuration and programmed button logic correspond to the electrical design. For an external pull-down configuration, the intended button press is represented by a HIGH input state.
Result: I established the intended relationship between the three physical navigation buttons and the corresponding application functions.
What I Learned: Hardware and software development are interconnected. The electrical design determines the signals available to the microcontroller, while firmware determines how those signals are interpreted.
Problem 5: Preparing an Electronic Design for Fabrication
Problem: A schematic alone does not define all of the physical requirements associated with PCB manufacturing.
Approach: I researched fabrication methods, milling tool dimensions, component footprints, trace spacing, and connector accessibility.
Result: I identified manufacturing considerations that must inform the physical implementation of the electronic design.
What I Learned: Electronic design requires an understanding of both electrical functionality and manufacturing constraints. ERC results support schematic verification, while physical layout verification requires additional consideration of board geometry and fabrication rules.
Results & Electronic Design
The primary outcome of this assignment is an original electronic development board design created using KiCad and based on the Seeed Studio XIAO RP2040.
The design establishes the electrical architecture for three physical navigation inputs, LED feedback, USB communication, and future I2C peripheral expansion.
Design Outcomes
| Design Objective | Documented Outcome |
|---|---|
| Microcontroller Integration | XIAO RP2040 incorporated into the original schematic. |
| Physical User Interaction | Three navigation switches and associated input resistors incorporated. |
| Visual Feedback | LED output and current-limiting resistor incorporated. |
| Communication | USB connectivity and an I2C expansion interface established in the design. |
| Electrical Verification | ERC recorded zero errors and one footprint library warning. |
| Fabrication Planning | Manufacturing methods, tooling, component placement, and design constraints investigated. |
| Design Documentation | Original KiCad schematic, visual documentation, and export configuration provided. |
Original Electronic Design
Schematic Design Results
The primary result of this assignment is an original KiCad schematic incorporating a microcontroller, digital inputs, visual feedback, and a communication interface for future peripheral expansion.
The design establishes the electrical architecture intended to support physical interaction with my journaling application.
In addition to reviewing the schematic using Electrical Rules Check, I explored KiCad's schematic plotting and export functionality to prepare visual documentation of the design.
Schematic Export
KiCad provides several schematic export formats, including PDF and SVG. These formats allow the electronic design to be shared and reviewed independently of the native KiCad editing environment.
My documented export configuration used the PDF format. The plotting interface displayed zero errors and zero warnings in its output message area.
The original editable KiCad design file is included in the Files section of this assignment.
PCB Design and Fabrication - Hero Shot
This additional PCB design explored the electronic requirements of my wearable haptic system. The fabrication results provided practical feedback on the relationship between electronic design, component placement, trace geometry, and manufacturing constraints.
Further fabrication, component installation, testing, and troubleshooting are documented in Week 8 - Electronics Production .
Reflection
Connection to My Final Project
My final project explores the development of a handheld electronic system supporting entrepreneurship and innovation-focused reflective journaling.
The electronics design assignment provided an opportunity to investigate the electrical architecture necessary to support physical user interaction, visual feedback, and communication between hardware and software.
| Electronics Design Learning | Final Project Application |
|---|---|
| Microcontroller selection | Evaluating processing, communication, and power requirements. |
| Digital input design | Supporting physical navigation and user interaction. |
| Digital output design | Providing visual and other forms of user feedback. |
| Communication interfaces | Integrating electronic peripherals and connected devices. |
| Component footprints | Supporting physical integration within a compact enclosure. |
| Power management considerations | Supporting portable electronic system development. |
| Design verification | Identifying potential problems before physical implementation. |
Although my final project evolved beyond the original RP2040 development board, the concepts explored during this assignment remained relevant throughout subsequent design iterations.
This assignment helped establish a foundation for integrating electronic components, firmware, mechanical design, and user experience considerations into a larger system.
What I Learned in Electronics Design
One of the most significant learning outcomes of this assignment was developing a better understanding of the relationship between electrical connections and programmable behavior.
Before this assignment, much of my experience with electronic components involved connecting devices to existing development boards. Designing my own schematic required me to consider why each connection was necessary and how the individual components contributed to the intended operation of the system.
Learning how pull-up and pull-down resistors establish defined digital input states was particularly valuable. Rather than simply following a tutorial, I began to understand how the placement of a resistor and switch affects the voltage interpreted by the microcontroller.
I also learned how component values influence electrical behavior. Calculating the expected LED current helped me understand the importance of selecting appropriate resistor values rather than treating electronic components as interchangeable.
Working with KiCad introduced me to several important stages of electronics design, including schematic capture, component libraries, footprint considerations, and electrical verification.
The footprint library warning identified during my ERC review reinforced the distinction between a logically connected circuit and a design that is fully prepared for physical manufacturing.
Researching different PCB fabrication methods also allowed me to connect electronics design with the digital fabrication skills developed throughout Fab Academy. The manufacturing process influences the physical dimensions, spacing, and material requirements of an electronic design.
Assignment Takeaways
- Understand the purpose of each component before incorporating it into a circuit.
- Establish defined electrical states for digital inputs.
- Consider voltage compatibility and current requirements.
- Distinguish between schematic symbols and physical footprints.
- Use electronic design verification tools to identify potential issues.
- Consider manufacturing constraints throughout the design process.
- Develop electronic systems with future integration and expansion in mind.
Overall, this assignment strengthened my understanding of electronics design as a process that connects electrical theory, software tools, manufacturing considerations, and the intended functionality of a product.
Files
| File | Description | KiCad Schematic | KiCad Schematic |