TRANSCRIPTEnglish

Complete KiCad 9 Course – From Circuit to PCB Design

1h 12m 38s6,532 words1,039 segmentsEnglish

FULL TRANSCRIPT

0:00

Hi everyone. Welcome to this PCB design

0:03

course. Here you'll learn how to turn

0:05

your circuit ideas into real

0:07

professional PCBs used in everyday

0:10

electronics. We'll start from the

0:13

basics. What a PCB is. Explore

0:16

components

0:18

and use design software to build your

0:20

own boards. Let's begin your journey

0:23

into PCB design.

0:28

PCB stands for printed circuit board.

0:32

PCB is the heart of almost every

0:34

electronic devices that we use from your

0:37

phone to your robot.

0:40

It's what hold all the component in

0:43

place and connect them with the help of

0:45

the copper tracks replacing all our

0:48

messy wires.

0:51

There are four main parts of a PCB.

0:54

First one is the substrate which provide

0:56

the structure for the PCB.

0:59

Second is the copper layer which

1:01

conducts the electricity between the

1:03

components. Third is the solder marks

1:06

which is the green coating that

1:08

insulates and protects the copper.

1:11

Fourth is the silk screen which shows

1:13

the component layer and its polarity. So

1:17

why we use PCB?

1:20

Because its compact and organized

1:22

design,

1:23

easy for mass production, it reduces the

1:26

wiring,

1:28

better electrical performance. But when

1:30

you design a printed circuit board,

1:34

we have to use a specialized software

1:37

which is called as PCB design tool. For

1:40

beginners and hobbies, tools like KCAD

1:43

or easy are perfect. They are free and

1:46

they have a strong community and you can

1:49

also get schematic to port without

1:52

breaking the bank. If you're working in

1:54

industry or designing multi-layer

1:56

highspeed board professional tools like

1:58

Altium Designer or Cadence are usually

2:02

used because they provide advanced

2:04

routing, simulation, signal integrity

2:07

and collaboration features.

2:10

In this course, we will use KCAD because

2:13

it accessible, powerful enough for our

2:15

project.

2:24

Let's begin with downloading the KCAD

2:26

software. For that, open a browser and

2:29

in Google, search for kcad.org.

2:35

This will open the official KKAD

2:37

website.

2:43

Now in Kad we have a very good

2:45

documentation.

2:48

Here you will find everything you need

2:50

from user guide and tutorials to

2:53

developer resource and reference manual.

2:57

The getting started guide is perfect for

3:00

beginners.

3:02

So make sure to explore the

3:04

documentation section. Let's go back.

3:09

In order to download the Keycad, you can

3:11

click on this download button.

3:15

Once you click on this download button,

3:17

it will ask for the operating system.

3:20

Since I am using the Windows, I will

3:22

click on this Windows. If you're using a

3:25

different operating system, you can

3:26

select the operating system from here. I

3:31

will click on this Windows. After that

3:34

according to our region or download the

3:38

KCAD software

3:42

you need to click on this. If you go to

3:45

your download on the top right

3:49

you can see the KCAD 9.0.exe

3:53

file is getting downloaded. Once it is

3:56

downloaded you can click on this.exe

3:59

file. Now it will start the

4:01

installation.

4:05

A pop-up window for this setup will open

4:08

up. You need to click on this next.

4:14

Again, you need to click on this next.

4:17

It will say

4:20

you need a minimum of 5.7 GB of space

4:24

required for this installation. Click on

4:26

this next and select the destination

4:29

folder for the Kikad.

4:32

I will click on this install. Now it

4:34

will start the installation process.

4:42

Once it is installed, you need to click

4:44

on this finish and it will launch the

4:47

KCAD. Now this is the Keycad project

4:50

manager. So it has different option. So

4:54

the first one is the schematic editor.

4:57

Then we have symbol editor, PCB,

5:00

footprint, cerber viewer, image

5:02

converter, then calculator tools,

5:05

drawing sheet editor and plug-in and

5:08

content manager.

5:10

So this is the central hub

5:13

uh which has the schematic and PCB

5:16

layout, managing managing libraries and

5:18

project files on the left hand side. So

5:22

in order to create a new project uh from

5:26

the top toolbar you need to click on

5:28

this file and then click on new project.

5:33

Once it is downloaded you can click on

5:35

this.exe file.

5:38

Now it will start the installation.

5:46

A pop-up window for the setup will open

5:49

up. You need to click on this next next.

5:56

Again you need to click on this next. It

5:59

will say

6:01

you need a minimum of 5.7 GB of space

6:05

required for this installation. Click on

6:07

this next and select the destination

6:10

folder for the Kikad.

6:13

I will click on this install. Now it

6:16

will start the installation process.

6:22

Once it is installed, you need to click

6:24

on this finish and it will launch the

6:26

KCAD version.

6:29

Now this is the KCAD project manager. So

6:32

