Difference between revisions of "ESim/C2/Getting-started-with-eSim-Linux-installation/English"
Nancyvarkey (Talk | contribs) |
|||
Line 21: | Line 21: | ||
Learning Objectives | Learning Objectives | ||
− | || In this tutorial, we will learn how to:* <div style="margin-left:1.27cm;margin-right:0cm;">Install''' eSim''' version 1.1.2 on '''Ubuntu Linux.'''</div> | + | || In this tutorial, we will learn how to: |
+ | * <div style="margin-left:1.27cm;margin-right:0cm;">Install''' eSim''' version 1.1.2 on '''Ubuntu Linux.'''</div> | ||
* <div style="margin-left:1.27cm;margin-right:0cm;">Run''' eSim''' using an example.</div> | * <div style="margin-left:1.27cm;margin-right:0cm;">Run''' eSim''' using an example.</div> | ||
− | |||
|- style="border:1pt solid #000000;padding:0.176cm;" | |- style="border:1pt solid #000000;padding:0.176cm;" | ||
Line 29: | Line 29: | ||
System Requirements | System Requirements | ||
− | || To install''' eSim''', we will use* <div style="margin-left:1.27cm;margin-right:0cm;">'''Ubuntu Linux''' 16.04.</div> | + | || To install''' eSim''', we will use |
+ | * <div style="margin-left:1.27cm;margin-right:0cm;">'''Ubuntu Linux''' 16.04.</div> | ||
Line 38: | Line 39: | ||
Installation Requirements | Installation Requirements | ||
− | || For the installation-* <div style="margin-left:1.27cm;margin-right:0cm;">We require a working''' Internet connection.'''</div> | + | || For the installation- |
+ | * <div style="margin-left:1.27cm;margin-right:0cm;">We require a working''' Internet connection.'''</div> | ||
* <div style="margin-left:1.27cm;margin-right:0cm;">We also require to be a '''root user.'''</div> | * <div style="margin-left:1.27cm;margin-right:0cm;">We also require to be a '''root user.'''</div> | ||
− | |||
|- style="border:1pt solid #000000;padding:0.176cm;" | |- style="border:1pt solid #000000;padding:0.176cm;" | ||
Line 46: | Line 47: | ||
Prerequisites | Prerequisites | ||
− | || To use''' eSim''', one should have basic knowledge of* <div style="margin-left:1.27cm;margin-right:0cm;">'''Analog''' and''' Digital electronics.'''</div> | + | || To use''' eSim''', one should have basic knowledge of |
− | + | * <div style="margin-left:1.27cm;margin-right:0cm;">'''Analog''' and''' Digital electronics.'''</div> | |
|- style="border:1pt solid #000000;padding:0.176cm;" | |- style="border:1pt solid #000000;padding:0.176cm;" | ||
Line 53: | Line 54: | ||
Packages installed with eSim | Packages installed with eSim | ||
− | || The following packages will be installed along with '''eSim''':* <div style="margin-left:1.27cm;margin-right:0cm;">Python 2.7</div> | + | || The following packages will be installed along with '''eSim''': |
+ | * <div style="margin-left:1.27cm;margin-right:0cm;">Python 2.7</div> | ||
* <div style="margin-left:1.27cm;margin-right:0cm;">PyQt4</div> | * <div style="margin-left:1.27cm;margin-right:0cm;">PyQt4</div> | ||
* <div style="margin-left:1.27cm;margin-right:0cm;">Matplotlib</div> | * <div style="margin-left:1.27cm;margin-right:0cm;">Matplotlib</div> | ||
* <div style="margin-left:1.27cm;margin-right:0cm;">NgSpice</div> | * <div style="margin-left:1.27cm;margin-right:0cm;">NgSpice</div> | ||
* <div style="margin-left:1.27cm;margin-right:0cm;">KiCad</div> | * <div style="margin-left:1.27cm;margin-right:0cm;">KiCad</div> | ||
− | |||
|- style="border:1pt solid #000000;padding:0.176cm;" | |- style="border:1pt solid #000000;padding:0.176cm;" | ||
Line 66: | Line 67: | ||
|| '''eSim '''is a free and open source software alternative to''' OrCAD'''. | || '''eSim '''is a free and open source software alternative to''' OrCAD'''. | ||
− | It can be used to:* <div style="margin-left:1.27cm;margin-right:0cm;">create''' circuit schematic,'''</div> | + | It can be used to: |
+ | * <div style="margin-left:1.27cm;margin-right:0cm;">create''' circuit schematic,'''</div> | ||
* <div style="margin-left:1.27cm;margin-right:0cm;">perform''' simulation'''</div> | * <div style="margin-left:1.27cm;margin-right:0cm;">perform''' simulation'''</div> | ||
* <div style="margin-left:1.27cm;margin-right:0cm;">and create''' PCB layout.'''</div> | * <div style="margin-left:1.27cm;margin-right:0cm;">and create''' PCB layout.'''</div> | ||
− | |||
|- style="border:1pt solid #000000;padding:0.176cm;" | |- style="border:1pt solid #000000;padding:0.176cm;" | ||
Line 78: | Line 79: | ||
− | Go to the''' eSim | + | Go to the''' eSim''' website, as shown here. |
|- style="border:1pt solid #000000;padding:0.176cm;" | |- style="border:1pt solid #000000;padding:0.176cm;" | ||
|| Click on''' Downloads tab.''' | || Click on''' Downloads tab.''' | ||
Line 87: | Line 88: | ||
|- style="border:1pt solid #000000;padding:0.176cm;" | |- style="border:1pt solid #000000;padding:0.176cm;" | ||
|| Point to '''“OK” ''' | || Point to '''“OK” ''' | ||
− | || Click on | + | || Click on '''Save''' to save the '''installer''' in your computer. |
|- style="border:1pt solid #000000;padding:0.176cm;" | |- style="border:1pt solid #000000;padding:0.176cm;" | ||
|| Click on '''Cancel''' | || Click on '''Cancel''' | ||
Line 104: | Line 105: | ||
Changing the directory where eSim is Downloaded | Changing the directory where eSim is Downloaded | ||
− | || Go to the directory where we have saved our '''eSim installer | + | || Go to the directory where we have saved our '''eSim installer''' folder. |
Line 183: | Line 184: | ||
|- style="border:1pt solid #000000;padding:0.176cm;" | |- style="border:1pt solid #000000;padding:0.176cm;" | ||
|| | || | ||
− | || To launch '''eSim''', | + | || To launch '''eSim''', go to '''Desktop''' and double click on the '''eSim''' icon. |
|- style="border:1pt solid #000000;padding:0.176cm;" | |- style="border:1pt solid #000000;padding:0.176cm;" | ||
|| '''Desktop '''(shortcut created for eSim): | || '''Desktop '''(shortcut created for eSim): | ||
Line 190: | Line 191: | ||
|| | || | ||
− | To launch '''eSim''', | + | To launch '''eSim''', go to '''Desktop''' and double click on the '''eSim''' icon. |
|- style="border:1pt solid #000000;padding:0.176cm;" | |- style="border:1pt solid #000000;padding:0.176cm;" | ||
|| | || | ||
Line 199: | Line 200: | ||
|- style="border:1pt solid #000000;padding:0.176cm;" | |- style="border:1pt solid #000000;padding:0.176cm;" | ||
|| In the '''eSim startup '''window : | || In the '''eSim startup '''window : | ||
− | |||
− | |||
Click on “'''Ok'''” | Click on “'''Ok'''” | ||
− | || By default, the project files created, will be saved in the''' eSim-Workspace''' directory. | + | || By default, the '''project''' files created, will be saved in the''' eSim-Workspace''' directory. |
Line 212: | Line 211: | ||
Click on '''Open Project''' | Click on '''Open Project''' | ||
− | || To open the project, click on''' Open Project''' button on the top toolbar. | + | || To open the '''project''', click on''' Open Project''' button on the top toolbar. |
|- style="border:1pt solid #000000;padding:0.176cm;" | |- style="border:1pt solid #000000;padding:0.176cm;" | ||
|| '''eSim window:''' | || '''eSim window:''' | ||
Line 218: | Line 217: | ||
Selecting the project folder | Selecting the project folder | ||
− | || Locate the folder where''' eSim''' is | + | || Locate the folder where''' eSim''' is downloaded. |
Line 235: | Line 234: | ||
− | Double-click to select the project. | + | Double-click to select the '''project'''. |
|- style="border:1pt solid #000000;padding:0.176cm;" | |- style="border:1pt solid #000000;padding:0.176cm;" | ||
|| '''eSim window:''' | || '''eSim window:''' | ||
Line 241: | Line 240: | ||
Click''' Open Schematic''' | Click''' Open Schematic''' | ||
|| Click''' Open Schematic''' button on the left toolbar. | || Click''' Open Schematic''' button on the left toolbar. | ||
− | + | ||
− | + | ||
− | + | ||
|- style="border:1pt solid #000000;padding:0.176cm;" | |- style="border:1pt solid #000000;padding:0.176cm;" | ||
|| | || | ||
− | || You can now see the''' ''' | + | || You can now see the '''schematic''' of the '''half wave rectifier'''. |
|- 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 262: | Line 259: | ||
− | Now come to the eSim window | + | Now come to the '''eSim''' window |
|- style="border:1pt solid #000000;padding:0.176cm;" | |- style="border:1pt solid #000000;padding:0.176cm;" | ||
|| '''eSim window:''' | || '''eSim window:''' | ||
− | || | + | || Let us '''simulate''' this '''project'''. |
|- style="border:1pt solid #000000;padding:0.176cm;" | |- style="border:1pt solid #000000;padding:0.176cm;" | ||
|| '''eSim window:''' | || '''eSim window:''' | ||
Line 275: | Line 272: | ||
− | This will simulate the circuit. | + | This will '''simulate''' the '''circuit'''. |
|- style="border:1pt solid #000000;padding:0.176cm;" | |- style="border:1pt solid #000000;padding:0.176cm;" | ||
|| '''Terminal''' and''' Plot''' Windows''':''' | || '''Terminal''' and''' Plot''' Windows''':''' | ||
Line 281: | Line 278: | ||
Highlight each window | Highlight each window | ||
− | || You will see:* <div style="margin-left:1.27cm;margin-right:0cm;">the''' ngspice terminal '''window,</div> | + | || You will see: |
+ | * <div style="margin-left:1.27cm;margin-right:0cm;">the''' ngspice terminal '''window,</div> | ||
* <div style="margin-left:1.27cm;margin-right:0cm;">the''' ngspice plot '''window</div> | * <div style="margin-left:1.27cm;margin-right:0cm;">the''' ngspice plot '''window</div> | ||
* <div style="margin-left:1.27cm;margin-right:0cm;">and the '''python plot '''window.</div> | * <div style="margin-left:1.27cm;margin-right:0cm;">and the '''python plot '''window.</div> | ||
− | |||
|- style="border:1pt solid #000000;padding:0.176cm;" | |- style="border:1pt solid #000000;padding:0.176cm;" | ||
Line 291: | Line 288: | ||
|- style="border:1pt solid #000000;padding:0.176cm;" | |- style="border:1pt solid #000000;padding:0.176cm;" | ||
|| '''Ngspice Plot '''window''':''' | || '''Ngspice Plot '''window''':''' | ||
− | || This shows the simulated output. | + | || This shows the '''simulated''' output. |
|- style="border:1pt solid #000000;padding:0.176cm;" | |- style="border:1pt solid #000000;padding:0.176cm;" | ||
|| Switch to the '''Python plot '''window : | || Switch to the '''Python plot '''window : | ||
Line 297: | Line 294: | ||
Select as per narration | Select as per narration | ||
− | |||
− | |||
− | |||
− | |||
Line 307: | Line 300: | ||
− | Select the '''nodes | + | Select the '''nodes (for voltage)''' and the '''branches (for current)''', which need to be displayed. |
Line 316: | Line 309: | ||
|- style="border:1pt solid #000000;padding:0.176cm;" | |- style="border:1pt solid #000000;padding:0.176cm;" | ||
|| '''Python plot '''window and the '''schematic '''window | || '''Python plot '''window and the '''schematic '''window | ||
− | || Click on the '''maximize | + | || Click on the '''maximize''' button on the '''Python plot '''window to see the plot better. |
|- style="border:1pt solid #000000;padding:0.176cm;" | |- style="border:1pt solid #000000;padding:0.176cm;" | ||
|| '''Python plot window ''' | || '''Python plot window ''' | ||
Line 331: | Line 324: | ||
|| Let us summarize. | || Let us summarize. | ||
− | In this tutorial, we learnt how to* <div style="margin-left:1.27cm;margin-right:0cm;">Install '''eSim version 1.1.2''' on '''Ubuntu Linux.'''</div> | + | In this tutorial, we learnt how to |
+ | * <div style="margin-left:1.27cm;margin-right:0cm;">Install '''eSim version 1.1.2''' on '''Ubuntu Linux.'''</div> | ||
* <div style="margin-left:1.27cm;margin-right:0cm;">Run '''eSim''' using '''Half wave rectifier '''as an example.</div> | * <div style="margin-left:1.27cm;margin-right:0cm;">Run '''eSim''' using '''Half wave rectifier '''as an example.</div> | ||
− | |||
|- style="border:1pt solid #000000;padding:0.176cm;" | |- style="border:1pt solid #000000;padding:0.176cm;" | ||
Line 347: | Line 340: | ||
Spoken tutorial workshops | Spoken tutorial workshops | ||
− | || We conduct workshops using Spoken Tutorials and give | + | || We conduct workshops using Spoken Tutorials and give certificates. |
Line 382: | Line 375: | ||
For more details, please visit this site. | For more details, please visit this site. | ||
− | |||
− | |||
|- style="border:1pt solid #000000;padding:0.176cm;" | |- style="border:1pt solid #000000;padding:0.176cm;" | ||
Line 394: | Line 385: | ||
Thank You | Thank You | ||
− | || This is | + | || This is Usha from IIT Bombay signing off. Thanks for watching |
|- | |- | ||
|} | |} |
Latest revision as of 08:40, 4 September 2019
Getting started with eSim - Linux Installation
Author: Usha Viswanathan, Gaurav Supal
Keywords: video tutorial, Free and open source software, EDA tool, Simulation
Visual Cue | Narration |
Show Slide:
Title slide |
Welcome to the Spoken Tutorial on “Getting started with eSim- Linux Installation.” |
Show Slide:
Learning Objectives |
In this tutorial, we will learn how to:
|
Show Slide:
System Requirements |
To install eSim, we will use
One can also use any version of Ubuntu Linux higher than 12.04. |
Show Slide:
Installation Requirements |
For the installation-
|
Show Slide:
Prerequisites |
To use eSim, one should have basic knowledge of
|
Show Slide:
Packages installed with eSim |
The following packages will be installed along with eSim:
|
Show Slide:
About eSim |
eSim is a free and open source software alternative to OrCAD.
It can be used to:
|
Show slide:
eSim Installation |
Let us first download the installer files from the eSim website.
|
Click on Downloads tab. | Click on Downloads tab. |
Point to eSim Installer – Linux | Click on eSim Installer – Linux |
Point to “OK” | Click on Save to save the installer in your computer. |
Click on Cancel | I will click on Cancel, as I have already downloaded this file earlier. |
Go to Downloads folder | Go to the folder where the installer file is downloaded. |
Right-click >> click on Extract Here | Right-click on it and click on Extract Here. |
Open Terminal | Now, open the terminal window by pressing the Ctrl, Alt and T keys together. |
Terminal:
Changing the directory where eSim is Downloaded |
Go to the directory where we have saved our eSim installer folder.
cd (space) eSim hyphen 1(point) 1(point)2
|
Terminal : | Now type-
(dot)(slash) install(hyphen) linux (dot) sh(space)(hyphen)(hyphen) install
|
Terminal:
|
On my terminal a message appears-
Is your Internet connection behind proxy?
|
Terminal: | If you are behind a network proxy, you should type Y.
As I am not behind a network proxy, let me type N and press Enter. |
Terminal:
Asking for nghdl installation? |
The next message displayed asks whether the user wants to install nghdl.
|
Terminal:
|
If prompted, type the root password and press Enter. |
Show eSim icon on Desktop | We can see that the installation of eSim on Ubuntu Linux OS is now complete. |
Show slide:
|
Now that we have installed eSim, let us do a test-run. |
Show slide:
|
Let us run an example using eSim.
|
To launch eSim, go to Desktop and double click on the eSim icon. | |
Desktop (shortcut created for eSim):
Double-click on the eSim icon >> eSim window opens |
To launch eSim, go to Desktop and double click on the eSim icon. |
The eSim window opens. | |
<<PAUSE>> | |
In the eSim startup window :
|
By default, the project files created, will be saved in the eSim-Workspace directory.
|
eSim window :
Click on Open Project |
To open the project, click on Open Project button on the top toolbar. |
eSim window:
|
Locate the folder where eSim is downloaded.
|
eSim window:
Point to Half wave rectifier under Projects.
|
Half wave rectifier will appear under Projects.
|
eSim window:
Click Open Schematic |
Click Open Schematic button on the left toolbar. |
You can now see the schematic of the half wave rectifier. | |
eSim Schematic Editor window:
Place cursor on schematic >> press F1 to zoom in >> press F2 to zoom out
|
Press the cursor on the schematic and press F1 key to zoom in.
|
eSim window: | Let us simulate this project. |
eSim window:
Click on Simulation button |
Click on Simulation button, in the left toolbar.
|
Terminal and Plot Windows:
|
You will see:
|
Ngspice Terminal Window: | If you are familiar with ngspice commands, then use this window to plot various other waveforms. |
Ngspice Plot window: | This shows the simulated output. |
Switch to the Python plot window :
|
Now, come to the Python plot window.
|
Output Waveform | Here, output voltage is rectified with respect to input. |
Python plot window and the schematic window | Click on the maximize button on the Python plot window to see the plot better. |
Python plot window | Click on the minimised schematic window.
You can now see the schematic and the plot together. |
This brings us to the end of this tutorial. | |
Show Slide:
Summary |
Let us summarize.
In this tutorial, we learnt how to
|
Show Slide:
Spoken tutorial workshops |
This video summarises the Spoken Tutorial project.
|
Show Slide:
Spoken tutorial workshops |
We conduct workshops using Spoken Tutorials and give certificates.
|
Show Slide:
Forum to answer questions |
Do you have questions in this Spoken Tutorial?
Choose the minute and second where you have the question. Explain your question briefly. Someone from the FOSSEE team will answer them. Please visit this site. |
Show Slide:
Forum to answer questions |
Do you have any general / technical questions on eSim?
Please visit the FOSSEE forum and post your question. |
Show Slide:
Textbook Companion |
The FOSSEE team coordinates coding of solved examples of popular books.
|
Show Slide:
Acknowledgment |
The Spoken Tutorial project is funded by NMEICT, MHRD, Govt. of India |
Show Slide:
Thank You |
This is Usha from IIT Bombay signing off. Thanks for watching |