SlideShare a Scribd company logo
Introducing the Arduino
Boadu A. Charles Jnr
Definition
…an open-source electronics
platform based on easy-to-use
hardware and software.
• Eaaaaasy to use
• Inexpensive
• Cross-platform
• Simple, clear programming environment
• Open source and extensible software
• Open source and extensible hardware
Why Arduino?
Flavours
Arduino 101
Arduino ZERO
Arduino MEGA
2.7”
2.1”
Costs $25
Weighs 25g
Description
How to Use the Arduino
• Write code in Arduino IDE.
• Connect Arduino to PC using USB cable.
• Click button on IDE to compile program.
• Click button on IDE to load program
unto microcontroller.
• Voila!
…any device that accepts input,
performs some computations or
processing of the input and produces
an output.
Technically, that makes an Arduino a computer.
Compared to a Computer
Semantics
Input
Sensors
Output
Actuators
Passive IR Sensor
Servo
Input
Input Pins
20 Input Pins
14 Digital Input Pins
0-13
6 Analog Input Pins
A0-A5
Input Pins - Example
Processing
Processing
ATmega328P
Processing
Atmega328P Specs
Program Memory Size 32KB (16K x 16)
Program Memory Type FLASH
FLASH Memory 32 K
EEPROM Size 1KB
RAM Size 2KB
Voltage - Supply (Vcc/Vdd) 1.8 V ~ 5.5 V
Output
Output Pins
14 Output Pins
8 0/1 Pins
0,1,2,4,7,8,12,13
6 PWM Pins
3,5,6,9,10,11
Output Pins - Example
The Arduino and Power
Power Ports
Male Power Jack
A-B USB Socket
Power Supply
9V Adapter
Standard A-B USB Cable
Battery Pack with Female Jack
Drawing Power
5V
3.3V
GND
Programming The Arduino
Software IDE
Programming Language
Code Structure
1	
  	
  void	
  setup()	
  {	
  
2	
  
3	
  	
  }	
  
4	
  
5	
  	
  void	
  loop()	
  {	
  
6	
  
7	
  	
  }
Sample Program 1
1	
  	
  void	
  setup()	
  {	
  
2	
  	
  	
  	
  pinMode(13,	
  OUTPUT);	
  
3	
  	
  }	
  
4	
  
5	
  	
  void	
  loop()	
  {	
  
6	
  	
  	
  	
  digitalWrite(13,	
  HIGH);	
  
7	
  	
  	
  	
  delay(1000);	
  
8	
  
9	
  	
  	
  	
  digitalWrite(13,	
  LOW);	
  
10	
  	
  	
  delay(1000);	
  
11	
  }
Sample Program 2
1	
  	
  void	
  setup()	
  {	
  
2	
  	
  	
  	
  pinMode(11,	
  OUTPUT);	
  
3	
  	
  }	
  
4	
  
5	
  	
  void	
  loop()	
  {	
  
6	
  	
  	
  	
  for	
  (int	
  i=0;	
  i<255;	
  i++)	
  {	
  
7	
  	
  	
  	
  	
  	
  analogWrite(11,	
  i);	
  	
  	
  	
  	
  
8	
  	
  	
  	
  	
  	
  delay(500);	
  
9	
  	
  	
  	
  }	
  
10	
  }
Programming Workflow
2. Verify/compile code
3. Upload code unto microcontroller
Converts wiring language to bytes of instructions in one Intel hex file. 

Loads hex file unto microcontroller
1. Write code
Keep your eye on the logs
For All You JS Lovers
Johnny Five
For All You JS Lovers
Sample Program 1
1	
  var	
  five	
  =	
  require("johnny-­‐five");	
  
2	
  var	
  board	
  =	
  new	
  five.Board();	
  
3	
  
4	
  board.on("ready",	
  function()	
  {	
  
5	
  	
  	
  var	
  led	
  =	
  new	
  five.Led(13);	
  
6	
  	
  	
  led.blink(500);	
  
7	
  });
1	
  	
  var	
  five	
  =	
  require("johnny-­‐five");	
  
2	
  	
  var	
  board	
  =	
  new	
  five.Board();	
  
3	
  
4	
  	
  board.on("ready",	
  function()	
  {	
  
5	
  	
  	
  	
  var	
  led	
  =	
  new	
  five.Led(11);	
  
6	
  	
  	
  	
  led.fadeIn(2000);	
  
7	
  	
  });
