Docs

Your First PCB

A step-by-step guide to designing a complete PCB with Trace.

What We're Building

In this tutorial, we'll create a simple USB-powered LED indicator board. It includes:

  • USB-C connector for power
  • Voltage regulator (5V to 3.3V)
  • Three status LEDs with current-limiting resistors

Step 1: Create the Project

Open Trace and click "New Project". Name it "LED-Indicator" and choose a save location.

Step 2: Describe Your Circuit

In the AI chat, describe what you want:

I need a USB-C powered board with three LEDs (red, green, blue). Use a 3.3V regulator and appropriate current-limiting resistors for standard 20mA LEDs.

Step 3: Review the Plan

The AI will suggest components and a circuit topology. Review the component list:

  • USB-C receptacle (power only)
  • AMS1117-3.3 voltage regulator
  • Input/output capacitors
  • 3x LEDs (0805 package)
  • 3x 100Ω resistors

Click "Approve" to proceed or ask for modifications.

Step 4: Generate Schematic

After approval, Trace generates the schematic. Review the connections in the schematic editor. Run an Electrical Rules Check (ERC) to verify correctness.

Step 5: Set Board Parameters

Before layout, define your board:

  • Size: 30mm x 20mm
  • Layers: 2 (top and bottom copper)
  • Trace width: 0.25mm minimum

Step 6: Place Components

Switch to the PCB editor. Components appear outside the board. Place them logically:

  1. USB connector on the edge
  2. Regulator near the connector
  3. LEDs in a row on the opposite side

Step 7: Route Traces

Route the connections. For this simple board, all traces can fit on the top layer. Add a ground pour on the bottom layer.

Step 8: Run DRC

Run a Design Rule Check to catch any errors. Fix any violations before exporting.

Step 9: Export

Generate manufacturing files via File > Export > Gerbers. Upload to your preferred PCB manufacturer.