From Script | Spoken-Tutorial
Jump to: navigation, search

Slide 1: Welcome to the Spoken tutorial on Getting ready for Arduino FLOSS.
Slide 2:

Learning Objectives

In this tutorial, we will learn about
  • How to download the e-book and code files from the FLOSS-Arduino website
  • Arduino Shield
  • Microcontroller Programming with Arduino IDE
  • FLOSS firmware
Slide 3:

System requirement

To record this tutorial, I’m using
  • Ubuntu Linux OS version 18.04
  • Arduino Shield
  • Arduino Uno Board and
  • Arduino IDE
Slide 4:


To follow this tutorial,you should be familiar with
  • Arduino Uno Board
  • Any Programming language

If not, then go through the relevant spoken tutorials on this website.

Slide 5:

About Arduino:

Go through the Arduino Spoken Tutorials to know about:
  • Hardware components
  • Installation of Arduino IDE
  • Selecting the port in Arduino IDE and
  • Compiling and uploading a program
First, let us download the e-books and the code files required for the experiments.
Go to the website Go to the FOSSEE website developed by the FOSSEE team at IIT Bombay.
Scroll down and point to FLOSS Arduino.

Point to various FLOSS

scroll down and show the content

  • Scroll down and locate the FLOSS Arduino. Click on it.
  • It will open the FLOSS Arduino webpage.
  • On the Home page, click on the FLOSS link in the left panel.
  • You will know more information about the FLOSS that are used in the e-book.
  • We have covered various FLOSS like Arduino IDE, Python, Scilab, Xcos, Julia, and OpenModelica.
Click on the Resource menu.

Point or highlight according to narration

Next, click on the Resources menu in the top menu bar.
  • Information about the Arduino shield and project file is available here.
  • The required gerber files to make the shield are given in this link.
  • Bill of material is available in this link.
  • Also, you can see the information regarding where to buy the Arduino shield.
  • You can also do experiments with the breadboard and the required components.
  • You can buy the components from the link given on the website.
Click on the Downloads menu

Point or highlight according to narration

Next, click on the Downloads tab.
  • You can see links to .pdf files, which contain the soft copy of the books.
  • Download the book on your computer based on your interest.
  • You can see an Origin zip file link.
  • This contains the code files that are used in the books for various experiments.
  • Download the zip file and extract the file on the Desktop.
highlight I have downloaded all the e-books and the Origin folder on my desktop.
Go to the Desktop and open the Origin folder.

Point or highlight according to narration

Let us see the content of theOrigin folder .

Open the Origin folder.

  • We can see two folders as tools and user-code.
  • In the tools folder, we have given the toolbox required for various software.
  • Follow the instructions given in the book on how to load the toolbox.
  • In theuser-code folder, all the codes required for various experiments are given here.
In this tutorial,we will see how to run experiments onArduino IDE.

I’ll open the python.pdf and show the various chapters of the book.

Show the relevant pages in the book.

Chapter 3: Page 18, 19

  • Refer to chapter 3 in the book that you have downloaded.
  • Follow the steps given for the installation of Arduino IDE
  • Install the Arduino IDE depending upon your OS
  • The experiments that are covered in the book are tested in Ubuntu Linux 18.04 and Windows 10 OS.
Slide 6:

Arduino IDE installation:

You have to install Arduino IDE 1.8.13 either in Linux or Windows OS.

Note that an internet connection is required to do the installation.

About Shield Show the image of the shield

shield placement.jpeg

Next, let us see the picture of the shield.
  • This is the shield developed by the FOSSEE team.
  • It contains various components required for the experiments.
  • It is a ready-to-use shield that is wired with the respective pin of the Arduino Uno board.

About the experiments

Show the pages in the book

We will perform the below experiments using the shield.
  1. Interfacing a Light Emitting Diode
  2. Interfacing a Pushbutton
  3. Interfacing a Light Dependent Resistor
  4. Interfacing a Potentiometer
  5. Interfacing a Thermistor
  6. Interfacing a Servo Motor

