Difference between revisions of "How to Install and Configure Altium"

From Stanford SSI Wiki
Jump to navigation Jump to search
m (→‎Next Steps: Copyedit)
 
(20 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{guide| authors=Sasha Maldonado ({{slack-user|smaldonado}})}}
+
{{guide| authors=({{slack-user|sunet-id=smaldonado|display-name=Sasha Maldonado}}) and updated by ({{slack-user|sunet-id=timv|display-name=Tim Vrakas}})}}
  
 
==Background==
 
==Background==
Line 9: Line 9:
 
Altium allows users to draw circuit schematics and then design the physical layout of the components represented in the schematic. This requires libraries of symbols to represent components, the physical dimensions of those components in real life, and links so that they can be purchased from suppliers. SSI and Stanford Solar Car Project members have designed parts for these libraries over the course of several years, and as an Altium user, you will almost certainly [[Making Parts for PCB Libraries|add parts to the SSI PCB libraries]].  
 
Altium allows users to draw circuit schematics and then design the physical layout of the components represented in the schematic. This requires libraries of symbols to represent components, the physical dimensions of those components in real life, and links so that they can be purchased from suppliers. SSI and Stanford Solar Car Project members have designed parts for these libraries over the course of several years, and as an Altium user, you will almost certainly [[Making Parts for PCB Libraries|add parts to the SSI PCB libraries]].  
  
