SlideShare a Scribd company logo
Arduino
Yarelis D. Acevedo
Arianna H. Colón
Tiahra N. Avilés
1
AGENDA 2
1
2
3
4
What is an Arduino? Why Arduino? How can I
use it and implement it on the lab?
What is Arduino?
How Arduinos are programmed
Arduino Software
How to get started?
Using Tinkercad simulator
Hands On
What is a
microcontroller
To answer this enter to menti.com
Code: 5829 2707
3
What is a microcontroller? 4
A microcontroller (MCU for microcontroller unit) is a
small computer on a single
metal-oxide-semiconductor (MOS) integrated circuit
(IC) chip. A microcontroller contains one or more
CPUs (processor cores) along with memory and
programmable input/output peripherals.
Big computers vs small computers 5
What is Arduino?
What is an Arduino? What is the purpose? How
can I use it and implement it on the lab?
01
6
A brief story. The Arduino project began in
2005 as a tool for students at the
Interaction Design Institute Ivrea in Ivrea,
Italy, aiming to provide a low-cost and easy
way for novices and professionals to create
devices that interact with their
environment using sensors and actuators.
Arduino
microcontroller
7
Arduino Microcontroller 8
● Open-source electronics platform
based on easy-to-use hardware
and software.
● Are able to read inputs - light on a
sensor, a finger on a button, or a
Twitter message - and turn it into
an output - activating a motor,
turning on an LED, publishing
something online.
9
What is it used
for?
● Physical Computing projects /
research
● Interactive Installations
● Rapid Prototyping
What can I do? 10
● Push buttons, touchpads,
tilt switches
● Variable resistors (Sliders,
Volume knobs)
● Photoresistors (sensing
light)
● Thermistors (temperature)
● Ultrasound (proximity
range finder)
Sensors
● Lights, LED’s
● Motors
● Speakers
● Displays (LCD’s)
Actuators
Types of Arduinos 11
12
What is the
difference
between them?
Types of Arduino 13
Arduino Board Processor Memory Digital I/O Analogue I/O
Arduino Uno 16Mhz ATmega328 2KB SRAM, 32KB flash 14 6 input, 0 output
Arduino Due 84MHz AT91SAM3X8E
96KB SRAM, 512KB
flash
54 12 input, 2 output
Arduino Mega 16MHz ATmega2560
8KB SRAM, 256KB
flash
54 16 input, 0 output
Arduino Leonardo 16MHz ATmega32u4
2.5KB SRAM, 32KB
flash
20 12 input, 0 output
Arduino Uno 14
Digital output
0, 1 Serial Port
In circuit serial
programming
ATMEL
Microcontroller
Analog input
Power supply
Power
input
USB port
Analog and digital pins 15
The Arduino can input and output analog signals as well as digital signals.
An analog signal is one that can take on any number of values, unlike a digital
signal which has only two values: HIGH and LOW.
We will talk
about this later!
How Arduino is programmed? 16
Using a software
called Arduino IDE
Arduino Software
How Arduinos are programmed
02
17
Arduino Software (IDE)
companyname.com
18
The Arduino Integrated Development Environment - or Arduino Software (IDE)
- contains a text editor for writing code, a message area, a text console, a
toolbar with buttons for common functions and a series of menus. It connects
to the Arduino hardware to upload programs and communicate with them.
Arduino Language 19
● Simplified C/C++
● Based on the wiring project
○ http://wiring.org.co
● Peripheral libraries
○ LCD, sensors, 12C, ect.
Useful functions 20
pinMode() set pin as input or output
digitalWrite() set a digital pin high/low
digitalRead() read a digital pin’s state
analogRead() read an analog pin
analogWrite() write an “analog” PWM value
delay() wait an amount of time
millis() get the current time
Sketch 21
Global
variables
setup()
loop()
Declare variables at the top
Initialize
setup() - run once at the
beginning
set pins
loop() - run repeatedly
after setup()
22
Let’s see how a
sketch for
turning an LED
light runs in an
Arduino
Blinking LED 23
Global variables 24
Global variables
int ledPin = 13;
- LED connected to
the control pin 13
Setup() 25
setup() pinMode(ledPin, OUTPUT);
loop() 26
loop()
digitalWrite(ledPin, HIGH);
delay(5000);
digitalWrite(ledPin, LOW);
delay(5000);
27
Verify
Upload
New
sketch
Opens
Save
Search
How to get
started?
03
28
If you have the
board
29
How to get started? 30
● Arduino board
○ USB cable
○ DC power supplies
● Download the Arduino’s software (Arduino
IDE)
○ Read carefully
■ Instruccions to install and setup the
Arduino board with the computer and
software
○ Download the Arduino IDE software
■ http://www.arduino.cc
● Plug it in!
Plug in it into the computer 31
Online
32
33
Tinkercad is a free, online 3D
modeling program that runs in a
web browser, known for its
simplicity and ease of use. Since it
became available in 2011 it has
become a popular platform for
creating models for 3D printing as
well as an entry-level introduction
to constructive solid geometry in
schools.
Tinkercad 34
Make an
account in
tinkercad
It’s free!
35
36
Scroll down
until you find
the Arduino
Uno
37
Find the resistor
and the LED
Connect the
resistor to the
GND (Ground)
Connect the LED:
Shorter leg with
the resistor and
longer leg to pin
12
38
Write the code After writing the
code, start the
simulation here
to see the
circuit work with
the Arduino!
39
40
Button 41
Moving a stepper motor 42
Moving a stepper motor using a potentiometer 43
Using a load cell 44
More projects 45
You can find more
projects at:
https://create.ardui
no.cc/projecthub
46
47
Hands On
04
Challenge!! 48
LED Control Using a button
Challenge!! 49
LED Brightness Control Using a Potentiometer
Challenge!! 50
Scrolling LED

