<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://script.spoken-tutorial.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://script.spoken-tutorial.org/index.php?action=history&amp;feed=atom&amp;title=Arduino%2FC4%2FArduino-Programming-with-Scilab-and-Xcos%2FEnglish-timed</id>
		<title>Arduino/C4/Arduino-Programming-with-Scilab-and-Xcos/English-timed - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://script.spoken-tutorial.org/index.php?action=history&amp;feed=atom&amp;title=Arduino%2FC4%2FArduino-Programming-with-Scilab-and-Xcos%2FEnglish-timed"/>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=Arduino/C4/Arduino-Programming-with-Scilab-and-Xcos/English-timed&amp;action=history"/>
		<updated>2026-04-17T05:20:18Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.23.17</generator>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php?title=Arduino/C4/Arduino-Programming-with-Scilab-and-Xcos/English-timed&amp;diff=56002&amp;oldid=prev</id>
		<title>PoojaMoolya: Created page with &quot;{| border=&quot;1&quot; |- || '''TIME''' || '''NARRATION''' |- || 00:01 ||Welcome to the Spoken tutorial on '''Arduino Programming with Scilab and Xcos.''' |- || 00:08 || In this tutori...&quot;</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=Arduino/C4/Arduino-Programming-with-Scilab-and-Xcos/English-timed&amp;diff=56002&amp;oldid=prev"/>
				<updated>2022-08-22T07:27:35Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;{| border=&amp;quot;1&amp;quot; |- || &amp;#039;&amp;#039;&amp;#039;TIME&amp;#039;&amp;#039;&amp;#039; || &amp;#039;&amp;#039;&amp;#039;NARRATION&amp;#039;&amp;#039;&amp;#039; |- || 00:01 ||Welcome to the Spoken tutorial on &amp;#039;&amp;#039;&amp;#039;Arduino Programming with Scilab and Xcos.&amp;#039;&amp;#039;&amp;#039; |- || 00:08 || In this tutori...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|| '''TIME'''&lt;br /&gt;
|| '''NARRATION'''&lt;br /&gt;
|-&lt;br /&gt;
|| 00:01&lt;br /&gt;
||Welcome to the Spoken tutorial on '''Arduino Programming with Scilab and Xcos.'''&lt;br /&gt;
|-&lt;br /&gt;
|| 00:08&lt;br /&gt;
|| In this tutorial, we will learn about&lt;br /&gt;
|-&lt;br /&gt;
|| 00:12&lt;br /&gt;
|| '''Arduino - Scilab toolbox'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 00:15&lt;br /&gt;
|| Interfacing '''Arduino''' with '''Scilab'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 00:19&lt;br /&gt;
|| Interfacing''' Arduino '''with '''Xcos'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 00:23&lt;br /&gt;
|| To record this tutorial, I’m using&lt;br /&gt;
|-&lt;br /&gt;
|| 00:28&lt;br /&gt;
|| '''Ubuntu Linux '''OS version 18.04 &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 00:32&lt;br /&gt;
|| '''Arduino Shield''' and&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 00:34&lt;br /&gt;
|| '''Arduino Uno Board'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 00:37&lt;br /&gt;
||To follow this tutorial, you should go through the below '''Arduino spoken tutorial.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 00:44&lt;br /&gt;
||  '''Getting ready for Arduino FLOSS.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 00:48&lt;br /&gt;
|| In the above tutorial, you will learn&lt;br /&gt;
|-&lt;br /&gt;
|| 00:52&lt;br /&gt;
|| How to download the '''e-book''' and code files required for the experiments.&lt;br /&gt;
|-&lt;br /&gt;
|| 00:59&lt;br /&gt;
|| How to upload and '''compile Arduino programs''' in '''Arduino IDE.'''&lt;br /&gt;
|-&lt;br /&gt;
|| 01:05&lt;br /&gt;
|| About '''FLOSS Firmware'''&lt;br /&gt;
|-&lt;br /&gt;
|| 01:08&lt;br /&gt;
|| If you are not familiar with '''Scilab''', go through the''' Scilab spoken tutorials''' on this website.&lt;br /&gt;
|-&lt;br /&gt;
|| 01:16&lt;br /&gt;
|| You will learn about:&lt;br /&gt;
Introduction to '''Scilab'''&lt;br /&gt;
|-&lt;br /&gt;
|| 01:21&lt;br /&gt;
|| Introduction to '''Xcos'''&lt;br /&gt;
|-&lt;br /&gt;
|| 01:24&lt;br /&gt;
|| '''Scilab''' and '''Xcos''' interface and&lt;br /&gt;
'''Simulation''' &lt;br /&gt;
|-&lt;br /&gt;
|| 01:30&lt;br /&gt;
|| I have downloaded '''Microcontroller Programming with Arduino, Scilab and Xcos ebook'''.&lt;br /&gt;
|-&lt;br /&gt;
|| 01:38&lt;br /&gt;
|| Refer to chapter 3 in the book.&lt;br /&gt;
|-&lt;br /&gt;
|| 01:42&lt;br /&gt;
|| Follow the steps given for the '''installation''' of '''Arduino IDE '''and''' Scilab'''&lt;br /&gt;
|-&lt;br /&gt;
|| 01:49&lt;br /&gt;
|| '''Installation''' steps are given for '''Windows''' and '''Linux OS.'''&lt;br /&gt;
|-&lt;br /&gt;
|| 01:55&lt;br /&gt;
|| '''Xcos''' comes pre-installed with '''Scilab'''. Hence a separate installation of '''Xcos''' is not required.&lt;br /&gt;
|-&lt;br /&gt;
|| 02:05&lt;br /&gt;
||  The experiments that are covered in the book are tested in '''Ubuntu Linux 18.04 '''and '''Windows 10 OS.'''&lt;br /&gt;
|-&lt;br /&gt;
|| 02:15&lt;br /&gt;
|| Connect the '''Arduino uno board''' with '''Arduino shield''' to the '''USB port''' of the computer&lt;br /&gt;
|-&lt;br /&gt;
|| 02:23&lt;br /&gt;
|| Note the below points:&lt;br /&gt;
1. Launch '''Arduino IDE'''&lt;br /&gt;
|-&lt;br /&gt;
|| 02:29&lt;br /&gt;
|| 2. Check the '''port'''&lt;br /&gt;
|-&lt;br /&gt;
|| 02:31&lt;br /&gt;
|| 3. Upload the '''FLOSS firmware'''&lt;br /&gt;
|-&lt;br /&gt;
|| 02:34&lt;br /&gt;
|| That is, in the '''Arduino IDE''', upload the file available at '''Origin slash tools slash floss hyphen firmware slash floss hyphen firmware dot ino'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 02:49&lt;br /&gt;
|| As discussed in the earlier tutorial the above steps have to be done before proceeding further.&lt;br /&gt;
|-&lt;br /&gt;
|| 02:57&lt;br /&gt;
|| By default, '''Scilab '''does not have the capability to communicate with '''Arduino'''.&lt;br /&gt;
|-&lt;br /&gt;
|| 03:04&lt;br /&gt;
||  All such '''add-on functionalities''' are added to '''Scilab''' using the '''toolbox'''.&lt;br /&gt;
|-&lt;br /&gt;
|| 03:11&lt;br /&gt;
||  These '''functions''' are required to run various experiments on the '''Arduino Uno board.'''&lt;br /&gt;
|-&lt;br /&gt;
|| 03:18&lt;br /&gt;
||  It also establishes a '''serial communication''' with '''Arduino'''.&lt;br /&gt;
|-&lt;br /&gt;
|| 03:24&lt;br /&gt;
||  We have created different '''toolboxes''' for '''Windows''' and '''Linux OS.'''&lt;br /&gt;
|-&lt;br /&gt;
|| 03:30&lt;br /&gt;
|| The '''Scilab Arduino toolbox''' can be found inside the '''Origin slash tools slash scilab slash windows''' or '''Origin slash tools slash scilab slash linux'''  directory.&lt;br /&gt;
|-&lt;br /&gt;
|| 03:48&lt;br /&gt;
|| First we have to load the '''toolbox''' depending upon your '''OS'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 03:54&lt;br /&gt;
|| I’ll show you how to load the '''toolbox''' in '''Linux'''.&lt;br /&gt;
|-&lt;br /&gt;
|| 03:59&lt;br /&gt;
|| Open the '''terminal''' by pressing '''Ctrl+Alt+T''' keys.&lt;br /&gt;
|-&lt;br /&gt;
|| 04:05&lt;br /&gt;
|| I have already installed '''Arduino IDE''' and '''Scilab 5.5.2''' in my '''Linux''' system as specified in the book.&lt;br /&gt;
|-&lt;br /&gt;
|| 04:16&lt;br /&gt;
|| Go to the folder where '''Scilab''' is installed as shown and launch '''Scilab.'''&lt;br /&gt;
|-&lt;br /&gt;
|| 04:27&lt;br /&gt;
||Next we have to change the '''working directory'''.&lt;br /&gt;
|-&lt;br /&gt;
|| 04:31&lt;br /&gt;
|| In the''' File Browser,''' select the '''toolbox''' folder available at '''Desktop slash Origin slash tools slash scilab slash linux'''&lt;br /&gt;
|-&lt;br /&gt;
|| 04:45&lt;br /&gt;
|| Click on the '''OK''' button.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 04:48&lt;br /&gt;
|| Now the '''Scilab working directory''' becomes the '''toolbox''' folder.&lt;br /&gt;
|-&lt;br /&gt;
|| 04:54&lt;br /&gt;
|| In the '''file browser panel''', we can see the '''builder.sce '''file gets loaded.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 05:01&lt;br /&gt;
|| This shows that we are in the right '''directory'''.&lt;br /&gt;
|-&lt;br /&gt;
|| 05:05&lt;br /&gt;
||Type the '''command exec builder.sce''' on the '''Scilab console'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 05:13&lt;br /&gt;
|| Next, type the '''command exec loader.sce'''. This will load the '''toolbox'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 05:23&lt;br /&gt;
|| '''Note''': If you clear the '''workspace''' for any reason, you will have to '''execute''' this '''command''' once again.&lt;br /&gt;
|-&lt;br /&gt;
||05:32&lt;br /&gt;
||We have to run the '''Scilab script''' to check whether the '''firmware''' is properly installed or not.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 05:40&lt;br /&gt;
|| It is available at: '''Origin slash tools slash scilab slash test underscore firmware dot sce'''&lt;br /&gt;
|-&lt;br /&gt;
||05:49&lt;br /&gt;
|| In the '''Scilab console''', type '''editor''' and press the '''Enter''' key.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 05:56&lt;br /&gt;
|| Click on the “'''File'''” menu and choose “'''Open'''”. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 06:00&lt;br /&gt;
|| Browse to the '''directory Origin slash tools slash scilab.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 06:06&lt;br /&gt;
|| Choose the file '''test underscore firmware dot sce.'''&lt;br /&gt;
|-&lt;br /&gt;
|| 06:12&lt;br /&gt;
|| It will open a '''Scilab''' code.&lt;br /&gt;
|-&lt;br /&gt;
|| 06:15&lt;br /&gt;
|| In the '''menu bar''', click on the '''Execute '''option, to '''execute''' the code.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 06:21&lt;br /&gt;
|| Then choose '''File with no echo'''.&lt;br /&gt;
|-&lt;br /&gt;
|| 06:24&lt;br /&gt;
|| We see the '''response''' of this code as '''&amp;quot;answer is equal to ok&amp;quot;'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 06;31&lt;br /&gt;
|| This confirms the working of the '''Arduino-Scilab toolbox'''.&lt;br /&gt;
|-&lt;br /&gt;
|| 06:36&lt;br /&gt;
|| Next let us run the '''Scilab program''' in chapter 5. That is, '''Interfacing a Pushbutton.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 06:44&lt;br /&gt;
|| This '''program''' will read the '''status''' of the '''pushbutton''' and display it on the '''GUI'''.&lt;br /&gt;
|-&lt;br /&gt;
|| 06:51&lt;br /&gt;
|| Open the file available at '''Origin slash user hyphen code slash push slash scilab slash push hyphen button hyphen status dot sce'''&lt;br /&gt;
|-&lt;br /&gt;
|| 07:05&lt;br /&gt;
|| Click on the '''Execute''' button.&lt;br /&gt;
|-&lt;br /&gt;
|| 07:09&lt;br /&gt;
|| Press the '''pushbutton''' in the '''shield'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 07:13&lt;br /&gt;
|| The '''GUI''' in '''Scilab''' shows the status of the '''pushbutton''' as '''1''' when it is pressed.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 07:20&lt;br /&gt;
|| It shows '''0''' when it is released.&lt;br /&gt;
|-&lt;br /&gt;
|| 07:24&lt;br /&gt;
|| Likewise practice the experiments in '''Scilab''' with other components as specified in the book.&lt;br /&gt;
|-&lt;br /&gt;
|| 07:32&lt;br /&gt;
|| Next we will see how to run the '''Arduino program''' in '''Xcos'''.&lt;br /&gt;
|-&lt;br /&gt;
|| 07:38&lt;br /&gt;
|| Type '''Xcos''' in the '''editor''' to launch  '''Xcos'''.&lt;br /&gt;
|-&lt;br /&gt;
|| 07:44&lt;br /&gt;
||Next we will run the code to turn the '''LED on''' or '''off''', depending on the '''pushbutton'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 07:52&lt;br /&gt;
|| The code is available in the '''Origin slash user hyphen code slash push slash scilab slash led hyphen push hyphen button dot zcos'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 08:05&lt;br /&gt;
|| Click on the '''File''' menu and Open the file '''led hyphen push hyphen button dot zcos''' as shown.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 08:15&lt;br /&gt;
|| When the '''user''' presses the '''pushbutton''', the '''LED''' on '''digital pin 9''' of the '''shield''' is switched '''on'''.&lt;br /&gt;
|-&lt;br /&gt;
|| 08:23&lt;br /&gt;
|| When the '''pushbutton''' is released, the '''LED''' is switched '''off'''.&lt;br /&gt;
|-&lt;br /&gt;
|| 08:29&lt;br /&gt;
||Do the other'''Xcos''' experiments as specified in the book.&lt;br /&gt;
|-&lt;br /&gt;
|| 08:35&lt;br /&gt;
|| Points to remember:&lt;br /&gt;
&lt;br /&gt;
Whenever you plug the '''Arduino Uno board''' into the computer, check for the '''port'''.&lt;br /&gt;
|-&lt;br /&gt;
|| 08:44&lt;br /&gt;
|| Then '''execute''' the '''commands''' required for '''read-write permission'''.&lt;br /&gt;
|-&lt;br /&gt;
|| 08:49&lt;br /&gt;
|| Don’t upload any '''Arduino program''' after uploading the '''FLOSS firmware''' to '''Arduino Uno board.'''&lt;br /&gt;
|-&lt;br /&gt;
|| 08:57&lt;br /&gt;
|| This would overwrite the '''FLOSS firmware'''.&lt;br /&gt;
|-&lt;br /&gt;
|| 09:01&lt;br /&gt;
|| Check if the '''Arduino-Scilab toolbox''' is properly '''running''' or not.&lt;br /&gt;
|-&lt;br /&gt;
|| 09:07&lt;br /&gt;
|| You have to load the '''Arduino Scilab toolbox '''each time when you launch '''Scilab'''.&lt;br /&gt;
|-&lt;br /&gt;
|| 09:14&lt;br /&gt;
|| With this we come to the end of this tutorial. Let us summarize.&lt;br /&gt;
|-&lt;br /&gt;
|| 09:20&lt;br /&gt;
|| In this tutorial, we learnt about &lt;br /&gt;
'''Arduino - Scilab toolbox'''&lt;br /&gt;
|-&lt;br /&gt;
|| 09:27&lt;br /&gt;
||  Interfacing '''Arduino''' with '''Scilab'''&lt;br /&gt;
|-&lt;br /&gt;
|| 09:31&lt;br /&gt;
||  Interfacing''' Arduino '''with '''Xcos'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 09:35&lt;br /&gt;
|| The video at the following link,summarizes the''' Spoken Tutorial '''project.&lt;br /&gt;
Please download and watch it.&lt;br /&gt;
|-&lt;br /&gt;
|| 09:44&lt;br /&gt;
|| The '''Spoken Tutorial''' Project Team conducts workshops and gives certificates.&lt;br /&gt;
For more details, please write to us.&lt;br /&gt;
|-&lt;br /&gt;
|| 09:55&lt;br /&gt;
|| Please post your timed queries on this forum.&lt;br /&gt;
|-&lt;br /&gt;
||09:59&lt;br /&gt;
|| Spoken Tutorial project is funded by the Ministry of Education (MoE), Govt. of India.&lt;br /&gt;
|-&lt;br /&gt;
|| 10:06&lt;br /&gt;
||This is Nirmala venkat from Spoken Tutorial Project, IIT Bombay signing off.&lt;br /&gt;
&lt;br /&gt;
Thanks for joining.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>PoojaMoolya</name></author>	</entry>

	</feed>