01/21/13 Arduino 101 with 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 01/21/13 Arduino 101 with Ted Markson / Jim Sweeney Introduction 01/21/13 Arduino 101 with Ted Markson / Jim Sweeney 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_detail page&v=UoBUXOOdLXY 01/21/13 Arduino 101 with Ted Markson / Jim Sweeney What the heck is Arduino? But lets get it right from the horses mouth:
http://www.youtube.com/watch?feature=player_detail page&v=UoBUXOOdLXY 01/21/13 Arduino 101 with Ted Markson / Jim Sweeney 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.Hardware We have a few examples here for you! 7 01/21/13 Arduino 101 with Ted Markson / Jim Sweeney 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 6 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
8 01/21/13 Arduino 101 with Ted Markson / Jim Sweeney 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: ATmega1280 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 01/21/13 Arduino 101 with Ted Markson / Jim Sweeney Software
What is a Sketch?
Recommend starting with: Learning Arduino by Alan G. Smith http://introtoarduino.com/
Full language reference available here: http://arduino.cc/en/Reference/HomePage 01/21/13 Arduino 101 with Ted Markson / Jim Sweeney Arduino IDE (Integrated Development Environment) 01/21/13 Arduino 101 with Ted Markson / Jim Sweeney Lets install the Arduino IDE http://arduino.cc/en/Guide/HomePage 01/21/13 Arduino 101 with Ted Markson / Jim Sweeney Libraries What are they?
http://arduino.cc/en/Guide/Libraries
Need references?
http://arduino.cc/en/Reference/Libraries 01/21/13 Arduino 101 with Ted Markson / Jim Sweeney Tutorials http://arduino.cc/hu/Tutorial/HomePage 14 01/21/13 Arduino 101 with Ted Markson / Jim Sweeney 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/
01/21/13 Arduino 101 with Ted Markson / Jim Sweeney Tutorials
BlinkAnLED (Chapter 1) Blink a series of LEDs (Chapter 2) Pushbuttons (Chapter 3)
01/21/13 Arduino 101 with Ted Markson / Jim Sweeney Practical Applications http://arduino.cc/hu/Tutorial/HomePage 01/21/13 Arduino 101 with Ted Markson / Jim Sweeney Applications Light control Motor control Automation Robotics Networking Custom protocols Your imagination is the limit 01/21/13 Arduino 101 with Ted Markson / Jim Sweeney Questions?