Arduino/C4/Getting-Ready-for-Arduino-FLOSS/English-timed
From Script | Spoken-Tutorial
Revision as of 12:53, 22 August 2022 by PoojaMoolya (Talk | contribs)
TIME | NARRATION |
00:01 | Welcome to the Spoken tutorial on Getting ready for Arduino FLOSS. |
00:07 | In this tutorial, we will learn about
How to download the e-book and code files from the FLOSS-Arduino website |
00:17 | Arduino Shield |
00:19 | Microcontroller Programming with Arduino IDE |
00:24 | FLOSS firmware |
00:26 | To record this tutorial, I’m using
Ubuntu Linux OS version 18.04 |
00:35 | Arduino Shield |
00:37 | Arduino Uno Board and |
00:40 | Arduino IDE |
00:43 | To follow this tutorial,you should be familiar with
Arduino Uno Board |
00:50 | Any Programming language |
00:53 | If not, then go through the relevant spoken tutorials on this website. |
00:59 | Go through the Arduino Spoken Tutorials to know about: |
01:04 | Hardware components |
01:07 | Installation of Arduino IDE |
01:10 | Selecting the port in Arduino IDE and |
01:14 | Compiling and uploading a program |
01:18 | First, let us download the e-books and the code files required for the experiments. |
01:25 | Go to the FOSSEE website developed by the FOSSEE team at IIT Bombay. |
01:33 | Scroll down and locate the FLOSS Arduino. Click on it. |
01:39 | It will open the FLOSS Arduino webpage. |
01:43 | On the Home page, click on the FLOSS link in the left panel. |
01:49 | You will know more information about the FLOSS that are used in the e-book. |
01:55 | We have covered various FLOSS like Arduino IDE, Python, Scilab, Xcos, Julia, and OpenModelica. |
02:05 | Next, click on the Resources menu in the top menu bar. |
02:10 | Information about the Arduino shield and project file is available here. |
02:17 | The required gerber files to make the shield are given in this link. |
02:23 | Bill of material is available in this link. |
02:27 | Also, you can see the information regarding where to buy the Arduino shield. |
02:34 | You can also do experiments with the breadboard and the required components. |
02:42 | You can buy the components from the link given on the website. |
02:47 | Next, click on the Downloads tab. |
02:51 | You can see links to .pdf files, which contain the soft copy of the books. |
02:58 | Download the book on your computer based on your interest. |
03:04 | You can see an Origin zip file link. |
03:08 | This contains the code files that are used in the books for various experiments. |
03:15 | Download the zip file and extract the file on the Desktop. |
03:21 | I have downloaded all the e-books and the Origin folder on my desktop. |
03:28 | Let us see the content of theOrigin folder . |
03:32 | Open the Origin folder. |
03:35 | We can see two folders as tools and user-code. |
03:40 | In the tools folder, we have given the toolbox required for various software. |
03:47 | Follow the instructions given in the book on how to load the toolbox. |
03:53 | In theuser-code folder, all the codes required for various experiments are given here. |
04:00 | In this tutorial,we will see how to run experiments onArduino IDE. |
04:06 | I’ll open the python.pdf and show the various chapters of the book. |
04:13 | Refer to chapter 3 in the book that you have downloaded. |
04:18 | Follow the steps given for the installation of Arduino IDE |
04:26 | Install the Arduino IDE depending upon your OS |
04:32 | The experiments that are covered in the book are tested in Ubuntu Linux 18.04 and Windows 10 OS. |
04:42 | You have to install Arduino IDE 1.8.13 either in Linux or Windows OS. |
04:51 | Note that an internet connection is required to do the installation. |
04:57 | Next, let us see the picture of the shield. |
05:01 | This is the shield developed by the FOSSEE team. |
05:06 | It contains various components required for the experiments. |
05:11 | It is a ready-to-use shield that is wired with the respective pin of the Arduino Uno board. |
05:19 | We will perform the below experiments using the shield. |
05:25 | Interfacing a Light Emitting Diode |
05:28 | Interfacing a Pushbutton |
05:31 | Interfacing a Light Dependent Resistor |
05:35 | Interfacing a Potentiometer |
05:38 | Interfacing a Thermistor |
05:41 | Interfacing a Servo Motor |
05:44 | The next two experiments are performed without the shield. |
05:49 | Interfacing a DC Motor |
05:52 | Implementation of Modbus Protocol |
05:56 | First, connect the shield to the Arduino Uno board. |
06:01 | Then connect the board to the USB port of the computer. |
06:07 | Open the Linux terminal by pressing Ctrl+Alt+T keys simultaneously. |
06:14 | First we have to check the port on which the Arduino Uno board is connected. |
06:20 | Type the below command. |
06:23 | In my case, the port is ttyACM0. |
06:28 | Please note down the port in your system. |
06:32 | Type the command as shown to give the read, write permission to the port. |
06:38 | Enter the system password if prompted |
06:43 | This command has to be executed each time when you connect the Arduino board to the computer. |
06:51 | I have already installed Arduino IDE in my system as specified in the book. |
06:59 | Follow the steps as shown in chapter 3 and launch Arduino IDE. |
07:06 | Arduino IDE opens as shown here. |
07:10 | Click on the Tools menu and select Port. |
07:14 | Make sure the port ttyACM0 is selected. |
07:20 | Let us test the working of the Arduino Uno board with a simple program. |
07:26 | Let us check the experiment specified in chapter 4. That is, Interfacing a Light Emitting Diode. |
07:37 | This program will light the blue LED on the shield. |
07:42 | In the Arduino IDE, open the file available at Origin slash user-code slash led slash arduino slash led-blue slash led-blue.ino |
08:01 | Compile and upload the program. |
08:06 | Now we can see the blue LED is turned on. |
08:11 | This shows the Arduino Uno board and the shield are working correctly. |
08:17 | Likewise, practice the other experiments with arduino code that are specified in the book. |
08:26 | Now we will learn how to connect Arduino with various FLOSS. |
08:32 | For this, we have to upload the FLOSS firmware on the Arduino Uno board using Arduino IDE. |
08:41 | This firmware is an Arduino file with .ino extension. |
08:48 | Why do we need FLOSS Firmware?
This enables the communication betweenFLOSS and Serial port. |
08:58 | It will decode and execute the commands sent by other FLOSS. |
09:04 | For example FLOSS such as Python, Scilab, Julia, OpenModelica etc. |
09:12 | Now we will upload the FLOSS firmware to the Arduino Uno board. |
09:18 | In the Arduino IDE, open the file available at Origin slash tools slash floss hyphen firmware slash floss hyphen firmware.ino |
09:33 | Compile and upload the program. |
09:37 | We can see the success message at the bottom of the IDE. |
09:42 | It shows FLOSS firmware has been properly installed. |
09:47 | Points to remember: |
09:50 | Whenever you plug the Arduino Uno board into the computer, check for the port. |
09:57 | Then execute the command required for read-write permission. |
10:03 | Don’t upload any Arduino program after uploading the FLOSS firmware to Arduino Uno board. |
10:12 | This would overwrite the FLOSS firmware. |
10;16 | With this, we come to the end of this tutorial. Let us summarize. |
10:24 | In this tutorial, we learnt about
How to download the e-book and code files from the FLOSS-Arduino website |
10:35 | Arduino Shield |
10:37 | Microcontroller Programming with Arduino IDE |
10:42 | FLOSS firmware |
10:44 | The video at the following link summarizes the Spoken Tutorial project.
Please download and watch it. |
10:53 | The Spoken Tutorial Project Team conducts workshops and gives certificates.
For more details, please write to us. |
11:04 | Please post your timed queries on this forum. |
11:08 | Spoken Tutorial project is funded by the Ministry of Education (MoE), Govt. of India. |
11:15 | This is Nirmala venkat from Spoken Tutorial Project, IIT Bombay, signing off.
Thanks for joining. |