Beginners tutorial for Arduino Mega ADK

22.1k Views Asked by At

Does anyone know of a good intro to controlling the Arduino Mega ADK with a handset? All I want to do is to control the LED on pin 13, using a very basic toggle switch app.

Edit 26/10/11:

http://labs.arduino.cc/ADK/Index

http://jeffreysambells.com/posts/2011/05/17/understanding-the-demokit-pde-arduino-sketch/

https://github.com/deadfalkon/HelloADK

Now I'm stuck with the problem of getting My Galaxy S2 to connect in accessory mode...

Edit 27/10/11

http://sgccare.blogspot.com/2011/10/first-arduino-and-android-setup.html

4

There are 4 best solutions below

0
On

here is an Android Arduino Tutorial, that describes all steps for controlling the ADK LED from the Android device. The tutorial is in German, but the code is helpful anyway.

0
On

Have you tried the information at http://developer.android.com/guide/topics/usb/adk.html Usually it provides everything to get you up and running, complete with a sample application. If you can't connect, your are probably compiling against the wrong SDK version, but that is only a wild guess.

1
On

Some of these links aren't yet the least code you need to blink an LED. I posted the exact solution to your question here: Blink An LED With The ADK Board.

0
On