More Related Content

PPTX
Arduino Introduction PPT for school students
PPTX
Arduino basics & programming skill development
PPTX
Aurdino presentation
PPTX
Introduction to arduino
PDF
The IoT Academy IoT training Arduino Part 1 basics
PPTX
Introduction to Arduino.pptx
PPT
13223971.ppt
PDF
Introducing... Arduino
Arduino Introduction PPT for school students
Arduino basics & programming skill development
Aurdino presentation
Introduction to arduino
The IoT Academy IoT training Arduino Part 1 basics
Introduction to Arduino.pptx
13223971.ppt
Introducing... Arduino

Similar to Arduino_IOT Arduino_IOT Arduino_IOTArdui (20)

PPTX
Introduction to Arduino Hardware and Programming
PPTX
arduino and its introduction deep dive ppt.pptx
PPTX
Introduction to Arduino
PPTX
Q2 Arduino Draft Q2 Arduino Draft Q2 Arduino Draft
PDF
Introduction of Arduino Uno
PPTX
Chapter 5 Arduino Microcontroller Systems .pptx
PDF
02 Sensors and Actuators Understand .pdf
PDF
Report on arduino
PPTX
Internet of Things prescribed by University
PPTX
Arduino
PPTX
PPT
Arduino-programming tutorial for newbies.ppt
PPTX
Arduino_Beginner.pptx
PDF
Arduino microcontroller ins and outs with pin diagram
PDF
Arduino Comic-Jody Culkin-2011
PDF
Arduino comic v0004
PDF
Getting startedwitharduino ch04
PDF
Arduino guide
PDF
Introduction to arduino
Introduction to Arduino Hardware and Programming
arduino and its introduction deep dive ppt.pptx
Introduction to Arduino
Q2 Arduino Draft Q2 Arduino Draft Q2 Arduino Draft
Introduction of Arduino Uno
Chapter 5 Arduino Microcontroller Systems .pptx
02 Sensors and Actuators Understand .pdf
Report on arduino
Internet of Things prescribed by University
Arduino
Arduino-programming tutorial for newbies.ppt
Arduino_Beginner.pptx
Arduino microcontroller ins and outs with pin diagram
Arduino Comic-Jody Culkin-2011
Arduino comic v0004
Getting startedwitharduino ch04
Arduino guide
Introduction to arduino
Ad

More from deepikayadav216323 (14)

PDF
ministry of steel govt of India ministry
DOCX
M.Tech -EV-2 25 9 2024EEECh5-Three-Phase
PDF
EM Sep Magazine (Case Study)CRI Patentab
PDF
Minutes of Meeting CRI Patentabilityy in
PDF
CRI Patentability in India CRI Patentabi
PDF
CRI Patentability in India CRI Patentability in India
PPTX
B.Tech(EEE)_SOLID STATE DRIVES AND CONTROL_EE0401_4TH YEAR_7TH SEMESTER_
PDF
IOT lab ManualArduino_IOTArduino_IOTArdu
PDF
manual Internet of ThingsArduino_IOTArdu
PDF
lawlawlawlawlawlawlawlawlawlawlawlawlawl
PDF
introdata structureintrodata structureee
PDF
FundamentalsofRobotics FundamentalsofRob
PDF
software software software software soft
PDF
SingaporevisaSingaporevisaSingapore visa
ministry of steel govt of India ministry
M.Tech -EV-2 25 9 2024EEECh5-Three-Phase
EM Sep Magazine (Case Study)CRI Patentab
Minutes of Meeting CRI Patentabilityy in
CRI Patentability in India CRI Patentabi
CRI Patentability in India CRI Patentability in India
B.Tech(EEE)_SOLID STATE DRIVES AND CONTROL_EE0401_4TH YEAR_7TH SEMESTER_
IOT lab ManualArduino_IOTArduino_IOTArdu
manual Internet of ThingsArduino_IOTArdu
lawlawlawlawlawlawlawlawlawlawlawlawlawl
introdata structureintrodata structureee
FundamentalsofRobotics FundamentalsofRob
software software software software soft
SingaporevisaSingaporevisaSingapore visa
Ad

