Introduction   The Hardware    Arduino Models     The Software    Add-Ons     Projects & Kits    Learning More   Conclusio...
Introduction   The Hardware   Arduino Models   The Software   Add-Ons   Projects & Kits   Learning More   ConclusionWhat i...
Introduction   The Hardware   Arduino Models   The Software   Add-Ons   Projects & Kits   Learning More   ConclusionArduin...
Introduction   The Hardware   Arduino Models   The Software   Add-Ons   Projects & Kits   Learning More   ConclusionWhat i...
Introduction   The Hardware   Arduino Models   The Software   Add-Ons   Projects & Kits   Learning More   ConclusionThe Ar...
Introduction   The Hardware   Arduino Models   The Software   Add-Ons   Projects & Kits   Learning More   ConclusionThe AV...
Introduction   The Hardware   Arduino Models   The Software   Add-Ons   Projects & Kits   Learning More   ConclusionThe Ar...
Introduction   The Hardware   Arduino Models   The Software   Add-Ons   Projects & Kits   Learning More   ConclusionThe Or...
Introduction   The Hardware   Arduino Models   The Software   Add-Ons   Projects & Kits   Learning More   ConclusionDuemil...
Introduction   The Hardware   Arduino Models   The Software   Add-Ons   Projects & Kits   Learning More   ConclusionThe Di...
Introduction   The Hardware   Arduino Models   The Software   Add-Ons   Projects & Kits   Learning More   ConclusionLillyP...
Introduction   The Hardware   Arduino Models   The Software   Add-Ons   Projects & Kits   Learning More   ConclusionNano  ...
Introduction   The Hardware   Arduino Models   The Software   Add-Ons   Projects & Kits   Learning More   ConclusionBoardu...
Introduction   The Hardware   Arduino Models   The Software   Add-Ons   Projects & Kits   Learning More   ConclusionArduin...
Introduction   The Hardware   Arduino Models   The Software   Add-Ons   Projects & Kits   Learning More   ConclusionHello ...
Introduction   The Hardware   Arduino Models   The Software   Add-Ons   Projects & Kits   Learning More   Conclusion      ...
Introduction   The Hardware   Arduino Models   The Software   Add-Ons   Projects & Kits   Learning More   ConclusionLED Ch...
Introduction   The Hardware    Arduino Models   The Software   Add-Ons   Projects & Kits   Learning More   ConclusionLED C...
Introduction   The Hardware   Arduino Models   The Software   Add-Ons   Projects & Kits   Learning More   ConclusionArduin...
Introduction   The Hardware   Arduino Models   The Software   Add-Ons   Projects & Kits   Learning More   ConclusionBotani...
Introduction   The Hardware   Arduino Models   The Software   Add-Ons   Projects & Kits   Learning More   ConclusionPocket...
Introduction   The Hardware   Arduino Models   The Software   Add-Ons   Projects & Kits   Learning More   ConclusionGamepa...
Introduction   The Hardware   Arduino Models   The Software   Add-Ons   Projects & Kits   Learning More   ConclusionLearni...
Introduction   The Hardware   Arduino Models   The Software   Add-Ons   Projects & Kits   Learning More   ConclusionConclu...
Introduction   The Hardware   Arduino Models   The Software   Add-Ons   Projects & Kits   Learning More   Conclusion      ...
Introduction   The Hardware   Arduino Models   The Software   Add-Ons   Projects & Kits   Learning More   ConclusionLicens...
Upcoming SlideShare
Loading in...5
×

Arduino talk

666

Published on

computer

Published in: Education, Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
666
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
21
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Arduino talk

  1. 1. Introduction The Hardware Arduino Models The Software Add-Ons Projects & Kits Learning More Conclusion Arduino Microcontrollers Made Easy Serge Wroclawski February 19, 2009 This work is licensed under the Creative Commons Attribution-ShareAlike 3.0 License.Arduino
  2. 2. Introduction The Hardware Arduino Models The Software Add-Ons Projects & Kits Learning More ConclusionWhat is Arduino? Microcontroller Platform Provides one standard set of assumed hardware, interfaces, etc. Hardware Microcontroller IO (USB or Serial) Power Software The Arduino Language Tools to flash to ArduinoArduino
  3. 3. Introduction The Hardware Arduino Models The Software Add-Ons Projects & Kits Learning More ConclusionArduino is Free/Open Source Programming environment is all Free Software The bootloader is Free Software The PCB board is under a Creative Commons LicenseArduino
  4. 4. Introduction The Hardware Arduino Models The Software Add-Ons Projects & Kits Learning More ConclusionWhat is Arduino used for? Input Sensors Digital Input (Serial, SPI, I2C) Output LEDs Displays Speakers Control and Communication Drive other machinery Directly or using a communuication protocolArduino
  5. 5. Introduction The Hardware Arduino Models The Software Add-Ons Projects & Kits Learning More ConclusionThe Arduino Hardware Arduinos differ in design but all share some basic functionality AVR Microcontroller Amtel AVR Mega168 or AVR Mega8 (older models) Power Supply Either directly or via USB power Communications Serial (older models) USB (most models) Connections to a USB interface (smaller models) Pins for various functionsArduino
  6. 6. Introduction The Hardware Arduino Models The Software Add-Ons Projects & Kits Learning More ConclusionThe AVR Mega148 1 - 16Mhz CPU (20 MIPS) 1Kb SRAM 16Kb Flash (2Kb used for Arduino bootloader) 512 bytes EEPROM 14 Digital IO Pins 6 PWM Pins (included in the 14 digital) 8 Analog Input Pins (10 bit)Arduino
  7. 7. Introduction The Hardware Arduino Models The Software Add-Ons Projects & Kits Learning More ConclusionThe Arduino vs Do It Yourself AVR AVR Mega148 $4 Breadboard $5 FTDI Chip/Cable $20 Parts $29 Arduino $35 assembled In the end, you can use microcontroller outside the Arduino PCB, so feel free to mix n match.Arduino
  8. 8. Introduction The Hardware Arduino Models The Software Add-Ons Projects & Kits Learning More ConclusionThe Original First Arduino ATA Mega8 Microcontroller Serial Connection No LEDs on board Several DIPs to change settingsArduino
  9. 9. Introduction The Hardware Arduino Models The Software Add-Ons Projects & Kits Learning More ConclusionDuemilanove Current generation Arduino Automatic DC/USB PowerArduino
  10. 10. Introduction The Hardware Arduino Models The Software Add-Ons Projects & Kits Learning More ConclusionThe Diecimilia AVR Mega148 USB or DC Power via DIP SwitchArduino
  11. 11. Introduction The Hardware Arduino Models The Software Add-Ons Projects & Kits Learning More ConclusionLillyPad 2inch Arduino model Designed to be sewen into clothing Uses FTDI connector (no direct USB) Slightly lower power requirements than other modelsArduino
  12. 12. Introduction The Hardware Arduino Models The Software Add-Ons Projects & Kits Learning More ConclusionNano Smallest Arduino available USB connector directly on the unit (no FTDI cable needed)Arduino
  13. 13. Introduction The Hardware Arduino Models The Software Add-Ons Projects & Kits Learning More ConclusionBoarduino Arduino Clone from AdaFruit Available assembled, in parts kit, or PCB-only 100% Arduino Compatible (though not quite the same HW) Clones are legal, as long as they don’t use Arduino TrademarkArduino
  14. 14. Introduction The Hardware Arduino Models The Software Add-Ons Projects & Kits Learning More ConclusionArduino Software Java based IDE Built-in Project Manager Libraries and pre-done projects (called sketches) gcc-avr w/ lots of libraries and macros under the coversArduino
  15. 15. Introduction The Hardware Arduino Models The Software Add-Ons Projects & Kits Learning More ConclusionHello World on the Arduino int ledPin = 13; // LED connected to digital pin 13 void setup() // run once, when the sketch starts { pinMode(ledPin, OUTPUT); // sets the digital pin as output } void loop() // run over and over again { digitalWrite(ledPin, HIGH); // sets the LED on delay(1000); // waits for a second digitalWrite(ledPin, LOW); // sets the LED off delay(1000); // waits for a second }Arduino
  16. 16. Introduction The Hardware Arduino Models The Software Add-Ons Projects & Kits Learning More Conclusion Computer → Arduino → LEDs Adjust LED brightness Indicator lights or a primitive Ambient OrbArduino
  17. 17. Introduction The Hardware Arduino Models The Software Add-Ons Projects & Kits Learning More ConclusionLED Change Code (Arduino) // Simple LED on at various power levels - Serge char serInString[10]; // array that will hold the bytes of the incoming string int dataRead = 0; void setup(){ // Set up pins Serial.begin(9600); } void readSerialString(char *strArray) { int i = 0; while (Serial.available()) { strArray[i] = Serial.read(); i++; } dataRead = i; } void loop() { readSerialString(serInString); if (dataRead>0) { int ledPin = serInString[0]; int ledBrightness = serInString[1]; if ((ledPin>=9) && (ledPin<=11)) { char pinChar = ’0’ + ledPin; Serial.println("Turning on LED: " + pinChar); analogWrite(ledPin, ledBrightness); } } dataRead = 0; delay(1000); }Arduino
  18. 18. Introduction The Hardware Arduino Models The Software Add-Ons Projects & Kits Learning More ConclusionLED Change Code (Computer) #!/usr/bin/env python import serial SERIAL = serial.Serial(’/dev/ttyUSB0’, 9600, timeout=1) RED = 9 GREEN = 10 BLUE = 11 def setLed(led, val): SERIAL.write(chr(led)) SERIAL.write(chr(val)) setLed(RED, 128) setLed(GREEN, 255)Arduino
  19. 19. Introduction The Hardware Arduino Models The Software Add-Ons Projects & Kits Learning More ConclusionArduino Shields Lots of Arduino Add-Ons have been made that fit the standard Arduino form Ethernet Battery GPS WaveSheild (lots of audio functions) XBee Motor Control Phidget Sensor Lots more!Arduino
  20. 20. Introduction The Hardware Arduino Models The Software Add-Ons Projects & Kits Learning More ConclusionBotanicalls Now your plants can tell you to water them in the only way you’ll pay attention- on Twitter! Uses Ethernet Shield Available from AdaFruitArduino
  21. 21. Introduction The Hardware Arduino Models The Software Add-Ons Projects & Kits Learning More ConclusionPocket Piano Arduino Shield A tiny little synthesizer, 25 keys Original page www.critterandguitari.com Makershed page (with video) www.makershed.comArduino
  22. 22. Introduction The Hardware Arduino Models The Software Add-Ons Projects & Kits Learning More ConclusionGamepack “Open Source Game System” 320x240 OLED Touch Screen Lithium Battery Pack Built it yourself! Design your own games Only $250. Available at liquidware.comArduino
  23. 23. Introduction The Hardware Arduino Models The Software Add-Ons Projects & Kits Learning More ConclusionLearning More http://Arduino.cc Online Tutorial Another 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 ArduinoArduino
  24. 24. Introduction The Hardware Arduino Models The Software Add-Ons Projects & Kits Learning More ConclusionConclusion Electronics doesn’t have to be scary Microcontrollers are even less scary Small computers led to lots of cool projects Go forth and hack!Arduino
  25. 25. Introduction The Hardware Arduino Models The Software Add-Ons Projects & Kits Learning More Conclusion Questions?Arduino
  26. 26. Introduction The Hardware Arduino Models The Software Add-Ons Projects & Kits Learning More ConclusionLicense and Redistribution The text of this presentation is Copyright Serge Wroclawski 2009 c The images in this presentation are distributed with permission from their authors Redistribution of the text of this presentation is allowed under the terms of the Creative Commons AttributionShareAlike LicenseArduino
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×