Difference between revisions of "Arduino/C2/Introduction-to-Arduino/English"

From Script | Spoken-Tutorial
Jump to: navigation, search
(Created page with " '''Title of script''':''' Introduction to<span style="color:#000000;"> Arduino'''</span> '''Author:'''<span style="color:#000000;"> Manivel and Nirmala Venkat</span> '''...")
 
Line 236: Line 236:
 
|-
 
|-
 
| style="border:1pt solid #000000;padding:0.097cm;color:#000000;" | Click on Port >> Point to the port number
 
| style="border:1pt solid #000000;padding:0.097cm;color:#000000;" | Click on Port >> Point to the port number
| style="border:1pt solid #000000;padding:0.097cm;" | <span style="color:#000000;">In the </span><span style="color:#000000;">'''Port'''</span><span style="color:#000000;"> menu, we can see a </span><span style="color:#000000;">'''port'''</span><span style="color:#000000;"> number which is recognized by </span><span style="color:#000000;">'''Arduino'''</span><span style="color:#000000;">.</span>
+
| style="border:1pt solid #000000;padding:0.097cm;" | <span style="color:#000000;">In the </span><span style="color:#000000;">'''Port'''</span><span style="color:#000000;"> menu, we can see a </span><span style="color:#000000;">'''port'''</span><span style="color:#000000;"> number.
 
|-
 
|-
 
| style="border:1pt solid #000000;padding:0.097cm;color:#000000;" |  
 
| style="border:1pt solid #000000;padding:0.097cm;color:#000000;" |  
Line 265: Line 265:
 
* <div style="margin-left:0cm;margin-right:0cm;"><span style="color:#000000;">Components of </span><span style="color:#000000;">'''Arduino board'''</span></div>
 
* <div style="margin-left:0cm;margin-right:0cm;"><span style="color:#000000;">Components of </span><span style="color:#000000;">'''Arduino board'''</span></div>
 
* <div style="margin-left:0cm;margin-right:0cm;"><span style="color:#000000;">'''Microcontrollers '''</span><span style="color:#000000;">and</span></div>
 
* <div style="margin-left:0cm;margin-right:0cm;"><span style="color:#000000;">'''Microcontrollers '''</span><span style="color:#000000;">and</span></div>
* <div style="margin-left:0cm;margin-right:0cm;"><span style="color:#000000;">Installation of </span><span style="color:#000000;">'''Arduino IDE'''</span><span style="color:#000000;"> on </span><span style="color:#000000;">'''Ubuntu Linux OS'''</span></div>
+
* <div style="margin-left:0cm;margin-right:0cm;"><span style="color:#000000;">Installation of </span><span style="color:#000000;">'''Arduino IDE'''</span><span style="color:#000000;"> on </span><span style="color:#000000;">'''Ubuntu Linux'''</span></div>
  
 
|-
 
|-
Line 299: Line 299:
  
 
<div style="color:#000000;">Forum for specific questions:</div><div style="color:#000000;margin-left:0cm;margin-right:0cm;"></div><div style="color:#000000;"></div>
 
<div style="color:#000000;">Forum for specific questions:</div><div style="color:#000000;margin-left:0cm;margin-right:0cm;"></div><div style="color:#000000;"></div>
| style="border:1pt solid #000000;padding:0.097cm;" | <div style="color:#000000;margin-left:0cm;margin-right:0cm;">The Spoken Tutorial forum is for specific questions on this tutorial</div><br/>
+
| style="border:1pt solid #000000;padding:0.097cm;" | <div style="color:#000000;margin-left:0cm;margin-right:0cm;">The Spoken Tutorial forum is for specific questions on this tutorial</div>
* <div style="color:#000000;margin-left:0cm;margin-right:0cm;">Please do not post unrelated and general questions on them</div><br/>
+
* <div style="color:#000000;margin-left:0cm;margin-right:0cm;">Please do not post unrelated and general questions on them</div>
* <div style="color:#000000;margin-left:0cm;margin-right:0cm;">This will help reduce the clutter</div><br/>
+
* <div style="color:#000000;margin-left:0cm;margin-right:0cm;">This will help reduce the clutter</div>
 
* <div style="color:#000000;margin-left:0cm;margin-right:0cm;">With less clutter, we can use these discussion as instructional material</div>
 
* <div style="color:#000000;margin-left:0cm;margin-right:0cm;">With less clutter, we can use these discussion as instructional material</div>
  

Revision as of 17:03, 5 August 2016


Title of script: Introduction to Arduino


Author: Manivel and Nirmala Venkat


Keywords: Arduino Installation, Arduino, Microcontroller, Arduino IDE, Video tutorials


Visual Cue Narration
Slide 1:


Welcome to the Spoken Tutorial on Introduction to Arduino.
Slide 2:
Learning objectives
  • The Arduino device
  • Features of Arduino
  • Components of Arduino board
  • Microcontrollers and
  • Installation of Arduino IDE on Ubuntu Linux OS
In this tutorial, we will learn about:
  • The Arduino device
  • Features of Arduino
  • Components of Arduino board
  • Microcontrollers and
  • Installation of Arduino IDE on Ubuntu Linux OS
Slide 3:
System Requirements
To record this tutorial I am using:
  • Arduino UNO Board
  • Ubuntu Linux 14.04 operating system
  • Arduino IDE
Slide 4:
Pre-requisites
Basic knowledge of Electronics
To follow this tutorial, you should have

basic knowledge of Electronics.

This is the Arduino board.

The Arduino UNO board is one of the popular variant of Arduino project.

It contains
ATMEGA328 microcontroller,
  • Digital input/output pins,
  • Analog input pins and
  • USB power adapter.

USB power adapter can be used for programming the board.

This is the microcontroller.

It can be found in many electronic devices - from portable music device to washing machines and cars.

Slide 5:
What is Microcontroller ?
What is a microcontroller?

A microcontroller is a mini computer.

It contains a CPU (central processing unit), memory, system clock and peripherals.

Microcontroller is dedicated to perform only one task and execute one specific application at a time.

Slide 6 to 9:
Show image
Example where microcontroller are used
*
Printer
  • Car
  • Traffic signal
  • Motion Detector
We will see a few examples where a Microcontroller is used.
It is used in:
  • Printers
  • Cars
  • Traffic signals and
  • Motion Detectors
Next we will see some of the features of Arduino.
Slide 10:
Arduino IDE
Arduino IDE is an open-source software.

It is easy to write code and upload it to the physical board.

It is very easy to learn the programming language with its inbuilt functions.

It runs on Windows, Mac OSX and Linux

This software can be used with any Arduino board.

Next we will see how to install Arduino IDE.
Go to the website: www.arduino.cc.
Point to the download link.
To do the installation, go to the website: www.arduino.cc.

Click on the Download link.

Point to various links There are various links to download Arduino for Windows, Linux and Mac operating systems.
Point to the version At the time of recording this tutorial, we have Arduino version 1.6.9
The version may vary in the future.
Point to Windows for non admin install I'll recommend to install “Windows for non admin install” for Windows OS.
Click on Linux 64-bit Now I will demonstrate how to install Arduino on Linux OS.

I'll click on the Linux 64bit link because my machine architecture is 64 bit.

Click on Linux 32-bit or 64-bit based on your system architecture.
Click Just Download >> Click on Save File. Click on Just Download.

A dialog box opens. Click on Save File.

It will take sometime to download. Wait until it completes.

Point to the zip file In my Downloads folder, the downloaded zip file is available.

Extract the files from the Zip folder.

Now let us launch the Arduino IDE from the Terminal.
Open the terminal.
Press CTRL+ALT+T
Press CTRL +ALT + T to open the Terminal.
Type,
>>cd Downloads
Go to the Downloads directory by typing cd Downloads.
Type >>ls Type ls to see the Arduino folder name.
Highlight the arduino Version Here, in my system it shows Arduino 1.6.9.
The version may differ depending on your system configuration.
Type >> cd arduino 1.6.9 Now change the directory to Arduino 1.6.9.

Type cd arduino 1.6.9

Type >> ls Type ls to see the list of files available.
Point to the files
In this folder, we have various files related to Arduino IDE compilers such as:
  • Arduino backend files
  • configuration files
Type:
./arduino
Now, let us run the arduino executable file.

For this, type: dot slash arduino and press Enter to launch the Arduino IDE.

We can see the Arduino IDE window.
I have connected Arduino to the USB port of my computer.
Let us check the connection.
Click Tools Click on the Tools menu.

This shows that Arduino UNO board is already selected.

Click on Port >> Point to the port number In the Port menu, we can see a port number.
Let me close the Arduino IDE.
Click File >> Close Click File and Close.
Slide 11
Installation of Arduino in Linux
sudo apt-get install arduino
Another way to install Arduino in Linux OS is by using the apt hyphen get command in the Terminal.

Enter the sudo password when prompted.

This brings us to the end of this tutorial. Let us summarise.
Slide 12
Summary
In this tutorial, we learnt about:
  • The Arduino device
  • Features of Arduino
  • Components of Arduino board
  • Microcontrollers and
  • Installation of Arduino IDE on Ubuntu Linux
Slide 13:
About Spoken Tutorial project
The video at the following link summarises the Spoken Tutorial project.
Please download and watch it.
Slide 14:
Spoken Tutorial workshops
The Spoken Tutorial Project team:*
conducts workshops using spoken tutorials and
  • gives certificates on passing online tests.
For more details, please write to us.
Slide 15:
Forum for specific questions:
Do you have questions in THIS Spoken Tutorial?
  • Please visit this site
  • Choose the minute and second where you have the question
  • Explain your question briefly
  • Someone from our team will answer them
Slide 16
Forum for specific questions:
The Spoken Tutorial forum is for specific questions on this tutorial
  • Please do not post unrelated and general questions on them
  • This will help reduce the clutter
  • With less clutter, we can use these discussion as instructional material
Slide 17:
Acknowledgement
Spoken Tutorial Project is funded by NMEICT, MHRD, Government of India.
More information on this mission is available at
this link.
This tutorial has been contributed by FOSSEE and Spoken Tutorial Project, IIT Bombay.
Thanks for watching.

Contributors and Content Editors

Nancyvarkey, Nirmala Venkat