Recently uploaded (20)

PPTX
Slides PPTX World Game (s) Eco Economic Epochs.pptx
PDF
An introduction to the IFRS (ISSB) Stndards.pdf
PDF
Decoding a Decade: 10 Years of Applied CTI Discipline
PDF
www-codemechsolutions-com-whatwedo-cloud-application-migration-services.pdf
PPTX
introduction about ICD -10 & ICD-11 ppt.pptx
PPTX
QR Codes Qr codecodecodecodecocodedecodecode
PDF
Triggering QUIC, presented by Geoff Huston at IETF 123
PDF
Dantes Peak Lessons English About Dantes Peak Lessons English About
PDF
Testing WebRTC applications at scale.pdf
PPTX
ENCOR_Chapter_11 - ‌BGP implementation.pptx
PPTX
PPT_M4.3_WORKING WITH SLIDES APPLIED.pptx
PPTX
international classification of diseases ICD-10 review PPT.pptx
PPTX
Introduction about ICD -10 and ICD11 on 5.8.25.pptx
PPTX
innovation process that make everything different.pptx
PPTX
EthicalHack{aksdladlsfsamnookfmnakoasjd}.pptx
PDF
Paper PDF World Game (s) Great Redesign.pdf
PPTX
SEO Trends in 2025 | B3AITS - Bow & 3 Arrows IT Solutions
PDF
The Internet -By the Numbers, Sri Lanka Edition
PPTX
durere- in cancer tu ttresjjnklj gfrrjnrs mhugyfrd
PDF
RPKI Status Update, presented by Makito Lay at IDNOG 10
Slides PPTX World Game (s) Eco Economic Epochs.pptx
An introduction to the IFRS (ISSB) Stndards.pdf
Decoding a Decade: 10 Years of Applied CTI Discipline
www-codemechsolutions-com-whatwedo-cloud-application-migration-services.pdf
introduction about ICD -10 & ICD-11 ppt.pptx
QR Codes Qr codecodecodecodecocodedecodecode
Triggering QUIC, presented by Geoff Huston at IETF 123
Dantes Peak Lessons English About Dantes Peak Lessons English About
Testing WebRTC applications at scale.pdf
ENCOR_Chapter_11 - ‌BGP implementation.pptx
PPT_M4.3_WORKING WITH SLIDES APPLIED.pptx
international classification of diseases ICD-10 review PPT.pptx
Introduction about ICD -10 and ICD11 on 5.8.25.pptx
innovation process that make everything different.pptx
EthicalHack{aksdladlsfsamnookfmnakoasjd}.pptx
Paper PDF World Game (s) Great Redesign.pdf
SEO Trends in 2025 | B3AITS - Bow & 3 Arrows IT Solutions
The Internet -By the Numbers, Sri Lanka Edition
durere- in cancer tu ttresjjnklj gfrrjnrs mhugyfrd
RPKI Status Update, presented by Makito Lay at IDNOG 10

