Windows Example (different IDEs for Mac/Linux)
1. Install Android SDKs for Gingerbread and above
2. Follow procedures at http://labs.arduino.cc/ADK/AccessoryMode (follows)
3. Download Processing if wanted for programming on the phone from http://processing.org/download/
– Install Processing (extract into folder of choice)
– Start processing, find default folder in preferences
– Download add-on libraries from http://labs.arduino.cc/uploads/ADK/GettingStarted/processing_bundle_ADK_v01.zip
– Extract add-on libs into the default Processing sketch folder, libraries subfolder
– Re-start Processing, set mode to android (select sdk folder)
4. Download Arduino 1.0 Beta (!) from http://files.arduino.cc/downloads/arduino-1.0-beta1.zip
– Install (extract into folder of choice)
– Download extra libs from http://labs.arduino.cc/uploads/ADK/GettingStarted/arduino_bundle_ADK.zip
– Download the MicroBridge Arduino library from http://microbridge.googlecode.com/files/MicroBridge-Arduino.zip
– Extract add-on libs into the default Arduino sketch folder, libraries subfolder
– Problem when compiling the example: wiring.h is missing!
– Download the last official Arduino IDE version (022) and extract into temp folder
– Copy the file <arduino-1.0-beta1 main folder>hardwarearduinocoresarduinowiring.h
to
<arduino-1.0-beta1 main folder>hardwarearduinocoresarduinowiring.h
5. If you do not want to set things up difficultly, but have instant reward:
– Look at the Seedstudio wiki: http://seeedstudio.com/wiki/Seeeduino_ADK_Main_Board
– Copy the sample code SeeeduinoADKDemo.pde into the Arduino IDE, test compile
– Change the LED from 12 to 13 (the on-board LED)
– Compile, upload to board
– Compile/upload the example Android application from http://garden.seeedstudio.com/images/1/1b/SeeeduinoADKDemo-App.zip to phone
– Connect board to PC for power, phone to board
– Start the demo app on the phone, toggle the on-board LED
6. Start thinking about the ADK apporach to this 😉