TOC Introduction to Arduino Demo Cool Arduino projects
What Is Arduino?Microcontroller PlatformOkay… but what’s a Microcontroller?!@#$# Tiny, self-contained computers in an IC Often contain peripherals Different packages available Vast array of size and power available
So What Is Arduino? A physical Input / Output board (I/O) with a programmable controller Open source C/C++Language USB programmable Large community Inexpensive ~$30
An Image worth 1,024 Words Arduino is…
Why Arduino? It is Open Source, both in terms of Hardware and Software. It is cheap, the hardware can be built from components or a prefab board can be purchased for approx $30 It can communicate with a computer via serial connection over USB / Bluetooth It can be powered from USB or standalone DC power.
Why Arduino? It can run standalone from a computer (chip is programmable) and it has memory (a small amount) It can work with both Digital and Analogue electronic signals - Sensors and Actuators You can make cool stuff! Some people are even making simple robots, and we all know robots are just cool
History The project began in Ivrea, Italy in 2005 to make a device for controlling student-built interaction design projects less expensively than other prototyping systems available at the time. As of October 2008 more than 50,000 Arduino boards had been shipped. This has risen to more than 120,000 shipped boards as of February 2010.
Arduino is Open Source Programming environment is all Free Software The bootloader is Free Software The PCB board is under a Creative Commons License
What Can It Do? Input Sensors (buttons, light sensors, ultrasound, …) Digital Input (Serial, SPI, I2C) Output LEDs & Lasers LCD/OLED/Touch Displays Speakers Motors, Servos, Steppers Control and Communication Drive other machinery Directly or using a communuication protocol
Sensors, Sweet Sensors…
Arduino HardwareArduinos differ in design but all share some basicfunctionality AVR Microcontroller Amtel AVR Mega168 or AVR Mega 328 Powered either directly or via USB power Communications Serial (older models) USB (most models) Connections to a USB interface (smaller models) Pins for various functions
Arduino Hardware - Atmega128 128KB self-programming Flash Program Memory 8KB SRAM 4096 Bytes EEPROM 16 Channel 10-bit A/D-converter JTAG interface for on-chip-debug Running at 16 MHz. 1.8 - 5.5 Volt Operation.
Arduino Hardware - Decimila (Atmega168) 14 digital input/output pins 6 analog inputs Mega (ATmega1280) 54 digital input/output pins 16 analog inputs, 4 UARTs Arduino Mini Arduino Nano Even smaller
Arduino HW – Many Types
Arduino Software Standard Libraries Serial/UART, I2C, EEPROM, Ethernet, LCD, Servo, Stepper Contributed Libraries Communication (One Wire , X10, PS2, XBee) Sensing Displays and LEDs Frequency Generation and Audio Motors and PWM
Arduino Software – Hello World
Arduino IDE The Arduino IDE is a cross-platform application written in Java Basic features such as syntax highlighting, brace matching, and automatic indentation Compiling and uploading programs to the board with a single click Works on Windows, Linux and Mac
Arduino Shields Shields are commercially available daughterboards to complement Arduino Ethernet Xbee Breadboard Voice GSM Motor Control Many more…
Live DemoKicking the tires and more…
Cool Arduino Projects Bubble Bot http://www.youtube.com/watch?v=eJC7PkBrR8Y Auduino synthesiser http://www.vimeo.com/2266458 Turn signal biking jacket http://www.instructables.com/id/turn-signal-biking-jacket/ Nunchuck + Pan and Tilt Camera http://www.youtube.com/watch?v=MD_- YnFZFP8&feature=related Self Balancing (Mini Segway-like) http://hacknmod.com/hack/make-a-mini-segway-using- the-arduino/
Cool Arduino Projects Virtual Laser Harp http://www.stephenhobley.com/blog/laser-harp-2009/ POV (Persistence Of Vision) http://hackedgadgets.com/2007/08/20/arduino-pov/ 3D led display globe http://www.youtube.com/watch?v=oLygWkHo9nw 3D led display globe http://hackedgadgets.com/2010/05/03/rotating-led- globe/s So many more…
Conclusion Electronics doesn’t have to be scary Microcontrollers are even less scary Small computers led to lots of cool projects Go forth and hack!
Learning More… http://Arduino.cc Online Tutorial Getting Started with Arduino and Making Things Talk by O’Reilly Arduino Programming Notebook Make Magazine and Instructables Arduino and Parts at AdaFruit and MakerShed Go to Youtube and search for Arduino