PCB Design Tutorial

Introduction

This tutorial will go over how to get started with your PCB design, as well as go over the things you will use while designing your PCB.

Steps

  1. Open the PCB Editor file corresponding to your project. From previous tutorials the board should have all the parts placed on top of each other somewhere on the page, as well as the correct design rules inputted. We will first place the outline of our board, it is not required to do this at the beginning, however if you have board dimension constraints this helps you design around them. To place this outline first click on “Draw a Rectangle”, you can now use your mouse to draw a rectangle on the page, we will adjust its size and other parameters after.

Drawing A Rectangle
Drawing A Rectangle

  1. We can open the properties window for the shape by highlighting the shape-> right clicking then selecting “Properties…” from the drop-down menu.

Shape Properties
Shape Properties

  1. The Rectangle Properties window should appear. Configure the corresponding X and Y coordinates of the Start/End Points that will result in your desired outline dimension. Verify the line width matches that specified in the design rules. Make sure the layer selected is Edge.Cuts, this specifies that the rectangle we drew is defined as the board outline. Click OK, you now have your PCB’s outline.

PCB Outline Properties
PCB Outline Properties

  1. Now we must place a GND plane on our board, this will take care of all the GND connections for us so we will not have to route any GND traces. First select Place-> Add Filled Zone. Then click your mouse on the corner of the PCB outline we drew previously.

Adding a GND Plane
Adding a GND Plane

  1. A Screen will appear, make sure you select both the F.Cu and B.Cu layer. Make sure your GND Net is selected as the entire plane will be connected to the Net selected. Also verify that the other properties match the PCB design rules. Click OK.

Copper Zone Window
Copper Zone Window

  1. You can now use your mouse to draw this GND plane around your outline, when you are done drawing a outline of your GND plane will appear. Right click one of the corners-> click zones-> Fill all zones. Now your GND plane should be shaded in a certain color based on which layer you are looking at. make sure the plane is on both the top and bottom sides of your board. You now have GND planes, check a few GND pins on footprints and make sure they are connected to the GND plane.

Fill All Zones
Fill All Zones

  1. Now we can deal with moving parts around. To do so you can click and hold on a part or hold M on your keypad over the part to drag it around, while it is selected if you press R on your keyboard the part will rotate. You will notice that certain pads are connected to others with small lines, these lines are called a “airwires”, the collection off all the airwires is the “ratsnest”. Do your best to move/orientate that parts in such a way to untangle the ratsnest.

  2. Now we can connect these airwires with traces. Make sure the copper layer you are working on is selected, usually F.Cu. Hover over the Pad you want to draw a trace on and select X on your keyboard. You will now be able to move your mouse around and the trace will follow while staying anchored to the pad. If you click on the screen you can set more anchor points to fix the trace. Use the airwire to guide your trace to the corresponding pad, click on the desired pad to route the trace there.

Drawing A Trace
Drawing A Trace

  1. We need to change the size of the trace we ran previously. It is important the trace is properly sized as if they are not we might pop a trace. Usually traces which supply power are larger as there is more current passing though them. We can use a trace width calculator to make sure we select the correct size. As a general rule of thumb, 40 mils for power traces, 20 mils for signal traces.

  2. Once you have determined the size you want your trace, select the trace right click and you will see a menu where various parameters of the trace appear. Click on the “Properties…” button and the menu shown below should appear. Change the track width to your calculated value. Click OK and your trace is ready to go.

Track/Trace Properties
Track/Trace Properties

There are ways to set up pre specified trace widths in the Design Rules Editor Section.

Vias

Vias are essentially a way to route a trace to different layers of your PCB with copper plated around a drilled hole. It is essentially a through-hole but is usually much smaller. Vias are extremely useful for routing traces, especially as your board gets populated with other traces requiring you to switch between layers to avoid these other traces while routing.

Example of a Via
Example of a Via

We can add vias to our PCB by first routing a trace using steps discussed above. When you reach the point of your trace where you want a via, left click and select “Place Through Via”.

Placing a Via
Placing a Via

A via should appear on your PCB, you will now be routing a trace on the opposite side of your PCB, you can confirm this as the trace should have turned a different color. You can edit the via to match the design rules by right clicking the via and selecting “Properties…”. Use this window to configure the via, you have now successfully used a via.

Via Properties
Via Properties