Oscad/C2/Introduction-to-Oscad/English
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:
|
In this tutorial you will learn to
|
Show Slide:
System Requirements:
|
To install Oscad, we will use Ubuntu 12.04 OS, with Scilab 5.4.1
|
Show Slide:
Installation Requirements
|
A working Internet connection is required to install Oscad
You should have admin rights i.e you need to be a root user to do the installation. |
Show slide:
About Oscad:
Can be used to:
|
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:
|
Oscad was developed by the FOSSEE team at IIT Bombay.
This project is funded by NMEICT, MHRD, Government of India. |
Prerequisites:
|
To use Oscad,
are required. Please visit http://spoken-tutorial.org to watch Linux and Bash tutorials. |
Show Slide:
Prerequisites:
|
Synaptic Package Manager should also be installed on your computer.
You should also have working knowledge of Synaptic Package Manager. If not, please watch the relevant tutorials on http://spoken-tutorial.org. |
Switch to http://www.oscad.in. | To begin, let us go to the website http://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.
|
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 http://www.scilab.org | Now, go to the webpage http://www.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.
|
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.
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.
|
Type chmod 755 installOSCAD.sh installModule.sh
press Enter |
Next, make the installOSCAD and installModule files executable, by typing
|
Type ./installOscad.sh
|
Now let us begin the installation of Oscad.
|
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.
|
Type your proxy host name when asked for “Proxy Hostname”
Highlight “Proxy Hostname” |
You will be prompted for the proxy details next.
|
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 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 prompts 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.
Once this is done, re-run the installOscad.sh script. | |
Highlight “Do you have scilab5.4 or above? (y/n) “ | Let us now continue.
|
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.
|
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.
|
scilab-5.4.1 is linked to Oscad. | |
Point to metanet installation | The installer will also install metanet library for scilab–5.4.1
|
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.
|
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.
|
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.
|
Slide: Summary
|
<Pause>
Let us summarize. In this tutorial, we learnt
|
Show Slide | Watch the video available at the following link
|
Show Slide | The Spoken Tutorial Project Team
|
Show Slide | Spoken Tutorial Project is a part of the Talk to a Teacher project
|
Remain on previous slide only | Hope you found this tutorial useful.
|
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