Sample Program 2
For All You JS Lovers
Extensions/Expansions
Shields
GSM Shield
Ethernet Shield
Wifi Shield
NFC Shield
SD Card Shield
Shields
7 Segment Display Shield
http://site.gravitech.us/Arduino/SHIELD7/7-SEG_SHIELD-03rs.jpg
Libraries
Arduino Product Family
Mass Production
Mass Production
Mass Production
https://www.arduino.cc/en/Main/Standalone
ATmega-328P
Thank You
Appendices
Arduino Product Family
https://www.arduino.cc/en/Main/Products
Microcontroller ATMega328P
Operating Voltage 5V
Input Voltage (recommended) 7-12V
Input Voltage (limit) 6-20V
Digital I/O Pins 14 (of which 6 provide PWM output)
PWM Digital I/O Pins 6
Analog Input Pins 6
DC Current per I/O Pin 20 mA
DC Current for 3.3V Pin 50 mA
Flash Memory 32 KB (ATmega328P) of which 0.5 KB used by bootloader
SRAM 2 KB (ATmega328P)
EEPROM 1 KB (ATmega328P)
Clock Speed 16 MHz
Length 68.6 mm
Width 53.4 mm
Weight 25 g
UNO Technical Specifications
Application
https://blog.arduino.cc/2015/08/07/a-traditional-weather-house
https://blog.arduino.cc/2015/08/24/exploring-tangible-user-interfaces
https://blog.arduino.cc/2015/08/20/a-tribute-to-5-bit-baudot-code
Useful Links
https://www.arduino.cc
https://forum.arduino.cc
https://www.sparkfun.com
https://www.adafruit.com
http://johnny-five.io
https://www.robotics.org.za
Useful Tools
Fritzing - For designing circuits and sharing ideas
http://fritzing.org/download
Alternatives
Espruino Pico
Small size
Javascript based
Cool Web IDE installed as a Chrome Extension
Alternatives
Intel Edison
Portable.
Supports Arduino, JS, Python & C/C++ Languages.
Integration support for:
• Microsoft Azure IoT Suite
• Amazon Web Services (AWS)
• IBM Bluemix
Alternatives
Lilly Pad
Tiny
Sewable

More Related Content

PDF
Arduino Workshop Day 2 - Advance Arduino & DIY
PPTX
Ventilator
PPT
Intro to Arduino
PDF
scratch course-part1-2023.pdf
PPTX
Database Management System ppt
PDF
Arduino Workshop Day 1 - Basic Arduino
PPTX
Arduino Microcontroller
PPTX
humanoid robot
Arduino Workshop Day 2 - Advance Arduino & DIY
Ventilator
Intro to Arduino
scratch course-part1-2023.pdf
Database Management System ppt
Arduino Workshop Day 1 - Basic Arduino
Arduino Microcontroller
humanoid robot

What's hot (20)

PPS
What is Arduino ?
PPT
Arduino presentation by_warishusain
PPTX
Introduction to Arduino Hardware and Programming
PPTX
Introduction to Arduino
PPTX
Lesson sample introduction to arduino
PPTX
Arduino
PPTX
Arduino Workshop
PPTX
Introduction to Arduino
PPTX
Aurdino presentation
PPT
Arduino
PDF
Introduction of Arduino Uno
PPTX
Introduction to Arduino and Hands on to Iot
PPTX
Arduino
PPTX
Arduino for beginners- Introduction to Arduino (presentation) - codewithgauri
PPT
arduino
PPTX
Ardui no
PDF
Lab2ppt
PDF
Arduino- Serial communication
PDF
Arduino presentation
PPTX
Arduino presentation
What is Arduino ?
Arduino presentation by_warishusain
Introduction to Arduino Hardware and Programming
Introduction to Arduino
Lesson sample introduction to arduino
Arduino
Arduino Workshop
Introduction to Arduino
Aurdino presentation
Arduino
Introduction of Arduino Uno
Introduction to Arduino and Hands on to Iot
Arduino
Arduino for beginners- Introduction to Arduino (presentation) - codewithgauri
arduino
Ardui no
Lab2ppt
Arduino- Serial communication
Arduino presentation
Arduino presentation
Ad

Similar to Introducing the Arduino (20)

