Sneak Peek at Android + Arduino + Processing

I’ve fallen very behind in posting about the sessions I’ve been attending at ITP Camp, but the one I attended last night has so much exciting potential, it’s skipping the queue of posts of previous sessions. The session description and info can be found here.

A couple months ago Google announced their Open Accessory Developement Kit. While everyone was really excited that they decided to use Arduino in the platform, there were some concerns about some of the engineering decisions that were made. The good folks involved with the development of Processing care about low barriers to entry for programming and feel that the workflow of Eclipse with the ADK could be a bit more user-friendly.

Processing for Android is already released and it is indeed very easy to get something running on an Android device. The exciting new development is in the photo below. This is an Arduino Mega ADK for Android. Only a couple dozen currently exist and as Tom Igoe is helping with the development, he has a box of them at ITP. They will become less exclusive very soon as they go on sale 4 July.

Arduino Mega ADK boark

Once everything is released, developers/artists/designers/people can used the Arduino environment and Processing to created objects that interact with the physical world and are run by Android devices including all the connectivity that they offer. Super amazing stuff.

Requirements

  • Processing 1.5 or greater
  • Arduino Environment 1.0-beta1 or greater
  • Android ADK 2.3.3 (need API 7 to set up Processing and API 10 for Arduino)
  • Not yet released Arduino ADKLib for Processing
  • Android device
  • Arduino Mega ADK for Android
    • On a side note, starting in Arduino 1.0, Arduino sketches will no longer have .pde as the extension but will begin sporting the .ino extension. This means no more confusion between Processing and Arduino sketches. It is important to know that all .pde sketches from previous Arduino environments (including the examples) will have their extensions automatically changed to .ino. So older versions of Arduino will not recognize the new extension and it will appear that your examples and sketches have vanished. Changing the extension back to .pde will solve that, but reports are that Arduino 1.0 has been running sketches from older versions without any problems.