About the experiments

The next two experiments are performed without the shield.
  1. Interfacing a DC Motor
  2. Implementation of Modbus Protocol
Show the image:

First, connect the shield to the Arduino Uno board.

Then connect the board to the USB port of the computer.

Open the Linux terminal by pressing Ctrl+Alt+T keys simultaneously.
Open the terminal First we have to check the port on which the Arduino Uno board is connected.

ls /dev/ttyACM*

Highlight ttyACM0

sudo chmod a+rw /dev/ttyACM0

Type the below command.

In my case, the port is ttyACM0.

Please note down the port in your system.

Type the command as shown to give the read, write permission to the port.

Enter the system password if prompted

This command has to be executed each time when you connect the Arduino board to the computer.

> cd opt/arduino-1.8.13


I have already installed Arduino IDE in my system as specified in the book.

Follow the steps as shown in chapter 3 and launch Arduino IDE.

Arduino IDE opens as shown here.

Select Tools>>port

Point to ttyACM0

Click on the Tools menu and select Port.

Make sure the port ttyACM0 is selected.

Show the chapter 4 heading and the program led-blue.ino

Let us test the working of the Arduino Uno board with a simple program.

Let us check the experiment specified in chapter 4. That is, Interfacing a Light Emitting Diode. This program will light the blue LED on the shield.

Open the file In the Arduino IDE, open the file available at Origin/ user-code/ led/ arduino/led-blue/ led-blue.ino.
Compile and upload

Show the output

Blue led.jpg

Compile and upload the program.

Now we can see the blue LED is turned on. This shows the Arduino Uno board and the shield are working correctly.

Show the experiments in the book Likewise, practice the other experiments with arduino code that are specified in the book.
Now we will learn how to connect Arduino with various FLOSS.
Slide 8:

About FLOSS Firmware:

For this, we have to upload the FLOSS firmware on the Arduino Uno board using Arduino IDE.

This firmware is an Arduino file with .ino extension.

Slide 9:

Why do we need FLOSS Firmware?

Why do we need FLOSS Firmware?

This enables the communication betweenFLOSS and Serial port.

It will decode and execute the commands sent by other FLOSS.

For example FLOSS such as Python, Scilab, Julia, OpenModelica etc.

Open the file


Point to the success message

Now we will upload the FLOSS firmware to the Arduino Uno board.

In the Arduino IDE, open the file available at Origin/tools/floss-firmware/floss-firmware.ino

Compile and upload the program.

We can see the success message at the bottom of the IDE.

It shows FLOSS firmware has been properly installed.

Slide 10:

Points to remember:

Points to remember:
  • Whenever you plug the Arduino Uno board into the computer, check for the port.
  • Then execute the command required for read-write permission.
  • Don’t upload any Arduino program after uploading the FLOSS firmware to Arduino Uno board.
  • This would overwrite the FLOSS firmware.
With this, we come to the end of this tutorial. Let us summarize.

Slide 11:


In this tutorial, we learnt about
  • How to download the e-book and code files from the FLOSS-Arduino website
  • Arduino Shield
  • Microcontroller Programming with Arduino IDE
  • FLOSS firmware
Slide 12:

(About Spoken Tutorial Project)

The video at the following link summarizes the Spoken Tutorial project.

Please download and watch it.

Slide 13:

(About Spoken Tutorial Project)

The Spoken Tutorial Project Team conducts workshops and gives certificates.

For more details, please write to us.

Slide 14:

Forum questions:

  • Please post your timed queries on this forum.
Slide 15: Acknowledgement Spoken Tutorial project is funded by the Ministry of Education (MoE), Govt. of India.
This is Nirmala venkat from Spoken Tutorial Project, IIT Bombay, signing off.

Thanks for joining.

Contributors and Content Editors

Nancyvarkey, Nirmala Venkat