it has different option. So the first

6:35

one is the schematic editor. Then we

6:38

have symbol editor, PCB, footprint,

6:41

Kerber viewer, image converter. then

6:44

calculator tools, drawing sheet, editor

6:47

and plug-in and content manager.

6:51

So this is the central hub.

6:54

So in order to create a new project uh

6:57

from the top toolbar you need to click

6:59

on this file and then click on new

7:03

project. Navigate to the directory where

7:06

you want to save this project and give

7:09

the file name as breadboard PCB dotkey

7:15

pro will be the project file name

7:20

or the file extension. After that click

7:24

on this save button. So in the project

7:27

file we have this breadboard PCB KCAD_2

7:32

in which we have the KCAD PCB and the

7:34

KCAD schematic file. We will now click

7:38

on this first icon which is the

7:40

schematic editor and let's start

7:43

building a circuit.

7:45

We will design the schematic for the

7:48

breadboard power supply. So we have the

7:52

input as uh 9 volt which is the power

7:56

and

7:58

we will use some regulators like 5 volt

8:01

regulator and 3.3 volt regulator with

8:05

some component like capacitors and

8:07

resistor and finally we will uh place an

8:12

header pins which will be connected onto

8:14

the breadboard. So this will provide 5

8:18

volt and 3.3 volt on the

8:22

breadboard.

8:25

So let's get back to the schematic

8:27

editor. So this is the schematic page.

8:31

You can zoom in and zoom out with the

8:33

help of scroll from your mouse.

8:37

Alternatively, you can use the plus icon

8:41

and the minus icon to zoom in and zoom

8:43

out.

8:48

Let us now explore this uh sheet and we

8:52

will first go to this page setting from

8:54

the file and then click on page

8:57

settings.

8:59

You can select the sheet size

9:04

which is A4 A3 A2 according to our

9:08

circuit. So if the circuit is big so you

9:11

can select the page accordingly. You can

9:14

even change the orientation to

9:17

landscape.

9:20

Assign this state from here.

9:27

I will write one as the revision and

9:30

title will be breadboard power supply.

9:39

You can even add your company name and

9:42

you can add some extra comments.

9:50

Once you have added the details, you can

9:53

click on this okay button.

9:56

Let us start by adding our component.

9:59

In the right side you can see a symbol

10:03

like open which says place symbol. You

10:06

have to click on that.

10:09

This will load this symbol and the

10:11

footprint libraries.

10:14

Choose symbol dialog box will appear and

10:17

in that you can search for the required

10:19

component.

10:21

The first component I require is the DC

10:24

barrel jack. So I will search for barrel

10:28

jack.

10:30

I will select this. And the second thing

10:33

I would like to is discuss with you is

10:36

the uh assigning the footprint. From

10:39

this

10:42

come to this drop-down which says no

10:44

default footprint. If you click on it,

10:47

you can select the footprint whichever

10:50

you require. I will select this uh

10:52

barrel jack horizontal.

10:55

I will click on that and then I will

10:58

click on

11:00

okay. So this will assign the footprint

11:04

to this symbol.

11:06

I will click on okay.

11:10

So now this symbol parall jack will be

11:14

tied to your cursor and you can place

11:16

this symbol anywhere on the screen

11:20

on the sheet

11:22

by left clicking from your mouse and

11:25

then press escape.

11:32

The second component uh which we require

11:34

is the fuse.

11:37

Go to the place component icon and

11:40

search for fuse.

11:43

Click on the fuse and I will use the SMD

11:46

fuse.

11:49

But before that let me explain the two

11:51

types of component. One is the through

11:55

hole component and the other is the

11:57

surface mount component. Through hole

12:00

component also called THT have long

12:03

leads that passes through the holes in

12:05

the PCB. They are perfect for beginners

12:09

because they are easy to solder and

12:11

ideal for project that needs mechanical

12:14

strength such as Arduino board or power

12:17

circuit.

12:19

Surface mount device which we call SMD

12:22

are much smaller and are soldered

12:25

directly onto this surface.

12:28

These component are placed on one side

12:30

of the board and are commonly used in

12:33

compact electronics like smartphone,

12:35

variables and IoT device. They make

12:38

automated manufacturing faster and allow

12:41

more component to be placed on a smaller

12:44

board.

12:48

So let's come back to the schematic and

12:50

I will select this 0805

12:53

size views.

12:56

You can also see 042,

12:59

0603 and other size. So 042, it's much

13:04

smaller than 0603.

13:12

This is the footprint for the fuse of

13:14

0805 size. After that,

13:18

click on this.

13:25

Now we will click on okay. Once you have

13:29

confirmed with the footprint

13:32

zoom in and to rotate this fuse you need

13:37

to click on R key from the keyboard.

13:48

I will place this fuse next to the

13:50

barrel jack.

13:54

The input to this barrel jack is 9 volt

13:58

and it will come on the PCB. But when it

