Arduino/C2/Arduino-components-and-IDE/English-timed
From Script | Spoken-Tutorial
Revision as of 07:10, 23 October 2018 by Sandhya.np14 (Talk | contribs)
Time | Narration |
00:01 | Welcome to the Spoken Tutorial on Arduino components and IDE. |
00:07 | In this tutorial, we will learn about: how to set up a physical connection between Arduino and a computer, |
00:16 | Arduino hardware and Arduino programming language. |
00:21 | Here, I am using:
Arduino UNO Board, Ubuntu Linux 14.04 operating system and Arduino IDE. |
00:31 | To follow this tutorial, you should have: basic knowledge of Electronics,
Arduino UNO Board, USB power cable and a computer. |
00:43 | First, we have to connect the Arduino board to the computer using the USB cable as shown here. |
00:51 | The green power LED turns ON . This indicates that the connection is working. |
00:59 | Now, let us see the various components that are available in the Arduino hardware. |
01:06 | The most important component is ATMEGA 328 microcontroller chip. |
01:13 | This is the heart of Arduino where you can program it to do different things. |
01:20 | This microcontroller contains internal ROM, RAM and also an Arduino BootLoader. |
01:29 | What is an Arduino BootLoader ?
It is the first program which executes when the device is connected to a power supply . |
01:40 | These are digital pins . Each of these can be programmed as either an input or output . |
01:49 | Digital means they can be ON or OFF , high or low. |
01:55 | For example, to dim an LED , to generate audio signals etc. |
02:02 | The pin number 0 and 1 can be used for serial communication with other devices. |
02:10 | Here, 0-RX stands for receiving,
1-TX stands for transmitting. |
02:20 | These are Analog pins which are marked from A0 to A5 . These are only used for inputs. |
02:31 | They take analog signals and convert them into digital signals that the computer can understand . |
02:40 | These are transmit and receive LED s that are embedded on the board.
These will blink when we are sending or receiving data. |
02:51 | This is very helpful for troubleshooting . |
02:55 | When you press this reset button, the program stops and restarts. |
03:03 | It will not erase anything off the board . |
03:08 | This is input voltage to the Arduino board when it is using an external power source. |
03:16 | These are Ground pins which give access to the lowest voltage on the board. |
03:23 | USB interface can be used for programming the board.
And, also can be used for serial communication between the board and the computer. |
03:35 | We have this external power adapter to power up the board. |
03:41 | Next, we will see about Arduino programming language. |
03:46 | Arduino programs can be divided into three main parts.
Control Structure statements , Operators, variables and constants, |
03:57 | and, Functions. |
04:00 | The control statements are: if, if..else, for, while, do..while, switch case etc . |
04:11 | These are the same as in any programming language. |
04:16 | Then, we have arithmetic operators, comparison operators and boolean operators. |
04:24 | We have variables and constants as in other programming languages. |
04:31 | These are built-in functions such as pinMode(), digitalWrite(), digitalRead(), delay(), analogRead(), analogWrite() etc. |
04:46 | These are the important functions which are mostly used in the Arduino projects. |
04:52 | I'll show you how to refer this programming language of Arduino IDE . |
04:58 | Let us open the Arduino IDE . |
05:01 | Click on the Help menu in the Arduino IDE . Then click on Reference. |
05:08 | This opens an offline page in your browser. |
05:12 | For example, if you want to refer the 'digitalWrite()' built-in function, just click on the function name. |
05:22 | Here you can see the description, syntax and a sample program of digitalWrite() function. |
05:31 | There are many built-in functions and we can refer to this manual depending upon our requirement. |
05:39 | We will be learning about some of the important built-in functions in the subsequent tutorials. |
05:47 | This brings us to the end of this tutorial.
Let us summarize. |
05:52 | In this tutorial, we learnt about: how to set up a physical connection between the Arduino and computer, |
06:00 | ' Arduino' hardware, Arduino programming language. |
06:05 | As an assignment- open the Arduino IDE. |
06:09 | Click on the Help Menu and select Reference. |
06:14 | Go through the built-in functions such as delay(), pinMode() and digitalRead() etc. |
06:22 | The video at the following link summarizes the Spoken Tutorial project.
Please download and watch it. |
06:30 | The Spoken Tutorial Project team: conducts workshops and gives certificates to those who pass an online test.
For more details, please write to us. |
06:42 | Do you have questions in THIS Spoken Tutorial?
Please visit this site. |
06:47 | Choose the minute and second where you have the question.
Explain your question briefly. Someone from our team will answer them. |
06:57 | Spoken Tutorial project is funded by NMEICT, MHRD, Government of India.
More information on this mission is available at this link. |
07:07 | This tutorial has been contributed by FOSSEE and Spoken Tutorial Project, IIT Bombay.
Thanks for watching. |