Arduino/C2/Arduino-components-and-IDE/English
Visual Cue | Narration |
Slide 1:
|
Welcome to the Spoken Tutorial on Arduino components and IDE. |
Slide 2:
Learning objectives
|
In this tutorial, we will learn about:
|
Slide 3:
System Requirement
|
Here, I am using:
|
Slide 4:
Pre-requisites
|
To follow this tutorial, you should have:
|
Slide 5:
Show the image
|
First, we have to connect the Arduino board to the computer using the USB cable, as shown here.
The green power LED turns ON. This indicates that the connection is working. |
Now, let us see the various components that are available in the Arduino hardware. | |
Point to the microcontroller
|
The most important component is ATMEGA 328 microcontroller chip.
This is the heart of Arduino, where you can program it to do different things. |
Point to the microcontroller | This microcontroller contains internal ROM, RAM and also an Arduino BootLoader. |
Point to the microcontroller | What is an Arduino BootLoader?
It is the first program which executes when the device is connected to a power supply. |
Point to the image -Digital pins | These are digital pins. Each of these can be programmed as either an input or output. |
Digital means they can be ON or OFF, high or low.
For example, to dim an LED, to generate audio signals etc. | |
Point to the Pin number 0 and 1 | The pin number 0 and 1 can be used for serial communication with other devices. |
Point to the Pin number 0 and 1 | Here,
0-RX stands for receiving, 1-TX stands for transmitting. |
Point to the Analog pins
|
These are Analog pins which are marked from A0 to A5. These are only used for inputs.
They take analog signals and converts them into digital signals that the computer can understand. |
Point to Tx and Rx LEDS
|
These are transmit and receive LEDs that are embedded on the board.
These will blink when are sending or receiving data.
This is very helpful for troubleshooting. |
Point to Reset button
|
When you press this reset button, the program stops and restarts.
It will not erase anything off the board. |
Point to Power pins
|
This is input voltage to the Arduino board when it is using an external power source. |
Point to Ground pins
|
These are Ground pins which give access to the lowest voltage on the board. |
Point to USB interface
|
USB interface can be used for programming the board.
And can also be used for serial communication between the board and the computer. |
Point to power adapter
|
We have this external power adapter to power up the board. |
Next, we will see about Arduino programming language . | |
Slide 5:
Image:
Arduino Programming Language
|
Arduino programs can be divided into three main parts.
The control statements are: if, if..else, for, while, do..while, switch case etc. These are the same as in any programming language.
Then, we have arithmetic operators, comparison operators and boolean operators. We have variables and constants as in other programming languages. These are built-in functions such as pinMode(), digitalWrite(), digitalRead(), delay(), analogRead(), analogWrite() etc. These are the important functions which are mostly used in the Arduino projects. |
I'll show you how to refer this programming language of Arduino IDE. | |
Let us open the Arduino IDE. | |
In Arduino IDE,
Click Help >> reference
|
Click on the Help menu in the Arduino IDE. Then click on reference. |
Point to the browser | This opens an offline page in your browser. |
Click on digitalWrite() function | For example, if you want to refer the digitalWrite() builtin function, just click on the function name. |
Scroll down the page to show various options | Here you can see the description, syntax and a sample program of digitalWrite() function. |
There are many built-in functions and we can refer to this manual depending upon our requirement. | |
We will be learning about some of the important built-in functions in the subsequent tutorials. | |
Let us close this browser. | |
This brings us to the end of this tutorial.
Let us summarise.
| |
Slide 7:
Summary
|
In this tutorial, we learnt about:
|
Slide 8:
Assignment
|
As an assignment,
|
Slide 9: | The video at the following link summarises the Spoken Tutorial project.
Please download and watch it.
|
Slide 10:
Spoken Tutorial workshops
|
The Spoken Tutorial Project team:
For more details, please write to us.
|
Slide 11:
Forum for specific questions
|
|
Slide 12:
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.
|