14:01

will be powered, I want an LED to glow.

14:06

So let's place an LED with a current

14:08

limiting resistor.

14:12

Click on place component and search for

14:15

a in resistor and select the footprint

14:19

of 0805 size.

14:23

and then click okay.

14:28

After this

14:31

place it to the parallel to the fuse and

14:33

after that add an LED of size 0805.

14:45

Place this LED in series to this

14:47

resistor.

14:51

We have added the barrel jack, fuse,

14:56

resistor and LED.

15:02

All of these component have a designator

15:05

and a value. For the resistor R1,

15:10

we have to change the value. For that,

15:13

click on the resistor,

15:15

right click on it

15:18

and go to properties.

15:24

change this R to 1 kiloohm

15:30

and then click on okay.

15:34

Now in the schematic we have R1 as 1

15:36

kiloohm.

15:38

Similarly we have to change the value to

15:40

the LED. if you want.

15:50

After that, uh I will add two

15:52

capacitors.

15:54

One is the polarized capacitor. For

15:56

that, go to the place component

16:00

and just search for C.

16:06

Then select the footprint of 5 + 5.8 8

16:10

mm size

16:13

and then click on okay.

16:18

After that I will add one more capacitor

16:22

in parallel to this capacitor.

16:31

I will add the package as 0805 size.

16:41

I would like to move this text. Uh I

16:44

will left click and then click M key.

16:50

After that uh I will change the value of

16:53

this capacitor.

16:57

Again go to properties and I will change

17:00

this to 100 microfarad.

17:05

Similarly to the other capacitor

17:09

this is.1 microfarad capacitor.

17:17

After that I will add AMS17

17:20

5 volt.

17:28

So this is the package SOT 223.

17:36

Click on okay.

17:38

So on the left side also you can see the

17:40

we have the details for this IC and

17:44

along with the data sheet. So if you

17:46

want you can refer from this.

17:49

I will click on okay.

17:54

I will place it in this place.

18:01

Now after this

18:06

um I will use this draw line or draw

18:09

wire tool from the right hand toolbar

18:12

and start connecting the symbols. Left

18:15

click on this circle

18:18

which you see on pin one

18:22

and again left click on the circle for

18:26

the fuse to complete the connection.

18:31

Similarly do it for all other symbols.

19:14

Add a ground symbol from the place

19:16

component.

19:21

For that just search for ground and you

19:25

can select this ground. Click on it and

19:28

click okay.

19:31

I will place this ground in this

19:33

circuit.

19:36

After that we want a two capacitor of

19:39

same value. So in that case I will copy

19:43

this by selecting

19:46

and then Ctrl C and Ctrl + V to paste

19:49

it. Similarly for the other capacitor

20:00

also I will add the AMS17 3.3 volt IC

20:22

And again I will copy this two capacitor

20:25

at the output of the IC.

20:51

After that, uh I will connect all of the

20:54

connections.

21:11

We will add an LED at 5 volt and 3.3

21:15

volt. For that we can copy this resistor

21:19

and the LED

21:22

and I will paste it here.

21:29

We'll change the value of this resistor

21:31

to 560 ohms

21:39

and on 3.3 volt I will have 330 ohms as

21:44

the resistor value.

21:52

Let us complete the rest of the

21:54

connection.

22:06

Now uh I will add the net label. So from

22:09

the right side you can click on this

22:11

place net label

22:15

and you can label it. You can even

22:18

change the font and size of the net.

22:23

give the label uh uh name as 5 volt

22:27

and then click okay.

22:30

And I will place this 5V net on this uh

22:34

output of this regulator.

22:41

Similarly, I will add the 3.3 volt net.

22:54

Now we will add the three pin header

22:56

which help in selecting the 5 volt and

22:59

3.3 volt with the help of jumper.

23:03

So for that go to place component

23:08

and search for co n 1 + 3 because it is

23:13

uh one row 3 column and you can even

23:17

select the footprint. In that case uh I

23:21

will select the uh header pin 2.54 mm

23:25

and it should be vertical.

23:31

The pitch size is the 2.54 mm. So this

23:35

is the connector. So at pin one we will

23:40

have 5 volt. Pin two we will have V out.

23:44

So

23:47

when we want 5 volt we will connect one

23:49

and two jumper on one and two. If you

23:52

want 3.3 volt we will connect it to two

23:55

and three because three will have 3.3

23:58

volt connections.

24:02

So I'll place it here and then I will

24:04

connect it to 5 volt.

24:18

After that I will place a net label for

24:20

V out

24:24

which is on pin 2 and pin one is 3.3

24:27

volt. So in that case I just copy and

24:30

paste this 3.3 volt net on pin one.

24:36

After completing this I will uh require

24:39

a connector of two 2 +2 uh connection so

24:43

that we can connect this to our

24:45

breadboard.

24:47

So for that go to uh place component and

24:50

