Altium Tutorial Introduction
We’re glad to see you guys back! Throughout this tutorial, I’ll show you how to quickly and easily design PCBs for your DIY projects using Altium. We’ve done a lot of interesting things in the last few projects, haven’t we? We worked on a slew of Arduino-based projects, including robots, Halloween decorations, and even our own Arduino board. We used Altium to design the circuit and the PCB layout.
Many of our subscribers tried the free trial, and the results were nothing short of spectacular. In some cases, they asked me to write a tutorial on how to design a PCB layout using Altium. In fact, that’s exactly what we’ll be doing now.
In today’s Altium Tutorial, I’ll show you exactly how to use Altium to design PCBs for your hobby projects step-by-step. You should be able to design and build your own PCBs for your project if you follow all of the instructions in this post! Let’s get started with Altium Tutorial!
Altium Tutorial Step 1 – Download Altium Designer
First thing, download the software. Altium is a PCB designer which can be used to design simple PCBs for your hobby project as well as complex and multi-layered PCBs for industrial use and believe me guys, It’s very easy to create our own PCBs using Altium. If you are a DIY electronic enthusiast, this is gonna be really useful for you!
Altium is an Amazing PCB Designer with so many user-friendly tools and amazing features like centralized cloud storage, and online collaboration. You can design and create your own PCBs for your hobby projects or share your ideas across your network.
So the first job is to download and install the free trial version from here and the best part is, that you will also get a 6-month full license if you are a student! Go ahead download and install! Once you have downloaded and installed it, just open the software.
Start a New Project in Altium Designer
Simply open it once you open it you should see a screen like this. Here if you take a closer look you can see two windows. On the left side window, you should see all the projects and all the files in that project on the right side window you should be able to see all the files that are currently open in different tabs.
Now let’s create a project. For this video, we will be designing our own custom-made Arduino board. So, first go to files, new, and project.
Now let’s give our project a name. Let’s name it DIY Arduino and click on create.
Here on the left side, you should see our new project and if you expand it, you should be able to see all the files that are used by the project. As of now, there are no files associated with this project. That’s why it’s showing empty.
Creating Files for Schematics and PCB Designing
For this project, we will need to create two files one for drawing the schematics and the other for designing the PCB layout. To create a new file simply right-click on the project add new to the project and click on schematics.
And here we go. This is where we’ll be drawing the schematics or the circuit.
Now we will have to create one more file where we’ll be designing the PCB layout for this PCB. To do that again, right-click on the project add new to the project and click on PCB and here you can see another file has been created. Both these files are opened and are right on top. You can switch between the tabs by simply clicking on them.
First, we’ll start by drawing the circuit. For that go to the schematics file.
Finding out the Right Components using Octopart
Now before you start adding the components to your circuit and design the final PCB, it’s always a good idea to have a good knowledge of the components such as specifications, availability as well as price. For that, I would recommend this site called Octopart. Octopart is an amazing electronic component search engine.
You can use octopart to get details such as distributor, pricing, and availability. You can also use octopart to find components that meet your requirement. You can even purchase the component by clicking the link here itself!
It’s A free solution for most of our problems and you will get everything in one place! This Is also gonna be really useful for you guys. Make sure you check it out! Now we will start adding components.
Altium Tutorial Step 2 – Drawing the Circuit
Finding the Right Components using Altium Components Library
In order to make our Arduino board, we will need a microcontroller which in this case is Atmega328 but the microcontroller can’t operate without the bare essentials. In order for it to function, it will need a minimal amount of component setup. Let’s look at the bare minimum configuration.
To set up a bare minimal circuit, we will need an Atmega328, an input voltage of 5V, a 16 MHz crystal oscillator, an LED, a resistor, and 2 capacitors.
On the toolbar right here can you see a yellow button? It’s called the place part.
When you click on that, a component window will pop up, and there you can search for whichever components you want.
. One thing you should keep in mind while selecting a component is when you select a component, you should make sure that there is a proper footprint available. For that component footprint, details will be shown below the component details.
Placing Components from Library to the Schematic File
Now let’s place our first component led. Simply search for LEDs and below that you should see a list of all LEDs available. Here some of them are SMD components some of them are normal LEDs. Check the details and footprint and make sure you select the right one alright. Let’s add it to the circuit. To add the component simply right-click on the component and click on place. The cursor will change. You can click anywhere on the schematics. Let’s place it right here.
And here we go. Now let’s follow the same steps to add the remaining components. If you want to rotate the component simply press on the spacebar. It will rotate 90 degrees.
Component Out of Library? Search for Additional Manufacturers’ Component
And now let’s add an Atmega328 IC. There are so many different versions of Atmega328 ICs available and some are preloaded with Arduino Bootloaders. You can easily find the right one using Octopart!
Sometimes, the part you are looking for might not be in this library.
In that case, we can browse additional components by clicking on the manufacturer part list.
Alright! Now We have added all the basic components. Now, let’s connect them together and draw the circuit!
Connecting the Components in Altium Schematic File
Now we have all the components added to the canvas of the schematics file. Next, we need to connect them together and draw the circuit. There are mainly 2 ways we can do that.
Connecting Components wsing Wiretool
For that click on the wire tool and you can see the cursor has changed right simply click on any terminal of a component.
Let’s connect the LED to the resistor. Simply click on the terminal of the resistor and then click on the Anode of the LED.
Connecting Components using NetLabels
There is another way you can connect the components. It’s by using Net Labels
To connect components using netlabels right click on the button here and select netlabel. Now, click on the terminal and this will create a netlabel.
Let’s say I want to connect pin number 19 to the resistor. Let’s give this Netlabel a name – LEDPin
Now to connect this point to another terminal, say at one terminal of the resistor, simply create a Netlabel there, and select the netlabel as LEDPin. Both these terminals have LEDPin netlabels which means, they are physically connected.
Using netlabels will help us to arrange all the components properly and the circuit looks neat and tidy, especially in the case of large circuits. So let’s connect the remaining components.
Alright. The bare minimum circuit is now ready. Once you power up the atmega328, it will work. But that is not enough, is it? We will, be making it more stable, versatile, and more USEFUL. Let’s make it closer to the real Arduino Board.
Here I have added a few more components and some headers so that the Arduino looks more like the original Arduino and also, we can use all of the GPIO pins for our project.
So the circuit is complete and now let’s design the PCB.
Altium 365
There is another awesome feature I would like to show you. There is something called Altium 365 that comes free with Altium Subscription.
With Altium 365, you can design, share, manufacture, and do everything related to your project in the same space without any extra effort. You can also share your designs, and ideas and easily collaborate with your teammates or even clients with Secure Centralized Cloud Storage.
Altium Tutorial Step 3 – Designing the PCB
Adding the Components and Nets to the PCB File
Now, to design the PCB, first, you need to save the schematic file.
While in the schematics file goes to design and click on update PCB document and this window will appear. Make sure all the components and nets are selected now click on validate changes. And then click on execute changes.
Now you are in the PCB file and here you can see all the components and nets are added to the PCB file.
Designing the Board Shape
Here you can see a black portion and a gray portion, right? The black portion is actually the PCB. But we don’t need this much area for our simple circuit, right?
So let’s redesign our board. Go to drawing tools right here, right click on that, and select rectangle draw a small rectangle and make sure all the components and routes will fit inside that rectangle.
Now select this rectangle, go to design board shape, and click on define board shape from selected objects.
Now the board shape has changed. All you have to do is place all the components inside this board and arrange them the way you want.
Mind the Layers!
One thing you should keep in mind is every PCB has a top side and a bottom side right and some PCBs have some layer in between. While placing a component you have to make sure the component that you are placing is in the right layer.
Since this is a beginner’s tutorial I will be placing all the components on the top layer. To check on which layer the component is currently in simply click on the component and under properties you should see the layer see the switch is in the top layer, the resistor is in the top layer and LEDs are in the top layer.
Now if you want to change it from the top layer to the bottom layer simply click on the component and under properties select the bottom layer.
Routing the Components inside PCB
Our work is almost done guys now all you have to do is route all the components. To do that go to this routing tool, right-click on that, and select interactive routing.
Here you can see the cursor has changed. Now click on the first terminal of the resistor and if you move the mouse, you can see a route is being placed. Now click on the terminal on the LED and that’s it.
The first route has been added we can easily do the same for all the remaining nets.
Adjusting Board Shape/Size
Guys now our PCB is ready. if we zoom out and take a look at the PCB, we can see that there’s a lot of empty space around the components right? So we can edit the board shape. For that press on number key 1 to enter the board planning mode.
From the top menu, go to Design, Modify Board Shape. Now you can simply edit the board shape, by clicking and dragging the dots around the board.
Once done, you can go back to the previous view by pressing number key 2.
Adding Text
All right. Our PCB is now finished now if you want you can add text and images to our PCB.
To add text, click on the string, click on the position where you want to apply the string, and press escape. Now double click on the string and under the text you can change the text. Let’s change it to root set and hit enter.
We have placed the text to rotate it simply press on the spacebar all right so basically, this is how you draw a circuit and design a PCB layout for your DIY project using Altium.