Android + Physical Computing

Android + Physical Computing

Classroom training on the Android ADK + Open Accessory I gave at at RIA Unleashed 2011 to a room of about 30.

Conference: http://fitc.ca/event/ria11/

D4e6eb8ffdbc19c6394eec58895509a9?s=128

Scott Janousek

October 27, 2011
Tweet

Transcript

  1. Wednesday, November 23, 11

  2. Android + Physical Computing RIA Unleashed 2011 Thursday, October 27

    9am-12:30pm @scottjanousek Wednesday, November 23, 11
  3. Intro: Agenda 9 am - 10 am Physical Computing &

    Arduino Overview 10 am - 12:30 am Android (OA & ADK) 12:30 - 1:30 pm LUNCH Wednesday, November 23, 11
  4. Supplies 3 ADK Boards No extra Android Phones (Sorry!) Electronics

    (LEDS, servos, sensors, etc) Conductive Ink Wednesday, November 23, 11
  5. Due to budget. :( Wednesday, November 23, 11

  6. Your Fairy Berries! Wednesday, November 23, 11

  7. INTRO Wednesday, November 23, 11

  8. “S.J.” Wednesday, November 23, 11

  9. Intro: Hello! @scottjanousek www.scottjanousek.com “Analog and Digital Artisan” Creative Technologist

    & Innovation Architect @ Isobar Wednesday, November 23, 11
  10. Intro: Recent Work Electronics Projects Wednesday, November 23, 11

  11. Intro: Recent Work Create-48 (NFC Event in Boston) Wednesday, November

    23, 11
  12. Intro: Recent Work Touch Tables Wednesday, November 23, 11

  13. Intro: Art && Code (3D) http://artandcode.com/3d/ Wednesday, November 23, 11

  14. HOUSEKEEPING Wednesday, November 23, 11

  15. Intro : You? Creatives? Techs? Electronics? DIY’ers? Wednesday, November 23,

    11
  16. Basic Assumptions You know: ... a programming language (like Java).

    ... about Android, maybe even programmed an app. Wednesday, November 23, 11
  17. Intro: Prep! (1/2) Who has & brought their ADK kits?

    Who has an Android device? People using Linux? Mac? Windows? Wednesday, November 23, 11
  18. Intro: Prep! (2/2) ... been working with Arduino? ... been

    working with Android? Who has installed Eclipse installed? Who has installed Eclipse and ADK? Wednesday, November 23, 11
  19. OVERVIEW OF TODAY’S DISCUSSION SPACE Wednesday, November 23, 11

  20. Physical Computing Wednesday, November 23, 11

  21. Open Hardware Wednesday, November 23, 11

  22. Popular “Stores” Wednesday, November 23, 11

  23. DIY (Do it yourself) Wednesday, November 23, 11

  24. ANDROID Wednesday, November 23, 11

  25. ARDUINO Wednesday, November 23, 11

  26. Google I/O 2011 Keynote Wednesday, November 23, 11

  27. Google I/O 2011 Keynote Wednesday, November 23, 11

  28. Google I/O “Maze” Wednesday, November 23, 11

  29. SETUP & CONFIG Wednesday, November 23, 11

  30. DOWNLOADS Wednesday, November 23, 11

  31. Eclipse URL www.eclipse.org /downloads/ bit.ly/sK3Nu3 OR ... Wednesday, November 23,

    11
  32. Android USB (ADK) developer.android.com /guide/topics/usb/ index.html bit.ly/kD1Nr2 OR ... Wednesday,

    November 23, 11
  33. Arduino URL arduino.cc/ en/Main/Software bit.ly/v0lKtO OR ... Wednesday, November 23,

    11
  34. Seeeduino URL code.google.com /p/microbridge/ downloads/list bit.ly/l9ychb OR ... Wednesday, November

    23, 11
  35. SETUP: Software http://developer.android.com /guide/topics/usb/adk.html#installing Wednesday, November 23, 11

  36. SETUP: Firmware http://developer.android.com /guide/topics/usb/adk.html#installing- firmware Wednesday, November 23, 11

  37. SETUP: DEMOKIT http://developer.android.com /guide/topics/usb/adk.html#running- demokit Wednesday, November 23, 11

  38. ARDUINO Wednesday, November 23, 11

  39. http://www.arduino.cc Wednesday, November 23, 11

  40. Arduino: Packaging! Wednesday, November 23, 11

  41. Arduino: What is it? Wednesday, November 23, 11

  42. Arduino: What is it? Open Source Hardware Device Platform Sensors,

    LEDs, servos, other components Arduino Programming Language Wednesday, November 23, 11
  43. Arduino: Microcontrollers Arduino Dumeavollive Arduino MEGA Arduino UNO & many,

    many more variations! Wednesday, November 23, 11
  44. Arduino: Duemilanove Wednesday, November 23, 11

  45. Arduino: Diagram Wednesday, November 23, 11

  46. Arduino: UNO Wednesday, November 23, 11

  47. Arduino: MEGA 2560 Wednesday, November 23, 11

  48. Arduino: IDE (1/2) Wednesday, November 23, 11

  49. Ardunio: IDE (2/2) Wednesday, November 23, 11

  50. Arduino: IDE (3/3) Name of Sketch Toolbar New Tab Console

    Message Area Coding Area Wednesday, November 23, 11
  51. Arduino: IDE Toolbar Compile Sketch Stop Running Sketch New Sketch

    Open Sketch Save Sketch Upload Sketch to Arduino Board Serial Monitor Wednesday, November 23, 11
  52. Arduino: Serial Monitor Wednesday, November 23, 11

  53. Arduino: .PDE files Wednesday, November 23, 11

  54. Arduino: Programming Arduino Programs are called “Sketches” C-like language IDE

    is based off of Processing Sketches are compiled, and loaded as firmware onto Arduino boards Wednesday, November 23, 11
  55. Arduino: setup() Runs once Place all initializations in here Wednesday,

    November 23, 11
  56. Arduino: loop() Runs continuously until Reset is hit, or power

    is lost. Wednesday, November 23, 11
  57. Arduino: Code Commenting Wednesday, November 23, 11

  58. Arduino: Hello World Sketch Wednesday, November 23, 11

  59. Arduino Examples In Arduino IDE: File->Examples Wednesday, November 23, 11

  60. Arduino Libraries In Arduino IDE: File->Examples Wednesday, November 23, 11

  61. Arduino: CheatSheet Wednesday, November 23, 11

  62. Fritzig http://fritzing.org/ Wednesday, November 23, 11

  63. WALKTHROUGHS Wednesday, November 23, 11

  64. Basic LED Light (aka Hello World) Wednesday, November 23, 11

  65. Conductive Paint Wednesday, November 23, 11

  66. Boston Arduino UG Wednesday, November 23, 11

  67. ANDROID & ADK Wednesday, November 23, 11

  68. Android Platform “in a nutshell” Wednesday, November 23, 11

  69. Android: OS Wednesday, November 23, 11

  70. Android: Devices Archos 28 Nexus One Samsung Galaxy Tab 10.1

    Wednesday, November 23, 11
  71. Android: Apps Wednesday, November 23, 11

  72. Google TV Wednesday, November 23, 11

  73. Android: UI Wednesday, November 23, 11

  74. Google’s Open Accessory Development Kit Wednesday, November 23, 11

  75. Google I/O Preso Wednesday, November 23, 11

  76. Google I/O Preso www.google.com/events/io/2011/sessions/android-open-accessory-api-and-development-kit-adk.html Wednesday, November 23, 11

  77. ADK (Accessory Development Kit) Wednesday, November 23, 11

  78. USB Host & Accessory Modes Wednesday, November 23, 11

  79. ADK: Why add USB Support? If you haven’t noticed Android

    is turning from just a mobile platform into a full fledged Computing Platform: Android Phones, Tablets, Computers, Google TV, Android@HOME, etc Wednesday, November 23, 11
  80. ADK: Use Cases Robotics Home Automation Misc USB Accessories (keyboards,

    webcams, etc) ... pretty much anything Physical! Wednesday, November 23, 11
  81. ADK: is composed of ... Android Development Kit (Software) Arduino

    ADK Board (Hardware) Arduino Sketch (Software) Wednesday, November 23, 11
  82. ADK: Boards Seeeduino ADK Microchip Google I/O “MEGA Shield Prototype”

    Wednesday, November 23, 11
  83. Seeeduino ADK http://www.seeedstudio.com/depot/seeeduino-adk-main-board-p-846.html Wednesday, November 23, 11

  84. ADK: Seeeduino Digram Wednesday, November 23, 11

  85. RT Board http://www.rt-net.jp/shop/index.php?main_page=product_info&cPath=3_4&products_id=1 Wednesday, November 23, 11

  86. ADK: Seeeduino Digram Wednesday, November 23, 11

  87. ADK: MicroChip http://www.microchip.com/ Wednesday, November 23, 11

  88. IOIO http://sparkfun.com/products/10748 Wednesday, November 23, 11

  89. ADK: Arduino MEGA ADK http://store.arduino.cc/ww/ Wednesday, November 23, 11

  90. Grove - ADK Dash (Kit) http://www.seeedstudio.com/depot/grove-adk-dash-kit-p-929.html Wednesday, November 23, 11

  91. PhoneDrone http://store.diydrones.com/PhoneDrone_Board_p Wednesday, November 23, 11

  92. TOOLS Wednesday, November 23, 11

  93. adb Wednesday, November 23, 11

  94. DDMS Wednesday, November 23, 11

  95. DemoKit Wednesday, November 23, 11

  96. DemoKit: Eclipse How to install Android, and ADK, etc. Wednesday,

    November 23, 11
  97. DemoKit: Connecting Wednesday, November 23, 11

  98. DemoKit: Demo App Wednesday, November 23, 11

  99. DemoKit : Arduino Code Walkthrough Wednesday, November 23, 11

  100. DemoKit : Android Code Walkthrough Wednesday, November 23, 11

  101. DemoKit : Android Code Walkthrough Wednesday, November 23, 11

  102. Seeeduino ADK Wednesday, November 23, 11

  103. LED Dimmer seeedstudio.com /wiki/Seeeduino_ADK_Main_Board bit.ly/vn4kfu OR: Wednesday, November 23, 11

  104. LED Dimmer Wednesday, November 23, 11

  105. LED Dimmer Wednesday, November 23, 11

  106. LED Dimmer Wednesday, November 23, 11

  107. Q & A Wednesday, November 23, 11

  108. Thank you. Enjoy the Conference! Wednesday, November 23, 11