Flashduino!

I have been working with Arduino lately. I must say it has made me really excited about technology again. There is something about creating physical devices that is more rewarding then always working on virtual projects. Having said that, ever since I started working with Arduino I have wanted to make interfaces for it with Flash. The tutorials I have found for connecting the two all exploited the XMLSocket object in AS2. Using the XMLSocket has some small issues to it, namely it needs a null byte on the end of each message. ActionScript 3 fixes this little speed bump by including a binary socket that does not need a null byte to end a message. I had to try it out for myself so I put together a small demo of serial communication between Flash and Arduino using the TinkerProxy.

Get it here

7 Responses to “Flashduino!”

  1. Josh Says:

    Very cool. I’ve passed this along to the coworkers and am going to have us take a look at this platform. Had not heard about it before. I hear you re: the physical realm. I’d kill to build some cool things, combined with some wood work and nice milling.

  2. Arduino controlled Flash fire at Aral Balkan Says:

    [...] make sure that the socket is working correctly, you can quickly download and run the Flashduino Flash demo by Brett Forsyth (just make sure you change the port in the code as that one’s made for [...]

  3. Getting Flash and Arduino talking, and problems with AS3 at Iestyn Lloyd Says:

    [...] espically when people have done it already, and you can copy and paste their code! Thanks Beltran, Brett, and Aral for sharing your code! In no time I had a potentiometer controlling the brightness of an [...]

  4. Lukas Vojir Says:

    Hey, thanks for your code, I used it in my Trimphone project, have a look!
    http://rmx.cz/trimphone/

  5. Brettf Says:

    Hey no problem you should also check out as3glue http://code.google.com/p/as3glue/ It works really well.

  6. Flash(AIR)?????????????? » TECH Matari Says:

    [...] Flashduino! [...]

  7. ekkarach Says:

    Thank you so much,
    I’m trying about this.

Leave a Reply