SlideShare a Scribd company logo
Experiment No: 2
Title: Introduction to Arduino IDE Software
Robotics and Automation – EGCO4110
Done by: MS. Sara Alabri
Agenda - What is Arduino
- Popular Arduino Types(UNO and Mega)
Introduction
01
Parts of the IDE main screen
Arduino IDE Software
02
- Arduino with LED
- -Traffic light
Activity 1
03
Servo Motor controlled by potentiometer
Servo Motor (Knob and Sweep)
Experiment 3
04
Ultrasonic Distance Sensor using Arduino
Experiment 4
05
Objective
a. To be Familiarization with Arduino IDE Software
b. To know how to Setup and Configuration Arduino IDE Software
c. To know how to Writing and Compiling Code
Introduction
What is Arduino
Arduino is an open-source hardware and
software platform.
It consists of a microcontroller board with input
and output pins that can be programmed.
What is Microcontroller
A microcontroller is a very small computer that
has digital electronic devices built into it that
helps it control things.
It is an “embedded computer system” that
continuously repeats software (programming)
commands Examples: Arduino Uno, Raspberry
Pi, etc.
Popular Arduino Types(UNO and MEGA)
Arduino UNO
Arduino MEGA
Arduino IDE Software
Arduino programs can be divided in three main parts: Structure, Values (variables and constants), and Functions.
In this tutorial, we will learn about the Arduino software program, step by step, and how we can write the
program without any syntax or compilation error.
Arduino IDE Software
Arduino IDE Interface
Software structure consist of two main functions
PURPOSE − The setup () function is called when a
sketch starts. Use it to initialize the variables, pin modes,
start using libraries, etc. The setup function will only run
once, after each power up or reset of the Arduino board.
PURPOSE − After creating a setup () function, which
initializes and sets the initial values, the loop () function
does precisely what its name suggests, and loops
consecutively, allowing your program to change and
respond. Use it to actively control the Arduino board.
Breadboards
Activity 1:
This Activity shows the simplest thing you can do with an Arduino to see
physical output: it blinks the on-board LED.
Circuit:
•Arduino Board
•LED
•220 ohm resistor
•Breadboard
•Jumper Wire
Hardware Required
Activity 1:
Code:
Activity 2:
Traffic Light using Arduino
Circuit:
•Arduino Board
•LED
•220 ohm resistor
•Breadboard
•Jumper Wire
Hardware Required
Activity 2:
Code:
Experiment No: 3
Title: Servo Motor controlled by potentiometer
Robotics and Automation – EGCO4110
Done by: MS. Sara Alabri
Experiment 3
- Servo are small motors that can precisely angle their arms to positions between 0 and 180 degrees.
- Potentiometers are variable resistors and act as sensors that provide us with a voltage that varies depending on
the rotation of the device around its shaft.
Servo Motor controlled by potentiometer
Components Required:
• Arduino Uno
• Servo Motor
• potentiometer
• Breadboard
• Arduino Software
• Jumper Wires
• USB Cable
Servo Motor controlled by potentiometer
Connections:
Servo Arduino
Red wires +5V
Brown wires GND
Yellow wires Pin 9
potentiometer Arduino
VCC +5V
OUTPUT A0
GND GND
Project 1:
Servo Motor (Knob)
Code:
Project 2:
Servo Motor (Sweep)
Code:
Experiment No: 4
Title: Ultrasonic Distance Sensor using Arduino
Robotics and Automation – EGCO4110
Done by: MS. Sara Alabri
Experiment 4
Components Required:
• Arduino Uno
• Ultrasonic sensor
• Breadboard
• Arduino Software
• Jumper Wires
• USB Cable
Ultrasonic Distance Sensor using Arduino
Connections:
Ultrasonic Sensor Arduino
VCC +5V
GND GND
Trig Pin 7
Echo Pin 6
LED Arduino
LED 1 Pin 4
LED 2 Pin 3
LED 3 Pin 2
Project 1:
Connect the Ultrasonic Sensor to the LED Circuit
Code:
THANK YOU

More Related Content

PPTX
B1_25Jan21.pptx
PPTX
Motivation to Robotics
PDF
02 Sensors and Actuators Understand .pdf
PDF
SKAD Electronics Training Manual.pdf
PPTX
Multifunctional Robot (PPT).pptx
PPT
Intro to Arduino
DOCX
Lab Manual Arduino UNO Microcontrollar.docx
PPTX
Embedded system application
B1_25Jan21.pptx
Motivation to Robotics
02 Sensors and Actuators Understand .pdf
SKAD Electronics Training Manual.pdf
Multifunctional Robot (PPT).pptx
Intro to Arduino
Lab Manual Arduino UNO Microcontrollar.docx
Embedded system application

