Andrew's Fab Academy Journey

PCB Design and Production

Assignment: Design and Prepare a PCB for Production

Objective

Design and prepare a PCB for production by characterizing in-house PCB production capabilities and submitting a design to a professional board house.

Tasks

1. Characterize the Design Rules for Your In-House PCB Production Process

As a team, investigate and document the capabilities and limitations of your in-house PCB production setup (e.g., milling machine, etching process, or other fabrication tools).

Define key design rules, including:

Parameter Description
Minimum Trace Width and Spacing Smallest allowable trace width and gap between traces
Minimum Drill Size Smallest via or through-hole diameter
Maximum Board Dimensions Largest allowable PCB size
Layer Count Single-sided, double-sided, etc.
Material Constraints e.g., FR4 thickness
Tolerances Alignment and feature accuracy limits

2. Submit a PCB Design to a Board House

Collaboratively design a PCB that adheres to the specifications of a professional board house (e.g., OSH Park, JLCPCB, or PCBWay).

Deliverables

Note: Ensure collaboration and clear documentation throughout the process.

Individual Assignment: Make and Test a Microcontroller Development Board Individual Assignment: Microcontroller Development Board

Individual Assignment: Make and Test a Microcontroller Development Board

1. Define Project Requirements

Question:

Determine the specific functionalities your development board should support, such as processing power, memory capacity, input/output interfaces, and communication protocols.

Answer:

The answer given here is a continuation from week 6 which was about electronic design of a development board. The schematic and the pcb was achived in KiCad.

700

The XIAO RP2040 microcontroller development board supports the following functionalities:

2. Select an Appropriate Microcontroller

Question:

Choose a microcontroller that aligns with your project needs. Consider factors like architecture, clock speed, available peripherals, power consumption, and package type.

Answer:

The XIAO RP2040 aligns with the project needs based on the following:

This microcontroller is ideal for a prototyping development board due to its versatile interfaces, compact size, and sufficient processing power.

3. Design the Schematic

Question:

Create a schematic diagram incorporating the microcontroller and essential components such as power supply circuits, oscillators, reset circuits, and necessary interfaces. Ensure proper decoupling capacitors and include programming headers.

Answer:

XIAO RP2040 designed in KiCAD

Schematic

The schematic above incorporates the following components:

  • Programming Headers: The XIAO RP2040 uses its USB-C port for programming via the RP2040’s USB bootloader, eliminating the need for additional headers.
  • The design includes essential components and follows best practices for noise filtering and interfacing.

    4. PCB Layout Design

    Question:

    Translate the schematic into a PCB layout, adhering to best practices like keeping trace lengths short, separating analog and digital grounds, and positioning components logically. Perform a Design Rule Check (DRC).

    Answer:

    XIAO-RP2040 designed in PCB Editor

    PCB on KiCAD editor

    The PCB layout adheres to best practices:

  • Making SVG Files for G-code
  • Making use of Mods
  • The layout is practical for a single-layer design, though a double-layer board could improve signal integrity with a ground plane.

    5. Prototype Fabrication

    Question:

    Decide on a fabrication method (in-house production or professional board house).

    Answer:

    The board was fabricated using an in-house method using a PCB Milling machine

    6. Assembly

    Question:

    Solder the components onto the fabricated PCB, use appropriate soldering techniques, and inspect solder joints.

    Answer:

    The assembly process includes:

    The assembly is successful, with all components securely attached.

    7. Testing and Validation

    Question:

    Develop a testing plan to verify each functionality, use debugging tools, and ensure all interfaces operate as intended.

    Answer:

    The testing plan to verify functionality includes: