SlideShare a Scribd company logo
Arduino Pins
What is a Microcontroller
• A small computer on a single chip
• containing a processor, memory, and input/output
What is a Development Board
• A printed circuit
board designed to
facilitate work with a
particular
microcontroller.
• Typical components include:
• power circuit
• programming interface
• basic input; usually buttons and LEDs
• I/O pins
Arduino Introduction
• Arduino platform offers open source hardware
and software that is easy to use and is used
widely for hobby projects and prototyping.
• Arduino provides many types of boards which
are useful for various applications.
• Arduino also provides its own IDE (Integrated
Development Environment) which is free to
download from Arduino’s website and use.
Arduino Hardware boards
arudino introction and types of boards main aruduni uno
The Arduino Development Board
Making-robots-with-arduino.pdf
The Arduino Microcontroller: Atmel
ARV Atmega 328
Making-robots-with-arduino.pdf
Specification
What is the Arduino
todbot.com/blog/bionicarduino
Getting Started
• Check out: http://arduino.cc/en/Guide/HomePage
1. Download & install the Arduino environment (IDE)
2. Connect the board to your computer via the UBS cable
3. If needed, install the drivers (not needed in lab)
4. Launch the Arduino IDE
5. Select your board
6. Select your serial port
7. Open the blink example
8. Upload the program
Try It: Connect the USB Cable
todbot.com/blog/bionicarduino
Arduino IDE
See: http://arduino.cc/en/Guide/Environment for more information
Select Serial Port and Board
Status Messages
todbot.com/blog/bionicarduino
todbot.com/blog/bionicarduino
Add an External LED to pin 13
• File > Examples > Digital > Blink
• LED’s have polarity
– Negative indicated by flat side of the housing
and a short leg
www.instructables.com
A Little Bit About Programming
• Code is case
sensitive
• Statements are
commands and
must end with a
semi-colon
• Comments follow
a // or begin with /*
and end with */
• loop and setup
Our First Program
Terminology
Digital I/0
pinMode(pin, mode)
Sets pin to either INPUT or OUTPUT
digitalRead(pin)
Reads HIGH or LOW from a pin
digitalWrite(pin, value)
Writes HIGH or LOW to a pin
Electronic stuff
Output pins can provide 40 mA of current
Writing HIGH to an input pin installs a 20KΩ pullup
www.mikroe.com/chapters/view/1
Arduino Timing
• delay(ms)
– Pauses for a few milliseconds
• delayMicroseconds(us)
– Pauses for a few microseconds
• More commands:
arduino.cc/en/Reference/HomePage
Digital? Analog?
• Digital has two values: on and off
• Analog has many (infinite) values
• Computers don’t really do analog, they quantize
• Remember the 6 analog input pins---here’s how
they work
todbot.com/blog/bionicarduino
Bits and Bytes
Variables
www3.ntu.edu.sg
Putting It Together
• Complete the sketch
(program) below.
• What output will be
generated by this program?
• What if the schematic were
changed? 
www.ladyada.net/learn/arduino
Good References
www.arduino.cc
www.ladyada.net/learn/arduino
www.EarthshineElectronics.com

More Related Content

PPT
arduino wit c pp programing gchchchdf.ppt
PPT
Arduino description and interfacing details
PPT
Arduino un curso de corta duración - Parte 1
PPT
Arduino Uno and micro controller atmega328p
PPT
ArduinoPart1.ppt
PPT
ArduinoPart1ArduinoPart1ArduinoPart1.ppt
PPT
ArduinoPart1.ppt
PPT
ArduinoPart1.ppt
arduino wit c pp programing gchchchdf.ppt
Arduino description and interfacing details
Arduino un curso de corta duración - Parte 1
Arduino Uno and micro controller atmega328p
ArduinoPart1.ppt
ArduinoPart1ArduinoPart1ArduinoPart1.ppt
ArduinoPart1.ppt
ArduinoPart1.ppt

Similar to arudino introction and types of boards main aruduni uno (20)

PDF
Getting Started With Arduino_Tutorial
PPS
What is Arduino ?
PPTX
Internet of Things prescribed by University
PDF
Arduino Development For Beginners
PPT
13223971.ppt
PPTX
arduino and its introduction deep dive ppt.pptx
PDF
introductiontoarduino-111120102058-phpapp02.pdf
PPTX
Arduino Introduction PPT for school students
PPTX
Arduino basics & programming skill development
PDF
Arduino_IOT Arduino_IOT Arduino_IOTArdui
PDF
arduinoworkshop-160204051621.pdf
PPTX
Ardui no
PPT
Intro to Arduino
PDF
Arduino spooky projects_class1
PDF
Arduino - Learning.pdf
PPTX
Embedded L1_notes_unit2_architecture.pptx
PPTX
Arduino
PPTX
Introduction to Arduino
PDF
Indroduction arduino
Getting Started With Arduino_Tutorial
What is Arduino ?
Internet of Things prescribed by University
Arduino Development For Beginners
13223971.ppt
arduino and its introduction deep dive ppt.pptx
introductiontoarduino-111120102058-phpapp02.pdf
Arduino Introduction PPT for school students
Arduino basics & programming skill development
Arduino_IOT Arduino_IOT Arduino_IOTArdui
arduinoworkshop-160204051621.pdf
Ardui no
Intro to Arduino
Arduino spooky projects_class1
Arduino - Learning.pdf
Embedded L1_notes_unit2_architecture.pptx
Arduino
Introduction to Arduino
Indroduction arduino
Ad

Recently uploaded (20)

PDF
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
PDF
Trump Administration's workforce development strategy
PPTX
Computer Architecture Input Output Memory.pptx
PDF
LDMMIA Reiki Yoga Finals Review Spring Summer
PDF
MBA _Common_ 2nd year Syllabus _2021-22_.pdf
PPTX
History, Philosophy and sociology of education (1).pptx
PPTX
20th Century Theater, Methods, History.pptx
PDF
Computing-Curriculum for Schools in Ghana
PDF
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PPTX
202450812 BayCHI UCSC-SV 20250812 v17.pptx
PDF
1_English_Language_Set_2.pdf probationary
PPTX
Share_Module_2_Power_conflict_and_negotiation.pptx
PDF
David L Page_DCI Research Study Journey_how Methodology can inform one's prac...
PDF
BP 704 T. NOVEL DRUG DELIVERY SYSTEMS (UNIT 1)
PDF
Weekly quiz Compilation Jan -July 25.pdf
PDF
advance database management system book.pdf
PPTX
CHAPTER IV. MAN AND BIOSPHERE AND ITS TOTALITY.pptx
PDF
احياء السادس العلمي - الفصل الثالث (التكاثر) منهج متميزين/كلية بغداد/موهوبين
PDF
HVAC Specification 2024 according to central public works department
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
Trump Administration's workforce development strategy
Computer Architecture Input Output Memory.pptx
LDMMIA Reiki Yoga Finals Review Spring Summer
MBA _Common_ 2nd year Syllabus _2021-22_.pdf
History, Philosophy and sociology of education (1).pptx
20th Century Theater, Methods, History.pptx
Computing-Curriculum for Schools in Ghana
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
202450812 BayCHI UCSC-SV 20250812 v17.pptx
1_English_Language_Set_2.pdf probationary
Share_Module_2_Power_conflict_and_negotiation.pptx
David L Page_DCI Research Study Journey_how Methodology can inform one's prac...
BP 704 T. NOVEL DRUG DELIVERY SYSTEMS (UNIT 1)
Weekly quiz Compilation Jan -July 25.pdf
advance database management system book.pdf
CHAPTER IV. MAN AND BIOSPHERE AND ITS TOTALITY.pptx
احياء السادس العلمي - الفصل الثالث (التكاثر) منهج متميزين/كلية بغداد/موهوبين
HVAC Specification 2024 according to central public works department
Ad

arudino introction and types of boards main aruduni uno