again search for the connector.

24:53

So in connector come to this generic

24:56

connector and you will find 2 +2 or in

25:00

one connector

25:02

and you can select the footprint

25:05

accordingly

25:07

which is the pin header 2.54 mm is the

25:10

pitch.

25:17

Similarly, we will need one more uh

25:19

connector.

25:24

I will place this connector at the

25:26

bottom to arrange my schematic.

25:33

Connect the pin one to pin two. So, this

25:37

will be connected to each other

25:40

for both of the connector. And we will

25:44

connect it to ground which is the minus

26:05

for pin three and four connect it to

26:08

each other.

26:28

And then we will connect the V out to

26:31

this pin three and four.

26:42

Come to this top toolbar and click on

26:44

place

26:46

and then

26:48

come to this draw rectangles.

26:51

Start from here

26:54

and select this part.

26:58

Click on escape

27:03

again.

27:04

Do the same thing. Place

27:08

draw rectangle.

27:14

I would like to place this in this way.

27:17

Okay. Now we are trying to arrange the

27:21

schematic.

27:22

This is a circuit which consists of 5

27:25

vol and 3.3 volt.

27:28

From the right toolbar, I will select

27:30

the text

27:32

power circuit

27:35

5 volt and 3.3 volt and click on enter.

27:42

So this will

27:45

help us arrange the schematic in a

27:47

proper way.

27:50

Header for connection

27:54

to board.

27:57

Okay.

27:59

So I place this and this. So let's say

28:03

we have two of the component of same

28:06

value. Let's say 100 microfarad and 100

28:09

microfarad. But this should have a

28:13

different designation. So annotation

28:16

help us do that in an easy way. So if

28:20

you click on this annotate

28:23

whichever is not whichever component is

28:26

not assigned this will automatically

28:28

assign a designator to it. So you just

28:31

need to click on this annotate and it

28:34

will say annotation complete. If there

28:37

is any error it will show in this error.

28:40

Now you can close this.

28:44

After that the second thing is the

28:46

electrical rule check from the top

28:48

toolbar.

28:50

Click on it and it will show the errors

28:55

in this window. But for that you need to

28:58

click on this run ERC. ERC stand for

29:01

electrical rule check. Now you can see

29:05

there are two violation

29:07

and four of the ignored test.

29:11

So ignore test are fine but in the case

29:15

of violation

29:16

you have to be extra careful. So it say

29:20

error

29:22

input power pin not driven by any output

29:25

power pins.

29:27

So if you click on it it will show an

29:30

arrow in this schematic on the red

29:32

color.

29:34

So it is showing an arrow on the ground

29:37

and second on this input pin of AMS17

29:41

5 volt. So it says that this pin is not

29:45

driven by any power source even the

29:47

ground. So what we have to do is you

29:50

have to close this. Come to this

29:52

component symbol

29:54

and you need to place PWR flag on this.

30:15

So now we have placed this our flag

30:18

again. You can click on this ERC. Click

30:21

on run ERC. Now it is not having any

30:25

errors.

30:26

Click on this close.

30:30

Come to this zoom to object from the

30:33

tall tool and it will zoom to the

30:36

particular

30:38

circuit. After that

30:42

assign footprint button

30:45

to assign the uh symbol footprints.

30:50

So this will assign uh all of the to

30:53

that symbols which have which we have

30:55

used in the schematic.

30:58

So I think we did this earlier but if

31:01

any of the footprint is not assigned you

31:04

can assign it from this

31:07

button. So if you can see this character

31:11

J4 it not assigned any pin headers

31:16

this one. So what you can do is you can

31:19

come to this footprint assignment and

31:22

come to the connectors and in the bottom

31:25

left come to this pin header. Come to 2

31:28

+2 pin header.

31:32

So 163 connector pin header 2.54 pin

31:37

headers 2 cross2 2.54 mm vertical. So

31:41

this is what we need. So now what you

31:44

have to do is you have to double click

31:45

on this particular footprint.

31:49

You can also view this footprint by

31:51

coming to this view selected footprint

31:54

from the top toolbar

31:56

and also you can see the 3D view from

31:58

this button.

32:02

You can use your mouse to move it here

32:04

and there and see these headers which we

32:07

are using in 3D.

32:10

I will close this. Close this footprint.

32:14

Since I'm assigned this all of the

32:16

component have been assigned a

32:18

footprint. After that I will click on

32:20

this apply save schematic and continue

32:23

which is very important.

32:26

And then I will click on okay.

32:31

Now you have successfully completed your

32:33

schematic design.

32:39

Once you have completed with the design,

32:42

click on file. Click on save.

32:45

Click on this switch to PCB editor from

32:48

the top toolbar. In this also you will

32:51

get the sheet and on the bottom we will

32:54

have the details for the sheet.

32:56

Now uh the first thing and this we have

32:59

to do is click on this update PCB from

33:03