Arduino_IOT Arduino_IOT Arduino_IOTArdui

  • 1. Arduino Yarelis D. Acevedo Arianna H. Colón Tiahra N. Avilés 1
  • 2. AGENDA 2 1 2 3 4 What is an Arduino? Why Arduino? How can I use it and implement it on the lab? What is Arduino? How Arduinos are programmed Arduino Software How to get started? Using Tinkercad simulator Hands On
  • 3. What is a microcontroller To answer this enter to menti.com Code: 5829 2707 3
  • 4. What is a microcontroller? 4 A microcontroller (MCU for microcontroller unit) is a small computer on a single metal-oxide-semiconductor (MOS) integrated circuit (IC) chip. A microcontroller contains one or more CPUs (processor cores) along with memory and programmable input/output peripherals.
  • 5. Big computers vs small computers 5
  • 6. What is Arduino? What is an Arduino? What is the purpose? How can I use it and implement it on the lab? 01 6
  • 7. A brief story. The Arduino project began in 2005 as a tool for students at the Interaction Design Institute Ivrea in Ivrea, Italy, aiming to provide a low-cost and easy way for novices and professionals to create devices that interact with their environment using sensors and actuators. Arduino microcontroller 7
  • 8. Arduino Microcontroller 8 ● Open-source electronics platform based on easy-to-use hardware and software. ● Are able to read inputs - light on a sensor, a finger on a button, or a Twitter message - and turn it into an output - activating a motor, turning on an LED, publishing something online.
  • 9. 9 What is it used for? ● Physical Computing projects / research ● Interactive Installations ● Rapid Prototyping
  • 10. What can I do? 10 ● Push buttons, touchpads, tilt switches ● Variable resistors (Sliders, Volume knobs) ● Photoresistors (sensing light) ● Thermistors (temperature) ● Ultrasound (proximity range finder) Sensors ● Lights, LED’s ● Motors ● Speakers ● Displays (LCD’s) Actuators
  • 13. Types of Arduino 13 Arduino Board Processor Memory Digital I/O Analogue I/O Arduino Uno 16Mhz ATmega328 2KB SRAM, 32KB flash 14 6 input, 0 output Arduino Due 84MHz AT91SAM3X8E 96KB SRAM, 512KB flash 54 12 input, 2 output Arduino Mega 16MHz ATmega2560 8KB SRAM, 256KB flash 54 16 input, 0 output Arduino Leonardo 16MHz ATmega32u4 2.5KB SRAM, 32KB flash 20 12 input, 0 output
  • 14. Arduino Uno 14 Digital output 0, 1 Serial Port In circuit serial programming ATMEL Microcontroller Analog input Power supply Power input USB port
  • 15. Analog and digital pins 15 The Arduino can input and output analog signals as well as digital signals. An analog signal is one that can take on any number of values, unlike a digital signal which has only two values: HIGH and LOW. We will talk about this later!
  • 16. How Arduino is programmed? 16 Using a software called Arduino IDE
  • 17. Arduino Software How Arduinos are programmed 02 17
  • 18. Arduino Software (IDE) companyname.com 18 The Arduino Integrated Development Environment - or Arduino Software (IDE) - contains a text editor for writing code, a message area, a text console, a toolbar with buttons for common functions and a series of menus. It connects to the Arduino hardware to upload programs and communicate with them.
  • 19. Arduino Language 19 ● Simplified C/C++ ● Based on the wiring project ○ http://wiring.org.co ● Peripheral libraries ○ LCD, sensors, 12C, ect.
  • 20. Useful functions 20 pinMode() set pin as input or output digitalWrite() set a digital pin high/low digitalRead() read a digital pin’s state analogRead() read an analog pin analogWrite() write an “analog” PWM value delay() wait an amount of time millis() get the current time
  • 21. Sketch 21 Global variables setup() loop() Declare variables at the top Initialize setup() - run once at the beginning set pins loop() - run repeatedly after setup()
  • 22. 22 Let’s see how a sketch for turning an LED light runs in an Arduino
  • 24. Global variables 24 Global variables int ledPin = 13; - LED connected to the control pin 13
  • 29. If you have the board 29
  • 30. How to get started? 30 ● Arduino board ○ USB cable ○ DC power supplies ● Download the Arduino’s software (Arduino IDE) ○ Read carefully ■ Instruccions to install and setup the Arduino board with the computer and software ○ Download the Arduino IDE software ■ http://www.arduino.cc ● Plug it in!
  • 31. Plug in it into the computer 31
  • 33. 33 Tinkercad is a free, online 3D modeling program that runs in a web browser, known for its simplicity and ease of use. Since it became available in 2011 it has become a popular platform for creating models for 3D printing as well as an entry-level introduction to constructive solid geometry in schools.
  • 34. Tinkercad 34 Make an account in tinkercad It’s free!
  • 35. 35
  • 36. 36 Scroll down until you find the Arduino Uno
  • 37. 37 Find the resistor and the LED Connect the resistor to the GND (Ground) Connect the LED: Shorter leg with the resistor and longer leg to pin 12
  • 38. 38 Write the code After writing the code, start the simulation here to see the circuit work with the Arduino!
  • 39. 39
  • 40. 40
  • 42. Moving a stepper motor 42
  • 43. Moving a stepper motor using a potentiometer 43
  • 44. Using a load cell 44
  • 45. More projects 45 You can find more projects at: https://create.ardui no.cc/projecthub
  • 46. 46
  • 48. Challenge!! 48 LED Control Using a button
  • 49. Challenge!! 49 LED Brightness Control Using a Potentiometer