Similar to Introduction to Arduino IDE Software-1.pptx (20)

PDF
Lab2ppt
PPTX
ARDUINO.pptx
PPTX
Shriram Vidyasdzsbhhflay School (4).pptx
PPTX
embedded_in_Arduino_with_basic_embedded.pptx
PPTX
ARDUINO Presentation1.pptx
PDF
IRJET - Automatic Mechanism for LED Parameters Testing & Checking
PPS
What is Arduino ?
PPTX
IoT applications With Arduino coding and real life examples
PPTX
arduino and its introduction deep dive ppt.pptx
PPTX
PPT ON Arduino
DOCX
embedded manual for students to learn and do
PDF
Interface stepper motor through Arduino using LABVIEW.
DOCX
Arduino and Circuits.docx
PPT
Introduction to Arduino - Basics programming
PPTX
Introduction to Arduino focuses on how arduino can be learned easily
PPTX
Arduino interfacing with bluetooth.
PPTX
Introduction to Arduino session and basically it depends how you us and where...
PDF
PPTX
TECH TALK-4TH SEM.pptx.which is about the arduino uno types and uses.
Lab2ppt
ARDUINO.pptx
Shriram Vidyasdzsbhhflay School (4).pptx
embedded_in_Arduino_with_basic_embedded.pptx
ARDUINO Presentation1.pptx
IRJET - Automatic Mechanism for LED Parameters Testing & Checking
What is Arduino ?
IoT applications With Arduino coding and real life examples
arduino and its introduction deep dive ppt.pptx
PPT ON Arduino
embedded manual for students to learn and do
Interface stepper motor through Arduino using LABVIEW.
Arduino and Circuits.docx
Introduction to Arduino - Basics programming
Introduction to Arduino focuses on how arduino can be learned easily
Arduino interfacing with bluetooth.
Introduction to Arduino session and basically it depends how you us and where...
TECH TALK-4TH SEM.pptx.which is about the arduino uno types and uses.
Ad

Recently uploaded (20)

PDF
YOW2022-BNE-MinimalViableArchitecture.pdf
PDF
Design Thinking - Module 1 - Introduction To Design Thinking - Dr. Rohan Dasg...
PPT
WHY_R12 Uaafafafpgradeaffafafafaffff.ppt
PPTX
Special finishes, classification and types, explanation
PPTX
HPE Aruba-master-icon-library_052722.pptx
PDF
Interior Structure and Construction A1 NGYANQI
PPTX
Complete Guide to Microsoft PowerPoint 2019 – Features, Tools, and Tips"
PPTX
building Planning Overview for step wise design.pptx
PDF
SEVA- Fashion designing-Presentation.pdf
PDF
Integrated-2D-and-3D-Animation-Bridging-Dimensions-for-Impactful-Storytelling...
PPTX
Tenders & Contracts Works _ Services Afzal.pptx
PPTX
BSCS lesson 3.pptxnbbjbb mnbkjbkbbkbbkjb
PPTX
CLASSIFICATION OF YARN- process, explanation
PPTX
ANATOMY OF ANTERIOR CHAMBER ANGLE AND GONIOSCOPY.pptx
PDF
GREEN BUILDING MATERIALS FOR SUISTAINABLE ARCHITECTURE AND BUILDING STUDY
PDF
Skskkxiixijsjsnwkwkaksixindndndjdjdjsjjssk
PPTX
CLASS_11_BUSINESS_STUDIES_PPT_CHAPTER_1_Business_Trade_Commerce.pptx
PDF
Key Trends in Website Development 2025 | B3AITS - Bow & 3 Arrows IT Solutions
PPTX
YV PROFILE PROJECTS PROFILE PRES. DESIGN
PPTX
An introduction to AI in research and reference management
YOW2022-BNE-MinimalViableArchitecture.pdf
Design Thinking - Module 1 - Introduction To Design Thinking - Dr. Rohan Dasg...
WHY_R12 Uaafafafpgradeaffafafafaffff.ppt
Special finishes, classification and types, explanation
HPE Aruba-master-icon-library_052722.pptx
Interior Structure and Construction A1 NGYANQI
Complete Guide to Microsoft PowerPoint 2019 – Features, Tools, and Tips"
building Planning Overview for step wise design.pptx
SEVA- Fashion designing-Presentation.pdf
Integrated-2D-and-3D-Animation-Bridging-Dimensions-for-Impactful-Storytelling...
Tenders & Contracts Works _ Services Afzal.pptx
BSCS lesson 3.pptxnbbjbb mnbkjbkbbkbbkjb
CLASSIFICATION OF YARN- process, explanation
ANATOMY OF ANTERIOR CHAMBER ANGLE AND GONIOSCOPY.pptx
GREEN BUILDING MATERIALS FOR SUISTAINABLE ARCHITECTURE AND BUILDING STUDY
Skskkxiixijsjsnwkwkaksixindndndjdjdjsjjssk
CLASS_11_BUSINESS_STUDIES_PPT_CHAPTER_1_Business_Trade_Commerce.pptx
Key Trends in Website Development 2025 | B3AITS - Bow & 3 Arrows IT Solutions
YV PROFILE PROJECTS PROFILE PRES. DESIGN
An introduction to AI in research and reference management
Ad

