Fwd: [buffalolab-discuss] Android and Arduino

4 views
Skip to first unread message

Matt lehner

unread,
May 20, 2011, 1:46:32 AM5/20/11
to buffa...@googlegroups.com
Full thread here:
http://lists.buffalolab.org/pipermail/discuss/2011-May/000001.html


---------- Forwarded message ----------
From: George Hampton <undivide...@gmail.com>
Date: Thu, May 19, 2011 at 11:12 PM
Subject: Re: [buffalolab-discuss] Android and Arduino
To: General discussion list <dis...@lists.buffalolab.org>


Sure. I should be able to make it over both Tuesday and Wednesday.
I'll put together some words to say and maybe a couple of slides if I
get a chance.
Also, I was able to do a bit of cool control.  The mega2560 has a LED
which is connected to a pin on the arduino that does PWM so I was able
to hook up a slider on the app that Google provides with the ADK to
control the brightness of the LED.  It not horribly exiting but it
does show the GUI on my phone doing something real on the board.
Pretty cool.
George
On Thu, May 19, 2011 at 6:29 PM, Matt lehner <mle...@gmail.com> wrote:
>
> Awesome! Excited to see it.. and other people are too that I've talked
> too. This would be an awesome presentation at the GTUG as well. I
> believe that is next Weds.
>
> Matt
>
> On Thu, May 19, 2011 at 6:15 PM, George Hampton
> <undivide...@gmail.com> wrote:
> > So I just got home from work and gave it a go and it works!! The changes
> > provided by the circuits@home link did the trick.
> > So I can vouch for the combination of Arduino Mega 2560 and the
> > circuits@home USB Host Shield.
> > It's not doing anything interesting yet. Just connecting my phone to the
> > Arduino and verifying that they are talking is a good start. I am going to
> > start digging in to Android App development so I can make some sweet gui for
> > controlling things.
> > I'll bring what I've got to the members meeting on Tuesday.
> > George
> >
> > On Thu, May 19, 2011 at 12:48 PM, George Hampton
> > <undivide...@gmail.com> wrote:
> >>
> >> So last night I worked on this and met with limited success but I found
> >> some new information today that might help.
> >> So here is what I did.
> >> I followed the installation steps here
> >> (http://developer.android.com/guide/topics/usb/adk.html) and here
> >> (http://developer.android.com/sdk/installing.html) to install eclipse, the
> >> android SDK, the ADT eclipse plugin the Google API Level 10, the Arduino
> >> tools and the CapSense Library.
> >> I made the modifications outlined here
> >> (http://romfont.com/2011/05/12/google%E2%80%99s-open-accessory-development-kit-on-standard-arduino-hardware/)
> >> to update the USB_HOST_SHIELD library.
> >> I built the Android app and loaded it onto my phone (Nexus S).
> >> I edited the Arduino app to get rid of all of the extra stuff google has
> >> for their ADK board and built the app.
> >> This apparently worked using an Arduino UNO but I had no luck. The Arduino
> >> Mega 2560 that I am using gave me this error message - "Error: OSCOKIRQ
> >> failed to assert".  So there is some problem on the Arduino that is causing
> >> the USB commuincation to the phone.
> >> After looking into it today I found this
> >> (http://www.circuitsathome.com/mcu/programming/android_adk_compatible_usb_host_library_release#more-5485)
> >> and am going to try it sometime soon. Maybe tonight or maybe this weekend -
> >> we'll see how it works out. I am guardedly hopeful.
> >> George
> >>
> >>
> >>
> >>
> >>
> >> This
> >> On Wed, May 18, 2011 at 10:41 AM, George Hampton
> >> <undivide...@gmail.com> wrote:
> >>>
> >>> I'm working with a friend tonight just to see how far I can get in having
> >>> my android phone and the HW I bought talk to each other. I'll be at the
> >>> members meeting next Tuesday and the Google meetup next Wednesday and if
> >>> it's working I'll being it with. Also once I get them talking, I can then
> >>> recommend the hardware to buy, which was about $100 for the arduino and the
> >>> USB host shield.  Also, I could maybe do a meetup to get people started and
> >>> share ideas. I think it makes sense for me to get my ducks in a row before I
> >>> try do any knowledge share.
> >>> I'll keep you posted on my progress through this list.
> >>>
> >>> George
> >>> On Wed, May 18, 2011 at 10:29 AM, Rick <armyt...@gmail.com> wrote:
> >>>>
> >>>> Absolutely!  Unfortunately I have ZERO programming knowledge and ZERO
> >>>> experience with Arduino (except that I can properly pronounce the word).
> >>>>  I've been wanting to buy a starter Arduino kit for months now to learn...
> >>>> If you wouldn't mind me learning by doing/observing count me in!
> >>>> --Rick
> >>>>
> >>>>
> >>>>
> >>>> On Wed, May 18, 2011 at 9:24 AM, George Hampton
> >>>> <undivide...@gmail.com> wrote:
> >>>>>
> >>>>> Last week Google introduced an API for Android Devices to work with
> >>>>> Arduino systems communication
> >>>>> over a USB connection called the Open Accessory Development Kit
> >>>>> (see http://developer.android.com/guide/topics/usb/adk.html). This looks
> >>>>> very cool and allows android apps to interact with actual hardware for
> >>>>> control and data acquisition. They also introduced a reference platform
> >>>>> using Arduino for developers to work with
> >>>>> (see http://www.engadget.com/2011/05/10/google-announces-android-open-accessory-standard-arduino-based/).
> >>>>> It is also reported that this will work with other standard arduino
> >>>>> hardware.
> >>>>> Is there any interest out there in developing with this platform?
> >>>>> I am working with on bringing up a system using the Arduino Mega 2560
> >>>>> and a ASB host shield from circuit@home (the google ADK board is based on
> >>>>> these designs) and I have a few idea for cool projects.
> >>>>> Any interest??
> >>>>> George
> >>>>> --
> >>>>> So far, end time predictors have batted zero.
> >>>>> - Barbara Bradley Hagerty on NPR All Thing Considered
> >>>>>
> >>>>>
> >>>>> _______________________________________________
> >>>>> discuss mailing list
> >>>>> dis...@lists.buffalolab.org
> >>>>> http://lists.buffalolab.org/mailman/listinfo/discuss
> >>>>>
> >>>>
> >>>
> >>>
> >>>
> >>> --
> >>> So far, end time predictors have batted zero.
> >>> - Barbara Bradley Hagerty on NPR All Thing Considered
> >>>
> >>
> >>
> >>
> >> --
> >> So far, end time predictors have batted zero.
> >> - Barbara Bradley Hagerty on NPR All Thing Considered
> >>
> >
> >
> >
> > --
> > So far, end time predictors have batted zero.
> > - Barbara Bradley Hagerty on NPR All Thing Considered
> >
> >
> > _______________________________________________
> > discuss mailing list
> > dis...@lists.buffalolab.org
> > http://lists.buffalolab.org/mailman/listinfo/discuss
> >
> >
> _______________________________________________
> discuss mailing list
> dis...@lists.buffalolab.org
> http://lists.buffalolab.org/mailman/listinfo/discuss

--
So far, end time predictors have batted zero.
- Barbara Bradley Hagerty on NPR All Thing Considered


_______________________________________________
discuss mailing list
dis...@lists.buffalolab.org
http://lists.buffalolab.org/mailman/listinfo/discuss

Reply all
Reply to author
Forward
0 new messages