(WIP) PCB Design - Altium Workshop

1. Project Creation

Introduction

This page includes a quick overview about how to use the PCB Design Software - Altium. You'll learn the basic process on how Printed Circuit Boards (PCBs) are made by using the tools in Altium. 

For additional information on learning the Altium basics, please access the tutorial page on their website: Altium Tutorials

Goals

This tutorial is a Work in Progress!

Before starting your project, make sure you created are added to the Sooner Competitive Robotics Altium Workspace and have an account created.

PCB Basics

Information on:

Project Overview - SPI-CAN Breakout Board

Insert Information Here...

Creating a Project

To start, open the Altium application on your device. Upon Altium loading, you should be greeted by a home page that looks similar to below:

image.png

To start a new project, navigate to the top-left toolbar and select File --> select New --> then select Project

image.png

In the new window under Project Name, name your project "Worshop - SPI-CAN"

image.png

Upon creating a new project, the Projects Panel will now open, where you can view all projects you have open.

image.png

On the bottom right of your window, you'll find the Panels toggle. This toggle stores a ton of tools and will come in handy later. For now, just know you can reopen the Projects panel through accessing this toggle.

image.png

Adding to a Project

Now, your project is currently empty. To get started, you'll need to add documents by right-clicking on the "Workshop - SPI-CAN.PrjPcb" icon. In the new window, hover over Add New to Project, then you can add any documents you need.

image.png

Go ahead and add the following documents to your project:

For the Draftsman Documents, a new window will appear. For the Assembly Drawing, select Assembly Drawing ANSI-B (v. 3), then press OK. For the Fabrication Drawing, select Fabrication Drawing ANSI-B (v. 3), then press OK. 

image.png

After you add the required documents to your project, your Projects panel should look like the screenshot below:

image.png

Before you start your design, you'll need to save each of your documents and rename them accordingly. To save a document, right-click on the document's icon, then select Save

image.png

Rename each of the documents until they match the names below:

image.png

Congratulations! You just finished creating your first Project! Now, you can get started on the schematic by accessing the tutorial: 2. Creating a Schematic

2. Creating a Schematic

Introduction

Creating a schematic in Altium is one of the most important steps in PCB Design. Before you create a schematic from scratch, you should already have a good idea on what your PCB will be used for, the logic behind the design, and critical components that will allow for a successful design.

During the schematic design process, you'll follow the steps below:

  1. Requirements - deciding the necessary interfaces, constraints, etc.
  2. Project Libraries - determining which components are needed for your design.
  3. Component Arrangement - arranging and wiring the components on your sheet.
  4. ERC / Compiling - Checking for errors and validating your schematic

Note: It's HIGHLY recommended to use a computer mouse when going through this tutorial.

Schematic Sheet Set-Up

When you start, you should already have a blank schematic loaded.

image.png

As you're creating your schematic, it's helpful to know these controls:

Before designing your circuit schematic, it's important to make sure your sheet has everything set-up properly. This includes the Sheet size, title, author, and more.

To start, navigate to the bottom-right of the window and select Panels --> then select Properties

image.png

A new window should appear as seen below:

image.png

If you scroll down, you can modify the Sheet Size, Orientation, and more! For now, we'll leave the settings as they are.

image.png

If you select the Parameters tab (under the Search Bar), you can modify the sheet's elements.

image.png

Go ahead and modify the following parameters with the following values:

Next, you'll need to place these values on the sheet. With the values set, exit out of the properties window and navigate to the top of the window. 

You'll find a tool-bar filled with many icons. Hover over the "A" icon and right-click until a drop-down appears. Then, select Text String.

image.png

You'll see the word "Text" appear and move along with your cursor. To place it on your dialog box on your schematic, simply left-click on the sheet.

Rwhimage.png

Like all objects placed on a schematic, you can left-click and hold down on an object to move it around. With this in mind, place a bunch of text boxes in the arrangement below

image.png

To update the text, right-click on a Text box, then select Properties

image.png

Next, in the drop-down arrow in the Text box, navigate to the value you want to atrribute to your text box.

image.png

Go ahead and update the text boxes using the procedure above. You can also update the text size and color to your liking.

image.png

Component Selection & Placement:

You're now ready to begin placing components on your board. Typically, you'll need to conduct proper research on your circuit design beforehand. Fortunately, we have a design ready for you.

Start by right-clicking anywhere on the schematic. Then, select Place --> select Part

image.png

A new window should appear, allowing you to search for parts from the Sooner Competitive Robotics workspace components library. To start, go ahead and insert the text "MCP2515-E/SO" into the Search box.

image.png

You should see the part you searched up appear below. If your desired component is not saved to SCR's custom parts library, you can always search for parts inthe Manufacturer Part Search.

image.png

To place your part, double left-click the part's icon. A faded version of your part should appear on your schematic. Left-click on the sheet to place your part. Once you exit out of the Components window, your part should appear on the page like below:

