Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Arduino + Flash + Android

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
50,085
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jan 1, 2011

This video demos the use of flash and android in a physical computing scenario interfacing with an arduino board!

Basics of How to Do This:

- Connect your arduino via USB.
- Create an AIR app that is listening on an open port. (ServerSocket Class).
- Have the AIR app also connect to Serproxy (a simple serial proxy). This will pipe all arduino data to and from the AIR server.
- Create an AIR/Android app that connects to AIR Server IP:Port.(nstall it on your device)
- Send cmds to the AIR Server when you click on a btn in your Android app.
- When the AIR server receives the Data from your Android relay it to arduino using StandardFirmata 2.0

My Facebook Fan Page - http://www.facebook.com/bryanbergerdesign
My Twitter - http://www.twitter.com/bryanberger

Another demo of same setup controlling a TV!!!!!
http://www.youtube.com/watch?v=2Wzu14t3Oco

  • likes, 7 dislikes

Link to this comment:

Share to:

Uploader Comments (decapyre)

  • I'm just curious, I've seen a lot of people interfacing through a server running on a PC to an Arduino when the Ethernet shield could easily do the same thing, is there a reason behind this I'm missing?

  • @DanNixon2007 Yes you can do this with a Ethernet or WIFI shield. When recording this I had neither of those. This example is also written in Actionscript and deployed using Adobe AIR for Mobile to the Android device. Currently Adobe AIR can not directly interface with serial ports which in this case is the USB data coming in from the Arduino and why I had to create a Intermediate server to process commands. The server I built also allows for multiple clients(mobile phones) to send commands.

  • Nice POC :)

  • @Level10Imp thanks! more to come as well as a more clear write-up

  • it must use ADK from google or i can create it myself ?..and what kind of phone that support this feature ?

  • @RockstarPresident You don't have to use the ADK(Android Open Accessory Development Kit) to develop Physical Computing software. I chose to use an Arduino because the support is very good and it has a large following/community. I use a Motorola Droid 2 but any device could potentially work(blackberry, iphone, android phones, windows phones) It depends what technology your using.

see all

All Comments (39)

Sign In or Sign Up now to post a comment!
  • Cool

  • An android controlled remote controlled car? That's what I see.

  • Dude.. basic? Damn.... if that's basic I got a long way to go!

    Great job and thank you much for the presentation!

  • Great video :D I' m a beginner.

    So basically, AIR is something set up on my android? Then i connect the AIR app with arduino with serproxy(which i dont know). AIR server is on android right?

    Lastly, using firmata, i basically, send commands to arduino? I am controlling it wirelessly right? So i need something for that as well right?

  • and where did you get the android app?

  • @RockstarPresident google "IOIO for android"

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more