Oscad/C2/Introduction-to-Oscad/English

From Script | Spoken-Tutorial
Revision as of 17:08, 12 December 2013 by Rupakrokade (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Title of the Script: Introduction to Oscad

Author: Rakhi

Keywords: video tutorial, Oscad, schematic, simulation, EDA, PCB layout, scilab, installation


Visual cue Narration
Welcome to the Spoken Tutorial on “Introduction to Oscad Welcome to the Spoken Tutorial on “Introduction to Oscad
Show Slide:

Learning Objectives:

  • install Oscad 1.0
  • test run Oscad using an example


In this tutorial you will learn to
  • install Oscad version 1.0 and
  • test run Oscad using an example


Show Slide:


System Requirements:


-Ubuntu 12.04 OS-scilab 5.4.0 or above


- Windows installation: refer to oscad.in

To install Oscad, we will use Ubuntu 12.04 OS, with Scilab 5.4.1


For installing Oscad on Windows OS, refer to the installation instructions available at oscad.in website.



Show Slide:

Installation Requirements

Require a working Internet connection


Require to be an admin (root) user to do the installation

A working Internet connection is required to install Oscad


You should have admin rights i.e you need to be a root user ….have admin rights ie. you need to be a root user.... to do the installation.

Show slide:


About Oscad:

  • Free and open source software alternative to OrCAD


Can be used to:

- create circuit schematic

- perform simulation

- and create PCB layout

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


It can be used to create circuit schematics, perform simulation and create PCB layout.



Show slide:


Credits and Acknowledgements:


- Developed by FOSSEE group, IIT Bombay


- Funded by NMEICT, MHRD, Govt. of India

Oscad was developed by the FOSSEE team“team” is a better word at IIT Bombay.


This project is funded by NMEICT, MHRD, Government of India.



Prerequisites:


  1. Basic knowledge of analog and
    digital electronics
  2. Knowledge of Linux shell commands
  3. Please visit http://spoken-tutorial.org to watch Linux and Bash tutorials


To use Oscad, basic knowledge of analog and digital electronics and Linux shell commands are required.


Please visit http://spoken-tutorial.org to watch Linux and Bash tutorials.



Show Slide:

Prerequisites:

  1. Synaptic Package Manager should also be installed on your computer.
  2. This can be done using Ubuntu Software Center.
  3. Working knowledge of Synaptic Package Manager.
  4. Please watch the relevant tutorials on http://spoken-tutorial.org.


Synaptic Package Manager should also be installed on your computer.


If not installed, you can do so by using Ubuntu Software Center.


You should also have a working knowledge of Synaptic Package Manager.

If not please watch the relevant tutorials on spoken-tutorial.org.



Switch to www.oscad.in. To begin, let us go to the website www.oscad.in to download the installer files.
Click on Downloads tab. On this website, click on the Downloads tab.
Click on the link>> Oscad Installer. Click on the link, Oscad Installer Linux.


Save the installer in a folder on your computer.

Click on cancel I will click on Cancel as I have already downloaded this file.
Go back to the same webpage >> click on Oscad Examples. On the same webpage, click on Oscad Examples.
Browse to the same directory as before.

Click on Save.

Save the file in the same directory where you saved the Oscad Installer.
Click on cancel I will click on Cancel as I have already downloaded this file
Switch to www.scilab.org. Now go to the webpage scilab.org to download Scilab.
Click on Download Scilab. You can skip this step, if you have scilab 5.4.0 or above installed in your system.


You can also skip this step, if you do not want the Scilab based simulation feature in Oscad.


Let us continue and download Scilab 5.4.1.


Click on the Download Scilab option on this webage.

Browse to the same directory as before. Save the file in the same directory where you saved the Oscad installer.
Click on cancel I will click on Cancel as I have already downloaded this file.
Show folder Here is the folder which has all the downloaded files.
Select all the downloaded files. Select all the downloaded files.
Right click on it and click on Extract Here Right click on it and click on Extract Here



Press control, alt and t keys together Now open the terminal window by pressing the Control, Alt and T keys together.
Type


cd folder-where-downloaded-files-are-saved

Go to the directory where you have saved the Oscad installer.


Let me do this by typing

cd space foldername, where the downloaded files are saved and press Enter.

cd OSCAD_installer


Type cd space OSCAD underscore installer to go to the installer directory.


Press Enter.

chmod 755 installOSCAD.sh installModule.sh

press enter

Next, make the installOSCAD and installModule files executable, by typing


chmod space 755 space installOSCAD.sh space installModule.sh


Press Enter.

type ./installOscad.sh


and press Enter

Now let us begin the installation of Oscad.


Type ./installOSCAD.sh and press Enter.

Highlight “Is your internet connection behind proxy? (y/n): “ The installer asks about the proxy.
type y press Enter If you are behind a network proxy, you should type 'y' else type 'n'.


As I am behind a network proxy, let me type ‘y’ and press Enter.

Type your proxy host name when asked for “Proxy Hostname”

Highlight “Proxy Hostname”

You will be prompted for the proxy details next.


Note that, if you type 'n', proxy details will not be asked.


Type the host-name of your proxy and press Enter.

Type the proxy port when asked for “Proxy Port” Highlight “Proxy Port” Type the proxy port when prompted and press Enter.
Type username, press enter

Highlight username@proxy-hostname


Type your login password when asked for “Password” . Press Enter

Type your username and password when prompted and press Enter key.
Type your PC/Laptop root password when it asks “[sudo] password for your-username”

Press enter

When prompted, type the root password and press Enter.
Highlight The message “Do you want to continue [Y/n]:” The message “Do you want to continue ” is displayed
Press y and press Enter. Press y and press Enter.

Press y and press Enter if it promts to install packages without verification

Kicad, Ngspice and necessary Python modules will be installed.

While installing the python modules, you may get some error messages.


In that case, install the missing packages using Synaptic Package Manager.

Once this is done, re-run the installOscad.sh script.

Highlight “Do you have

scilab5.4 or above? (y/n) “

Let us now continue.


The message “Do you have scilab5.4 or above?“ is displayed.

Type y and press Enter. If you do not want to use Scilab, type n.

You will be directly asked to enter the installation directory.


If you type y you will proceed to linking scilab with Oscad


Let us type y and press Enter.



type the complete path of the folder in which you have saved and extracted scilab-5.4.1 When prompted, type the complete path of the folder in which you have saved scilab-5.4.1.


Let me give the path and press Enter.

scilab-5.4.1 is linked to Oscad.
Point to metanet installation The installer will also install metanet library for

scilab5.4.1


This will take a couple of minutes.

With this, all requisite packages of Oscad are installed.
Highlight “Please select installation directory”


The message “Please select installation directory” is displayed next.
type the complete path where you want

to install Oscad.

Type the complete path where you want to install Oscad.
press Enter If you press Enter without specifying any path, Oscad gets installed in the home directory.


Let me press Enter.

Show message installation complete You can see that the installation of Oscad is now complete.
Show Slide:

- Test run Oscad using an example

- RC filter circuit

Now let us test run Oscad using an example.



On the Desktop, double-click on the Oscad icon. A shortcut to Oscad is created on your desktop.


Double-click on it to launch Oscad.



Now the Oscad window opens up. Now the Oscad window opens up.
If you are not able to launch Oscad this way, you can do so by opening the terminal and typing oscad
Click on Project tab at the top left hand corner of this window To open a project, click on Project tab
Click on Open. Click on Open.
Browse to the folder where you have saved the Oscad Examples. Browse to the folder where you have saved the Oscad Examples.

We will use RC filter circuit

choose the folder RC by double clicking on it.

Now click on OK

Double-click on the folder RC and click on OK.
Click on OK when the “Enter Project name” dialog box opens up. In the “Enter Project name” dialog box, click on OK.
Point to tools bar Now the Oscad toolbar is displayed.
Point to each of the tools There are various tools like schematic editor, Layout editor etc
Click on schematic editor. Schematic editor helps to create circuit schematics.


Let us open the schematic of RC filter circuit by clicking on schematic editor.

A load error message will pop up.

Click on close.

A load error message will pop up.

Click on close.

Point to circuit schematic This is the circuit schematic of RC filter.
zoom in by pressing F1 key.

Zoom out by pressing F2 key.

Place the cursor on the circuit schematic and press F1 key to zoom in.

To zoom out use F2 key.



Now let us simulate this circuit and verify the installation of Oscad.
click on Ngspice from the tools bar Now click on Ngspice from the tool bar.

This will simulate the netlist using Ngspice.

You will see a new terminal window and a graph window.

.

Show the graphs, and new terminal window The terminal window is in the ngspice simuation mode.



Show graph

Click on Model Builder tool

Show the window titled 'Please select the model'.

Click on Cancel.

Close the Model Builder. Click on OK.

Repeat for Subciruit Builder

The graph shows the result of transient analysis of RC circuit.

Click on the Model Builder tool from the Oscad toolbar.

Verify that you get the window titled 'Please select the model'.

This verifies Moble Builder tool is working properly

Click on Cancel.

Close the Model Builder. Click on OK.

Similarly verify that you are able to launch Subcircuit Builder, as shown.


With this, the installation of Oscad is verified.

Slide: Summary
  • To install Oscad 1.0
  • Test run Oscad using an example


<Pause>

Let us summarize.

In this tutorial, we learnt

to install Oscad version 1.0 and

test run Oscad using an example

Show Slide Watch the video available at the following link
  • It summarises the Spoken Tutorial project
  • If you do not have good bandwidth, you can download and watch it


Show Slide The Spoken Tutorial Project Team
  • Conducts workshops using spoken tutorials
  • Gives certificates to those who pass an online test
  • For more details, please write to contact at spoken hyphen tutorial dot org


Show Slide Spoken Tutorial Project is a part of the Talk to a Teacher project
  • It is supported by the National Mission on Education through ICT, MHRD, Government of India
  • More information on this Mission is available at spoken hyphen tutorial dot org slash NMEICT hyphen Intro


Remain on previous slide only Hope you found this tutorial useful.


This is Rupak and Rakhi from Spoken Tutorial Project, IIT Bombay signing off.


Thank you

Required software and files – Ubuntu 12.04, internet connection, OSCAD_installer.tar.gz, Examples.tar.gz, scilab-5.4.1 tar file, watch tutorials on Linux, Bash, Ubuntu, knowledge of synaptic package manager

Contributors and Content Editors

Nancyvarkey, Rupakrokade