Introduction to Arduino IDE Software-1.pptx

  • 1. Experiment No: 2 Title: Introduction to Arduino IDE Software Robotics and Automation – EGCO4110 Done by: MS. Sara Alabri
  • 2. Agenda - What is Arduino - Popular Arduino Types(UNO and Mega) Introduction 01 Parts of the IDE main screen Arduino IDE Software 02 - Arduino with LED - -Traffic light Activity 1 03 Servo Motor controlled by potentiometer Servo Motor (Knob and Sweep) Experiment 3 04 Ultrasonic Distance Sensor using Arduino Experiment 4 05
  • 3. Objective a. To be Familiarization with Arduino IDE Software b. To know how to Setup and Configuration Arduino IDE Software c. To know how to Writing and Compiling Code
  • 5. What is Arduino Arduino is an open-source hardware and software platform. It consists of a microcontroller board with input and output pins that can be programmed.
  • 6. What is Microcontroller A microcontroller is a very small computer that has digital electronic devices built into it that helps it control things. It is an “embedded computer system” that continuously repeats software (programming) commands Examples: Arduino Uno, Raspberry Pi, etc.
  • 11. Arduino programs can be divided in three main parts: Structure, Values (variables and constants), and Functions. In this tutorial, we will learn about the Arduino software program, step by step, and how we can write the program without any syntax or compilation error. Arduino IDE Software
  • 13. Software structure consist of two main functions PURPOSE − The setup () function is called when a sketch starts. Use it to initialize the variables, pin modes, start using libraries, etc. The setup function will only run once, after each power up or reset of the Arduino board. PURPOSE − After creating a setup () function, which initializes and sets the initial values, the loop () function does precisely what its name suggests, and loops consecutively, allowing your program to change and respond. Use it to actively control the Arduino board.
  • 15. Activity 1: This Activity shows the simplest thing you can do with an Arduino to see physical output: it blinks the on-board LED. Circuit: •Arduino Board •LED •220 ohm resistor •Breadboard •Jumper Wire Hardware Required
  • 17. Activity 2: Traffic Light using Arduino Circuit: •Arduino Board •LED •220 ohm resistor •Breadboard •Jumper Wire Hardware Required
  • 19. Experiment No: 3 Title: Servo Motor controlled by potentiometer Robotics and Automation – EGCO4110 Done by: MS. Sara Alabri
  • 21. - Servo are small motors that can precisely angle their arms to positions between 0 and 180 degrees. - Potentiometers are variable resistors and act as sensors that provide us with a voltage that varies depending on the rotation of the device around its shaft. Servo Motor controlled by potentiometer
  • 22. Components Required: • Arduino Uno • Servo Motor • potentiometer • Breadboard • Arduino Software • Jumper Wires • USB Cable Servo Motor controlled by potentiometer
  • 23. Connections: Servo Arduino Red wires +5V Brown wires GND Yellow wires Pin 9 potentiometer Arduino VCC +5V OUTPUT A0 GND GND
  • 24. Project 1: Servo Motor (Knob) Code:
  • 25. Project 2: Servo Motor (Sweep) Code:
  • 26. Experiment No: 4 Title: Ultrasonic Distance Sensor using Arduino Robotics and Automation – EGCO4110 Done by: MS. Sara Alabri
  • 28. Components Required: • Arduino Uno • Ultrasonic sensor • Breadboard • Arduino Software • Jumper Wires • USB Cable Ultrasonic Distance Sensor using Arduino
  • 29. Connections: Ultrasonic Sensor Arduino VCC +5V GND GND Trig Pin 7 Echo Pin 6 LED Arduino LED 1 Pin 4 LED 2 Pin 3 LED 3 Pin 2
  • 30. Project 1: Connect the Ultrasonic Sensor to the LED Circuit Code: