Difference between revisions of "ESim/C2/Getting-started-with-eSim-Linux-installation/English"

From Script | Spoken-Tutorial
Jump to: navigation, search
(Created page with "'''Getting started with eSim. -Linux Installation''' '''Author: Usha Viswanathan, Gaurav Supal''' '''Keywords: video tutorial, Free and open source software, EDA tool, Simu...")
 
Line 25: Line 25:
 
* Install''' eSim''' version 1.1.2 on '''Ubuntu Linux'''
 
* Install''' eSim''' version 1.1.2 on '''Ubuntu Linux'''
 
* Run''' eSim''' using an example.
 
* Run''' eSim''' using an example.
 
 
  
 
|-
 
|-
Line 46: Line 44:
 
* We require a working''' Internet connection.'''
 
* We require a working''' Internet connection.'''
 
* We also require to be a '''root user. '''
 
* We also require to be a '''root user. '''
 
 
  
 
|-
 
|-
Line 56: Line 52:
  
 
* '''Analog''' and''' Digital electronics.'''
 
* '''Analog''' and''' Digital electronics.'''
 
 
  
 
|-
 
|-
Line 73: Line 67:
 
* NgSpice
 
* NgSpice
 
* KiCad
 
* KiCad
 
 
  
 
|-
 
|-
Line 87: Line 79:
 
* perform''' simulation'''
 
* perform''' simulation'''
 
* and create''' PCB layout.'''
 
* and create''' PCB layout.'''
 
 
  
 
|-
 
|-
Line 202: Line 192:
 
Running eSim
 
Running eSim
 
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.0694in;"| Now that we have installed '''eSim''', let us do a test-run.
 
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.0694in;"| Now that we have installed '''eSim''', let us do a test-run.
 
 
 
  
 
|-
 
|-
Line 211: Line 198:
  
 
Example for test Run
 
Example for test Run
 
  
  
Line 304: Line 290:
 
* the''' ngspice plot '''window
 
* the''' ngspice plot '''window
 
* and the '''python plot '''window.
 
* and the '''python plot '''window.
 
 
  
 
|-
 
|-
Line 355: Line 339:
 
* Install '''eSim version 1.1.2''' on '''Ubuntu Linux.'''
 
* Install '''eSim version 1.1.2''' on '''Ubuntu Linux.'''
 
* Run '''eSim''' using '''Half wave rectifier '''as an example.
 
* Run '''eSim''' using '''Half wave rectifier '''as an example.
 
 
  
 
|-
 
|-

Revision as of 15:29, 4 May 2017

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
  • Install eSim version 1.1.2 on Ubuntu Linux
  • Run eSim using an example.
Show Slide:

System Requirements

To install eSim, we will use
  • Ubuntu Linux 16.04.

One can also use any version of Ubuntu Linux higher than 12.04.

Show Slide:

Installation Requirements

For the installation-
  • We require a working Internet connection.
  • We also require to be a root user.
Show Slide:

Prerequisites

To use eSim, one should have basic knowledge of
  • Analog and Digital electronics.
Show Slide:

Packages installed with eSim


The following packages will be installed along with eSim:
  • Python 2.7
  • PyQt4
  • Matplotlib
  • NgSpice
  • KiCad
Show Slide:

About eSim

eSim is a free and open source software alternative to OrCAD.

It can be used to:

  • create circuit schematic,
  • perform simulation
  • and create PCB layout.
Show slide:

eSim Installation

Let us first download the installer files from the eSim website.


Go to the eSim website, as shown here.

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: Go to the directory where we have saved our eSim installer folder.
Changing the directory where eSim is Downloaded On my machine, I will type-

cd (space) eSim hyphen 1(point) 1(point)2


and press Enter.


This will take me to my installer folder.

Terminal:


Now type-

(dot)(slash) install(hyphen) linux (dot) sh(space)(hyphen)(hyphen) install


and press Enter.

Terminal:


Proxy Connection

On my terminal a message appears-

Is your Internet connection behind proxy?


This message will appear if you are using a network proxy else it won't.

Terminal: If you are behind a network proxy, you should type Y.


If not, then type N.

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.


For basic simulations, nghdl is not required.


Also, since nghdl is in developing stage, we will type ‘N’ and press Enter.

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:


Running eSim

Now that we have installed eSim, let us do a test-run.
Show slide:


Example for test Run


Let us run an example using eSim.


We are using Half wave Rectifier example for the test-run.


Now let us open the project.

Desktop (shortcut created for eSim) To launch eSim, goto Desktop and double click on the eSim icon
Double-click on the eSim icon >> eSim window opens The eSim window opens.
<<PAUSE>>
In the eSim startup window By default, the project files created, will be saved in the eSim-Workspace directory.
Press “Ok Click on “Ok” in the dialog box.
eSim window >>click on Open Project To open the project, click on Open Project button on the top toolbar.
Esim window:


Selecting the project folder

Locate the folder where eSim is downloaded.


Open eSim folder and go to Examples folder.


Now, open the Half wave rectifier folder.

Point to Half wave rectifier under Projects. Half wave rectifier will appear under Projects.
Double-click on project file Double-click to select the project.
Click Open Schematic Click Open Schematic button on the left toolbar.


You can now see the schematic of the half wave rectifier.

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.


To zoom out, use the F2 key.

Now come to the eSim window

Close the Schematic window. Now let us simulate this project.
Click on Simulation button Click on Simulation button, in the left toolbar.


This will simulate the circuit.

Terminal and Plot Windows:


Highlight each window

You will see:
  • the ngspice terminal window,
  • the ngspice plot window
  • and the python plot window.
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.
Select as per narration Select the nodes (for voltage) and the branches (for current), which need to be displayed.
Click on Plot Click on Plot.
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

  • Install eSim version 1.1.2 on Ubuntu Linux.
  • Run eSim using Half wave rectifier as an example.
Show Slide:


Spoken tutorial workshops

This video summarises the Spoken Tutorial project.


Please download and watch it.

Show Slide:

Spoken tutorial workshops

We conduct workshops using Spoken Tutorials and give Certificates.


Please contact us.

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.


We give honorarium and certificates for those who do this.


For more details, please visit this site.

Show Slide:

Acknowledgment

The Spoken Tutorial project is funded by NMEICT, MHRD, Govt. of India
Show Slide:

Thank You

This is ----- from IIT Bombay signing off. Thanks for watching

Contributors and Content Editors

Nancyvarkey, PoojaMoolya, Saurabhbansode, Vineeta