- [Instructor] Okay, so just a couple quick routes there.
One other very important aspect of routing is
adding vias, so it's just played it through holes,
for example, or via that we can jump through
to jump into different layers within our routing.
So for example, this is a simple case,
just a two-sided port.
Let's say we've run out of space within our board here,
I can also always jump across multiple layers
to get where I need to go.
So just as an example, this isn't a very realistic example,
but just to show how it may work,
let's say I wanted to route up my C1 component here
to this pad of S2.
So most likely I could just work my way around
or reorient these components to better organize
my routing here, but notice the rats nest crosses
an existing route here.
So if I wanted to route this I can try something like this,
and I'm gonna wanna route it across here, okay.
But notice it doesn't exactly cross it, it would jump
across something like this or down below
or something like this.
'Cause I can't, of course, do electrical connections
across my traces here.
But what I could do since I have multiple layers,
again, this is just two-layer board,
but if you add five, six, seven layers,
you could use a whole number of layers
to jump across using vias.
What I would essentially do here, I could just
jump down onto my bottom layer, and kind of cross,
kind of like going under the bridge here.
So going underneath this trace here on my bottom layer
and then pop back out onto my top layer.
So I can do that using vias, and the command to add
a via here is just the + or the - keys,
and those will cycle through multiple layers,
however many layers you may have.
So in this case just a two layer,
so I'm gonna hit the plus key here.
And notice that's going to add a via,
and I can place the via wherever I'd like,
somewhere maybe here.
And now notice essentially I've just jumped over
from my top layer to my bottom layer.
So now I can cross under that bridge, let's say.
Gonna put it somewhere here.
Okay, something like that.
So you can see that I'm on my bottom layer,
that's why I'm seeing the different color
of the route, or the trace, come in there.
And then I might not be able to go directly
onto this pad because this pad is actually on the top layer,
so I need to jump back up onto my top layer.
So again, hit the plus again, and that's just gonna add
another via, which is going to jump me back up
onto my top layer.
Now if we take a look, where would I like to place it,
maybe somewhere here.
And now notice I am back on the top layer,
as now the color of my route has gone back
from the teal to the blue type of color there.
And so I should be able to connect here.
And something like this.
So if we take a closer look here,
essentially what I've done right here
I've just added a couple of vias because I couldn't cross
this trace, so I had to jump over onto my bottom layer,
jump over onto my bottom layer here, right.
More as that's gonna be that more teal color,
and routed underneath my top layer,
and then added another via here to jump back
onto my top layer and routed up to this specific pad.
So vias will be very important,
especially in more complex designs.
This is fairly simple design, I probably didn't need
to use vias at all for this, but you can see
if you have hundreds or thousands of components
on a fairly small board you're gonna have a number
of layers, you're gonna have some very complex routing
required, and you're probably gonna have to jump across
a number of layers just to get everything nice
and routed up on a small, complex board there.
One other very important aspect of routing,
I might be useful for you, it's gonna be
up to your own preferences, but we have auto-routing
capabilities for us.
I know a lot of people don't like the auto-routing
'cause it's still not there in terms of creating
the most optimal routes, but you do have the ability,
that saves you a ton of time.
Again, might not be optimal, I know most people still
like creating their own routes manually,
but we do have that ability there for us.
So we can just go to the tools tab here.
And we have Autoroute here, and essentially it's
nice and easy, very, very quick,
just click of a button essentially, and it's gonna do all
of your routing automatically for you.
Again, from my experience and what I've seen a lot
is not everybody loves the autorouting, they prefer
to do their own routing, they prefer to be in full control
of everything and optimize it as much as possible.
But it's just a lot faster option here.
We can do Autoroute, and we can say for a specific net
or a specific signals, whatever it might be,
or just say all.
And I can say route all.
And it's gonna run through, depending on the complexity
of your board of course, this is fairly simple on here,
it will take a couple seconds, couple minutes,
depending on the complexity.
And you can see here just all of the routes coming in
automatically for me, just with a click of a button.
My messages here telling me I've run through,
looks like it's made 69 of 69 connections
have been routed, 100% completed,
no issues, no warnings there.
You can close that there, and you can see it's just done
all of my routing, nice kind of automatically for me
saving me a ton of time.
Again, as you can see, maybe not the prettiest routing,
maybe not what you would do more manually.
So again, this is just personal preference.
If you prefer to do your autorouting
or your more manual routing.