schematic button from the top toolbar.

33:06

So what will happen here is once you

33:09

click on this update PCB button all of

33:12

your changes in the schematic will

33:14

reflect in this PCB editor. So let's do

33:17

that. Click on this update PCB and it

33:21

should not show any errors or warnings.

33:25

Now you can close this and you can see

33:28

this list of footprint is tied to your

33:32

cursor.

33:34

You can click anywhere in this sheet

33:38

and then click on escape.

33:41

You can zoom in and you can see all of

33:43

your footprint is in this bunch. So you

33:48

have your uh components. Now let's start

33:53

with the design.

33:55

Okay, let me walk you through the

33:56

interface. So you have different

33:58

shortcuts on the top toolbar and we can

34:02

see it one by one and the first thing I

34:05

want to show is this track. This is the

34:08

predefined track width but you can edit

34:11

it from this edit predefined sizes.

34:15

So in this you can add your track width.

34:18

Let's say if I want to add 0.5 mm width

34:24

and if I want to add a via of size

34:27

0.5

34:29

and whole size is like.3.

34:33

So you can add this and click on okay.

34:37

So if you do this and then again come to

34:39

this window and you can see this 0.5 mm

34:43

track width is

34:46

visible in this window.

34:48

Next is the VR.

34:52

Since I have selected or added a new VR,

34:55

you can also do it with this edit

34:57

predefined sizes.

34:59

You can select the different copper

35:01

layer which you are working from there.

35:04

Then important thing is this grid size.

35:07

So grid size is this grid which you see

35:10

in this spreadsheet. You can change this

35:14

grid size like 5 mm. then it will place

35:18

the grid at 5 mm distance. So I'll

35:22

recommend to use 5 mm or 1 mm grid size.

35:26

After that we have reference shortcut on

35:28

the right side and the appearance tab on

35:31

the right side which lists the different

35:34

layers that we are going to work on.

35:37

Then we have the objects. Then we have

35:39

the nets. the different nets that we

35:42

have in our project which is 3.3 volt, 5

35:46

volt, V out, ground and other nets.

35:49

Let's come to this layer. So if you see

35:53

we have this arrow on this red color

35:56

which is F.CU

35:58

and you can see one I. So if you click

36:00

on this I the red color layer will

36:04

disappear. If you click on this again

36:07

you can see this red. So this is

36:09

actually the red color is actually the

36:11

front copper. F stand for front, B stand

36:15

for bottom.

36:19

So this will help us when we are working

36:22

with different layers.

36:24

Let's say we are working with F dot sill

36:27

screen with it front sill screen. B is

36:29

for bottom sill screen.

36:36

Now

36:38

first thing that we going to do is the

36:41

working with the edge dot cut layer to

36:44

define our board size. So for that come

36:48

to this edge dot cut from the

36:52

appearance tab and zoom out.

36:57

After that, click on this

37:01

draw line from the right toolbar which

37:05

is the shortcut.

37:08

Now let's start with defining our board.

37:11

Left click in the PCB editor and it will

37:15

show you the length of the line in millm

37:18

and the angle of the line which you are

37:20

trying to draw.

37:24

After that we have to draw a horizontal

37:27

line of 30 mm.

37:30

Once it is 30 mm and the theta angle is

37:34

zero,

37:36

left click from the mouse and change the

37:39

direction.

37:41

After that I want a vertical line of uh

37:45

7 mm

37:49

and horizontal line of 7 mm.

37:54

Then the vertical line will be of 38 mm.

38:02

So draw the edge of the board as per

38:04

this dimension.

38:08

The end. Click on the starting point of

38:10

the line. This completes our board

38:12

dimension outline which we require.

38:17

Once our board outline is ready, change

38:20

the layer to F. CU which is the front

38:23

copper layer from the right hand side of

38:25

the window.

38:30

Let's start with placing the component

38:32

or the footprint.

38:35

I will drag this PCB editor on the left

38:38

side. and the schematic editor on the

38:40

right side.

38:46

Now come to the input part of the

38:48

schematic.

38:50

Click on this DC barrel jack

38:53

and as soon as you click on it, you can

38:55

see the footprint of the barrel jack is

38:58

highlighted in the PCB editor.

39:02

Come to the PCB editor and click on this

39:04

barrel jack.

39:07

Now to move it, click on M key from the

39:10

keyboard.

39:13

Now we have to place the connector onto

39:15

our board.

39:17

So place it at the edge of the board.

39:20

Have to place the component as per the

39:22

circuit.

39:26

Let's come back to the schematic. Second

39:29

component is the fuse.

39:32

Click on it and move it onto a board.

39:38

Now I will place this fuse next to the

39:41

barrel jack.

39:43

You will notice a white uh thin line

39:48

between these two pads. This indicate

39:51

there is a connection between these two

39:53

pads. When we route the track, it should

39:55

have a minimum distance between the two

39:57