image.png

Now, go ahead and place the required parts for your project using the procedure you just learned. A list of the required parts can be found below:

Whenever you place down a capacitor, resistor, or any component with a custom value, you'll need to showcase the value on the schematic. When you place a capcitor, you'll see something like this:

image.png

To assign the capacitor's value, double left-click on the newly placed component. Next, type in the capacitor's value into the Comment text box. Afterward, make sure the "eye" icon is enabled before closing out of your window.

image.png

Your component should look like the capacitor on the left. You can move around the text surrounding the capacitor to make it more organized.

image.png

When you're finished placing components, your schematic should look like the following:

image.png

Power Ports:

Next, you'll to place your Power and Ground references. These are necessary to know how power flows through components. 

To start, navigate to the top tool-bar and right-click on the ground symbol (the upside down tree). You'll see multiple power references to select from. For our purposes, selected the Place +12 power port.

image.png

Once you place your power port, you'll need to update the value to +3.3 V. Double-click on the port you just placed and change the name from +12 to 3.3V.

image.png

Now, go ahead and place a GND port. When you're done, you should have two ports placed as seen below:

image.png

Go ahead and arrange the ports to their appropriate locations as seen below. Copy and Paste each port until you have:

image.png

Component Wiring:

With your components laid out, we can go ahead and mark off any ports we're not using for our design.

To do this, navigate to the top tool-bar and right-click on the Place Parameter Set icon (the circled "i"). Then, select the Generic No ERC item.

image.png

Then, go ahead and mark the following pins on the MCP2515-E/SO with the no connection indicator:

image.png

Now, you can start wiring your components together. There's a couple ways to do this.

First, you can navigate to the top toolbar and right-click on the wire icon (the two blue wavy lines). In the drop-down box, select Wire.

image.png

On your sheet, you should now see a faded cross-hair moving with your cursor. Wherever you left-click on the sheet, a wire will form.

Let's connect the 3.3V power port to the 2x1 Header. With the wire toggle enabled, left-click on the "1" port and drag your invisible wire to the 3.3V port. Left-click on the 3.3V port to connect your wire.

image.pngimage.png

In addition to wiring, you can place Net Labels on your schematic to connect two ports. Net labels are basically just wires, but without the physical trace going across the sheet.

To select a Net Label, navigate to the top tool-bar and select the wire icon. In the drop-down box, select Net Label

image.png

Attach the Net Label to port 7 on the 2x1 Header. You can left-click and drag the header away from the port. When you do this, a wire will show, indicating the net label and port are connected.

image.png

image.png


Now, double left-click on the newly placed Net Label, and rename it to "CS". 

image.png

You should now have something similar to below:

image.png

Using the tools you just learned, connect the components with wires and Net labels as seen below:

Note: when you complete your wiring, double-check your design to make sure everything is wired up correctly.

image.png

Schematic Annotation:

Once everything is wired up correctly, you're now ready to annotate your schematic. To do this, navigate to the top left tool-bar and select Tools --> select Annotation --> then select Annotate Schematics.

image.png

A new window should appear. You can modify how the annotation is laid out on the schematic.

image.png

Once you're satisfied with the settings, select Update Changes List --> select OK --> then select Accept Changes (Create ECO). A new window should appear:

image.png

To finalize the modifications, select Validate Changes --> then select Execute Changes. Once the green checkmarks appear under each part's status, close out of both windows. Your schematic should now look like what's seen below:

image.png

Now that your schematic is finished, you're ready to validate the design. Navigate to the Projects panel on the left side, right-click on the Workshop - SPI-CAN.Prj.Pcb icon, then select Validate PCB Project Workshop - SPI-CAN.Prj.Pcb.

image.png

To chech the results of the validation, navigate to the Panels toggle and select Messages.

image.png

A new window should appear on the right side of your screen.

image.png

From the validation, we received a bunch of warnings and an info block that tells us our design works. This is good! If you end up with messages that are proceeded with an orange box labeled Error, then you have some critical issues with your design that need to be fixed.

To tell exactly where an warning / error lives on your schematic, simply double left-click on the message. For instance, by investigating the message Floating Power Object, we see that there's a missing connection between LED1 and it's GND reference.

image.png

Upon opening Messages again, you'll see that the warning has dissapeared.

image.png

Now, we don't have to worry about the rest of these warnings for this design. Ideally, your designs should have no warnings or errors after validation. 

Congratulations! You just created your first PCB schematic! At this stage, you'd typically allow our lovely SCR mentors and alumni to review your design and provide feedback for revisions. Fortunately, this design has alreayd been reviewed.

image.png

To learn about how to conduct a PCB layout, head to the next part of this tutorial: 3. Board Layout

3. Board Layout

Hello! This section is a Work in Progress!

Tune in another time for updates...

4. Manufacturing Readiness

Hello! This section is a Work in Progress!

Tune in another time for updates...