Arduino 101
Instructors: Ted Markson / Jim Sweeney
Class Goals
Introduce
the Arduino to everyone
Look at some cool projects you can do!
Setup and orient students in the Arduino IDE
Upload to an Arduino Uno
Start basic tutorials
Arduino 101 with Ted Markson / Jim Sweeney
01/21/13
Introduction
Arduino 101 with Ted Markson / Jim Sweeney
01/21/13
What the heck is Arduino?
Based
on a simple micro-controller board, and
A development environment (IDE) for writing software for the board
Arduino can be used to develop interactive objects, taking inputs from a variety of switches or
sensors, and controlling a variety of lights, motors, and other physical outputs. Arduino projects
can be stand-alone, or they can be communicate with software running on your computer (e.g.
Flash, Processing, MaxMSP.) The boards can be assembled by hand or purchased preassembled;
the open-source IDE can be downloaded for free.
The Arduino programming language is an implementation of Wiring, a similar physical computing
platform, which is based on the Processing multimedia programming environment.
Lets
get the word right from the horses mouth:
http://www.youtube.com/watch?feature=player_detailpage&v=Uo
BUXOOdLXY
Arduino 101 with Ted Markson / Jim Sweeney
01/21/13
What the heck is Arduino?
But
lets get it right from the horses mouth:
http://www.youtube.com/watch?feature=play
er_detailpage&v=UoBUXOOdLXY
Arduino 101 with Ted Markson / Jim Sweeney
01/21/13
Hardware
Why
use Arduino?
Inexpensive
bought less than $50.00
assemble your own for less than that
Cross Platform IDE (Windows, MAC, Linux)
Open source IDE and extensions
Types
of Arduinos.
http://arduino.cc/en/Main/Products?from=Main.Har
dware
We have a few examples here for you!
Arduino 101 with Ted Markson / Jim Sweeney
01/21/13
Sample Specs: Arduino Uno
Microcontoller:
ATmega 328
Operating Voltage
5V
Input Voltage (recommended) 7-12V
Input Voltage (limits)
6-20V
Digital I/O Pins
14 (of which 6 provide PWM output)
Analog Input Pins
DC Current per I/O Pin
40 mA
DC Current for 3.3V Pin
50 mA
Flash Memory
32 KB (of which 0.5 KB used by bootloader)
SRAM
2 KB (ATmega328)
EEPROM
1 KB (ATmega328)
Clock Speed
16 MHz
Arduino 101 with Ted Markson / Jim Sweeney
01/21/13
Sample Specs: Arduino Mega
physically larger than all the other boards
offers significantly more digital and analog pins.
uses a different processor allowing greater program size
Microcontroller:
Operating Voltage 5V
Input Voltage:
7-12V
Digital I/O Pins
54 (of which 14 provide PWM output)
Analog Input Pins 16
Flash Memory
128 KB of which 4 KB used by bootloader
SRAM
8 KB
EEPROM
4 KB
Clock Speed
16 MHZ
ATmega1280
Arduino 101 with Ted Markson / Jim Sweeney
01/21/13
Software
What
is a Sketch?
Recommend
Learning Arduino by Alan G. Smith
http://introtoarduino.com/
Full
starting with:
language reference available here:
http://arduino.cc/en/Reference/HomePage
Arduino 101 with Ted Markson / Jim Sweeney
01/21/13
Arduino IDE
(Integrated Development Environment)
Arduino 101 with Ted Markson / Jim Sweeney
01/21/13
Lets install the Arduino IDE
http://arduino.cc/en/Guide/HomePage
Arduino 101 with Ted Markson / Jim Sweeney
01/21/13
Libraries
What
http://arduino.cc/en/Guide/Libraries
Need
are they?
references?
http://arduino.cc/en/Reference/Libraries
Arduino 101 with Ted Markson / Jim Sweeney
01/21/13
Tutorials
http://arduino.cc/hu/Tutorial/HomePage
Arduino 101 with Ted Markson / Jim Sweeney
01/21/13
Here is a good one to start with
Introduction to Arduino: A Piece of Cake
by Alan G. Smith
Free PDF can be found here:
http://introtoarduino.com/
Arduino 101 with Ted Markson / Jim Sweeney
01/21/13
Tutorials
BlinkAnLED
(Chapter 1)
Blink a series of LEDs (Chapter 2)
Pushbuttons (Chapter 3)
Arduino 101 with Ted Markson / Jim Sweeney
01/21/13
Practical Applications
http://arduino.cc/hu/Tutorial/HomePage
Arduino 101 with Ted Markson / Jim Sweeney
01/21/13
Applications
Light
control
Motor control
Automation
Robotics
Networking
Custom protocols
Your imagination is the limit
Arduino 101 with Ted Markson / Jim Sweeney
01/21/13
Questions?
Arduino 101 with Ted Markson / Jim Sweeney
01/21/13