PPTX
Developing a NodeBot using Intel XDK IoT Edition
PPTX
Intel galileo gen 2
PDF
Johnny-Five
PDF
Introduction to Arduino
PPTX
Arduino by bishal bhattarai IOE, Pashchimanchal Campus Pokhara, Nepal
PDF
arduino.pdf
PPTX
Arduino workshop
PPTX
arduinoedit.pptx
PDF
Rdl esp32 development board trainer kit
PPT
PDF
Controlling the internet of things using wearable tech - Design+Code Day; Ara...
PPTX
Powerful Electronics with Arduino
PDF
Arduino Workshop @ MSA University
PPTX
Introduction to Arduino.pptx
PPTX
Microcontroller arduino uno board
PPTX
wireless charging of an electrical vechicle 3
PPT
arduino Simon power point presentation.ppt
PPTX
Arduino . .
PDF
Cassiopeia Ltd - standard Arduino workshop
PPTX
Arduino camera interfacing OV7670
Developing a NodeBot using Intel XDK IoT Edition
Intel galileo gen 2
Johnny-Five
Introduction to Arduino
Arduino by bishal bhattarai IOE, Pashchimanchal Campus Pokhara, Nepal
arduino.pdf
Arduino workshop
arduinoedit.pptx
Rdl esp32 development board trainer kit
Controlling the internet of things using wearable tech - Design+Code Day; Ara...
Powerful Electronics with Arduino
Arduino Workshop @ MSA University
Introduction to Arduino.pptx
Microcontroller arduino uno board
wireless charging of an electrical vechicle 3
arduino Simon power point presentation.ppt
Arduino . .
Cassiopeia Ltd - standard Arduino workshop
Arduino camera interfacing OV7670
Ad

Recently uploaded (20)

PPTX
Embedded for Artificial Intelligence 1.pptx
PPTX
Sem-8 project ppt fortvfvmat uyyjhuj.pptx
PPTX
KVL KCL ppt electrical electronics eee tiet
PDF
Dynamic Checkweighers and Automatic Weighing Machine Solutions
PPT
Lines and angles cbse class 9 math chemistry
PPTX
了解新西兰毕业证(Wintec毕业证书)怀卡托理工学院毕业证存档可查的
PPTX
"Fundamentals of Digital Image Processing: A Visual Approach"
PPTX
DEATH AUDIT MAY 2025.pptxurjrjejektjtjyjjy
PDF
Layer23-Switch.com The Cisco Catalyst 9300 Series is Cisco’s flagship stackab...
PPTX
Operating System Processes_Scheduler OSS
PPT
chapter_1_a.ppthduushshwhwbshshshsbbsbsbsbsh
PDF
Chapter -24-By Dr Sajid Ali Ansari 2021.pdf
PPTX
Embeded System for Artificial intelligence 2.pptx
PPT
FABRICATION OF MOS FET BJT DEVICES IN NANOMETER
PPTX
Fundamentals of Computer.pptx Computer BSC
PPTX
udi-benefits-ggggggggfor-healthcare.pptx
PPTX
INFERTILITY (FEMALE FACTORS).pptxgvcghhfcg
PPTX
Nanokeyer nano keyekr kano ketkker nano keyer
PPTX
executive branch_no record.pptxsvvsgsggs
PPTX
Presentacion compuuuuuuuuuuuuuuuuuuuuuuu
Embedded for Artificial Intelligence 1.pptx
Sem-8 project ppt fortvfvmat uyyjhuj.pptx
KVL KCL ppt electrical electronics eee tiet
Dynamic Checkweighers and Automatic Weighing Machine Solutions
Lines and angles cbse class 9 math chemistry
了解新西兰毕业证(Wintec毕业证书)怀卡托理工学院毕业证存档可查的
"Fundamentals of Digital Image Processing: A Visual Approach"
DEATH AUDIT MAY 2025.pptxurjrjejektjtjyjjy
Layer23-Switch.com The Cisco Catalyst 9300 Series is Cisco’s flagship stackab...
Operating System Processes_Scheduler OSS
chapter_1_a.ppthduushshwhwbshshshsbbsbsbsbsh
Chapter -24-By Dr Sajid Ali Ansari 2021.pdf
Embeded System for Artificial intelligence 2.pptx
FABRICATION OF MOS FET BJT DEVICES IN NANOMETER
Fundamentals of Computer.pptx Computer BSC
udi-benefits-ggggggggfor-healthcare.pptx
INFERTILITY (FEMALE FACTORS).pptxgvcghhfcg
Nanokeyer nano keyekr kano ketkker nano keyer
executive branch_no record.pptxsvvsgsggs
Presentacion compuuuuuuuuuuuuuuuuuuuuuuu

Introducing the Arduino