Difference between revisions of "ESim/C2/Mapping-Components-with-Footprints/English"

From Script | Spoken-Tutorial
Jump to: navigation, search
Line 2: Line 2:
  
  
{| border=1
+
{| border="1"
 +
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|| '''Visual cue'''
 
|| '''Visual cue'''
 
|| '''Narration'''
 
|| '''Narration'''
Line 9: Line 10:
  
 
Opening Slide
 
Opening Slide
|| Welcome to the spoken tutorial on “'''Mapping components''' with''' footprints'''”.
+
|| Welcome to the '''spoken tutorial '''on “'''Mapping components''' with''' footprints'''”.
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|| '''Show Slide:'''
 
|| '''Show Slide:'''
  
 
Learning Objectives
 
Learning Objectives
|| In this tutorial, we will learn to :
+
|| In this tutorial, we will learn''' '''to :* <div style="margin-left:1.27cm;margin-right:0cm;">Add '''connectors '''to a''' schematic.'''</div>
* Add '''connectors '''to a''' schematic.'''
+
* <div style="margin-left:1.27cm;margin-right:0cm;">'''Map''' components with '''footprints''' using '''CvPcb.'''</div>
* '''Map components''' with '''footprints''' using '''CvPcb.'''
+
* <div style="margin-left:1.27cm;margin-right:0cm;">Generate '''netlist''' for '''PCB design.'''</div>
* Generate '''netlist''' for '''PCB design.'''
+
 
  
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|- style="border:1pt solid #000000;padding:0.176cm;"
Line 23: Line 24:
  
 
System Requirements
 
System Requirements
|| This tutorial is recorded using-
+
|| This tutorial is recorded using-* <div style="margin-left:1.27cm;margin-right:0cm;">'''Ubuntu Linux OS version 16.04'''</div>
* '''Ubuntu Linux OS version 16.04'''
+
* <div style="margin-left:1.27cm;margin-right:0cm;">'''eSim '''version '''1.1.2'''</div>
* '''eSim '''version '''1.1.2'''
+
 
  
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|- style="border:1pt solid #000000;padding:0.176cm;"
Line 31: Line 32:
  
 
Prerequisites
 
Prerequisites
|| To practice this tutorial, you should know:
+
|| To practice this tutorial, you should know:* <div style="margin-left:1.27cm;margin-right:0cm;">The basic concepts of '''electronic circuits.'''</div>
* The basic concepts of '''electronic circuits.'''
+
* <div style="margin-left:1.27cm;margin-right:0cm;">To create''' circuit schematic''' in '''eSim.'''</div>
* To create''' circuit schematic''' in '''eSim.'''
+
* <div style="margin-left:1.27cm;margin-right:0cm;">To '''simulate''' the '''netlist''' in '''eSim.'''</div>
* To '''simulate''' the '''netlist''' in '''eSim.'''
+
  
  
If not, watch the prerequisite '''eSim''' spoken tutorials on this website.
+
 
 +
If not, watch the prerequisite eSim Spoken Tutorials on''' '''this website.
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|| '''eSim Main window:'''
 
|| '''eSim Main window:'''
 
|| I have already opened '''eSim''' on my machine
 
|| I have already opened '''eSim''' on my machine
 
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|| '''eSim Main window:'''
 
|| '''eSim Main window:'''
  
 
To open a project
 
To open a project
|| Let us open example''' “7805VoltageRegulator”''' from the''' Examples''' folder of '''eSim.'''
+
 
 +
 
 +
 
 +
|| Let us '''open '''example''' “7805VoltageRegulator”''' from''' '''the''' Examples''' folder of '''eSim.'''
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|| '''eSim Main window:'''
 
|| '''eSim Main window:'''
  
 
Click on '''Open project'''
 
Click on '''Open project'''
>>
+
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
  
 
Double click on '''Downloads'''
 
Double click on '''Downloads'''
Line 88: Line 97:
  
  
Click on '''Open '''button at the bottom right corner.
+
Click on '''Open '''button at the bottom right corner'''.'''
 
+
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|| '''eSim Main window:'''
 
|| '''eSim Main window:'''
Line 96: Line 104:
 
||  
 
||  
  
To open the '''schematic''', click on '''Open Schematic button '''on the left toolbar.
+
To open the '''schematic''', click on '''Open Schematic button '''on the left toolbar.''' '''
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|| '''eSim Schematic Editor Window:'''
 
|| '''eSim Schematic Editor Window:'''
Line 119: Line 127:
 
And '''Lm_7805''' '''subcircuit '''as a '''voltage regulator.'''
 
And '''Lm_7805''' '''subcircuit '''as a '''voltage regulator.'''
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|- style="border:1pt solid #000000;padding:0.176cm;"
|| Switch back to the '''eSim Main''' window
+
|| Switch back to the '''eSim''' '''main''' window
|| I will switch back to the '''eSim Main''' window.
+
|| I will switch back to the '''eSim''' '''main''' window.
 
+
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|- style="border:1pt solid #000000;padding:0.176cm;"
|| '''eSim Main''' window:
+
|| '''eSim Main Window:'''
  
 
Click on '''Simulation'''
 
Click on '''Simulation'''
Line 145: Line 152:
 
||  
 
||  
  
Switch back to the '''eSim Main''' window
 
|| Let us learn how to '''map footprints''' with '''components'''.
 
  
  
I will switch back to '''eSim Schematic Editor'''.
+
 
 +
 
 +
Switch back to the '''eSim''' '''main''' window
 +
|| Let us learn how to '''map''' '''footprints''' with components'''.'''
 +
 
 +
 
 +
I will switch back to '''eSim Schematic''' '''Editor'''.
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|- style="border:1pt solid #000000;padding:0.176cm;"
|| '''eSim Schematic Editor '''window:
+
|| '''eSim Schematic Editor '''Window''':'''
  
Hover the mouse over''' plot_v1, In1, In2 , sine'''
+
Hover the mouse over''' plot_v1''' , '''In1, In2 , sine'''
|| The '''schematic''' contains '''plots, labels''' and '''sources''' which are essential for '''simulation'''.
+
|| The '''schematic''' contains '''plot'''s, '''label'''s''' '''and '''sources; '''which are essential for '''simulation'''.
  
  
 
These '''components''' are not required for '''PCB designing.'''
 
These '''components''' are not required for '''PCB designing.'''
 
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|| '''eSim Schematic Editor Window:'''
 
|| '''eSim Schematic Editor Window:'''
 +
 +
 +
  
 
Right click on '''sine source'''
 
Right click on '''sine source'''
Line 174: Line 187:
  
 
Select the '''Delete Component '''option
 
Select the '''Delete Component '''option
|| Let us delete the '''components''' that are not required for '''PCB designing'''.
+
|| Let us delete the '''component'''s that are not required for '''PCB''' '''designing'''.
  
  
Line 189: Line 202:
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
||  
 
||  
|| Similarly, we will delete the remaining '''components''' which are not required.
+
|| Similarly, we will delete the remaining <span style="background-color:transparent;">'''plot'''</span><span style="background-color:transparent;">s, </span><span style="background-color:transparent;">'''label'''</span><span style="background-color:transparent;">s</span><span style="background-color:transparent;">''' '''</span><span style="background-color:transparent;">and</span> '''component'''s which are not required.
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|- style="border:1pt solid #000000;padding:0.176cm;"
|| '''eSim Schematic Editor '''window:
+
|| '''eSim Schematic Editor '''window''':'''
 
+
Show '''DeletedProbesAndLabels.sch'''
+
|| I have deleted other '''components''' and their connections.
+
  
 +
'''Show '''DeletedProbesAndLabels.sch
 +
|| I have deleted other '''components '''and their''' '''connections.
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
||  
 
||  
  
  
|| Let us now add a '''connector '''for the output of the '''circuit''' '''schematic'''.
+
|| Let us now add a '''connector '''for the''' output''' of the '''circuit''' '''schematic'''.
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|- style="border:1pt solid #000000;padding:0.176cm;"
|| '''eSim Schematic Editor '''window:
+
|| '''eSim Schematic Editor '''window''':'''
  
 
Click on '''Place component '''
 
Click on '''Place component '''
Line 214: Line 226:
 
Click anywhere on the '''editor.'''
 
Click anywhere on the '''editor.'''
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|- style="border:1pt solid #000000;padding:0.176cm;"
|| '''Component Selection''' window:
+
|| '''Component''' '''Selection''' Window<span style="color:#252525;">''':'''</span>
  
Type '''Conn ''' in '''Filter '''field
+
<span style="color:#252525;">Type </span><span style="color:#252525;">'''Conn '''</span><span style="color:#252525;">in </span><span style="color:#252525;">'''Filter '''</span><span style="color:#252525;">field</span>
  
 +
<div style="color:#252525;">>></div>
  
Select '''Conn underscore 01x02'''
+
<span style="color:#252525;">Select </span><span style="color:#252525;">'''Conn underscore 01x02'''</span>
  
 +
<div style="color:#252525;">>></div>
  
Click on '''OK'''
+
<span style="color:#252525;">Click on </span><span style="color:#252525;">'''OK'''</span>
 
|| Type '''Conn '''in the''' Filter '''field.
 
|| Type '''Conn '''in the''' Filter '''field.
  
  
Click on '''Conn underscore 01x02.'''
+
Click on <span style="color:#252525;">'''Conn underscore 01x02.'''</span>
  
  
Click on '''OK '''button at the bottom right of the '''Component Selection''' window.
+
<span style="color:#252525;">Click on </span><span style="color:#252525;">'''OK '''</span><span style="color:#252525;">button at the bottom right of the </span>'''Component''' '''Selection''' window<span style="color:#252525;">'''.'''</span>
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
||  
 
||  
 
|| '''Conn underscore 01x02 '''will appear to be tied to the cursor.
 
|| '''Conn underscore 01x02 '''will appear to be tied to the cursor.
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|- style="border:1pt solid #000000;padding:0.176cm;"
|| '''eSim Schematic Editor '''window:
+
|| <span style="color:#252525;">'''eSim Schematic Editor '''</span><span style="color:#252525;">window</span><span style="color:#252525;">''':'''</span>
  
  
 +
<div style="color:#252525;"></div>
  
Click once, anywhere on the right hand side of the '''schematic'''.
+
Click once, anywhere on the right hand side of the schematic.
 
|| Let us place the '''Conn <span style="color:#252525;">underscore </span>01x02''' on the right side of the '''schematic'''.
 
|| Let us place the '''Conn <span style="color:#252525;">underscore </span>01x02''' on the right side of the '''schematic'''.
  
Line 255: Line 270:
  
 
Click anywhere on the '''eSim Schematic Editor '''window
 
Click anywhere on the '''eSim Schematic Editor '''window
|| We also need a '''connector''' at the input to connect the external '''power supply.'''
+
|| We also need a '''connector''' at the '''input''' to connect the external '''power supply.'''
  
  
Line 261: Line 276:
  
  
Click anywhere on the '''eSim Schematic Editor '''window.
+
Click anywhere on the '''eSim Schematic Editor '''window'''.'''
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|- style="border:1pt solid #000000;padding:0.176cm;"
|| '''Component selection '''window:
+
|| '''Component selection '''window''':'''
  
 
Type '''Screw_Terminal '''
 
Type '''Screw_Terminal '''
Line 277: Line 292:
  
  
 +
<div style="color:#252525;"></div>
  
Click once to place the '''Screw underscore Terminal underscore 01x02''' on left side.
+
Click once to place the '''Screw <span style="color:#252525;">underscore </span>Terminal <span style="color:#252525;">underscore </span>01x02''' on left side.
 
|| Type '''Screw underscore Terminal''' in the '''filter '''box.
 
|| Type '''Screw underscore Terminal''' in the '''filter '''box.
  
  
Click on '''Screw underscore Terminal underscore 01x02 '''from the list.
+
Click on '''Screw <span style="color:#252525;">underscore </span>Terminal <span style="color:#252525;">underscore </span>01x02 '''from the list.
  
  
Click '''OK '''button at the bottom right corner of '''Component Selection''' window.
+
Click '''OK '''button at the bottom right corner of '''Component''' '''Selection''' window.
  
  
 
Click once to place the '''connector''' on the left side of the '''schematic'''.  
 
Click once to place the '''connector''' on the left side of the '''schematic'''.  
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|- style="border:1pt solid #000000;padding:0.176cm;"
|| '''eSim Schematic Editor window:'''
+
|| <div style="color:#252525;">'''eSim Schematic Editor window:'''</div>
  
 +
 +
<div style="color:#252525;"></div>
  
 
Right click on''' Screw_Terminal_01x02'''
 
Right click on''' Screw_Terminal_01x02'''
Line 305: Line 323:
  
  
Select '''Orient Component '''from the drop-down menu and select '''Mirror two '''option.
+
Select '''Orient Component '''from the drop-down menu''' '''and select '''Mirror || '''option.
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|- style="border:1pt solid #000000;padding:0.176cm;"
|| '''eSim Schematic Editor '''window:
+
|| <span style="color:#252525;">'''eSim Schematic Editor '''</span><span style="color:#252525;">window</span><span style="color:#252525;">''':'''</span>
 +
 
 +
 
 +
<div style="color:#252525;"></div>
 +
 
 +
<div style="color:#252525;"></div>
 +
 
 +
<div style="color:#252525;"></div>
 +
 
 +
<div style="color:#252525;"></div>
  
 +
<div style="color:#252525;"></div>
  
Connecting wires to the '''schematic'''
+
Connecting wires to the schematic
|| Now, let us connect the '''connectors''' using wires.
+
|| Now, let us connect the '''connector'''s using wires.
  
 
We have learnt to place wires earlier in this series.
 
We have learnt to place wires earlier in this series.
Line 318: Line 346:
  
  
Let us connect '''pin 1''' of '''Screw_Terminal_01x02''' to the wire connecting '''D3''' and '''D4'''.
+
Let us connect '''pin 1''' of '''Screw_Terminal'''_'''01x02''' to the '''wire''' connecting '''D3''' and '''D4'''.
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|- style="border:1pt solid #000000;padding:0.176cm;"
|| '''eSim Schematic Editor '''window:
+
|| <span style="color:#252525;">'''eSim Schematic Editor '''</span><span style="color:#252525;">window</span><span style="color:#252525;">''':'''</span>
  
Show rest of the connected wires
+
<span style="color:#252525;">Show rest of the </span><span style="color:#252525;">'''connected'''</span><span style="color:#252525;"> </span><span style="color:#252525;">'''wires'''</span>
 
||  
 
||  
  
 
I have connected rest of the '''nodes''' to their respective '''connectors.'''
 
I have connected rest of the '''nodes''' to their respective '''connectors.'''
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|- style="border:1pt solid #000000;padding:0.176cm;"
|| '''eSim Schematic Editor '''window:
+
|| <span style="color:#252525;">'''eSim Schematic Editor '''</span><span style="color:#252525;">window</span><span style="color:#252525;">''':'''</span>
  
  
Line 334: Line 362:
  
  
|| All the '''components''' are connected.
+
|| All the components are connected.
  
  
Let us annotate the '''schematic''' and perform '''ERC '''for the '''circuit''' '''schematic'''.
+
Let us '''Annotate '''the '''schematic''' and perform '''ERC '''for the '''circuit''' '''schematic'''.
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|- style="border:1pt solid #000000;padding:0.176cm;"
||  
+
| style="color:#252525;" |  
|| Please refer to the prerequisite tutorials to learn how to perform annotation and '''ERC.'''
+
|| Please refer to the prerequisite tutorials to learn how to perform '''Annotation '''and '''ERC.'''
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|- style="border:1pt solid #000000;padding:0.176cm;"
|| '''eSim Schematic Editor window:
+
|| <div style="color:#252525;">'''eSim Schematic Editor window:'''</div>
  
  
 
Press '''Ctrl and S''' key together.
 
Press '''Ctrl and S''' key together.
 +
 +
 +
<div style="color:#252525;"></div>
  
  
Line 353: Line 384:
 
Press '''Ctrl '''and''' S''' keys together to save this '''schematic.'''
 
Press '''Ctrl '''and''' S''' keys together to save this '''schematic.'''
  
We will now learn how to map the '''components''' with their''' footprints.'''
+
We will now learn how to map the components with their''' footprints.'''
  
  
 
'''Footprint''' is the '''layout''' of a '''component''' which is placed on the '''Printed Circuit Board'''.  
 
'''Footprint''' is the '''layout''' of a '''component''' which is placed on the '''Printed Circuit Board'''.  
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|- style="border:1pt solid #000000;padding:0.176cm;"
|| '''eSim Schematic Editor '''window:
+
|| <span style="color:#252525;">'''eSim Schematic Editor '''</span><span style="color:#252525;">window</span><span style="color:#252525;">''':'''</span>
  
Click '''Run Cvpcb to associate components and footprints''' button.  
+
Click '''Run''' '''Cvpcb''' '''to associate components and footprints button'''.  
 
||  
 
||  
  
Click on the '''Run CvPcb to associate components and footprints '''button at the top of the''' eSim Schematic Editor'''.
+
Click on the '''Run CvPcb to associate components and footprints '''button''' '''at the top of the''' eSim Schematic Editor'''.
  
  
 
This opens '''Cvpcb window.'''
 
This opens '''Cvpcb window.'''
  
|-
 
||Click on the '''OK '''button.
 
||If you’re using '''Cvpcb''' for the first time, you will get a confirmation box.
 
  
Here, click on the '''OK '''button.
+
If you’re using '''Cvpcb''' for the first time, you will get a confirmation box.
  
|-
+
Here, click on the '''OK '''button'''.'''
||click on the '''No '''button.
+
||If you get another dialog box titled '''Confirmation, '''click on '''No''' button.
+
  
 +
 +
If you get another dialog box titled '''Confirmation, '''click on '''No''' button.
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|| '''Cvpcb window:'''
 
|| '''Cvpcb window:'''
  
Hover the '''cursor''' over the leftmost panel.
 
|| The '''Cvpcb window''' is divided into three panels.
 
  
  
The left panel shows the '''Libraries''' of the '''footprints'''.  
+
 
 +
Hover the '''cursor''' over the leftmost panel
 +
 
 +
 
 +
 
 +
|| The '''Cvpcb window''' is divided into three '''panels.'''
 +
 
 +
 
 +
The left '''panel''' shows the '''Libraries''' of the '''footprints'''.  
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|| '''Cvpcb window: Demonstrate'''
 
|| '''Cvpcb window: Demonstrate'''
  
Hover the '''cursor''' over the middle panel.
+
Hover the '''cursor''' over the middle panel  
 +
 
 +
 
  
  
 
Hover the '''cursor''' over the first column of the middle panel
 
Hover the '''cursor''' over the first column of the middle panel
 +
 +
 +
Hover the '''cursor''' over the second column of the middle panel
 +
 +
 +
 +
 +
Hover the '''cursor''' over the third column of the middle panel
 
||  
 
||  
  
The middle panel is divided into 3 columns.
+
The middle '''panel''' is divided into 3 columns.
 +
 
 +
 
 +
The first column in the middle '''panel''' shows the serial number.
  
  
The first column in the middle panel shows the serial number.
+
The second column in the middle '''panel''' shows the reference '''ID''' of the '''component'''s used in the '''schematic'''.  
  
|-
 
||Hover the '''cursor''' over the second column of the middle panel
 
||The second column in the middle panel shows the reference '''ID''' of the '''components''' used in the '''schematic'''.
 
  
|-
+
The third column in the middle panel shows the values of the corresponding components, if any'''.'''
||Hover the '''cursor''' over the third column of the middle panel
+
||The third column in the middle panel shows the values of the corresponding '''components''', if any.
+
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|| '''Cvpcb window:'''
 
|| '''Cvpcb window:'''
Line 413: Line 455:
 
||  
 
||  
  
The right panel gives a list of '''footprints''' available in the '''libraries'''.  
+
The right '''panel''' gives a list of '''footprints''' available in the '''libraries'''.  
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|| '''Cvpcb window: Demonstrate'''
 
|| '''Cvpcb window: Demonstrate'''
  
 
Hover the cursor to show '''Filter options'''
 
Hover the cursor to show '''Filter options'''
 +
 +
 +
Hover the cursor over '''Filter footprint list by keywords'''.
 +
 +
>>
 +
 +
Hover the cursor over '''Filter footprint list by pin count'''.
 +
 +
>>
 +
 +
Hover the cursor over '''Filter footprint list by Library'''.
 
|| The top menu of '''Cvpcb''' window has 3 options to filter the''' footprints'''.
 
|| The top menu of '''Cvpcb''' window has 3 options to filter the''' footprints'''.
  
|-
 
||Hover the cursor over '''Filter footprint list by keywords'''.
 
||This will filter the '''footprints''' by '''keywords'''.
 
  
|-
+
This will filter the '''footprints''' by '''keywords'''.
||Hover the cursor over '''Filter footprint list by pin count'''.
+
 
||This will filter the '''footprints''' by '''pin''' count.
+
 
 +
 
 +
 
 +
This will filter the '''footprints''' by '''pin''' count.
 +
 
 +
 
  
|-
 
||Hover the cursor over '''Filter footprint list by Library'''.
 
||This will filter the '''footprints''' by the '''library'''.
 
  
 +
This will filter the '''footprints''' by the '''library'''.
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
||  
 
||  
Line 447: Line 500:
 
|| Please note that we are designing a '''board''' for '''Through Hole '''components.
 
|| Please note that we are designing a '''board''' for '''Through Hole '''components.
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|- style="border:1pt solid #000000;padding:0.176cm;"
|| Text on screen
+
||  
 
|| '''Footprints''' which are meant for '''Through hole''' components, will have '''THT '''in their description.
 
|| '''Footprints''' which are meant for '''Through hole''' components, will have '''THT '''in their description.
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|- style="border:1pt solid #000000;padding:0.176cm;"
|| Text on screen
+
||  
 
|| '''Footprints''' which are meant for '''Surface Mount Device''' components, will have '''SMD '''in their description.
 
|| '''Footprints''' which are meant for '''Surface Mount Device''' components, will have '''SMD '''in their description.
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|- style="border:1pt solid #000000;padding:0.176cm;"
Line 462: Line 515:
  
  
Click on '''Capacitors_THT '''from the leftmost panel for selection of '''footprints''' of '''Through-hole capacitors'''.
+
Click on '''Capacitors_THT '''from the leftmost '''panel''' for selection of '''footprints''' of '''Through-hole capacitors'''.
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|| '''Cvpcb window: '''
 
|| '''Cvpcb window: '''
  
Hover the '''cursor''' on the right panel
+
Hover the '''cursor''' on the right '''panel'''
 
|| The list of '''Capacitors_THT footprints''' for selected component '''C1''' will be available.
 
|| The list of '''Capacitors_THT footprints''' for selected component '''C1''' will be available.
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|- style="border:1pt solid #000000;padding:0.176cm;"
Line 472: Line 525:
  
 
Select any footprint from the right most panel
 
Select any footprint from the right most panel
 +
 +
>>
 +
 +
click '''View selected footprint'''
 +
 +
  
 
|| We can also view the selected '''footprint'''.
 
|| We can also view the selected '''footprint'''.
  
To do so, select any '''footprint '''from the right panel.
+
To do so, select any '''footprint '''from the right '''panel'''.
 +
 
  
|-
+
Click on '''View selected footprint''' from the top '''panel'''.
||Click '''View selected footprint'''
+
||Click on '''View selected footprint''' from the top panel.
+
  
  
Line 491: Line 549:
  
  
Let us locate the '''footprint''' with D 5.0 mm and P 2.50 mm.
+
Let us locate the '''footprint''' with D 5.0 mm and P 2.50 mm''', '''double click on it to assign this footprint.
 
+
|- style="border:1pt solid #000000;padding:0.176cm;"
Double-click on it to assign this '''footprint'''.
+
||
 
+
|| The name of the selected '''footprint''' holds the information about physical dimensions such as length, diameter, etc.
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|| '''Cvpcb window: '''
 
|| '''Cvpcb window: '''
Line 509: Line 567:
  
  
Click on '''J1, '''click on '''Connectors_Terminal_Blocks '''from the leftmost panel.
+
Click on '''J1, '''click on '''Connectors_Terminal_Blocks '''from the leftmost '''panel'''.
  
  
Locate '''TerminalBlock_Altech_AK300-2_P5.00mm '''in the rightmost panel.
+
Locate '''TerminalBlock_Altech_AK300-2_P5.00mm '''in the rightmost '''panel'''.
  
  
Double-click on it to assign this '''footprint''' to '''J1'''.
+
Double-click on it to '''assign''' this footprint to '''J1'''.
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|| '''Cvpcb window: '''
 
|| '''Cvpcb window: '''
Line 527: Line 585:
  
 
Double click
 
Double click
|| For '''J2 connector''':
+
|| For '''J2''' '''connector''':
  
  
Click on '''J2''', click on '''Pin_Headers '''from the leftmost panel.
+
Click on '''J2''', click on '''Pin_Headers '''from the leftmost '''panel'''.
  
  
Line 538: Line 596:
 
Double-click on it.
 
Double-click on it.
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|- style="border:1pt solid #000000;padding:0.176cm;"
|| '''Cvpcb '''window:
+
|| '''Cvpcb '''window''': '''
  
 
Click on''' Lm_7805'''
 
Click on''' Lm_7805'''
Line 555: Line 613:
  
  
Click on '''TO_SOT_Packages_THT '''from the leftmost panel.
+
Click on '''TO_SOT_Packages_THT '''from the leftmost '''panel'''.
  
  
Locate '''T0-220-3_Vertical '''from the rightmost panel.
+
Locate '''T0-220-3_Vertical '''from the rightmost '''panel'''.
  
  
Double-click on it to assign this '''footprint'''.
+
Double-click on it to assign this footprint.
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|- style="border:1pt solid #000000;padding:0.176cm;"
|| '''Cvpcb ''' window:
+
|| <span style="color:#252525;">'''Cvpcb '''</span><span style="color:#252525;">window</span><span style="color:#252525;">''':'''</span>
  
Show rest of the mapped footprints
+
<div style="color:#252525;">Show rest of the mapped footprints</div>
 
||  
 
||  
  
I have mapped rest of the '''components''' with their appropriate '''footprints'''.
+
I have mapped rest of the components with their appropriate footprints.
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|- style="border:1pt solid #000000;padding:0.176cm;"
|| '''Cvpcb '''window:
+
|| '''Cvpcb '''window''': '''
  
  
 
Click on '''Save footprint association in schematic component footprint fields '''at left corner of the top toolbar.
 
Click on '''Save footprint association in schematic component footprint fields '''at left corner of the top toolbar.
|| Now we will save this '''footprint''' association.
+
|| Now we will '''save''' this '''footprint''' association.
  
  
Line 586: Line 644:
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|| '''eSim Schematic Editor '''window''' :'''
 
|| '''eSim Schematic Editor '''window''' :'''
 +
 +
  
  
 
Switch from '''CvPcb''' to '''eSim Schematic Editor''' window.
 
Switch from '''CvPcb''' to '''eSim Schematic Editor''' window.
|| Let us now generate the''' netlist '''of the '''circuit schematic '''required for''' PCB '''layout.
+
|| Let us now generate the''' netlist '''of the '''circuit schematic '''required for''' PCB '''layout'''.'''
  
  
Line 628: Line 688:
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
||  
 
||  
|| '''.net netlist''' file contains information about '''components''' and '''footprints''' assigned.
+
|| '''.net netlist''' '''file '''contains information about '''components''' and '''footprints''' assigned.
  
  
Line 641: Line 701:
  
 
Summary
 
Summary
|| In this tutorial, we learnt to :
+
|| In this tutorial, we learnt to :* <div style="margin-left:1.27cm;margin-right:0cm;">Add '''connector'''s''' '''to a '''schematic.'''</div>
* Add '''connectors''' to a '''schematic.'''
+
* <div style="margin-left:1.27cm;margin-right:0cm;">Map components with '''footprints''' using '''CvPcb.'''</div>
* Map components with '''footprints''' using '''CvPcb.'''
+
* <div style="margin-left:1.27cm;margin-right:0cm;">Generate '''netlist''' for '''PCB design.'''</div>
* Generate '''netlist''' for '''PCB design.'''
+
 
  
 
|- style="border:1pt solid #000000;padding:0.176cm;"
 
|- style="border:1pt solid #000000;padding:0.176cm;"

Revision as of 18:24, 23 July 2019


Visual cue Narration
Show Slide:

Opening Slide

Welcome to the spoken tutorial on “Mapping components with footprints”.
Show Slide:

Learning Objectives

In this tutorial, we will learn to :*
Add connectors to a schematic.
  • Map components with footprints using CvPcb.
  • Generate netlist for PCB design.


Show Slide:

System Requirements

This tutorial is recorded using-*
Ubuntu Linux OS version 16.04
  • eSim version 1.1.2


Show Slide:

Prerequisites

To practice this tutorial, you should know:*
The basic concepts of electronic circuits.
  • To create circuit schematic in eSim.
  • To simulate the netlist in eSim.


If not, watch the prerequisite eSim Spoken Tutorials on this website.

eSim Main window: I have already opened eSim on my machine
eSim Main window:

To open a project


Let us open example “7805VoltageRegulator” from the Examples folder of eSim.
eSim Main window:

Click on Open project





Double click on Downloads

>>

Double click eSim-1.1.2 folder

>>

Double click Examples

>>

Click on 7805VoltageRegulator

>>

Click on Open

Click on the Open Project button from the left toolbar.


Then browse to the directory where you have installed eSim.


I will double-click on Downloads.


Double-click on eSim hyphen 1.1.2.


Double-click on Examples.


Click on 7805VoltageRegulator.


Click on Open button at the bottom right corner.

eSim Main window:

Click on Open Schematic

To open the schematic, click on Open Schematic button on the left toolbar.

eSim Schematic Editor Window:


Scroll key or press F1 to zoom in


Point the cursor to V1 (Sine) block and


Point the cursor to Lm_7805 block.

The eSim Schematic Editor opens.


I will zoom into the schematic.


This circuit uses AC sine wave as input.


And Lm_7805 subcircuit as a voltage regulator.

Switch back to the eSim main window I will switch back to the eSim main window.
eSim Main Window:

Click on Simulation

>>


Point cursor on v(in1,in2) ngspice plot

>>

Point cursor on v(out) ngspice plot

Click on Simulation button on the left toolbar.


We have given the AC signal as input.


We can see the rectified 5 volts DC output.



Switch back to the eSim main window

Let us learn how to map footprints with components.


I will switch back to eSim Schematic Editor.

eSim Schematic Editor Window:

Hover the mouse over plot_v1 , In1, In2 , sine

The schematic contains plots, labels and sources; which are essential for simulation.


These components are not required for PCB designing.

eSim Schematic Editor Window:



Right click on sine source

>>

select Delete Component option


Right click on plot_v1 i.e U1 component

>>

Select the Delete Component option

Let us delete the components that are not required for PCB designing.


Right-click on sine source.


Select the Delete Component option.


Right-click on plot_v1 i.e. U1 component.


And select the Delete Component option.

Similarly, we will delete the remaining plots, labels and components which are not required.
eSim Schematic Editor window:

Show DeletedProbesAndLabels.sch

I have deleted other components and their connections.


Let us now add a connector for the output of the circuit schematic.
eSim Schematic Editor window:

Click on Place component

>>

Click on editor.

Click on Place Component button from the right toolbar.


Click anywhere on the editor.

Component Selection Window:

Type Conn in Filter field

>>

Select Conn underscore 01x02

>>

Click on OK

Type Conn in the Filter field.


Click on Conn underscore 01x02.


Click on OK button at the bottom right of the Component Selection window.

Conn underscore 01x02 will appear to be tied to the cursor.
eSim Schematic Editor window:


Click once, anywhere on the right hand side of the schematic.

Let us place the Conn underscore 01x02 on the right side of the schematic.


Click once to place the connector on the right side of the schematic.

eSim Schematic Editor window:



Click on editor



Click anywhere on the eSim Schematic Editor window

We also need a connector at the input to connect the external power supply.


We have already selected Place component tool.


Click anywhere on the eSim Schematic Editor window.

Component selection window:

Type Screw_Terminal

>>

select Screw_Terminal_01x02 from the list.

>>


Click OK


Click once to place the Screw underscore Terminal underscore 01x02 on left side.

Type Screw underscore Terminal in the filter box.


Click on Screw underscore Terminal underscore 01x02 from the list.


Click OK button at the bottom right corner of Component Selection window.


Click once to place the connector on the left side of the schematic.

eSim Schematic Editor window:


Right click on Screw_Terminal_01x02

>>


Click on Orient Component,and select Mirror || option.

Let us rotate Screw underscore Terminal underscore 01x02.


Right-click on Screw underscore Terminal underscore 01x02 component.


Select Orient Component from the drop-down menu and select Mirror || option.

eSim Schematic Editor window:


Connecting wires to the schematic

Now, let us connect the connectors using wires.

We have learnt to place wires earlier in this series.

You can refer to the prerequisite tutorials, if required.


Let us connect pin 1 of Screw_Terminal_01x02 to the wire connecting D3 and D4.

eSim Schematic Editor window:

Show rest of the connected wires

I have connected rest of the nodes to their respective connectors.

eSim Schematic Editor window:


Perform Annotation and ERC


All the components are connected.


Let us Annotate the schematic and perform ERC for the circuit schematic.

Please refer to the prerequisite tutorials to learn how to perform Annotation and ERC.
eSim Schematic Editor window:


Press Ctrl and S key together.



Let us now save the schematic.


Press Ctrl and S keys together to save this schematic.

We will now learn how to map the components with their footprints.


Footprint is the layout of a component which is placed on the Printed Circuit Board.

eSim Schematic Editor window:

Click Run Cvpcb to associate components and footprints button.

Click on the Run CvPcb to associate components and footprints button at the top of the eSim Schematic Editor.


This opens Cvpcb window.


If you’re using Cvpcb for the first time, you will get a confirmation box.

Here, click on the OK button.


If you get another dialog box titled Confirmation, click on No button.

Cvpcb window:



Hover the cursor over the leftmost panel


The Cvpcb window is divided into three panels.


The left panel shows the Libraries of the footprints.

Cvpcb window: Demonstrate

Hover the cursor over the middle panel



Hover the cursor over the first column of the middle panel


Hover the cursor over the second column of the middle panel



Hover the cursor over the third column of the middle panel

The middle panel is divided into 3 columns.


The first column in the middle panel shows the serial number.


The second column in the middle panel shows the reference ID of the components used in the schematic.


The third column in the middle panel shows the values of the corresponding components, if any.

Cvpcb window:

Hover the cursor over right most panel

The right panel gives a list of footprints available in the libraries.

Cvpcb window: Demonstrate

Hover the cursor to show Filter options


Hover the cursor over Filter footprint list by keywords.

>>

Hover the cursor over Filter footprint list by pin count.

>>

Hover the cursor over Filter footprint list by Library.

The top menu of Cvpcb window has 3 options to filter the footprints.


This will filter the footprints by keywords.



This will filter the footprints by pin count.



This will filter the footprints by the library.

Now we will map the components with their appropriate footprints.
Cvpcb window:

Click on Filter footprints list by library

Click on the option Filter footprints list by library from the top menu.


If any other filters other than Filter footprints list by library are selected, please uncheck them.

Please note that we are designing a board for Through Hole components.
Footprints which are meant for Through hole components, will have THT in their description.
Footprints which are meant for Surface Mount Device components, will have SMD in their description.
Cvpcb window:

Click on C1


Click on Capacitors_THT from the leftmost panel

Click on C1, the first row C1 will be highlighted.


Click on Capacitors_THT from the leftmost panel for selection of footprints of Through-hole capacitors.

Cvpcb window:

Hover the cursor on the right panel

The list of Capacitors_THT footprints for selected component C1 will be available.
Footprint Window:

Select any footprint from the right most panel

>>

click View selected footprint


We can also view the selected footprint.

To do so, select any footprint from the right panel.


Click on View selected footprint from the top panel.


This will open footprint window which displays the image of the selected footprint.

Cvpcb window:


Select Capacitors_THT:CP_Radial_D5.0mm_P2.50mm>> Double-click on it

Now let us map the associated footprint for component C1.


Let us locate the footprint with D 5.0 mm and P 2.50 mm, double click on it to assign this footprint.

The name of the selected footprint holds the information about physical dimensions such as length, diameter, etc.
Cvpcb window:


Click on Connectors_Terminal_Blocks on the left most panel >>


Locate TerminalBlock_Altech_AK300-2_P5.00mm in the right most panel


Double click

For J1 connector:


Click on J1, click on Connectors_Terminal_Blocks from the leftmost panel.


Locate TerminalBlock_Altech_AK300-2_P5.00mm in the rightmost panel.


Double-click on it to assign this footprint to J1.

Cvpcb window:


Click on Pin_Headers on the left most panel >>


Locate Pin_Headers:Pin_Header_Straight_1x02_Pitch2.54mm from the right most panel >>


Double click

For J2 connector:


Click on J2, click on Pin_Headers from the leftmost panel.


Locate Pin_Headers:Pin_Header_Straight_1x02_Pitch2.54mm from the rightmost panel.


Double-click on it.

Cvpcb window:

Click on Lm_7805


Click on TO_SOT_Packages_THT on the left most panel >>


Locate T0-220-3_Vertical from the right most panel >>


Double click on T0-220-3_Vertical

For Lm_7805:

Click on Lm_7805


Click on TO_SOT_Packages_THT from the leftmost panel.


Locate T0-220-3_Vertical from the rightmost panel.


Double-click on it to assign this footprint.

Cvpcb window:
Show rest of the mapped footprints

I have mapped rest of the components with their appropriate footprints.

Cvpcb window:


Click on Save footprint association in schematic component footprint fields at left corner of the top toolbar.

Now we will save this footprint association.


Click on Save footprint association in schematic component footprint fields at the left corner of the top toolbar.

This is a very important step and should not be skipped.


It assigns the selected footprints to the components present in the schematic.

eSim Schematic Editor window :



Switch from CvPcb to eSim Schematic Editor window.

Let us now generate the netlist of the circuit schematic required for PCB layout.


I will go back to the eSim Schematic editor window.

eSim Schematic Editor window:

Click on Generate netlist

Click on Generate netlist button at the top of eSim Schematic Editor window.

Netlist window:

Click on Pcbnew tab


Check Default option


Click on Generate

Click on Pcbnew tab.


Check the option Default format.


Click on Generate button.

Save Netlist File window:

Click on Save button at the bottom right corner

Then click on Save button at the bottom right corner.

.net netlist file contains information about components and footprints assigned.


This is crucial for Printed Circuit Board designing.

With this, we come to the end of this tutorial.

Let us summarize.

Show Slide:

Summary

In this tutorial, we learnt to :*
Add connectors to a schematic.
  • Map components with footprints using CvPcb.
  • Generate netlist for PCB design.


Show Slide:

Forum

Please post your timed queries in this forum.
Show Slide:

FOSSEE Forum

Please post your general queries on eSim in this forum.
Show Slide:

Textbook Companion

FOSSEE team coordinates the TBC project.
Show Slide:

Acknowledgment

http://spoken-tutorial.org

Spoken Tutorial Project is funded by NMEICT, MHRD, Govt. of India.

For more details, visit this website.

Previous Slide This is Saurabh from IIT Bombay, signing off.

Thank you.

Contributors and Content Editors

Nancyvarkey, PoojaMoolya, Saurabhbansode