pads which are connected.

40:02

After that next component is the

40:04

resistor and the LED.

40:12

We can rotate the component

40:15

because you can see this white line is

40:17

connected between these two pads.

40:24

Place the LED in the same way.

40:32

ly rotate the component with the R key

40:34

from the keyboard.

40:43

Place this capacitor

40:46

in the similar way. So I will try to

40:48

place it somewhere near to the

40:52

connections.

40:55

Similarly do it for all of the

40:56

component.

40:58

I will place this capacitor.

41:04

Make sure you do not overlap your

41:05

component.

41:08

There should be a distance between the

41:10

two component.

41:17

Let's place this AMS175 volt. After that

41:21

the capacitors

45:16

I will place this uh J2 connector

45:18

somewhere in between these two IC.

45:21

You can move this

45:24

if you want.

45:29

So this headers will be used by the user

45:33

in order to select the voltages 5 volt

45:36

or 3.3 volt.

45:47

Uh I will place these two connectors

45:49

which will go onto the breadboard. So

45:53

you can see this component are on the

45:55

top side. So the red color shows the

45:58

front dot copper.

46:00

Now

46:04

to place these two headers on the bottom

46:06

side of the PCB.

46:08

So I will show you how to do that. But

46:11

before that click on this view and 3D

46:14

viewer. So if you see all of this

46:16

component are on the uh front copper or

46:21

on the top side of the PCB

46:24

even the through hole component are on

46:26

the top side.

46:29

Now we want this two headers to be

46:31

placed one on top and one on bottom but

46:34

on the

46:37

bottom layer. So in order to do that we

46:41

can close this and come to this header

46:43

pins

46:47

and click on one of the headers and

46:52

click F key from your keyboard.

46:57

So this will move the component on the

46:59

bottom side. Similarly to the other

47:02

connector,

47:06

you can verify it by going to view and

47:09

3D view.

47:11

Now you can see this headers are facing

47:14

downward.

47:16

So this is how you can switch the layer

47:19

from front to bottom.

47:26

Now let's move this header to this

47:29

position.

47:32

the second header on

47:35

this position.

47:41

Now uh I have measured the distance

47:43

between the two pins.

47:48

Distance between the two pins should be

47:50

47.5

47:51

mm. So in order to measure that I will

47:54

maximum this. And from the right hand

47:58

toolbar you can click on this draw

48:01

orthogonal dimension at the bottom. You

48:04

need to click on that

48:07

on the first header uh center of the

48:09

first header and the center of this

48:11

bottom header.

48:16

So this shows me 47.5 mm which is

48:19

exactly what I wanted.

48:25

So I have calculated this distance from

48:27

the breadboard. So I will delete this

48:32

and let's switch to this 3D viewer. And

48:35

this is how the uh placement of the

48:39

headers will look like.

48:46

uh I will try to rearrange some of my

48:48

component on this um board because I see

48:52

some space and some of the component are

48:55

in congested place. Let's move it one by

50:14

Okay. So now let's move to uh routing of

50:18

this uh board. So for that

50:33

we will start from the uh circuit or the

50:36

schematic.

50:38

We'll start with the input. So this was

50:41

our first pad.

50:50

Click on this route track from the U

50:54

right toolbar. This will let's start

50:58

with our first connection which is the

51:00

barrel jack connection. I will I will

51:03

click on this first pad.

51:06

Pad number one. Left click on it. And

51:10

you can see it highlight the other pad

51:12

where we need to connect it. Make sure

51:15

do not have a 90° angle.

51:18

Just connect it directly to the second

51:21

pad.

51:25

Left click on the other pad to complete

51:27

the connection. Connected the barrel

51:30

jack with the fuse. The second terminal

51:32

of fuse connect to the resistor. So

51:35

let's do that. Click on the

51:39

second pad of the fuse

51:43

and then click on this resistor R1.

51:50

Click the other end of the resistor to

51:52

the LED.

51:59

Do not worry about this ground

52:01

connection. We will do it later.

52:07

Now the other end of resistor goes to

52:09

the capacitor.

52:11

So let's do that.

52:19

Similarly do it for all other pads.

52:24

I will connect this to the

52:27

pin three of the regulator.

52:32

Make sure you have a 45° angle when you

52:35

are moving the trace.

52:38

We'll connect this

52:41

to 5 volt.

55:47

do the connection for these headers. So,

55:52

so V out should be connected in this way

55:56

but we have to connect it in

55:59

in this terminal on this pad but it's

56:03

quite long trace. So what you can also

56:07

do is since this header are on the

56:09

bottom side also so I will switch the

56:12

layer to B.CU

56:14

and as soon as you switch it you can see

56:16

this headers are shown in blue color. So

56:22

now you can click on this trace

56:25

or the track with and make the

56:28

connection on the bottom.

56:31

Now click on that

56:35

and click on this pad which is the

56:38

