Arduino/C4/Getting-Ready-for-Arduino-FLOSS/English
VISUAL CUE | NARRATION |
Slide 1: | Welcome to the Spoken tutorial on Getting ready for Arduino FLOSS. |
Slide 2:
Learning Objectives |
In this tutorial, we will learn about
|
Slide 3:
System requirement |
To record this tutorial, I’m using
|
Slide 4:
Prerequisites |
To follow this tutorial,you should be familiar with
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:
|
First, let us download the e-books and the code files required for the experiments. | |
Go to the website https://fossee.in/ | Go to theFOSSEE website developed by theFOSSEE team at IIT Bombay. |
Scroll down and point to FLOSS Arduino.
Point to various FLOSS |
|
Click on the Resource menu.
Point or highlight according to narration |
Next, click on the Resources menu in the top menu bar.
|
Click on the Downloads menu
Point or highlight according to narration |
Next, click on the Downloads tab.
|
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 the Origin folder .
Open the Origin folder.
|
In this tutorial, we will see how to run experiments on Arduino 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 |
|
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 |
Next, let us see the picture of the shield.
|
About the experiments Show the pages in the book |
We will perform the below experiments using the shield.
|
:
About the experiments |
The next two experiments are performed without the shield.
|
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 is connected. |
Type
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
>./arduino |
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 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 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 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
Origin/tools/arduino-firmware/floss-firmware.ino Point to the success message |
Now we will upload the FLOSS firmware to the Arduino Uno.
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:
|
With this, we come to the end of this tutorial. Let us summarize. | |
Slide 11: Summary |
In this tutorial, we learnt about
|
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. |