These libraries are shared and synchronized amongst all of SSI's Altium users using a [https://en.wikipedia.org/wiki/Version_control version control] technology called Subversion (typically "SVN"). SVN allows a group of folders (known as a "repository") to be shared selectively between SSI's Altium users, while tracking changes between versions of the files and allowing users to decide when they share changes they've made with the rest of the SSI userbase (sharing your changes is known as "committing" those changes). SSI's SVN is hosted online by a sponsor, [https://assembla.com Assembla].
+
==Where do things live?==
 +
There are three places Altium data lives:
  
Users familiar with git will find SVN familiar but notably different; SSI's reasons for using SVN over git are captured [[Tribal Altium Knowledge|here]].
+
* All new projects are stored on Github. An example of this is [https://github.com/stanford-ssi/ThunderGuppy-EE ThunderGuppy-EE]. All SSI projects should be public on the [https://github.com/stanford-ssi SSI Github], but in order to commit changes, you're going to need to [https://github.com/join create a Github Account] and have someone add you as a member of the SSI Github organization. Ask in {{slack-channel|git}} to be added.
 +
* All components and parts live on the [https://stanford-university-student-space-initiative.365.altium.com/ Altium 365 workspace]. To access this you will need an Altium account connected to your Stanford email, and you will need to be added to the workspace. You should ask for these things in {{slack-channel|altium}}, and tag the {{slack-user|sunet-id=altium-admin|display-name=altium-admin}}.
 +
* Templates, Logos, Fonts, and oddball SSI-wide data lives in the [https://ssi-svn.stanford.edu/svn/altium-core/ Altium SVN]. SVN ([https://subversion.apache.org/ Subversion]) is the grandfather to Git and Google Drive. To access the SVN you need credentials which you can get from https://ssi-svn.stanford.edu/ and an SVN client, like [https://tortoisesvn.net/ TortoiseSVN].
  
 
==A Brief Motivational Note==
 
==A Brief Motivational Note==
Line 24: Line 27:
 
===Account Setup===
 
===Account Setup===
 
[[File:TortoiseSVNMenu.png|thumb|200px|right|A screenshot showing all of the SVN functions available when right-clicking after installing TortoiseSVN. You will never use most of these.]]
 
[[File:TortoiseSVNMenu.png|thumb|200px|right|A screenshot showing all of the SVN functions available when right-clicking after installing TortoiseSVN. You will never use most of these.]]
Within the {{slack-channel|altium}} channel, request an account for both Altium itself and for Assembla. Messaging {{slack-user|altium-admin}} will summon the relevant person.
+
Within the {{slack-channel|altium}} channel, request an account for Altium itself, and the Altium 365 workspace. Messaging {{slack-user|sunet-id=altium-admin|display-name=altium-admin}} will summon the relevant person. Once they give you an account, you should receive an email allowing you to log in to your account and access the [https://stanford-university-student-space-initiative.365.altium.com/ Altium 365 Workspace]. From the online workspace you can browse some recent projects without having to install any software.
  
===Installing SVN===
+
=== But I don't have a Windows computer! ===
You will need SVN software to use the SSI Altium repository. The recommended choice is to install [http://tortoisesvn.net/ Tortoise SVN] (Windows-only). Mac and Linux users who want SVN access from within their home OS are recommended to install [https://http://www.smartsvn.com/ SmartSVN], though we will not discuss its usage in this article.
+
Never fear, many cool projects were designed without Windows computers! You have a few options:
  
TortoiseSVN will run persistently on your computer and allow you to work with files synchronized with the SVN. As shown at right, TortoiseSVN will appear as a menu available when right clicking on files or folders. We will introduce the most useful of these commands in this article; several more are discussed [[Using TortoiseSVN|here]] (recommended reading ''after'' completing this guide).
+
* Install Windows in a dual-boot configuration with your current OS (only for x86 computers, you'll need a bit of storage)
 +
* Run Windows in a local Virtual Machine (VM). [https://www.virtualbox.org/ VirtualBox] works well on many systems, and Stanford offers [https://stanford.onthehub.com/WebStore/Welcome.aspx VMWare for free], but for Apple Silicon (ARM) machines, [https://kb.parallels.com/124137 only Parallels supports DirectX], without which things will be very slow.
 +
* Connect to an [[Windows Remote VMs|SSI hosted Virtual Machine (VM)]]. This works best when you're connected directly to a campus network.
 +
* Use an SSI desktop, in [[End station III|ESIII]]. This works well, but can be inconvenient.
  
===Downloading SSI Altium Libraries===
+
===Installing Altium===
[[File:SVNCheckout.png|thumb|200px|right|Make sure you're right clicking on the folder you just created.]]
 
[[File:SVNCheckout2.png|thumb|200px|right|Your checkout window should look very similar to this.]]
 
Find a convenient location on your computer (i.e. your desktop) to create a folder that will host all of the shared SSI Altium files. Create a new folder there (my folder is called "SVN-SSI-Altium"). Right click on the folder, and select "SVN Checkout" (see right). A window should pop up (see right) showing a URL to download files from and a location on your computer where the files will be downloaded. Verify that the target on your computer is where you intend and set the URL of the repository to http://subversion.assembla.com/svn/stanfordspaceinitiative, and click OK. You will then be prompted for your Assembla login - this will be your '''username''' ('''not''' email) and password for your Assembla account. Enter these, click OK, and your computer should begin to download the Altium libraries. These are rather large and will take several minutes.
 
 
 
If your credentials are not accepted (a rare but known problem), make sure they are correct, and then reset your password (not necessarily change it, simply reset it). The origin of this issue is unknown, but a password reset typically solves the problem. If it still doesn't work, log into [https://assembla.com Assembla] and ask their 24-hour support for help with SVN authentication - they are typically very helpful and respond in around half an hour.
 
  
===Installing Altium===
 
 
Once you have an Altium account, Altium Designer can be downloaded [http://www.altium.com/products/downloads here] after logging in on the Altium website. Be aware that the software will only install on Windows operating systems. After downloading, install with the default settings.
 
Once you have an Altium account, Altium Designer can be downloaded [http://www.altium.com/products/downloads here] after logging in on the Altium website. Be aware that the software will only install on Windows operating systems. After downloading, install with the default settings.
  
Line 44: Line 44:
 
[[File:AltiumLicense.png|thumb|200px|right|Protip: Don't publish sensitive information on the internet.]]
 
[[File:AltiumLicense.png|thumb|200px|right|Protip: Don't publish sensitive information on the internet.]]
 
After Altium finishes installing, open it. Under "My Account," click "Sign in" and log in with your Altium account. Check "Sign me in when I open Altium Designer," as this will automatically grant you license access when you start the program. Next, under "Available Licenses," select Altium Designer from the list of products (you may or may not have other options listed; you can safely ignore all other ones) and click "Use" underneath (see right). This will now happen automatically every time you open the program.
 
After Altium finishes installing, open it. Under "My Account," click "Sign in" and log in with your Altium account. Check "Sign me in when I open Altium Designer," as this will automatically grant you license access when you start the program. Next, under "Available Licenses," select Altium Designer from the list of products (you may or may not have other options listed; you can safely ignore all other ones) and click "Use" underneath (see right). This will now happen automatically every time you open the program.
 
===Open SSI Integrated Library===
 
[[File:ProjectsPanel.png|thumb|200px|right|This is a super useful panel to have open pretty much whenever you're in Altium.]]
 
If you do not see the "Projects" panel of your Altium window (see image on right - if open, the panel is typically on the left side of your screen), you will need to open it. This can be done in "View → Workspace Panels → System → Projects," also accessible with the keyboard shortcut {{altium-shortcut|v → w → s → p}}.
 
 
Once this panel is open, File → Open and navigate to the folder you set up for the Altium SVN. Enter, and go to "libraries/intlib." Inside, you should find "SSI.LibPkg" (whose file name may simply show up as "SSI"). Open the file; it should expand in your Projects panel, as shown at right.
 
 
===Compiling the SSI Altium Library===
 
With SSI.LibPkg open in your Projects panel, right click on SSI.LibPkg and hit "Compile Integrated Library SSI.LibPkg." This LibPkg file is an editable copy of all of the symbols, component footprints, and supplier links used for designing circuits and circuit boards in Altium; compiling it produces a non-editable version that can actually be used in circuit design. The compile process will take up all of Altium's resources and typically lasts between 30 seconds and 2 minutes. When done, you may see a "Messages" panel appear, which should indicate that you compiled successfully. Even if the Messages panel does not appear, you should be able to tell when the library finishes compiling based on a green progress bar in the lower left part of the screen.
 
 
If the Messages panel appears but errors show up (which is rare), message {{slack-channel|altium}} for help, as the failure is likely due to a recent editor of the library doing something incorrectly. Errors may or may not prevent you from proceeding in this guide; attempt the next step, knowing that you may be forced to pause until the errors are resolved.
 
 
This step is important, as it is required every time you wish to update your copy of the library to include changes that others (or you) have made. You will likely do this a good number of times over the course of your Altium career.
 
 
===Installing the SSI Altium Library===
 
[[File:LibraryInstallWindow.png|thumb|200px|right|You will end up with something like this.]]
 
If you do not see the "Libraries" panel of your Altium window (if open, the panel is typically on the right side of your screen), you will need to open it. This can be done in "View → Workspace Panels → System → Libraries," also accessible with the shortcut {{altium-shortcut|v → w → s → l}}.
 
 
Once the panel is open, click the "Libraries..." button in the upper left, bringing up a window as shown in the image at right. Go to the "Installed" tab, where a list of (typically two) default libraries will appear. These libraries are not built to SSI standards and no SSI projects use them. Click on each library in the list, and then click "Remove" in the lower right.
 
 
Next, click "Install..." and then "Install from file." A new file dialog will open up; from your Altium SVN folder, navigate to "libraries/intlib/Project Outputs for SSI," where you should find SSI.IntLib (which will again likely just appear as "SSI"). Select it, and it will install.
 
 
If you do not have a "Project Outputs for SSI" folder, your compile failed, and you will need to resolve the issue before proceeding.
 
 
===Installing the Microsoft Access 2007 Driver===
 
For reasons that are poorly understood, many SSI Altium users cannot use two additional libraries - one of resistors and one of capacitors - without first installing this [https://www.microsoft.com/en-us/download/details.aspx?id=23734 Microsoft Office 2007 compatibility driver]. This solution took considerable experimentation to discover and is a good example of SSI [[Tribal Altium Knowledge]]. Installing this driver, though demonstrably not required for all users, will prevent hard-to-diagnose future headaches.
 
 
===Installing Resistor and Capacitor Database Libraries===
 
[[File:InstallingDBLibs.png|thumb|200px|right|It's called "sscp" because it was originally made by the Stanford Solar Car Project (you'll understand when you get there). It's full of capacitors.]]
 
Two kinds of parts - surface mount chip resistors and surface mount ceramic capacitors - are stored in separate "database" libraries because they come in several thousand very similar varieties which can be defined using a creatively formatted Excel sheet and are imported into Altium through a .dblib file. We will install these libraries in this step.
 
 
In the same window used to install SSI.IntLib (from the Libraries panel, "Libraries..." → ''"Installed"'' → "Install..." → "Install from file"), navigate to "libraries/dblib." You will initially see nothing there; to fix that, change the type of libraries visible from "Integrated Libraries *.INTLIB" to "Database Libraries *.DBLIB" (see right). Two files - "resistor" and "sscp" should appear; install both of them.
 
 
===Formatting the Resistor and Capacitor DBLibs===
 
 
We will now make sure the resistor and capacitor databases show the most useful information when you need to select a part from them. From the Libraries panel, click the dropdown menu and select "resistor.DbLib - Resistors$." A list of resistors will appear underneath it, with a number of column headings. Right click any column heading, and select "Select Columns." You will then bring up a window with a list of parameters in two columns; parameters in the left are not typically shown when searching through the database, while parameters on the right are. Using the "Add" and "Remove" buttons, set the three visible parameters to be "Resistance (Human readable)," "Package," and "description," and click OK. See photos below to accompany this step.
 
<center> <gallery  widths=200px heights=200px>
 
|align=center
 
File:LibrariesPanelWithStuffInstalled.PNG|<center> Your dropdown should look like this after completing all of the above installation. </center>
 
File:BringUpSelectColumns.PNG |<center> Right click on any column header under the dropdown. </center>
 
File:ResistorSelectColumns.PNG|<center> Once you're done moving parameters around, you should get this. </center>
 
</gallery> </center>
 
 
Now, from the dropdown, select "sscp.DbLib - capacitor$," and repeat the above steps to get to the Select Parameter Columns window. Move parameters around until the three parameters you have in the right column are "human_value," "Package," and "description." Click OK.
 
 
Optionally, repeat the steps for "capacitor$" with "capacitor_auto$." The "capacitor_auto$" section contains capacitors specially rated for automotive applications, which are of obvious use to the library's creators (hint: they build a car every two years) but are typically not important for SSI projects. "capacitor_auto$" does not have a "human_value" parameter
 
  
 
===Configuring Altium Preferences===
 
===Configuring Altium Preferences===
 
[[File:SystemDefaultLocations.png|thumb|200px|right|You will end up with something like this.]]
 
[[File:SystemDefaultLocations.png|thumb|200px|right|You will end up with something like this.]]
 
Altium's default preferences are quite workable, but a couple of settings relating to the default locations of files need to be configured on each new computer. To change Altium preferences, from the top bar, click "DXP &rarr; Preferences..."
 
Altium's default preferences are quite workable, but a couple of settings relating to the default locations of files need to be configured on each new computer. To change Altium preferences, from the top bar, click "DXP &rarr; Preferences..."
 
====Files and Libraries Location====
 
Within Preferences, go to "System &rarr; Default Locations." There are two fields; set "Document Path" to your Altium SVN folder, and set "Library Path" to your "libraries" folder in the Altium SVN. See the image at right for an example of the result.
 
  
 
====Templates Location====
 
====Templates Location====
 
[[File:DataManagementTemplates.png|thumb|200px|right|You will end up with something like this, unless you're attempting to steal my identity, in which case you will end up with ''exactly'' this.]]
 
[[File:DataManagementTemplates.png|thumb|200px|right|You will end up with something like this, unless you're attempting to steal my identity, in which case you will end up with ''exactly'' this.]]
An unjustifiable length of time was spent creating formatting templates for SSI circuit schematics, which make for a clean, professional project and add a bit of information to each schematic. To use, in Preferences, go to "Data Management &rarr; Templates," and set the "Template location" field to point to the "libraries\templates" folder in your Altium SVN. See the image at right for an example of the result.
+
<s>An unjustifiable length of time was spent creating formatting templates for SSI circuit schematics, which make for a clean, professional project and add a bit of information to each schematic. To use, in Preferences, go to "Data Management &rarr; Templates," and set the "Template location" field to point to the "libraries\templates" folder in your Altium SVN. See the image at right for an example of the result.</s> '''TODO: Update the templates and these instructions.'''
  
 
===Install the SSI PCB Logos Font===
 
===Install the SSI PCB Logos Font===
Adding logos to PCBs is an important aspect of professionalism, part of SSI's agreements with its sponsors, and a nice way to add some creativity to a technical process. For logos that SSI commonly uses, we've created a font with scalable versions of each. This font is stored in "libraries\logos\SSI" - there, you can double click on "SSI_logos.ttf" to install it.
+
Adding logos to PCBs is an important aspect of professionalism, part of SSI's agreements with its sponsors, and a nice way to add some creativity to a technical process. For logos that SSI commonly uses, we've created a font with scalable versions of each. Download the font from [https://ssi-svn.stanford.edu/svn/altium-core/libraries/logos/SSI/SSI_Logos.ttf the SVN], and install it to your computer.
  
 
===Remap Delete Key===
 
===Remap Delete Key===
[[File:DeleteKeyRemapping.png|thumb|200px|right|You should end up with this.]]
+
[[File:DeleteKeyRemapping18.png|thumb|200px|right|You should end up with this.]]
''This step is only required of computers which do not have distinct "backspace" and "delete" keys. Desktops and most non-Apple laptops can skip this step. Apple laptops which have a "delete" key that functions as a backspace key need to complete this step.''
+
''This step is only required of computers which do not have distinct "backspace" and "delete" keys. Desktops and most non-Apple laptops can skip this step. '''Apple laptops which have a "delete" key that functions as a backspace key may need to complete this step.'''''
 
 
From the top bar, click "DXP &rarr; Customize..." In the window that comes up (see right), click "Edit" from the "Categories" column on the left, then double click on "Clear" in the "Commands" column on the right. This is the command generally used in Altium to delete things, which is by default mapped to the delete key, which, if you're completing this step, you do not have. Click the "Primary" field, and then hit your backspace key to remap the command to that key.
 
 
 
==A Brief Introduction to SVN==
 
This is the last part of this guide! You have actually already completed the installation and configuration of Altium; this step is intended to give you a quick introduction to SVN and how to use it. You will not need Altium for this last step; if you're completing this tutorial at a time when others are likely to also be working through it, close Altium, as that will free up licenses for others to use. If you're already familiar with SVN, skip to the [[#Your First Commit|last task]].
 
 
 
===Background===
 
An SVN repository is a series of "snapshots" of a folder over time. Each snapshot is called a '''commit''', and represents the state of the folder and some or all of its contents at a moment in time. Commits are created by users (aka you) when they want to preserve a version of the files they are working on - this typically happens after making a group of changes to files stored in the SVN repository (ie. after adding a part to a library or making progress on a circuit schematic or circuit board).
 
  
Any file can be stored in an SVN repository, and the repository can detect any change to any file. With TortoiseSVN installed, tracked files in an SVN repository which have been edited since the last commit will have a small red exclamation point displayed on their icon when viewed in a folder. New files created in your Altium SVN folder will not automatically be tracked - this is intentional, and a good thing.
+
If you do not have a schematic open already, open one by clicking "File &rarr; New &rarr; Schematic." Next, open up the Customize panel by either clicking on a blank space of the toolbar (the space to the right of the "Help" drop-down menu works) or by right-clicking in that same spot and selecting "Customize..." In the window that comes up (see right), click "Edit" from the "Categories" column on the left, then double click on "Delete" in the "Commands" column on the right. This is the command used to delete components from a schematic, which is by default mapped to the delete key, which, if you're completing this step, you do not have. Click the "Primary" field, and then hit your backspace key to remap the command to that key. This only changes the delete key for schematics, so repeat this process with a PCB document open.
 
 
Unlike other version control systems, "branches" do not work in SVN. All commits in an SVN repository contain changes that directly follow the commit before them, and can have only a single commit that follows after them. Because of this, SVN users can '''lock''' files and folders, becoming the only person allowed to commit changes to that file or folder. Other users can still edit the files, but their changes cannot be committed, making those edits futile. TortoiseSVN shows when a file has been locked by someone else, to help keep you from trying to edit something that somebody else is working on. Locking exists so that two users cannot try to commit different versions of the same file - someone who opens a file and knows they will commit changes to it soon can lock the file, marking the fact that they started editing the file first and so should be allowed to complete and commit their changes before anyone else. Locks can be taken away from someone who locks a file for an extended period of time, preventing abuse of this feature.
 
 
 
Changes other people make to files stored in the SVN must be downloaded manually, through the SVN '''update''' command. Updating replaces any files in your SVN folder that have been changed since the last time you ran SVN update with their most recently committed versions. You can see if there are new SVN commits to download in the {{slack-channel|altium}} channel, where notices of new commits are automatically posted.
 
 
 
Future tutorials will discuss when and how to add files and how to use Altium's SVN commands; below, we will briefly discuss how to generally commit file changes to the SVN repository.
 
 
 
===Your First Commit===
 
[[File:MakingACommit.png|thumb|200px|right|You will likely only have iwuzhere.txt in your list of files to commit, but if you have others, leave them unchecked.]]
 
In your SSI Altium SVN folder, right click while ''not'' on any file or folder, and mouse down to "SVN Update" and click it. This will quickly bring all of your files up to date. Next, in your Altium SVN folder, find "iwuzhere.txt." This file is tracked by the SVN repository, and should have a small green check mark on it. Right click on the file, mouse down to "TortoiseSVN," and then click "Get lock..." Click OK on any windows that appear. A small lock icon should appear on the file - you now have the lock on this file.  
 
 
 
If the file was already locked by someone else, you will not be able to lock it, and should message the {{slack-channel|altium}} to ask to lock it. If you do not receive a response within 10 minutes, lock the file as described above, and check "Steal the locks" to take the lock from whomever had it previously. Slack is how locking conflicts like this (which are rare) are resolved, and 10 minutes is a short period of time to wait for a response, but this file is simple and very little work is lost from stealing the lock on it. If someone else commits a new version of the file, run another SVN update, and then you should be able to lock it.
 
 
 
Open the file, and add your name and the current date, matching the format of the names already there. ''You're now a part of SSI's corps of electrical engineers!''
 
 
 
To finish, go back to your Altium SVN folder, right click while ''not'' on any file or folder, and mouse down to "SVN Commit..." and click it. A dialog box will come up (see right), at the bottom of which should be a list of files. This shows files you have changed since the last time you ran SVN update, and ''should'' just have iwuzhere.txt listed. Make sure you have it checked. In the text box at the top of the window, you will need to write a '''commit message''', a brief description of what changes you're committing. This message will appear in Slack and must be at least 20 characters (but shouldn't be longer than a single sentence). Once you've written it, click okay, and wait for a message to appear in Slack.
 
  
 
'''You're done!''' Welcome to Altium!
 
'''You're done!''' Welcome to Altium!
Line 141: Line 68:
 
;A First Project :[[Your First Altium Project|This (currently in-development) guide]] offers you a walkthrough of a fun introductory Altium project, which ends with making a circuit board that allows you to play StrEEt Fighter with your fellow SSI members.
 
;A First Project :[[Your First Altium Project|This (currently in-development) guide]] offers you a walkthrough of a fun introductory Altium project, which ends with making a circuit board that allows you to play StrEEt Fighter with your fellow SSI members.
 
;Creating Parts for Altium Libraries : [[Making Parts for PCB Libraries|This guide]] walks you through the process of adding new parts to the SSI Altium library, teaching both the process involved and quality standards for the library that we and the Stanford Solar Car Project have long worked to maintain.
 
;Creating Parts for Altium Libraries : [[Making Parts for PCB Libraries|This guide]] walks you through the process of adding new parts to the SSI Altium library, teaching both the process involved and quality standards for the library that we and the Stanford Solar Car Project have long worked to maintain.
 +
 +
==Addendum: SVN==
 +
If you need a single file from the SSI SVN, you can download it from the [https://ssi-svn.stanford.edu/ web interface]. If you want to download many files, or make changes, you will need to [[SVN|check out the SVN repo]].
  
 
[[Category: Altium]]
 
[[Category: Altium]]

Latest revision as of 06:30, 23 August 2022

Journey.jpg

This is a guide

Welcome! This article is intended to guide you through an SSI process. While its authors have made efforts to make it useful, if you have questions, please ask the authors on Slack. They will be able to both help you and improve this resource for future SSI-ers.

This article was written by (SlackLogo.png@Sasha Maldonado ) and updated by (SlackLogo.png@Tim Vrakas ).

Background

Altium Designer is SSI's preferred circuit board design program. The program runs exclusively on Windows; Mac and Linux users have successfully run Altium through both dedicated Windows partitions and Windows virtual machines. Though debated amongst SSI members, a USB mouse is also a useful tool when designing circuit boards.

Altium Ltd. sponsors SSI with a number of shared licenses to use their software. These licenses are managed over the internet - after signing in for the first time, your computer will automatically download a license file every time you open Altium and release your license when you close the program.

Altium allows users to draw circuit schematics and then design the physical layout of the components represented in the schematic. This requires libraries of symbols to represent components, the physical dimensions of those components in real life, and links so that they can be purchased from suppliers. SSI and Stanford Solar Car Project members have designed parts for these libraries over the course of several years, and as an Altium user, you will almost certainly add parts to the SSI PCB libraries.

Where do things live?

There are three places Altium data lives:

  • All new projects are stored on Github. An example of this is ThunderGuppy-EE. All SSI projects should be public on the SSI Github, but in order to commit changes, you're going to need to create a Github Account and have someone add you as a member of the SSI Github organization. Ask in SlackLogo.png#git  to be added.
  • All components and parts live on the Altium 365 workspace. To access this you will need an Altium account connected to your Stanford email, and you will need to be added to the workspace. You should ask for these things in SlackLogo.png#altium , and tag the SlackLogo.png@altium-admin .
  • Templates, Logos, Fonts, and oddball SSI-wide data lives in the Altium SVN. SVN (Subversion) is the grandfather to Git and Google Drive. To access the SVN you need credentials which you can get from https://ssi-svn.stanford.edu/ and an SVN client, like TortoiseSVN.

A Brief Motivational Note

At the time of this guide's original writing, only two people in SSI had used Altium for more than a year (neither of whom wrote this article - I began using Altium 8 months prior to originally writing it). As with any worthwhile skill, Altium takes time to gain familiarity with, and doing projects in Altium - though initially somewhat tedious and frustrating at times - is the best way of learning to use it.

Furthermore, as with all good technical software, Altium has many features, with many buttons and options. This is understandably anxiety-inducing. This guide (and the SSI wiki at large) is written to try and point you to the buttons you will need to complete setup and common tasks, which are a small subset of all of the buttons available to you. People who have worked in Altium for 20 years have commented that they still have never used most of the features of the program. In reality, doing a couple of projects is enough for you to learn what the core functions are and how to use them, and SSI has a robust community of able and willing engineers eager to help you get started.

With that in mind, let's get underway!

Installation and Setup

Account Setup

A screenshot showing all of the SVN functions available when right-clicking after installing TortoiseSVN. You will never use most of these.

Within the SlackLogo.png#altium  channel, request an account for Altium itself, and the Altium 365 workspace. Messaging SlackLogo.png@altium-admin  will summon the relevant person. Once they give you an account, you should receive an email allowing you to log in to your account and access the Altium 365 Workspace. From the online workspace you can browse some recent projects without having to install any software.

But I don't have a Windows computer!

Never fear, many cool projects were designed without Windows computers! You have a few options:

  • Install Windows in a dual-boot configuration with your current OS (only for x86 computers, you'll need a bit of storage)
  • Run Windows in a local Virtual Machine (VM). VirtualBox works well on many systems, and Stanford offers VMWare for free, but for Apple Silicon (ARM) machines, only Parallels supports DirectX, without which things will be very slow.
  • Connect to an SSI hosted Virtual Machine (VM). This works best when you're connected directly to a campus network.
  • Use an SSI desktop, in ESIII. This works well, but can be inconvenient.

Installing Altium

Once you have an Altium account, Altium Designer can be downloaded here after logging in on the Altium website. Be aware that the software will only install on Windows operating systems. After downloading, install with the default settings.

Connecting Altium to the License System

Protip: Don't publish sensitive information on the internet.

After Altium finishes installing, open it. Under "My Account," click "Sign in" and log in with your Altium account. Check "Sign me in when I open Altium Designer," as this will automatically grant you license access when you start the program. Next, under "Available Licenses," select Altium Designer from the list of products (you may or may not have other options listed; you can safely ignore all other ones) and click "Use" underneath (see right). This will now happen automatically every time you open the program.

Configuring Altium Preferences

You will end up with something like this.

Altium's default preferences are quite workable, but a couple of settings relating to the default locations of files need to be configured on each new computer. To change Altium preferences, from the top bar, click "DXP → Preferences..."

Templates Location

You will end up with something like this, unless you're attempting to steal my identity, in which case you will end up with exactly this.

An unjustifiable length of time was spent creating formatting templates for SSI circuit schematics, which make for a clean, professional project and add a bit of information to each schematic. To use, in Preferences, go to "Data Management → Templates," and set the "Template location" field to point to the "libraries\templates" folder in your Altium SVN. See the image at right for an example of the result. TODO: Update the templates and these instructions.

Install the SSI PCB Logos Font

Adding logos to PCBs is an important aspect of professionalism, part of SSI's agreements with its sponsors, and a nice way to add some creativity to a technical process. For logos that SSI commonly uses, we've created a font with scalable versions of each. Download the font from the SVN, and install it to your computer.

Remap Delete Key

You should end up with this.

This step is only required of computers which do not have distinct "backspace" and "delete" keys. Desktops and most non-Apple laptops can skip this step. Apple laptops which have a "delete" key that functions as a backspace key may need to complete this step.

If you do not have a schematic open already, open one by clicking "File → New → Schematic." Next, open up the Customize panel by either clicking on a blank space of the toolbar (the space to the right of the "Help" drop-down menu works) or by right-clicking in that same spot and selecting "Customize..." In the window that comes up (see right), click "Edit" from the "Categories" column on the left, then double click on "Delete" in the "Commands" column on the right. This is the command used to delete components from a schematic, which is by default mapped to the delete key, which, if you're completing this step, you do not have. Click the "Primary" field, and then hit your backspace key to remap the command to that key. This only changes the delete key for schematics, so repeat this process with a PCB document open.

You're done! Welcome to Altium!

Next Steps

A First Project
This (currently in-development) guide offers you a walkthrough of a fun introductory Altium project, which ends with making a circuit board that allows you to play StrEEt Fighter with your fellow SSI members.
Creating Parts for Altium Libraries
This guide walks you through the process of adding new parts to the SSI Altium library, teaching both the process involved and quality standards for the library that we and the Stanford Solar Car Project have long worked to maintain.

Addendum: SVN

If you need a single file from the SSI SVN, you can download it from the web interface. If you want to download many files, or make changes, you will need to check out the SVN repo.