through hole and you can change the

56:40

direction by left clicking and left

56:43

click on the pad where you need to

56:44

connect it. Similarly connect it on the

56:47

bottom side.

57:02

So you're done with the connection. On

57:05

the bottom you can see it lists the pads

57:08

number of pads via track segment that

57:11

you have used the nets and the unouted

57:14

connection. So now it's showing me 16

57:17

unouted connection. So I'm assuming it's

57:19

the ground connection.

57:21

So let's move further.

57:25

maximize this window and u let's work on

57:29

the copper pore. So we will do a ground

57:32

copper pore.

57:37

In order to do a copper pore, click on

57:39

this draw field zone from the right hand

57:42

toolbar and left click on the edge of

57:45

the board.

57:47

So as soon as you left click a pop-up

57:49

will open up which shows zone

57:51

properties.

57:53

Here you need to select the net. So in

57:56

my case it is the ground. You can also

57:59

select the front or the bottom copper

58:01

wherever you want the copper pole.

58:04

So now I will click on okay.

58:08

Now you can move your mouse and you can

58:10

see this white uh thin trace will be

58:13

tied to your cursor. You just left click

58:16

on the edge of your board. Do not go out

58:19

of your board

58:22

and do it for the complete board

58:25

outline.

58:38

This p copper pore at the starting point

58:42

and zoom out. You can see this um thin

58:47

trace at the edge but you cannot see the

58:50

copper pore. For that pour to edit and

58:53

click on fill all zones.

58:57

See you can see a red uh copper pore on

59:02

the board. So this has a connection with

59:05

the ground. So this is a ground copper

59:08

pore.

59:09

Once you have done with the copper port,

59:13

you can come at the bottom and you can

59:15

see it shows one unouted connection. So

59:20

it's possibly the connection between

59:22

this ground with the ground pad.

59:27

So we do not have a connection because

59:29

of some issues.

59:33

Now how to resolve this?

59:35

The first is we can use a

59:39

via a ground via which will connect the

59:43

top copper with the bottom copper.

59:47

So for placing the via from the right

59:50

side click on this place via and click

59:54

on this copper pore. Do not place on the

59:56

pad. Click on this pore and do not even

60:01

place on the track.

60:06

I would like to place two vas in this

60:09

way. But you can see this VR is only

60:12

connected with this red which is the top

60:15

copper or the front copper.

60:22

View this in 3D view. So this is a

60:25

copper pore which is in green and this

60:29

is our VR. So this VI is not connected

60:32

anywhere on the circuit.

60:40

Let's put a copper pore on the bottom

60:43

side also so that we get a connection

60:45

with the front and the bottom copper.

60:49

To place the copper pore,

60:53

do the same thing. Click on this and

60:56

then click on the bottom. CU and then

60:59

click okay. So this will create a copper

61:04

pore on bottom layer as well.

61:08

So now you can see we have a blue color

61:10

which is the bottom layer. So this is

61:12

the copper pore.

61:24

You have done with this you can see zero

61:27

unouted tracks. Now let's work on this

61:30

screen layer.

61:32

Come to this J1 and click on it. So you

61:35

can see this is on the S screen. So the

61:38

yellow part or the text which you see it

61:40

comes on the sil screen.

61:43

So what we can do is we can edit it from

61:46

the u you can come to the schematic and

61:50

you can change the J1 to a different

61:52

text and then it will reflect it on the

61:56

PCB editor that in the schematic you can

62:00

click on edit and you can edit this

62:03

reference. I have written it as PC

62:06

power. So in order to reflect it on our

62:08

PCB. So what you can do is you can first

62:12

save this in the schematic

62:14

and come to this PCB editor.

62:19

I and then click on this update PCB

62:21

button.

62:23

Click on annotate.

62:26

It should show annotation complete

62:28

without error. And then click on update

62:30

PCB.

62:32

This will update the uh schematic.

62:36

update the PCB with the schematic. So

62:38

you can see we have the DC power written

62:42

it on the uh

62:45

you can see the J1 is replaced with DC

62:47

power.

62:50

Similarly you can do it for all of the

62:52

component but make sure you do it all at

62:57

once in the schematic and then click on

62:59

update PCB.

63:02

We'll change this LED to PWR LED which

63:06

represent the power LED.

63:23

Similarly to this LED, I can change it

63:25

to 5 volt LED because this LED will glow

63:30

up when we have 5 volt power.

63:34

And for this LED I will write 3.3 volt

63:53

again. Click on this update PCB and do

63:56

the same steps.

64:06

After that you can arrange this u text

64:09

by moving it to on 32 board. Do not make

64:13

the uh sil screen out of the board. So I

64:16

will arrange them one by That's

65:51

Now uh we can even add extra text onto

65:55

the onto a board. So to do that we can

65:58

come to this u view and then click on

66:04

footprint library browser. This will

66:07

open the footprint library and in that

66:10

