UNIT-III
IoT Physical Devices and End Points
MRITS/IOT/SENSORS AND DEVICES/MR. T. PAVAN VINAYAK UNIT-III IoT Physical Devices and End Points
DAY-2
Arduino Uno Pin Description and
Installation Process
MRITS/IOT/SENSORS AND DEVICES/MR. T. PAVAN VINAYAK UNIT-III IoT Physical Devices and End Points
Arduino Uno Analog Pin Description
MRITS/IOT/SENSORS AND DEVICES/MR. T. PAVAN VINAYAK UNIT-III IoT Physical Devices and End Points
Arduino Uno Digital Pin Description
MRITS/IOT/SENSORS AND DEVICES/MR. T. PAVAN VINAYAK UNIT-III IoT Physical Devices and End Points
Installation and Usage of Arduino for Windows
Go to the Website and download the software https://docs.arduino.cc/software/ide-v2
Run the Downloaded File
MRITS/IOT/SENSORS AND DEVICES/MR. T. PAVAN VINAYAK UNIT-III IoT Physical Devices and End Points
Installation and Usage of Arduino for Windows
Agree License Agreement
MRITS/IOT/SENSORS AND DEVICES/MR. T. PAVAN VINAYAK UNIT-III IoT Physical Devices and End Points
Installation and Usage of Arduino for Windows
Select no.of Users
MRITS/IOT/SENSORS AND DEVICES/MR. T. PAVAN VINAYAK UNIT-III IoT Physical Devices and End Points
Installation and Usage of Arduino for Windows
Select Run Arduino IDE and click on Finish
MRITS/IOT/SENSORS AND DEVICES/MR. T. PAVAN VINAYAK UNIT-III IoT Physical Devices and End Points
Installation and Usage of Arduino for Linux
Extract the Downloaded File
MRITS/IOT/SENSORS AND DEVICES/MR. T. PAVAN VINAYAK UNIT-III IoT Physical Devices and End Points
Installation and Usage of Arduino for Linux
Now, go to the folder where you extracted the contents to. Then, right-click inside the folder and then
select the Open in Terminal option
MRITS/IOT/SENSORS AND DEVICES/MR. T. PAVAN VINAYAK UNIT-III IoT Physical Devices and End Points
Installation and Usage of Arduino for Linux
A new terminal window should open. To
launch the IDE 2.0 editor type in the
terminal:
$ ./arduino-ide
MRITS/IOT/SENSORS AND DEVICES/MR. T. PAVAN VINAYAK UNIT-III IoT Physical Devices and End Points
UPLOADING A SKETCH
1. Open the Arduino IDE 2.0.
2. With the editor open, let's take a look at the navigation bar at the top. At the very left, there is a checkmark and an arrow pointing right.
The checkmark is used to verify, and the arrow is used to upload.
3. Click on the verify tool (checkmark). Since we are verifying an empty sketch, we can be sure it is going to compile. After a few seconds, we
can see the result of the action in the console (black box in the bottom).
4. Now we know that our code is compiled, and that it is working. Now, before we can upload the code to our board, we will first need to
select the board that we are using. We can do this by navigating to Tools > Port > {Board}. The board(s) that are connected to your computer
should appear here, and we need to select it by clicking it. In this case, our board is displayed as COM44 (Arduino UNO).
5. With the board selected, we are good to go! Click on the upload button, and it will start uploading the sketch to the board.
6. When it is finished, it will notify you in the console log. Of course, sometimes there are some complications when uploading, and these
errors will be listed here as well.
MRITS/IOT/SENSORS AND DEVICES/MR. T. PAVAN VINAYAK UNIT-III IoT Physical Devices and End Points