search for in the filter search for the

66:13

symbol.

66:15

I need the symbol library. So in symbol

66:18

library you can get different symbols.

66:21

Uh let's say UKCA or CE then EST logo. I

66:27

I'm specifically interested in this

66:29

keycad uh logo.

66:32

So it says keycad designed with keypad.

66:36

So I will click this

66:38

and uh I will place it somewhere on this

66:42

uh part.

66:44

Likewise you can add uh other symbols

66:47

onto your PCB.

66:52

If you come to this 3D view, you can see

66:54

this symbol is on a sales screen layer.

67:00

Okay. So uh I need one more symbol. Um,

67:04

let's say if I get this open-source

67:06

hardware symbol.

67:11

Oh, this is quite big. Uh, I can change

67:14

the size of this logo or the symbol

67:23

and I will select a smaller uh symbol

67:27

and I will place it somewhere here

67:32

in order to uh if I want this to be

67:35

moved onto the different layer or the

67:38

bottom CU. I will just press F key from

67:41

my keyboard. So it will switch to the

67:44

bottom layer.

67:46

Now I will add text from this right

67:49

toolbar and I will

67:52

select bottom.creen

67:55

and I will write some uh text like

67:58

breadboard power supply

68:01

version one.

68:04

You can even change the type uh size of

68:06

this text and the font. I will click on

68:12

okay.

68:23

Then I will place it somewhere on the

68:26

somewhere on my board. But I want this

68:28

on the bottom side.

68:32

Right now it is on the top.

68:39

Okay, I did some mistake. Um

68:43

the text is in uh text is showing in

68:46

mirror image. So um what I can do is I

68:49

can change this.

68:57

I can change this by just going to the

69:00

text and I will click on it and just

69:03

press the F key.

69:15

So now if you go to this 3D view and you

69:18

can see that yeah now it's correct. So I

69:21

get this breadboard power supply as the

69:23

text and the opensource hardware symbol.

69:27

Okay, you can place it anywhere on your

69:30

board.

69:33

Uh I would like to move it somewhere

69:35

here

69:38

now. Uh now it's quite better.

69:44

This was working with the seal screen.

69:49

After this we have to do the design rule

69:51

check which is the DRC.

69:55

You remember we do we did the electrical

69:57

rule check ERC in this schematic.

70:00

Similarly, we have the design rule check

70:02

in the PCB editor. To do that, click on

70:06

this inspect and then click on design

70:10

rule checker.

70:12

Now in this, the dialog box will appear.

70:17

You just need to click on this run DRC.

70:22

So it will do some test and it should

70:26

not show any error or warning. So in my

70:29

case it is showing zero errors and there

70:32

are some ignore test. So that is fine

70:38

and then you need to click on close.

70:44

So now you have successfully uh designed

70:47

your own PCB board in KCAD.

70:51

Now the next step will be to generate

70:53

the gerbo file and send it to the PCB

70:57

manufacturer for printing.

71:00

In order to generate the gerbo file, go

71:02

to file and click on the fabrication

71:06

output and click on gerbo file.

71:13

This will open a window which will u

71:20

list the included layer and you just

71:22

need click on this plot. It will

71:25

generate the gbo file on the u on the

71:29

directory.

71:31

So now you can uh generate the drill

71:35

file. So for that click on this generate

71:38

drill files.

71:41

Click on generate.

71:43

So now you have also have the DRL file

71:46

which is the drill file. You can close

71:49

this.

71:53

After that you have to come to the

71:55

directory where these files are getting

71:58

downloaded

72:00

where these files are generated. So in

72:03

order to send it to the PCB manufacturer

72:05

you have to send it in this zip format.

72:09

So you can do it easily by selecting all

72:11

of them and just uh moving it to the zip

72:16

file.

72:18

So you can give some name to this

72:21

project and just uh create the zip file

72:24

and you can easily send it to the PCB

72:28

manufacturer for printing. So I hope you

72:31

have enjoyed this video. So thank you.

UNLOCK MORE

Sign up free to access premium features

INTERACTIVE VIEWER

Watch the video with synced subtitles, adjustable overlay, and full playback control.

SIGN UP FREE TO UNLOCK

AI SUMMARY

Get an instant AI-generated summary of the video content, key points, and takeaways.

SIGN UP FREE TO UNLOCK

TRANSLATE

Translate the transcript to 100+ languages with one click. Download in any format.

SIGN UP FREE TO UNLOCK

MIND MAP

Visualize the transcript as an interactive mind map. Understand structure at a glance.

SIGN UP FREE TO UNLOCK

CHAT WITH TRANSCRIPT

Ask questions about the video content. Get answers powered by AI directly from the transcript.

SIGN UP FREE TO UNLOCK

GET MORE FROM YOUR TRANSCRIPTS

Sign up for free and unlock interactive viewer, AI summaries, translations, mind maps, and more. No credit card required.